Re: Python plugin: Presence detection from wireless router
Posted: Saturday 01 April 2023 12:06
Thanks for having tried.
I'll give a try to zigbee2mqtt
Thanks!
I'll give a try to zigbee2mqtt
Thanks!
Open source Home Automation System
https://forum.domoticz.com/
Could it be that the user (on the docker host) running the container does not have the correct privileges for the plugins directory?hjzwiers wrote: ↑Saturday 29 July 2023 18:14 I've istalled the newest domotics and running from docker compose. I'm currently upgrading the system and when I try to install iDetect from th enew plugins directory I get the following message:
fatal: could not create work tree dir 'iDetect': Permission denied
I don't know what is wrong but what I'm doing will become routing soon!
Seems to be a problem for other plugins using cryptography as well and there seems to be no solution yet. I will investigate/experiment when I have some time to spare. In the meantime your work-around seems to be the best option (Restart Domoticz entirely when needed).
Code: Select all
python3 pip install cryptography==40.0.2 --upgrade
Code: Select all
sudo pip install cryptography==40.0.2 --upgrade
Did you restart the system or only the plugin after the you installed version 40.0.2?hjzwiers wrote: ↑Tuesday 15 August 2023 8:22 That command ran well
Installing collected packages: cryptography
Attempting uninstall: cryptography
Found existing installation: cryptography 41.0.3
Uninstalling cryptography-41.0.3:
Successfully uninstalled cryptography-41.0.3
Successfully installed cryptography-40.0.2
After running I did an restart, same as before "Status: iDetect: Skip this hearbeat ... system is still preparing"
Restarted system
If you only restarted the plugin after downgrading the module, then errors would not surprise me. Domoticz does not restart the entire python environment when only a plugin is restarted.