Tibber / GraphQL into Domoticz

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
DeVille70
Posts: 32
Joined: Friday 04 December 2015 21:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Sandnes, Norway
Contact:

Tibber / GraphQL into Domoticz

Post 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.
User avatar
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

Post 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
User avatar
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

Post by waltervl »

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
DeVille70
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

Post by DeVille70 »

Thanks, FireWizard and waltervl, for your proposals. I'll have a look into both options.
DeVille70
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

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest