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/
Did the new version (using the soap api) work for you?
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!
That’s alright, I know the feeling
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).hjzwiers wrote: Tuesday 01 August 2023 14:17 It is working, you need to reload the app and cannot use update ......
Code: Select all
python3 pip install cryptography==40.0.2 --upgradeCode: Select all
sudo pip install cryptography==40.0.2 --upgradeDid 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
I don't know of another way to check if it works.hjzwiers wrote: Tuesday 15 August 2023 17:22 I only restarted domoticz, did not try to run it again ...... should I?
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.hjzwiers wrote: Tuesday 15 August 2023 17:34 I mean I restarted Domoticz, not the whole PC, does that impact the script? If it does I will restart