Bogdan Marinescu

Results 15 comments of Bogdan Marinescu

- No idea on the performance, I have not measured it. The whole thing is very much WIP and still in research phase, although some things are already working. The...

No, this is focusing on both parts: creating a loadable module (that you can write to flash or anywhere else) and then loading and using it. Runtime firmware updates are...

Adding a few thoughts to this discussion: we might be able to use some of the build files generated by Zephyr to solve this problem. For example, there is a...

@danieledwardgeorgehitchcock : ``` {"id":7,"type":"EndDevice","ieeeAddr":"0xa4c13863d0536a19","nwkAddr":50434,"manufId":4417,"manufName":"_TZ3000_18ejxno0","powerSource":"Mains (single phase)","modelId":"TS0012","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"��\u0010+\u0011","65506":55,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZ3000_18ejxno0","zclVersion":3,"appVersion":80,"modelId":"TS0012","powerSource":3}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002160064d","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002160064d","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":80,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1957453523},"lastSeen":1669209977385,"defaultSendRequestWhen":"immediate" ```

With the converter in place, Z2M recognizes the model [ZTS-EU_2gang](https://www.zigbee2mqtt.io/devices/ZTS-EU_2gang.html#moes-zts-eu_2gang), but nothing works when I try to control the switch from the UI (not even on/off switching). The logs show...

@danieledwardgeorgehitchcock Thank you (sorry, forgot to say that earlier :) ). The new converter returns a JS error: ``` zigbee2mqtt | toZigbee: extend.switch().toZigbee.concat([tz.moes_power_on_behavior, tz.tuya_switch_type, tz.tuya_backlight_mode]), zigbee2mqtt | ^ zigbee2mqtt |...

@danieledwardgeorgehitchcock Better this time. The interface looks like this now: (previously I had a single setting for `power_on_behavior`, which was probably correct). What works: - Switching on/off the switches manually...

> I feel that the above is good progress - I'm coding this blind using some existing converters as templates so, there may be a few things that need some...

@danieledwardgeorgehitchcock This version isn't much different from the previous one: the only thing that works is the swich state (in both directions). Setting `indicate_light` doesn't result in an error, but...

In this version, `power_on_behavior` is the only thing that works :) Everything else is broken, including the states of the switces in any direction.