david@berto.co.uk Posted August 13, 2021 Share Posted August 13, 2021 Hi all, I've just released version 1.27 of my IoT Gateway driver which has been opened up to allow other driver developers to access the MQTT functions. Just a few simple proxy functions to REGISTER and PUBLISH messages and ExecuteCommand handlers to receive MESSAGEs. Driver available at https://prod.berto.io/download/Berto_IOTGateway.c4z Sample driver with source code showing integration available at https://prod.berto.io/download/Berto_IOTClient.c4z Thank you David Zuhair and Amr 2 Quote Link to comment Share on other sites More sharing options...
ILoveControl Posted August 14, 2021 Share Posted August 14, 2021 So been waiting for this for so long, yes you need to know how to develop your own drivers but now the options are endless. I have so many different devices that are on my main MQTT brokers that are not the C4 type devices i.e. Sonoff, Shelly, Wireless circuit breakers, other zigbee providers etc and this allows me to communicate and then program events in C4 based on the messages coming from the broker. @david@berto.co.uk this really is awesome and opens a huge door for other developers to make use of this!! Quote Link to comment Share on other sites More sharing options...
david@berto.co.uk Posted August 14, 2021 Author Share Posted August 14, 2021 5 hours ago, ILoveControl said: So been waiting for this for so long, yes you need to know how to develop your own drivers but now the options are endless. I have so many different devices that are on my main MQTT brokers that are not the C4 type devices i.e. Sonoff, Shelly, Wireless circuit breakers, other zigbee providers etc and this allows me to communicate and then program events in C4 based on the messages coming from the broker. @david@berto.co.uk this really is awesome and opens a huge door for other developers to make use of this!! Thanks I've also opened up the Cloud driver to expose the SMTP function. The integration to the IoT Gateway is great if your just working with a single MQTT broker ie. your local IoT setup, but for multiple connections I'm opening up the MQTT functions on the Cloud driver also which means that you just need to install the one driver to use any MQTT broker or SMTP service from any other drivers. Quote Link to comment Share on other sites More sharing options...
eon Posted August 16, 2021 Share Posted August 16, 2021 The link for downloading IOT Gateway driver is not working. ..... Never mind i updated it through composer Quote Link to comment Share on other sites More sharing options...
david@berto.co.uk Posted August 16, 2021 Author Share Posted August 16, 2021 4 hours ago, eon said: The link for downloading IOT Gateway driver is not working. ..... Never mind i updated it through composer Sorry, Here you go https://prod.berto.io/download/Berto_IOTGateway.c4z I'll shortly be pushing an update to the Cloud driver that opens up SMTP and MQTT functions on that also. Thanks Quote Link to comment Share on other sites More sharing options...
david@berto.co.uk Posted August 16, 2021 Author Share Posted August 16, 2021 On 8/14/2021 at 11:13 AM, ILoveControl said: So been waiting for this for so long, yes you need to know how to develop your own drivers but now the options are endless. I have so many different devices that are on my main MQTT brokers that are not the C4 type devices i.e. Sonoff, Shelly, Wireless circuit breakers, other zigbee providers etc and this allows me to communicate and then program events in C4 based on the messages coming from the broker. @david@berto.co.uk this really is awesome and opens a huge door for other developers to make use of this!! Berto Cloud now has SMTP_SENDMAIL and MQTT_CONNECT, MQTT_DISCONNECT and MQTT_PUBLISH functions exposed. Available at https://prod.berto.io/download/Berto_Cloud.c4z and example of how to use functions at https://prod.berto.io/download/Berto_SDK.c4z Thanks Quote Link to comment Share on other sites More sharing options...
eon Posted August 16, 2021 Share Posted August 16, 2021 Hello @david@berto.co.uk have you noticed that relay light driver is not working with advanced lightning scenes? When you put the light in a scene it is not controlled. one more thing, have you consider to develop an integration with zwavejs2mqtt? Since you already have zigbee2mqtt i believe it is not that much different. best regards Quote Link to comment Share on other sites More sharing options...
Amr Posted August 16, 2021 Share Posted August 16, 2021 1 hour ago, eon said: Hello @david@berto.co.uk have you noticed that relay light driver is not working with advanced lightning scenes? When you put the light in a scene it is not controlled. one more thing, have you consider to develop an integration with zwavejs2mqtt? Since you already have zigbee2mqtt i believe it is not that much different. best regards That was fixed in the previous release, advance lighting scene works now. Quote Link to comment Share on other sites More sharing options...
eon Posted August 16, 2021 Share Posted August 16, 2021 8 minutes ago, Amr said: That was fixed in the previous release, advance lighting scene works now. Sorry i was talking about this driver https://www.berto.co.uk/berto-relay-light not https://www.berto.co.uk/berto-iot-light Quote Link to comment Share on other sites More sharing options...
Amr Posted August 16, 2021 Share Posted August 16, 2021 Just now, eon said: Sorry i was talking about this driver https://www.berto.co.uk/berto-relay-light not https://www.berto.co.uk/berto-iot-light Oh, but this driver is not used at the current release, the IOT light and IOT dimmer uses the light proxy and is easier for you to attach light loads without the need of Relay to light Quote Link to comment Share on other sites More sharing options...
eon Posted August 16, 2021 Share Posted August 16, 2021 1 hour ago, Amr said: Oh, but this driver is not used at the current release, the IOT light and IOT dimmer uses the light proxy and is easier for you to attach light loads without the need of Relay to light I”m device that is not supported by iot gateway and using mqtt relay connected to mqtt bridge to control the light. Quote Link to comment Share on other sites More sharing options...
david@berto.co.uk Posted August 17, 2021 Author Share Posted August 17, 2021 13 hours ago, eon said: I”m device that is not supported by iot gateway and using mqtt relay connected to mqtt bridge to control the light. What is the device you are using? I’ll look into the relay light issue with lighting scenes as it should be supported. Thanks Quote Link to comment Share on other sites More sharing options...
eon Posted August 17, 2021 Share Posted August 17, 2021 6 hours ago, david@berto.co.uk said: What is the device you are using? I’ll look into the relay light issue with lighting scenes as it should be supported. Thanks I’m using zwave switch connected via mqtt, the relay light is connected to mqtt relay, i can switch on and off the light manually but when input it on scene is not responding. If i manually activate the light the scene is reporting accoringly -active/inactive. best regards Quote Link to comment Share on other sites More sharing options...
david@berto.co.uk Posted August 17, 2021 Author Share Posted August 17, 2021 59 minutes ago, eon said: I’m using zwave switch connected via mqtt, the relay light is connected to mqtt relay, i can switch on and off the light manually but when input it on scene is not responding. If i manually activate the light the scene is reporting accoringly -active/inactive. best regards What is the model number of the switch? What are the payloads for the relay? Quote Link to comment Share on other sites More sharing options...
eon Posted August 18, 2021 Share Posted August 18, 2021 Hello @david@berto.co.uk i’m using FGS-212 from Fibaro connected to a zwavejs2mqtt, the topic that this switch is using is z2m/Balcony/37/1/targetValue/set for control and z2m/Balcony/37/1/currentValue for feedback state. The payload is true and false only. So in mqttrelay driver im using z2m/Balcony/37/1/targetValue/set false and z2m/Balcony/37/1/targetValue/set true for control of the light and its working as expected. I tried http://www.chowmainsoft.com/relay-to-light connected to your mqtt relay and scenes - advanced lightning is working and the relay is controlled. But with your driver they are not controlled through scene - advanced lightning. best regards Quote Link to comment Share on other sites More sharing options...
david@berto.co.uk Posted August 18, 2021 Author Share Posted August 18, 2021 17 minutes ago, eon said: Hello @david@berto.co.uk i’m using FGS-212 from Fibaro connected to a zwavejs2mqtt, the topic that this switch is using is z2m/Balcony/37/1/targetValue/set for control and z2m/Balcony/37/1/currentValue for feedback state. The payload is true and false only. So in mqttrelay driver im using z2m/Balcony/37/1/targetValue/set false and z2m/Balcony/37/1/targetValue/set true for control of the light and its working as expected. I tried http://www.chowmainsoft.com/relay-to-light connected to your mqtt relay and scenes - advanced lightning is working and the relay is controlled. But with your driver they are not controlled through scene - advanced lightning. best regards I need to add zwavejs2mqtt to my IoT gateway, looks very good. Does it support all the Fibaro devices? Have made a fix to the relay light so hopefully scenes supported now. Thanks Quote Link to comment Share on other sites More sharing options...
eon Posted August 18, 2021 Share Posted August 18, 2021 1 hour ago, david@berto.co.uk said: I need to add zwavejs2mqtt to my IoT gateway, looks very good. Does it support all the Fibaro devices? Have made a fix to the relay light so hopefully scenes supported now. Thanks It supports all kind of zwave devices and they are very fast, much faster than native zwave dongle of c4 with fibaro dimmer 2 and much faster than vera. At the moment on my zwave js network which i run with home assitant i have Fibaro Single Switch, fibaro Double Switch, Fibaro Dimmer, Aeotec Nano Dimmer, Aeotec Smart Switch 5 and 6, Aeotec Multi Sensor 6 and Trisensor, Remotec Zxt600 and 120 Ir transmiters for Split AC., Danalock Lock POPP Keypad, Qubino Single Relay, Heiman Temp and Humidity Sensor, Heiman Smoke Sensor, Zipato Bulb. I think that i didnt miss anything , beside mqtt there is also websocket api. https://github.com/zwave-js If you need someone for beta testing i’m available. Quote Link to comment Share on other sites More sharing options...
Amr Posted August 18, 2021 Share Posted August 18, 2021 8 minutes ago, eon said: It supports all kind of zwave devices and they are very fast, much faster than native zwave dongle of c4 with fibaro dimmer 2 and much faster than vera. At the moment on my zwave js network which i run with home assitant i have Fibaro Single Switch, fibaro Double Switch, Fibaro Dimmer, Aeotec Nano Dimmer, Aeotec Smart Switch 5 and 6, Aeotec Multi Sensor 6 and Trisensor, Remotec Zxt600 and 120 Ir transmiters for Split AC., Danalock Lock POPP Keypad, Qubino Single Relay, Heiman Temp and Humidity Sensor, Heiman Smoke Sensor, Zipato Bulb. I think that i didnt miss anything , beside mqtt there is also websocket api. https://github.com/zwave-js If you need someone for beta testing i’m available. You have quite interesting Zwave base, also u r using HA, what do you use Control4 for? Quote Link to comment Share on other sites More sharing options...
david@berto.co.uk Posted August 18, 2021 Author Share Posted August 18, 2021 35 minutes ago, eon said: It supports all kind of zwave devices and they are very fast, much faster than native zwave dongle of c4 with fibaro dimmer 2 and much faster than vera. At the moment on my zwave js network which i run with home assitant i have Fibaro Single Switch, fibaro Double Switch, Fibaro Dimmer, Aeotec Nano Dimmer, Aeotec Smart Switch 5 and 6, Aeotec Multi Sensor 6 and Trisensor, Remotec Zxt600 and 120 Ir transmiters for Split AC., Danalock Lock POPP Keypad, Qubino Single Relay, Heiman Temp and Humidity Sensor, Heiman Smoke Sensor, Zipato Bulb. I think that i didnt miss anything , beside mqtt there is also websocket api. https://github.com/zwave-js If you need someone for beta testing i’m available. What is zwavejs2mqtt running on? Quote Link to comment Share on other sites More sharing options...
eon Posted August 18, 2021 Share Posted August 18, 2021 47 minutes ago, Amr said: You have quite interesting Zwave base, also u r using HA, what do you use Control4 for? I like to came up with the most complicated way to control my home zwave was connected to C4 via Vera but vera does not like the fibaro dimmers too much it is too slow if you control a scene, than i moved to native zwave on c4 for the dimmers but again the native zwave on c4 was slow and unreliable. In the meantime i used home assistant to translate some devices via http and mqtt to C4. Than i moved all my devices to zwavejs and i was amazed by the speed so now i’m using home assistant and node red to get states from zwavejs to c4 via C42WAY driver which accepts http commands in C4 and use generic tcp driver from chowmain to send http commands to Home Assistant. And just started to thinker with berto mqtt IoT gateway and etc drivers to see if i can simplify things. Back to your original question Home Assistant has a lousy ui and there is a lot of work to achive simple thing C4 has a great Ui that is why i’m using C4 plus i’m controling my AV via C4 p.s. I forgot i use home assistant also to expose all my devices to homekit zaphod 1 Quote Link to comment Share on other sites More sharing options...
eon Posted August 18, 2021 Share Posted August 18, 2021 13 minutes ago, david@berto.co.uk said: What is zwavejs2mqtt running on? I have one instance on Docker on unraid as a backup in case if i mess up my NUC or PI on which i run Home Assistant and diferent addons for my home, because i want to thinker with them Quote Link to comment Share on other sites More sharing options...
Amr Posted August 18, 2021 Share Posted August 18, 2021 13 minutes ago, eon said: I have one instance on Docker on unraid as a backup in case if i mess up my NUC or PI on which i run Home Assistant and diferent addons for my home, because i want to thinker with them What is the repository you used for this? Quote Link to comment Share on other sites More sharing options...
eon Posted August 18, 2021 Share Posted August 18, 2021 7 minutes ago, Amr said: What is the repository you used for this? For Unraid i used the one that is in unraid app store just search zwavejs2mqtt, for home assistant there is addon developed by Home Assistant and its install from addons. Unraid https://unraid.net/community/apps/c/homeautomation?notTheDroidYoureLookingFor=d2JmamZlcHJ0bXZ1d3hzcGF5bWx1bGJvcXFlanJlamI%3D&q=Zwavejs#r home asistant https://github.com/hassio-addons/addon-zwavejs2mqtt Quote Link to comment Share on other sites More sharing options...
eon Posted August 18, 2021 Share Posted August 18, 2021 3 hours ago, david@berto.co.uk said: I need to add zwavejs2mqtt to my IoT gateway, looks very good. Does it support all the Fibaro devices? Have made a fix to the relay light so hopefully scenes supported now. Thanks I tried to force update the driver but its still on 1.12 where i can download fixed version? Quote Link to comment Share on other sites More sharing options...
Amr Posted August 18, 2021 Share Posted August 18, 2021 On 8/18/2021 at 8:37 PM, eon said: I tried to force update the driver but its still on 1.12 where i can download fixed version? I belive from the site directly, I don't think update had been pushed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.