ZG-005 4 channel relay zigbee board (power vs power1, pulsetime and ZbEndpointSuffix/SetOption101 in webui) #21152
Replies: 6 comments 15 replies
-
About question 3, may be we can discuss about these options. What do you think is it the best? (pseudo code as "power1 on" and "power1 off" will be zigbee send commands: zbsend {"device":"XXXX","send":{"power":1}} and zbsend {"device":"XXXX","send":{"power":0}}) Option 1 (DELAY LIMIT OF 360 seconds)
Option 2 (DELAY LIMIT OF 360 seconds.)
And I send to zigbee gateway: "event zbpulsetime1=600" for 60 seconds Option 3:
And I send to zigbee gateway: "event zbpulsetime1=20" for 20 minutes (and make the same for all 4 relays) |
Beta Was this translation helpful? Give feedback.
-
Not natively, but if your Zigbee Gateway is based on ESP32, it is now possible to add Berry scripting to enhance the Web UI (although not documented yet)
Not sure what you mean here, why would it help to use |
Beta Was this translation helpful? Give feedback.
-
Another approach could be to configure fake relay pins, appearing like normal relays, and then use rules to bridge the on/off events to Zigbee. That could even work with the normal PulseTime. Or using Berry if running Tasmota on ESP32 instead of ESP8266. |
Beta Was this translation helpful? Give feedback.
-
About this, you are saying about switching relays, for example, with the zigbee board's buttons, aren't you?
I have been using rules since years, but Berry it is totally new for me. Any discussion or issue to learn about this case? (I will search for Berry documentation, but may be you know about some piece of code to start with). Will it be also complicated about picking up zigbee messages? thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
I will try, let me see. About ZbName, yes I know, but now I am testing if I am able to do what you are propossing. LEt's go to find how to "capture" zbrecieved in berry. |
Beta Was this translation helpful? Give feedback.
-
Hello, at this moment I have this code in berry (remember that I am testing, so I will change in future zbName). I understand that with this code I could use pulsetime,... and other more complex functionalities as interlock, but I think that a boot up with the last saved state is impossible because the "code" is in te coordinator and the switches are in the zigbee board, isnt it? Do you think that my code could be better (SURE !!! 😂), do I leave any other add_rule trigger missing?
|
Beta Was this translation helpful? Give feedback.
-
Hi, I have use ZbEndpointSuffix/SetOption101 to be able to operate all of my 4 channel relay zigbee board.
(https://s.click.aliexpress.com/e/_DDK89o5)
I have several questions:
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions