Sonoff ZigBee Bridge
Will there be support for Sonoff ZigBee Bridge in the future ?
Currently there are no plans, but if anybody is interested in implementing this I can give some support.
I have one! Also a TRV (TS0601) like in issue#3821. What do I have to do to replace the serial connection for a IP socket (socket://[IP]:8888)?
Currently there are no plans, but if anybody is interested in implementing this I can give some support.
I am really interessted in implementing this - But how to? :)
Its simple, Write code
I hope that Koenkk doesn't delete me for posting this, but I flashed my ZBbridge with T_smo_a, and wrote some Node.js to process the resulting MQTT.
I tried both:
socat:
slave:
tcp:192.168.1.107:8888,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
as https://www.zigbee2mqtt.io/how_tos/how_to_connect_to_a_remote_adapter.html#3-configure:
serial:
port: 'tcp://192.168.1.107:8888'
But resulted in:
Zigbee2MQTT:error 2020-11-08 01:42:28: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2020-11-08 01:42:28: Failed to start zigbee
Zigbee2MQTT:error 2020-11-08 01:42:28: Exiting...
Zigbee2MQTT:error 2020-11-08 01:42:28: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.<anonymous> (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
at Generator.throw (<anonymous>)
at rejected (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! [email protected] start: node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-11-08T00_42_28_346Z-debug.log
2020-11-08T01:42:29: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2020-11-08T01:42:29: PM2 log: App [npm:0] starting in -fork mode-
2020-11-08T01:42:29: PM2 log: App [npm:0] online
[email protected] start /zigbee2mqtt-1.16.1 node index.js`
I hope that Koenkk doesn't delete me for posting this, but I flashed my ZBbridge with T_smo_a, and wrote some Node.js to process the resulting MQTT.
Can you share more of what you did?
Hi CJMarias, You are welcome to what I've done so far. It's an add-on to more Node.js that I wrote to interface between Domoticz and Z2M A config file holds the idx of any Domoticz devices that can be updated from incoming MQTT. The ZBbridge is a coordinator for a separate ZigBee network. It also reads from a Sonoff 433 bridge, also flashed with T-sm-ta.
after my cc2531 keep dropping device, i got sonoff zigbee. Its disappointed to learn it is not supported by z2m. anyone start working on this? The problem is i dont know where to start.
@tyjtyj I 110% agree with you but for the moment its looks like 3 or 4 devs have starting and doing little but not so much for getting it released in public. What i have understanding is EZSP mutch "low level" command that is making mutch work for implanting it but is very powerful and flexible. The sonoff is working good with tasmota zigbee bridge but is little limited in functionality but OK for small system with sensors (Was implanted of one dev in some months from scratch !!). ZHA devs have updating the code in the summer with around 20K lines for implanting the new EZSP protocol and is working well and is stabile and is have good support for real zigbee 3 devices. Its with Rasp/CornBee the most powerful coordinator on the market and much better then first and second gen TI:s. I hope that some devs is going together and getting it working on the Z2M (java)train.
there is another firmware for esp. https://www.zigbee2mqtt.io/information/connecting_cc2530.html it migt work ?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Any news about this ?
Did you write code?
On Tue, Dec 29, 2020, 22:12 akumamg [email protected] wrote:
Any news about this ?
β You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/4544#issuecomment-752242551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEG4FTWEX2VJ35LHP72LIXDSXJA5PANCNFSM4SCXN4ZQ .
If it just has a tcp socket and you want to connect zigbee2mqtt without changing code you can checkout this answer. You have socat itβs an app that lets you configure a local virtual serial port that just connects to a tcp socket.
then you can connect zigbee2mqtt to /dev/virtualcom0 which it actually socat that connects to a tcp socket. Changing this inside zigbee2mqtt will require refactoring actual communication to the serial port, but should be doable.
If it just has a tcp socket and you want to connect zigbee2mqtt without changing code you can checkout this answer. You have socat itβs an app that lets you configure a local virtual serial port that just connects to a tcp socket.
then you can connect zigbee2mqtt to /dev/virtualcom0 which it actually socat that connects to a tcp socket. Changing this inside zigbee2mqtt will require refactoring actual communication to the serial port, but should be doable.
EZSP not supported by z2m yet. So connecting via tcp has not use as the z2m does not speak EZSP language.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
This is extremely important for me too, has there been any update? This hub is very powerful and using zigbee2mqtt would really simplify a lot of things... Please make it happen
@anubisg1 this is an opensource project. A lot of work needs to be done before this will happen. Since this issue is already closed (because it was getting old) I would not get your hopes up. Sponsoring Coen β¬1000 might draw some attention to this topic.
@anubisg1 this is an opensource project. A lot of work needs to be done before this will happen. Since this issue is already closed (because it was getting old) I would not get your hopes up. Sponsoring Coen β¬1000 might draw some attention to this topic.
Thanks for the reply... I understand what you say but I think you added an extra 0 without noticing... Probably a typo