JohnvandeVrugt / toonapilib4domoticz

A simple toonapilib based python plugin for domoticz
MIT License
7 stars 6 forks source link

Problem on installation domoticz #36

Open seatpiety opened 3 years ago

seatpiety commented 3 years ago

Hi after instalation
I have te following issues on domoticz

2021-06-06 22:23:09.096 TOON 2 hardware started. 2021-06-06 22:23:09.096 Status: TOON 2 : (TOON 2 ) Entering work loop. 2021-06-06 22:23:09.096 Status: TOON 2 : (TOON 2 ) Started. 2021-06-06 22:23:12.708 TOON 2 : (TOON 2 ) Using toonapilib version 4.1.0 by Costas Tyfoxylos costas.tyf@gmail.com 2021-06-06 22:23:12.708 TOON 2 : (TOON 2 ) Debug logging is off 2021-06-06 22:23:12.914 TOON 2 : (TOON 2 ) Could not create a toonapilib object 2021-06-06 22:23:12.914 TOON 2 : (TOON 2 ) Possible solution: 2021-06-06 22:23:12.914 TOON 2 : (TOON 2 ) Check your Access Token 2021-06-06 22:23:12.914 TOON 2 : (TOON 2 ) Restart Domoticz 2021-06-06 22:23:12.920 TOON 2 : (TOON 2 ) Check and create Toon devices 2021-06-06 22:23:12.920 TOON 2 : (TOON 2 ) Creating power usage device Power usage 2021-06-06 22:23:12.923 TOON 2 : (TOON 2 ) Creating gas usage device Gas usage 2021-06-06 22:23:12.925 TOON 2 : (TOON 2 ) Creating temperature device Room temperature 2021-06-06 22:23:12.926 TOON 2 : (TOON 2 ) Creating set point device Set point 2021-06-06 22:23:12.928 TOON 2 : (TOON 2 ) Creating heating active device Heating active 2021-06-06 22:23:12.930 TOON 2 : (TOON 2 ) Creating hot water active device Hot water active 2021-06-06 22:23:12.931 TOON 2 : (TOON 2 ) Creating pre heat active device Preheat active 2021-06-06 22:23:12.933 TOON 2 : (TOON 2 ) Creating thermostat state device Scene 2021-06-06 22:23:12.935 TOON 2 : (TOON 2 ) Creating program state device Program state 2021-06-06 22:23:12.937 TOON 2 : (TOON 2 ) Creating modulation level device Modulation level 2021-06-06 22:23:12.706 Status: TOON 2 : (TOON 2 ) Initialized version 1.3.1, author 'John van de Vrugt' 2021-06-06 22:23:12.938 Error: TOON 2 : (TOON 2 ) 'onStart' failed 'AttributeError':''NoneType' object has no attribute 'smartplugs''. 2021-06-06 22:23:12.939 Error: TOON 2 : (TOON 2 ) ----> Line 104 in '/home/pi/domoticz/plugins/toonapilib4domoticz/plugin.py', function onStart 2021-06-06 22:23:12.939 Error: TOON 2 : (TOON 2 ) ----> Line 62 in '/home/pi/domoticz/plugins/toonapilib4domoticz/plugin.py', function on_start 2021-06-06 22:23:12.939 Error: TOON 2 : (TOON 2 ) ----> Line 41 in '/home/pi/domoticz/plugins/toonapilib4domoticz/devices/device_factory.py', function create_devices

Can you tell me what to do I have tried to reinstall but its still not working yet.