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.
Tibber / GraphQL into Domoticz
Moderator: leecollings
- FireWizard
- Posts: 1868
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Tibber / GraphQL into Domoticz
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
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
- waltervl
- Posts: 5761
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tibber / GraphQL into Domoticz
Here did someone create a Python plugin that you could use https://github.com/flopp999/Tibber-Domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 32
- Joined: Friday 04 December 2015 21:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sandnes, Norway
- Contact:
Re: Tibber / GraphQL into Domoticz
Thanks, FireWizard and waltervl, for your proposals. I'll have a look into both options.
-
- Posts: 32
- Joined: Friday 04 December 2015 21:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sandnes, Norway
- Contact:
Re: Tibber / GraphQL into Domoticz
I went for flopp999''s plugin. Really nice and responsive guy - he amended plugin as per my request, and it works just great.
Who is online
Users browsing this forum: No registered users and 1 guest