Page 1 of 1

Zigbee4Domoticz Plugin update/Options unchanged

Posted: Thursday 17 July 2025 16:03
by lost
Hello,

I'm testing some Z4D changes done by Pipiche concerning coordinator setup options. Plugin was updated correctly from test branch, new options in plugin.py are there... But even after a plugin restart from Domoticz hardware tab/cache clear from browser: Impossible to see updated options & even text???

Finally, a full domoticz restart did the trick but if I can understand that updating with plugin stopped may need a restart for new plugin.py being parsed & new options added, I'm quite surprised a full Dz restart being needed there.

Not sure this is a bug, but at least should be added to wiki IMO?

Re: Zigbee4Domoticz Plugin update/Options unchanged

Posted: Thursday 17 July 2025 16:52
by waltervl
This is probably related to the plugin and not a general issue. So I move this the zigbee section.

I also use this plugin have no issues here with updating.

Re: Zigbee4Domoticz Plugin update/Options unchanged

Posted: Thursday 17 July 2025 17:03
by waltervl
The zigbee4domoticz gui on port 9440 also has a restart plugin option.
Are you running Domoticz beta or Stable as in beta something has changed in stopping plugins. So perhaps this has te be taken into account.

Re: Zigbee4Domoticz Plugin update/Options unchanged

Posted: Thursday 17 July 2025 18:07
by lost
Hi Waltervi,
I'm running latest stable. IMO that's not a plugin issue, but a plugin infrastructure issue: Changes to what will be used in hardware setup page, so even before starting the plugin after an update, just can't be managed on plugin side.
IMO parsing plugin.py configuration options section is only done at domoticz startup & not at (re)start when an already installed plugin gets updated.
I believe config options does not change often so this'll not be noticed by many, except while testing such additions!

Re: Zigbee4Domoticz Plugin update/Options unchanged

Posted: Thursday 17 July 2025 20:08
by waltervl
Ah, OK, I did not read carefully and did not understand it was about the change in the config section in a plugin.
But I think it is better to have pipiche, as a plugin author, report the issue.
Perhaps it is related to the type of change and perhaps he did something wrong.
He better make it reproducible by reporting the 2 versions of a simple plugin where the change is clear.