flopp999 / Tibber-Domoticz

Script to communicate with Tibber. Help me with a buy-me-a-coffee
https://www.buymeacoffee.com/flopp999
GNU General Public License v3.0
8 stars 4 forks source link

Devices not created - new install #45

Closed dobber81 closed 2 years ago

dobber81 commented 2 years ago

2022-01-05 14:48:19.463 Status: Tibber: Started. 2022-01-05 14:48:19.312 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 14:48:19.312 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 14:48:19.312 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 14:48:19.312 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 14:48:19.312 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 14:48:19.312 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 14:48:20.322 Status: Tibber: Initialized version 1.11, author 'flopp999'

I set this up on a fresh install of domoticz build 13949.

I used the demo token 476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4 and cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c as homeid.

New devices allowed in domoticz.

No new devices are created. No info in log, except for the above logs, and no errors or bad stuff in Tibber.log

Edit: After going to 1.12 I get additional errors in domoticz log: 2022-01-05 14:58:53.070 Error: Tibber: 'onMessage' failed 'TypeError':''NoneType' object is not subscriptable'. 2022-01-05 14:58:53.070 Error: Tibber: Exception traceback: 2022-01-05 14:58:53.070 Error: Tibber: ----> Line 500 in '/home/pi/domoticz/plugins/Tibber-Domoticz/plugin.py', function onMessage 2022-01-05 14:58:53.070 Error: Tibber: ----> Line 265 in '/home/pi/domoticz/plugins/Tibber-Domoticz/plugin.py', function onMessage

flopp999 commented 2 years ago

Please try to update the plugin, 1.12 was releases one hour ago

dobber81 commented 2 years ago

On 1.12:

2022-01-05 15:36:07.417 Status: Tibber: Entering work loop. 2022-01-05 15:36:07.417 Status: Tibber: Started. 2022-01-05 15:36:07.260 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 15:36:07.260 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 15:36:07.260 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 15:36:07.260 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 15:36:07.260 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 15:36:07.260 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-01-05 15:36:08.042 Status: Tibber: Initialized version 1.12, author 'flopp999' 2022-01-05 15:36:09.056 Tibber: Using Home ID = 210a06fe-af04-468d-9618-d685fe1399b0 2022-01-05 15:36:09.556 Tibber: No real time hardware is installed 2022-01-05 15:36:10.106 Tibber: running 2022-01-05 15:36:10.670 Error: Tibber: 'onMessage' failed 'TypeError':''NoneType' object is not subscriptable'. 2022-01-05 15:36:10.670 Error: Tibber: Exception traceback: 2022-01-05 15:36:10.670 Error: Tibber: ----> Line 500 in '/home/pi/domoticz/plugins/Tibber-Domoticz/plugin.py', function onMessage 2022-01-05 15:36:10.670 Error: Tibber: ----> Line 265 in '/home/pi/domoticz/plugins/Tibber-Domoticz/plugin.py', function onMessage

No tibber devices are created. Tested this on my production and my fresh test setup pi. Both on Domoticz build 13949.

dobber81 commented 2 years ago

My production pi just started working. Very strange since I did nothing at all. I guess this ticket can be closed.