eko / tado-exporter Goto Github PK
View Code? Open in Web Editor NEWA Prometheus exporter for tado smart heating solution
License: MIT License
A Prometheus exporter for tado smart heating solution
License: MIT License
I've tried to use the docker instructions as per the readme but I get a
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
error
I have tried pulling locally and updating the dockerfile with different targets but to no avail!
Thanks
Hi there, and thanks for releasing this in the open!
I'm wondering if there is a way to make a helm chart of this?
Im' totally not familiar with rust.
Thanks and keep it up!
hi, thanks a lot for great exporter. Is there an option to get the outside temperature? It's reported in the TADO api.
Running current release on Ubuntu - package download, tar extract. Userid & password exported as per instructions but the client failing with the following error:
[2022-11-21T18:00:36Z ERROR tado_exporter::tado::client] unable to authenticate: error decoding response body: missing field access_token
at line 1 column 63
Hello great niche repo that i have found very useful, in my own grafana setup.
I noticed that when hitting the prometheus http endpoint it was very slow to respond and seemed to be related to the ticker duration.
Doing a bit of digging it seem that tokio sleep should be used rather than using the ticker as that wont cause the the async task to block other async tasks.
https://docs.rs/tokio/latest/tokio/time/fn.sleep.html
Happy to raise a PR to fix this issue.
Hello,
First of all thank you for this project!
I wonder if you can publish relevant grafana's dashboard code as well?
Cheers!
getting this error with the Docker package
[2022-11-21T17:53:33Z ERROR tado_exporter::tado::client] unable to retrieve home zone 'Hot Water - Gas' state: error decoding response body: missing field insideTemperature
at line 1 column 647
API response:
}, {
"id": 18,
"name": "Utility Room",
"type": "HEATING",
"dateCreated": "2022-06-06T18:35:46.600Z",
"deviceTypes": ["VA02"],
"devices": [{
"deviceType": "VA02",
"serialNo": "",
"shortSerialNo": "",
"currentFwVersion": "95.1",
"connectionState": {
"value": true,
"timestamp": "2022-11-21T18:54:07.657Z"
},
"characteristics": {
"capabilities": ["INSIDE_TEMPERATURE_MEASUREMENT", "IDENTIFY"]
},
"mountingState": {
"value": "CALIBRATED",
"timestamp": "2022-06-06T18:52:36.585Z"
},
"mountingStateWithError": "CALIBRATED",
"batteryState": "NORMAL",
"orientation": "VERTICAL",
"childLockEnabled": false,
"duties": ["ZONE_UI", "ZONE_DRIVER", "ZONE_LEADER"]
}],
"reportAvailable": false,
"showScheduleSetup": false,
"supportsDazzle": true,
"dazzleEnabled": true,
"dazzleMode": {
"supported": true,
"enabled": true
},
"openWindowDetection": {
"supported": true,
"enabled": true,
"timeoutInSeconds": 900
}
}, {
"id": 0,
"name": "Hot Water - Gas",
"type": "HOT_WATER",
"dateCreated": "2022-03-07T17:38:41.127Z",
"deviceTypes": ["BP02", "SU02"],
"devices": [{
"deviceType": "BP02",
"serialNo": "",
"shortSerialNo": "",
"currentFwVersion": "94.1",
"connectionState": {
"value": true,
"timestamp": "2022-11-21T18:50:24.008Z"
},
"characteristics": {
"capabilities": []
},
"isDriverConfigured": true,
"duties": ["ZONE_DRIVER"]
}, {
"deviceType": "SU02",
"serialNo": "",
"shortSerialNo": "",
"currentFwVersion": "90.1",
"connectionState": {
"value": true,
"timestamp": "2022-11-21T18:44:16.570Z"
},
"characteristics": {
"capabilities": ["INSIDE_TEMPERATURE_MEASUREMENT", "IDENTIFY"]
},
"batteryState": "NORMAL",
"duties": ["ZONE_UI", "ZONE_LEADER"]
}],
"reportAvailable": false,
"showScheduleSetup": false,
"supportsDazzle": false,
"dazzleEnabled": false,
"dazzleMode": {
"supported": false
},
"openWindowDetection": {
"supported": false
}
}]
The current Docker image is made for AMD. Can you also make a Docker image for ARM/RaspberryPi so I can use it on the RaspberryPi?
is there an option to set HOT_WATER to 0 while toggled off? i played with the temp lowering down to 30 degrees which works but usually the WATER system can be set to OFF during a timeframe at night. Would be interessting to see the "OFF" valve in the chart as well.
[2022-01-09T15:08:20Z INFO tado_exporter::tado::metrics] -> HOT_WATER -> setting temperature (celsius): 30
[2022-01-09T15:08:20Z INFO tado_exporter::tado::metrics] -> HOT_WATER -> setting temperature (fahrenheit): 86
I think I've set up prometheus correction; am getting meaningful output when I look on webpage through port 9898
However, when I setup Grafana data source - the following error:
Error reading Prometheus: bad_response: readObjectStart: expect { or n, but found #, error found in #1 byte of ...|# HELP tado|..., bigger context ...|# HELP tado_activity_heating_power_percentage The %|...
Looking at webpage data, in amongst the tado_sensor data, there are every so often two lines which say:
These seem to be the issue. Sorry for the ignorant question, but any thoughts?
I am using tado with the called "waterboiler"
but i am getting this error at the tado client routine:
ERROR tado_exporter::tado::client] unable to retrieve home zone 'Hotwater' state: error decoding response body: missing field
insideTemperature
at line 1 column 494
additional hints:
RU2051149312-0": {
"active": true,
"overrideMode": "manual",
"autoTemp": 50,
"ID": 0,
"zoneName": "HotWater",
"zoneType": "HOT_WATER",
"deviceType": "RU",
"serial": "RU2051149312",
"type": "boiler",
"canSetTemperature": true
}
how can i debug this?
Hi!
First of all: thanks for the awesome exporter! Really appreciated!
Can you share the widget/dashboard code that is used in the Grafana screenshot?
Thanks in advance!
i have installed the tado-exporter docker but it seems that no data come to the prometheus container.
here is my log from the exporter container:-- tado° exporter configuration ---
Ticker seconds: 30
Username: [email protected]
Password:
Client secret: 00000000001111111111111111222222222222222211111111111xxxxxxxxxxxxxxxx
[2021-12-18T13:24:09Z INFO tado_exporter] starting tado° exporter on address: 0.0.0.0:9898
[2021-12-18T13:24:09Z INFO tado_exporter] waiting for the first tick in 30 seconds...
[2021-12-18T13:24:39Z INFO tado_exporter::tado::client] retrieving zone details for Schlafzimmer...
[2021-12-18T13:24:39Z INFO tado_exporter::tado::client] retrieving zone details for Bad...
[2021-12-18T13:24:39Z INFO tado_exporter::tado::client] retrieving zone details for Wohn/Ess Zimmer...
[2021-12-18T13:24:39Z INFO tado_exporter::tado::client] retrieving zone details for Duschbad...
[2021-12-18T13:24:39Z INFO tado_exporter::tado::client] retrieving zone details for Gaestezimmer...
[2021-12-18T13:24:39Z INFO tado_exporter::tado::client] retrieving zone details for Arbeitszimmer...
[2021-12-18T13:24:40Z INFO tado_exporter::tado::client] retrieving zone details for Diele...
[2021-12-18T13:24:40Z INFO tado_exporter::tado::client] retrieving zone details for WC...
[2021-12-18T13:24:40Z INFO tado_exporter::tado::client] retrieving zone details for Heizung/Diele unten...
[2021-12-18T13:24:40Z INFO tado_exporter::tado::client] retrieving zone details for Haustür/Diele...
[2021-12-18T13:24:40Z INFO tado_exporter::tado::client] retrieving zone details for Warmwasser...
[2021-12-18T13:24:40Z ERROR tado_exporter::tado::client] unable to retrieve home zone 'Warmwasser' state: error decoding response body: missing field insideTemperature
at line 1 column 525
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Schlafzimmer...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Bad...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Wohn/Ess Zimmer...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Duschbad...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Gaestezimmer...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Arbeitszimmer...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Diele...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for WC...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Heizung/Diele unten...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Haustür/Diele...
[2021-12-18T13:25:09Z INFO tado_exporter::tado::client] retrieving zone details for Warmwasser...
[2021-12-18T13:25:09Z ERROR tado_exporter::tado::client] unable to retrieve home zone 'Warmwasser' state: error decoding response body: missing field insideTemperature
at line 1 column 525
All seems to work but the metrics side are empty.
Setup: TADO V3 with OpenTherm connection to gas boiler (combo - heating and water).
Exporter thorws an error while parsing "HotWater" component:
2021-01-17T08:57:38Z ERROR tado_exporter::tado::client] unable to retrieve home zone 'Hot Wat
er' state: error decoding response body: missing field insideTemperature
at line 1 column 36
I am receiving this error from the docker hib published "latest" version.
ERROR tado_exporter::tado::client] unable to authenticate: error decoding response body: missing field
access_token at line 1 column 63
the client secret is identfied correct.
any suggetions how to fix this?
TIA
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.