Page 1 of 1
Tibber / GraphQL into Domoticz
Posted: Sunday 07 March 2021 8:45
by DeVille70
I use the Tibber electric company, which offers an API using GraphQL (
https://developer.tibber.com/docs/overview ) for subscribing to electical data (power, consumption, etc).
I have no experience with with APIs in general and not all GraphQL. How can I access this API, and get current power usage into Domoticz?
Any help appreciated. Thanks.
Re: Tibber / GraphQL into Domoticz
Posted: Sunday 07 March 2021 10:32
by FireWizard
Hi, @DeVille70
I would suggest, that you install Mosquitto as MQTT broker and configure in Domoticz the MQTT Client Gateway with Lan Interface. Next step is to install Node Red, as there is a node available for Tibber.
See:
https://flows.nodered.org/node/node-red ... tibber-api
With NR you can make a flow and push the data over MQTT to Domoticz.
If you need support in creating the flow, let me know.
Regards
Re: Tibber / GraphQL into Domoticz
Posted: Sunday 07 March 2021 19:30
by waltervl
Here did someone create a Python plugin that you could use
https://github.com/flopp999/Tibber-Domoticz
Re: Tibber / GraphQL into Domoticz
Posted: Monday 08 March 2021 21:43
by DeVille70
Thanks, FireWizard and waltervl, for your proposals. I'll have a look into both options.
Re: Tibber / GraphQL into Domoticz
Posted: Tuesday 09 March 2021 22:37
by DeVille70
I went for flopp999''s plugin. Really nice and responsive guy - he amended plugin as per my request, and it works just great.