Compatibility Zigate and Synology nas Topic is solved

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Johnny5
Posts: 33
Joined: Wednesday 12 June 2019 23:20
Target OS: NAS (Synology & others)
Domoticz version:
Location: Hungary
Contact:

Re: Compatibility Zigate and Synology nas

Post by Johnny5 »

Thorgal789 wrote: Thursday 11 July 2019 17:14 The zigbee gateway.
But you can remove switches in a corridor and use presence detection. Or you can try a zigbee plug, a cheaper one, like the xiaomi one.

Zigbee is make to work in a meshed network, use it just for sensor is not the better solution.
Yepp. I'm thinking about to use a plug (Xiaomi or an Ikea) as a repeater. I will look for a dedicated one also.
This is a good article in this topic for beginners like me.:)
https://support.smartthings.com/hc/en-u ... -repeaters
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Compatibility Zigate and Synology nas

Post by Thorgal789 »

Realy nice link, I will take a look tomorrow.
BTW, we have probably found someone on zigate and a CC2531 router, not sure yet, but we probably can confirm that soon.
Johnny5
Posts: 33
Joined: Wednesday 12 June 2019 23:20
Target OS: NAS (Synology & others)
Domoticz version:
Location: Hungary
Contact:

Re: Compatibility Zigate and Synology nas

Post by Johnny5 »

Thorgal789 wrote: Thursday 11 July 2019 21:28 Realy nice link, I will take a look tomorrow.
BTW, we have probably found someone on zigate and a CC2531 router, not sure yet, but we probably can confirm that soon.
Great! I'm keen to see that. :)
Do you know a solution what can extend the range on cable instead of radio frequency? For example to get devices connected on a different building. Like have router what have two units. Unit A is near to Zigate and unit B is in another building. Unit A and B cinnected via cable. Would be good something like that.
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Compatibility Zigate and Synology nas

Post by Thorgal789 »

Zigbee don't work like wifi, it don't have extender or repeter, it use meshed technologie, it mean all devices are transmitter and receiver (except end device ofc) and are autonomous. If you just only want 1 receiver and 20 emitter the better technologie for you is the 433 Mhz for exemple.
And no, I have never see this kind of device, but you can use 2 zigbee network with 2 gateway and use domoticz to manage the 2 network, but IDK if the zigate plugin permit that.
twoenter
Posts: 76
Joined: Sunday 17 February 2019 15:01
Target OS: NAS (Synology & others)
Domoticz version: 4.10
Contact:

Re: Compatibility Zigate and Synology nas

Post by twoenter »

Thorgal789 wrote: Thursday 11 July 2019 21:28 Realy nice link, I will take a look tomorrow.
BTW, we have probably found someone on zigate and a CC2531 router, not sure yet, but we probably can confirm that soon.
I can show you 2 screenshots from joining CC2531 router to domoticz and zigate.It was working, but since I switched to beta channel to test my Aqara Vibration sensors, the router is disconnected. So I switched back to stable channel, but still no reconnection.

Image


Image




a pity that it no longer works :| I made a bugreport https://github.com/sasu-drooz/Domoticz- ... issues/458. (sorry if it is the wrong place) Please help us to let it work and having official support for this device!

Used this firmware: http://ptvo.info/cc2531-based-router-firmware-136/
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

Could you clarify why you say the router is disconnected ?
The router should be somehow transparent to the plugin as this is pure device in the network which is simply contributing to the network
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

That a shame that DeviceID is not correctly set, instead of been set to 0x0008 as Range Extender it is set as 0x0100 Light !
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

Please use the latest version of beta (as for Vibration) same trouble
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Compatibility Zigate and Synology nas

Post by Thorgal789 »

For me it's normal, it's a router firmware, make with the source code of the “SampleLight” demo application.
Last edited by Thorgal789 on Saturday 13 July 2019 18:23, edited 1 time in total.
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

Thorgal789 wrote: Saturday 13 July 2019 18:17 For me it's normal, it's a router firmware.
And router firmware annouced itself as a Light ? I would expect as an extender, this would be much in line, no ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Compatibility Zigate and Synology nas

Post by Thorgal789 »

Oups, I have just edited my post ^^, this router firmware was make from a "light" code.
twoenter
Posts: 76
Joined: Sunday 17 February 2019 15:01
Target OS: NAS (Synology & others)
Domoticz version: 4.10
Contact:

Re: Compatibility Zigate and Synology nas

Post by twoenter »

I think it is announced as light switch because there is a test button on the cc2531 which controls a green led. You can test the connection with a switch in Domoticz and the physical button to turn on and off the led.

Guys thanks for replying so quick! I'll test the new firmware soon!
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

So you need to keep the switch in domoticz ?, I have to update a change then
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

Please make sure to do a git pull (on beta branch) before trying to add the router
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
twoenter
Posts: 76
Joined: Sunday 17 February 2019 15:01
Target OS: NAS (Synology & others)
Domoticz version: 4.10
Contact:

Re: Compatibility Zigate and Synology nas

Post by twoenter »

Okay short version: IT IS WORKING!!! :D

Longer story:

