which assumes that XML should be converted to JSON and then I define that actual response is located at “FrontDisplay” and define json attribute as Dimmer.
And here is what home assistant reposts to me:
2020-11-27 22:26:20 WARNING (MainThread) [homeassistant.components.rest.sensor] REST result could not be parsed as JSON
I use Home Assistant 0.118.0.dev0. Any ideas are welcome and appreciated! )
I’m trying to get the status from my Roth Touchline heating system.
It’s already integrated using the Touchline integration, but that one dosen’t pull the system-status.
So yes XML with wrong content type.
No chance I will get Roth to fix this, and since it looks to be a fairly common problem, a simple configuration variable “content type” or “response format” seems to be appreciated.
No worries
Better with two possible public solutions than none.
As a sidenote I can tell that if you have sensors on both a master and a slave controller, missing temperature sensors (error 3) will be shown via device #0 only. I actually expected that issues with sensors connected to the slave device would be reported via device #1.
I’ve made a custom component out of my Touchline integration and added the three missing heat modes (Pro1 Night, Pro2 Night and Pro3 Night). Tested and working here locally. Details can be found in reported Github issue here
I’m currently trying to figure out how to change state from heat to idle by calculation using current temperature and target temperature. As the actual valve state is not in the registers, one can only assume that state in theory should be heat when current temperature is below target temperature.
This won’t apply though for sensors running in night mode (default -3 degress from target) and/or multiple sensors pr. valve (average temperature used).
Python is not really my strong side (I’m just a tinkerer, not a dev) so it will be an uphill sprint and I’m not sure I’ll succeed on my own. So any help would be appreciated
Wow that’s a bit confusing with the slave controller. Fortunately I have exactly 12 zones, so can still get by with just one controller.
Didn’t actually noticed the missing modes, probably because I have the heating pipes in the concrete floor, so temperature changes is way to slow to care about night saving.
I have tried this alternative integration:
using mqtt.
He is recording the temperature changes from the thermostats, and a thermostats has not changed temperature in 24 hours, it’s reported as unavailable.
Cleaver.
But I never managed to make a propper add-on out of it, so I dropped it.
Sorry my python skills are also very limited, actually my programming skills are generally not very impressing, so can’t help you much there.