Read the statement by Michael Teeuw here.
Tado module?
-
Yeah no idea about nodejs stuff, spoke to a friend today who is hoping to build a magicmirror (I still havent had time to set mine up at all). He is keen to have a look at this with me. We will hopefully sit down over a couple of beers next week and see if we can bash something out.
Anyone else who already knows more about modules happy for them to take the above and make it work…
@dinkybluebug245 did you test the above, even though only a bash script, still pretty cool -
@charliwest I would have some sparetime tonight, therefore I could help out if someone with a tado acc would like to join me
-
@strawberry-3.141 i have availability tonight
-
@strawberry-3-141 - Hello - I can help over the weekend, and next week - evenings this week Im busy
-
would be great to get someone with other devices than a heating unit
-
@strawberry-3.141 can’t help with that. But if you need some else to test tado heating api. I can help.
-
@strawberry-3.141 I’ll be getting radiator thermostats in the next few weeks but no cooling
-
@charliwest This didnt work for me…
I got this error:
tado.sh: line 5: unexpected EOF while looking for matching `"’
tado.sh: line 12: syntax error: unexpected end of filethe contents of tado.sh, is:
USERNAME=xxx
PASSWORD=xxxx
curl --silent “https://my.tado.com/mobile/1.9/getCurrentState?username=“$USERNAME”&password=“$PASSWORD”” > temp
insideTemp=$(grep -o “insideTemp." temp| awk ‘{print substr($1,13,4)}’)
setPointTemp=$(grep -o "setPointTemp.” temp| awk ‘{print substr($1,15,4)}’)
heatingOn=$(if grep -q ““heatingOn”:true” temp; then
echo '\xf0\x9f\x94\xa5’
else
echo '\xf0\x9f\x9a\xab’
fi)
echo “$insideTemp” / “$setPointTemp” / “$heatingOn” -
@dinkybluebug245 probably a cut and paste error with the ticks, try from here https://github.com/charliwest/random_scripts/blob/master/tado2
-
@charliwest Thanks for the response, I get a different error now,
grep: temp: No such file or directory
grep: temp: No such file or directory
tado.sh: command substitution: line 16: syntax error near unexpected tokenfi' 'ado.sh: command substitution: line 16:fi)
/ -
@dinkybluebug245 there shouldn’t be a line 16, can you double check the file u made is correct. Where are you running the script from? Also it says something about ado.sh … not sure what that’s referring to?
-
@charliwest Yes you’re right… file wasnt created correctly.
output now is
20.5 / 10," / \xf0\x9f\x9a\xab
seems to work, but your comment on how the pi would deal with hex values was right, and because the second value only has two digits (10) Im assuming this is why its picking up the characters ,"
-
So here is the first attempt https://github.com/olipayne/MMM-Tado-ThermoStats
Works pretty well but still need some work -
@charliwest this looks awesome. What variable is the tado home number?
-
@dinkybluebug245 I’ll write a readme for it tomorrow, but basically if you manually run my original tado.sh in each step you will get the answers. If you need more into it will be there when the readme is ready ;)
-
OK, the readme is there now, hope it makes sense.
https://github.com/olipayne/MMM-Tado-ThermoStats/tree/master
Its by no means perfect, and still want to try and automated the homeid if I can, and add an icon for on or off but have yet to work out which result that actually is ;)
-
@charliwest great job. Works well. Thanks.
Once you’ve got the icons working for heating on etc, it would be great it there was a house icon at the beginning - I suppose it makes it obvious then it’s the temperature of inside your home.
Love it.
-
@charliwest also, just noticed that when Tado is off, the module doesn’t update at all. Just stays the same as the last recorded reading. If the module is restarted and Tadl is off, the is just says ‘loading’
-
off as in not heating or as in powered off?
-
@charliwest off as in set heating to
Manually off. (Ignore current and target temperature)Current output on api is
{“tadoMode”:“HOME”,“geolocationOverride”:false,“geolocationOverrideDisableTime”:null,“preparation”:null,“setting”:{“type”:“HEATING”,“power”:“OFF”,“temperature”:null},“overlayType”:“MANUAL”,“overlay”
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login