Sunday
Updated domoticz to domoticz beta for synology
Updated zigate plugin to beta (checout beta/git pull)

errors all the time and at the end I had 21 routers in my diagram
2019-07-17 13:04:58.447 Error: (Zigate) retreiveTimeOut_Motion - Database error: database disk image is malformed
2019-07-17 13:04:58.447 Error: (Zigate) 'onHeartbeat' failed 'TypeError':'unorderable types: NoneType() > int()'.
2019-07-17 13:04:58.477 Error: (Zigate) ----> Line 744 in '/usr/local/domoticz/var/plugins/Zigate/plugin.py', function onHeartbeat
2019-07-17 13:04:58.477 Error: (Zigate) ----> Line 607 in '/usr/local/domoticz/var/plugins/Zigate/plugin.py', function onHeartbeat
2019-07-17 13:04:58.477 Error: (Zigate) ----> Line 1327 in '/usr/local/domoticz/var/plugins/Zigate/Modules/domoticz.py', function ResetDevice
erased memory zigate and added my normal devices. I left my house for a walk. Later that day I switched back to stable channel to be sure it would work the next few days. Did a last try to add the vibration sensor and it popped up in domoticz.


no problems the next days and today I had time to test if the router is working. And it does. No errors, no problems. It is recognised as a router and a switch. I can test the connection 2 ways by domoticz and the hardware button.

thank you for your help!
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

twoenter wrote: Wednesday 17 July 2019 17:40 Okay short version: IT IS WORKING!!! :D

Longer story:

Sunday
Updated domoticz to domoticz beta for synology
Updated zigate plugin to beta (checout beta/git pull)

errors all the time and at the end I had 21 routers in my diagram
2019-07-17 13:04:58.447 Error: (Zigate) retreiveTimeOut_Motion - Database error: database disk image is malformed
2019-07-17 13:04:58.447 Error: (Zigate) 'onHeartbeat' failed 'TypeError':'unorderable types: NoneType() > int()'.
2019-07-17 13:04:58.477 Error: (Zigate) ----> Line 744 in '/usr/local/domoticz/var/plugins/Zigate/plugin.py', function onHeartbeat
2019-07-17 13:04:58.477 Error: (Zigate) ----> Line 607 in '/usr/local/domoticz/var/plugins/Zigate/plugin.py', function onHeartbeat
2019-07-17 13:04:58.477 Error: (Zigate) ----> Line 1327 in '/usr/local/domoticz/var/plugins/Zigate/Modules/domoticz.py', function ResetDevice
erased memory zigate and added my normal devices. I left my house for a walk. Later that day I switched back to stable channel to be sure it would work the next few days. Did a last try to add the vibration sensor and it popped up in domoticz.


no problems the next days and today I had time to test if the router is working. And it does. No errors, no problems. It is recognised as a router and a switch. I can test the connection 2 ways by domoticz and the hardware button.

thank you for your help!
Thanks for the feedback.
Do you have any Motion sensor ?

I have addressed this error on the beta version, it is not really clear what is triggering it. But there are some reference that is happening when a database backup is also happening
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
twoenter
Posts: 76
Joined: Sunday 17 February 2019 15:01
Target OS: NAS (Synology & others)
Domoticz version: 4.10
Contact:

Re: Compatibility Zigate and Synology nas

Post by twoenter »

Yes I have 3 Aqara motion sensors
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
Johnny5
Posts: 33
Joined: Wednesday 12 June 2019 23:20
Target OS: NAS (Synology & others)
Domoticz version:
Location: Hungary
Contact:

Re: Compatibility Zigate and Synology nas

Post by Johnny5 »

twoenter wrote: Thursday 18 July 2019 6:02 Yes I have 3 Aqara motion sensors
Hello,
Do you use this repeater? Have you assembled it by yourself?
https://www.zigbee2mqtt.io/how_tos/how_ ... outer.html
What is the longest distance where Xiaomi sensor connected to it?
I'm strungling with Xiaomi temp sensor to reach Zigate from about 8-10 meters. It's straight ahead on the porch. There are two big windows between them. Initialisation on Xiaomi sensor works then it loses the connection after several minutes. Swicthing wifi to 5Ghz didn't help on this problem.
I'm thinking about to move away Zigate using a USB extender cable from the place where my NAS and Wifi router are as well.
Thanks.
twoenter
Posts: 76
Joined: Sunday 17 February 2019 15:01
Target OS: NAS (Synology & others)
Domoticz version: 4.10
Contact:

Re: Compatibility Zigate and Synology nas

Post by twoenter »

This is the only error I still have :

Code: Select all

2019-07-19 05:48:20.499 Error: (Zigate) retreiveTimeOut_Motion - Database error: database disk image is malformed
There is one for motion, baro and temp
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
pipiche
Posts: 2006
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Compatibility Zigate and Synology nas

Post by pipiche »

twoenter wrote:This is the only error I still have :

Code: Select all

2019-07-19 05:48:20.499 Error: (Zigate) retreiveTimeOut_Motion - Database error: database disk image is malformed
There is one for motion, baro and temp
Do you have domoticz backup enabled ?


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest