Code : Tout sélectionner
sudo apt install python3-devCode : Tout sélectionner
sudo apt install python3-devCode : Tout sélectionner
root@domoticz:/opt/domoticz# sudo apt install python3-dev
bash: sudo: command not found
root@domoticz:/opt/domoticz# apt install python3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-dev' has no installation candidate
Code : Tout sélectionner
cd userdata
cd plugins
git clone https://github.com/zigbeefordomoticz/Domoticz-Zigbee.git
cd Domoticz-Zigbee
apt update
apt install python3-dev
python3 -m pip install --upgrade pip
pip3 install wheel
pip3 install -r requirements.txtCode : Tout sélectionner
2022-11-06 11:29:05.484 zigbee: Worker thread started.
2022-11-06 11:29:05.484 Status: zigbee: Entering work loop.
2022-11-06 11:29:05.484 Status: zigbee: Started.
2022-11-06 11:29:06.039 zigbee: Zigbee for Domoticz plugin started!
2022-11-06 11:29:06.568 zigbee: load PluginConf
2022-11-06 11:29:06.569 zigbee: Loading PluginConf - into Domoticz sqlite Db
2022-11-06 11:29:06.569 zigbee: /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf-08.json timestamp is 1667407502.2783728
2022-11-06 11:29:06.569 zigbee: Dz PluginConf is older than Json Dz: 0 Json: 1667407502.2783728
2022-11-06 11:29:06.569 zigbee: Installing plugin custom page /opt/domoticz/www/templates/zigbee.html
2022-11-06 11:29:06.570 zigbee: Starting LoggingManagement thread
2022-11-06 11:29:06.570 zigbee: start_logging_thread
2022-11-06 11:29:06.570 zigbee: logging_thread - listening
2022-11-06 11:29:06.038 Status: zigbee: Initialized version 6.3, author 'pipiche38'
2022-11-06 11:29:06.039 Status: zigbee: Checking Python modules /opt/domoticz/userdata/plugins/Domoticz-Zigbee/requirements.txt
2022-11-06 11:29:06.530 Status: zigbee: Checking Python modules /opt/domoticz/userdata/plugins/Domoticz-Zigbee/requirements.txt
2022-11-06 11:29:06.569 Status: zigbee: filename set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/PluginConf-08.json
2022-11-06 11:29:06.569 Status: zigbee: pluginHome set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/
2022-11-06 11:29:06.569 Status: zigbee: homedirectory set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/
2022-11-06 11:29:06.569 Status: zigbee: pluginData set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data/
2022-11-06 11:29:06.569 Status: zigbee: pluginConfig set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Conf/
2022-11-06 11:29:06.569 Status: zigbee: pluginOTAFirmware set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/OTAFirmware/
2022-11-06 11:29:06.569 Status: zigbee: pluginReports set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Reports/
2022-11-06 11:29:06.569 Status: zigbee: pluginWWW set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/www/
2022-11-06 11:29:06.569 Status: zigbee: pluginLogs set to /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs/
2022-11-06 11:29:06.571 Status: zigbee: Please watch plugin log into /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Logs//PluginZigbee_08.log
2022-11-06 11:29:06.575 Status: zigbee: Zigbee for Domoticz (z4d) plugin stable6-6.3.005 started
2022-11-06 11:29:06.578 Status: Incoming connection from: 172.17.0.1
2022-11-06 11:29:06.586 Status: zigbee: DeviceConf loaded - 22 confs loaded
2022-11-06 11:29:06.657 Status: zigbee: DeviceConf loaded - 365 confs loaded
2022-11-06 11:29:06.658 Status: zigbee: load ListOfDevice
2022-11-06 11:29:06.658 Status: zigbee: 0 Entries loaded from /opt/domoticz/userdata/plugins/Domoticz-Zigbee/Data/DeviceList-8.txt
2022-11-06 11:29:06.660 Status: zigbee: Transport mode: ZigpydeCONZ
2022-11-06 11:29:06.660 Error: zigbee: Call to function 'onStart' failed, exception details:
2022-11-06 11:29:06.661 Error: zigbee: Traceback (most recent call last):
2022-11-06 11:29:06.661 Error: zigbee: File "/opt/domoticz/userdata/plugins/Domoticz-Zigbee/plugin.py", line 1562, in onStart
2022-11-06 11:29:06.661 Error: zigbee: _plugin.onStart()
2022-11-06 11:29:06.661 Error: zigbee: File "/opt/domoticz/userdata/plugins/Domoticz-Zigbee/plugin.py", line 566, in onStart
2022-11-06 11:29:06.661 Error: zigbee: import zigpy
2022-11-06 11:29:06.661 Error: zigbee: ModuleNotFoundError: No module named 'zigpy'
2022-11-06 11:29:30.855 Envoy: General/kWh (Enphase kWh Production)
2022-11-06 11:29:30.857 Envoy: P1 Smart Meter (Enphase Production kWh Total)
2022-11-06 11:30:01.440 Envoy: General/kWh (Enphase kWh Production)
2022-11-06 11:30:01.443 Envoy: P1 Smart Meter (Enphase Production kWh Total)
2022-11-06 11:30:15.079 Error: zigbee: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-06 11:30:25.067 Error: zigbee: [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-06 11:30:31.604 Envoy: General/kWh (Enphase kWh Production)
2022-11-06 11:30:31.606 Envoy: P1 Smart Meter (Enphase Production kWh Total)
2022-11-06 11:30:35.058 Error: zigbee: [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-06 11:30:45.093 Error: zigbee: [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-06 11:30:55.082 Error: zigbee: [110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-06 11:31:01.764 Envoy: General/kWh (Enphase kWh Production)
2022-11-06 11:31:01.766 Envoy: P1 Smart Meter (Enphase Production kWh Total)
2022-11-06 11:31:05.071 Error: zigbee: [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-11-06 11:31:06.075 zigbee: URL INFOS {'type': 'command', 'param': 'updatehardware', 'htype': '94', 'idx': 8, 'name': 'zigbee', 'address': '0.0.0.0', 'port': '9999', 'serialport': '/dev/ttyACM0', 'Mode1': 'ZigpydeCONZ', 'Mode2': 'USB', 'Mode3': 'False', 'Mode4': '9440', 'Mode5': 'http://Lecanard:fa1ral@192.168.0.11:9191', 'Mode6': '2', 'extra': 'Zigate', 'enabled': 'false', 'datatimeout': '0', 'loglevel': 7}
2022-11-06 11:31:06.089 zigbee: onStop()
2022-11-06 11:31:06.092 zigbee: logging_thread - ended
2022-11-06 11:31:06.207 zigbee: Logging Thread shutdown
2022-11-06 11:31:06.207 zigbee: onStop called (6) Close Logging Management
2022-11-06 11:31:06.076 Status: zigbee: Plugin Restart command : http://****:****@192.168.0.11:9191/json.htm?type=command¶m=updatehardware&htype=94&idx=8&name=zigbee&address=0.0.0.0&port=9999&serialport=%2Fdev%2FttyACM0&Mode1=ZigpydeCONZ&Mode2=USB&Mode3=False&Mode4=9440&Mode5=http%3A%2F%2FLecanard%3Afa1ral%40192.168.0.11%3A9191&Mode6=2&extra=Zigate&enabled=false&datatimeout=0&loglevel=7
2022-11-06 11:31:06.089 Status: zigbee: Stop directive received.
2022-11-06 11:31:06.301 Status: zigbee: Exiting work loop.
2022-11-06 11:31:06.389 Status: zigbee: Stopping threads.
2022-11-06 11:31:06.389 Status: zigbee: Stopped.
2022-11-06 11:31:06.084 Error: zigbee: [ ] Stopping the plugin and lease do check the Coordinator connectivity.