Thank you for your extensive example.
It works great! now I can heat my water through solar panels.
If the temperature is too low, the gas boiler takes over.
Really great stuff. I will have a look at how an integration should look like, and what is needed for it.
As I have no boiler/heater yet, it will be difficult to test. I will have a first look at simulating a boiler. Maybe I can find the Tesy firmware, and put it in an ESP device have a stub test device.
Great, I did not find out how to send commands towards the boiler.
Thanks a lot!
Is there a specific reason that you chose to use an automation for rest?
I found out that the boiler didn’t like a lot of frequent rest commands (I used to have each attribute in a seperate entity). Had to turn it off every 2 to 3 weeks because it became unresponsive.
Regarding the power calculation, I think you have a newer (firmware) version.
My boiler has a weird calculation of power usage, hence the calculation in the template
It is formatted like this (output from /calcRes)
I use rest because it is what the app and the webinterface are using if you go to the local IP, And it spams the boiler if you look at the traffic!
So unless you send the wrong command I have not been able to make the boiler upset.
(been there , but also its has not been 3 weeks yet )
Perhaps you should post a screen shot or 2 for the power usage on the boilers website! (power/version)
A JSON output of calcRes would also be of interest
Hey fellas, first off GREAT work William! I see that a lot of people are happy with it.
I do have some issues with the rest requests however.
Initially I tried with the simplest command to just gather the heater’s status just like the first comment you wrote, what I got as response was the following :
Error parsing value: 'value_json' is undefined (value: <html><meta http-equiv="refresh" content="0; URL='/'" /><body>File Not Found</body></html>, template: {{ value_json['gradus'] == '1' }})
Then I tried with the entire config.yaml from GIT again with no luck.
All the requests were failing with “File Not Found”
Just to add that I’ve changed the IP to match my water heater one.
The Heater itself is Tesy Belissimo
Anyone else has similar issue and did you manage to find a working solution?
@belastingvormulier, so nice to see this is getting the attention it so desperately needs!!! Also really good to see that more people show interest! Thanks for all your effort already. @ronnie_j, can’t wait to see an integration coming to life!!!
So seeing that you discovered the other commands really pleased me.
I wasn’t able to find it, how did you do it? Because I’m not able to control it through its own web interface.
When I started using it, I had 1 rest command per attribute, so it really flooded the boiler with requests… Thats why I’m now also using the scan_interval: 60
I also do not need the &_=16xxxxxxxx id’s to get it working by the way.
You can see the output of /calcRes in my previous post, that’s the complete output, also noted it below again.
As you see it has different attributes than you use in yours, hence the calculation I had to do to get it in to proper kWh.
Thanks for the suggestion. This will probably lead me to the solution, because opening the boiler IP in the browser shows only a textfield with “IoT” in it. Currently I’ve been controlling the boiler with the TesyCloud app, which probably blocked the local connection with the boiler.
Will try to revert to factory setting and start over to see what will happen.
Hah weird, tesyCloud app, which in theory is the official app in Bulgaria for Tesy does not really provide you with any information. The only thing you can do in Settings is Logout…
Apart from that, the app has some sort of Local Boiler Control, which is stuck on Loading (Yes I am connected on my local Lan) I Even tried it on browser from PC connected with LAN to the router.
Did you download this MODECO from Google Play or from a third-party?
Perhaps you have an older firmware or maybe a slightly different product than we have.
William’s web interface also looks different from mine.
On the web interface of the boiler itself I can only specify Timezone, Wifi, Volume, see the FW version (FW15.2N@M) and specify my MyTesy account.
I can’t control it through it’s own web interface.
But my boiler firmware version, does have some pages reporting JSON through for example http:// boiler IP /status.
And with the URL’s / pages William discovered, I am able to ‘control it’ locally.
Control (for me) of the boiler goes through the mobile app or web, found here: tesyCloud (mytesy.com)