cyberjunky / home-assistant-toon_climate

This component provides a climate device for rooted Toon thermostats.
MIT License
32 stars 8 forks source link

[Question] Toon 2 Support #14

Closed Daandamhuis closed 3 years ago

Daandamhuis commented 3 years ago

Hi!

Does this work with the Toon 2 and does it support the Air Quality sensor that is in the Toon 2?

itguy013 commented 3 years ago

Yes, it supports Toon 2 but not the Air Quality sensor. I think its a humidity sensor. :)

cyberjunky commented 3 years ago

@itguy013 @Daandamhuis there seems to be a special text file fetch able via http from a Toon2 containing all sensor data, I have requested a sample from someone so I can implement missing data sensors.

DiederikRhee commented 3 years ago

@cyberjunky Yes there is. It's in /qmf/www/tsc/sensors on my Toon2. It looke like a json file:

{"temperature":18.7, "humidity":49.7, "tvoc":0, "eco2":405}

cyberjunky commented 3 years ago

@DiederikRhee what is the URL of this file?

DiederikRhee commented 3 years ago

It's http://TOON_IP/tsc/sensors. For me it just returns the file itself.

See https://www.domoticaforum.eu/viewtopic.php?f=97&t=12810&p=94553&hilit=json+happ_thermstat#p94553 (last item mentioned). So it's a toon2 special.

cyberjunky commented 3 years ago

You can create this REST sensor to get the Toon2 values: https://gist.github.com/cyberjunky/6eac45e94405009c54da20c6de2450fa

cyberjunky commented 3 years ago

Closed, solution posted.