Page 3 of 5

Re: Compatibility Zigate and Synology nas

Posted: Thursday 11 July 2019 20:06
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

Re: Compatibility Zigate and Synology nas

Posted: Thursday 11 July 2019 21:28
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.

Re: Compatibility Zigate and Synology nas

Posted: Friday 12 July 2019 19:02
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.

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 8:45
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.

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 13:07
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/

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 17:41
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

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 17:46
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 !

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 17:47
by pipiche
Please use the latest version of beta (as for Vibration) same trouble

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 18:17
by Thorgal789
For me it's normal, it's a router firmware, make with the source code of the “SampleLight” demo application.

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 18:23
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 ?

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 18:24
by Thorgal789
Oups, I have just edited my post ^^, this router firmware was make from a "light" code.

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 19:41
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!

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 21:40
by pipiche
So you need to keep the switch in domoticz ?, I have to update a change then

Re: Compatibility Zigate and Synology nas

Posted: Saturday 13 July 2019 22:14
by pipiche
Please make sure to do a git pull (on beta branch) before trying to add the router

Re: Compatibility Zigate and Synology nas

Posted: Wednesday 17 July 2019 17:40
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!

Re: Compatibility Zigate and Synology nas

Posted: Wednesday 17 July 2019 20:35
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

Re: Compatibility Zigate and Synology nas

Posted: Thursday 18 July 2019 6:02
by twoenter
Yes I have 3 Aqara motion sensors

Re: Compatibility Zigate and Synology nas

Posted: Thursday 18 July 2019 23:17
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.

Re: Compatibility Zigate and Synology nas

Posted: Friday 19 July 2019 5:52
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

Re: Compatibility Zigate and Synology nas

Posted: Friday 19 July 2019 9:15
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