Smanar / Domoticz-deCONZ

deCONZ plugin for Domoticz (Zigbee application)
GNU General Public License v3.0
36 stars 27 forks source link

Domoticz 2020.1 upgrade #51

Closed Allras82 closed 3 years ago

Allras82 commented 4 years ago

Hello,

After upgrade og domoticz,to 2020.1 it like that deconz does not follow "domoticz speed" I often have to send command more times before the change end up with a reaction in deconz device!

This is both for timers, manual activated switches and events!

In domoticz LOG it does however looks like deconz/domoticz is sending commands, but the do not end with a reaction in the device!

Br Allan

Smanar commented 4 years ago

Ok, so you have restarted deconz too in same time ? You are using device firmware update in deconz ?

I think the problem is from deconz, not domoticz, I think if you are trying with phoscon you will have same problems (if it's not already solved) ?

Allras82 commented 4 years ago

Yes I have tried restart of entire system several times. It didn't help.

Yes I have activated OTA in deconz... is this a problem?

Any suggestions to solve de deconz problem?

Br Allan

Smanar commented 4 years ago

If you restart deconz, it can start the update procedure for some forgotten devices. Better to wait for it stabilize.

You can disable the OTA or just wait some hours.

You have the same problem on Phoscon ?

You have the GUI version or the headless ?

Allras82 commented 4 years ago

Iv did a couple of test with devices only at phoscon... yes it has the same problem. U stable and slow response time!

I'm on a GUI version at a rpi3 with conbeell

Smanar commented 4 years ago

So 2 thing to check, the cpu usage on the machine with deconz, and can you show your network from deconz GUI pls ?

I m not sure, I need to check, but from my memory someone has the same bug because of a faulty bulb. IDK your installation, but can you disable some part using circuit breaker to make test ?

Smanar commented 4 years ago

I have find one https://community.jeedom.com/t/lenteur-deconz/15980 It's a french forum, for him the problem was an ikea plug, it have removed it and all is fine after.

It's not after an application upgrade on his side.

Allras82 commented 4 years ago

It's not easy to get at good picture of the network.. it's a bit of a mess.

I will try to isolate some devices but turning them off... to see if this helps.

Allras82 commented 4 years ago

Screenshot_20200418-202920_RaspManager Screenshot_20200418-202857_RaspManager

It seems like deconz are using a bit of resources... but still the overall load shouldn't be critical I guess.!

Smanar commented 4 years ago

For me 30 % is too much for a raspberry 3, how many device have you ? Just by curiosity on the GUI you haven't enabled the "LQI" button ? it write value on green connexion ?

Allras82 commented 4 years ago

The LQI is not active. I have 71 nodes in my network at the moment.

Picture of my net:

net_zigbee

Allras82 commented 4 years ago

Im not sure how to "read" the network... whats the dif. betwean the read and green connections? is the red one a problem?

Smanar commented 4 years ago

It's just an indication. And the network is meshed, so you can have a red line + a green one on the same device.

Green = better link quality, red less.

A device can work with a red line.

I realy don't have idea, perhaps make an issue on deconz github. You have just upgraded domoticz or all your OS ? You have the last deconz version ? 2.05.75 ?

For me 30% is too much for a raspberry 3, you have perhaps something blocking. As you have probably changed nothing on software, an hardware test with circuit breaker will be usefull and fast. if you have only light.

It s possible too, enabling log on deconz, hoping to see something, but I m not sure I can translate it.

Allras82 commented 4 years ago

Ok, thanks. Yes im on deconz 2.05.75

Yes iv upgraded my domoticz to the latest 2020.1, and i feel it's since then the system have been slow reacting. But still its only deconz part. That was why i thought i might be the dezonz plugin for domoticz, that were causing the lower system response... and of cause it make sense of the plugin need to be reviewed after an update for the domoticz. I was just taking a change to install the new domotics. (I was hoping for better support for "magic home" devices, but this was not the case, so flashed by tasmota instead, which works great)

Im not sure where to find the deconz LOG!!?

Anyhow thank you for your support so far :-)

Smanar commented 4 years ago

I don't think it's the plugin, beause you have same problem using phoscon. But it's realy strange as you haven't changed anything on deconz or on your hardware.

You can run deconz in debug mode, whith closing it and run it again using command line

deCONZ --dbg-info=2 --dbg-zdp=1 --dbg-zcl=1 --db-aps=1 --dbg-http=0

But never send the log to a file, only console output, realy lot of data.

If you have something blocking I think you will have a debug line (identical) more than 1 time by second.

Smanar commented 4 years ago

@Allras82 by curiosity, you have find the problem ?

Allras82 commented 4 years ago

Hi Smanar

I've fixed the problem by removing a Philips hue lamp away from deconz and instead connecting it at the original hue Bridge... now everything works fine. Downside is that I now have two zigbee network running. I have not yet tried to reconnect the hue lamp to deconz.

So actually I did not fixed the problem, but its removed 😉

Br. Allan

Allras82 commented 4 years ago

So for me it fine to close issue, if no further details I can support with.

Smanar commented 4 years ago

So the problem was from a device.

And yes, that would have been my next question ^^, if you have made the try with another bulb.

Because it's pity having 2 zigbee network instead of one bigger (for mesh)