Replies: 3 comments 1 reply
-
Hi, the error message is very poor - I'll have to look into that. Though perhaps the error is that the properties should be snake_case instead of camelCase? E.g. |
Beta Was this translation helpful? Give feedback.
-
Thanks, that did the trick. This line then works fine: Strange that it does not follow the man pages: https://developer.tibber.com/docs/reference But I am not able to get the current. None of these do work: Web show that its currentL1 that should be used. Also how to I write the output to a file instead of screen?
Its some ugly compare to that python can write by it self. |
Beta Was this translation helpful? Give feedback.
-
How stupid one can be ;) |
Beta Was this translation helpful? Give feedback.
-
After some reading and testing, I do now get my live data, but only some of them:
This works fine and give time at reading and current power:
print(data.timestamp , data.power)
But when I try to get some other data, it does not work. Like voltagePhase1
print(data.voltagePhase1)
or
print(data.timestamp , data.power , data.voltagePhase1)
Error message I do get is:
Retrying to subscribe with backoff. Running <bound method TibberHome.run_websocket_loop of <tibber.types.home.TibberHome object at 0x7fcc2a197130>> in 0.4 seconds after 1 tries.
If I do test this with my token over at developer.tibber.com, I do get the value for Voltage Phase 1 and other.
I would like to have all the Phases, both voltage and current.
What do I do wrong?
Beta Was this translation helpful? Give feedback.
All reactions