Page 1 of 1

Read humidity from Toon

Posted: Fri Jan 17, 2020 6:27 pm
by FireSon
Is it possible to get the humidity from a rooted Toon2? I would like to use it in Home Assistant.
Thanks,
Jan

Re: Read humidity from Toon

Posted: Fri Jan 17, 2020 6:50 pm
by TheHogNL
Just created a small extra routine in the tsc script which should put info about that in the file http://toon-ip-address/tsc/sensors
Press 'check update' in tsc menu to get the new script (it will say 'no update found' but it does update the script, there is just no new firmware).

Re: Read humidity from Toon

Posted: Fri Jan 17, 2020 8:56 pm
by FireSon
Wauw thanks, that is quick and it works :D

Re: Read humidity from Toon

Posted: Mon Jan 20, 2020 9:12 pm
by glsf91
TheHogNL wrote:Just created a small extra routine in the tsc script which should put info about that in the file http://toon-ip-address/tsc/sensors
Press 'check update' in tsc menu to get the new script (it will say 'no update found' but it does update the script, there is just no new firmware).
I don't know if it can be changed but should Content-Type: application/octet-stream in the response not be Content-Type: application/json
In chrome it wants to save a file when requested.

Re: Read humidity from Toon

Posted: Mon Jan 20, 2020 9:56 pm
by mAiden
glsf91 wrote:
TheHogNL wrote:Just created a small extra routine in the tsc script which should put info about that in the file http://toon-ip-address/tsc/sensors
Press 'check update' in tsc menu to get the new script (it will say 'no update found' but it does update the script, there is just no new firmware).
I don't know if it can be changed but should Content-Type: application/octet-stream in the response not be Content-Type: application/json
In chrome it wants to save a file when requested.
Dokt change it Thehog. Otherwise Home Assistant will be crash.

Re: Read humidity from Toon

Posted: Wed Jan 22, 2020 12:27 pm
by RoadXY
Are there any sensors on a Toon v1 which can be read?

Re: Read humidity from Toon

Posted: Fri May 14, 2021 9:58 am
by JackV
I am glad I found this post because I also want to get the humidity out.
Now when I go to /tsc/sensors I get the next data :

{"temperature":20.7, "humidity":54.2, "tvoc":0, "eco2":400, "intensity":671}

temperature and humidity are what I understand.
:?: What are the last 3 parameters about, what do the values mean and is there a range for these values ?

Re: Read humidity from Toon

Posted: Thu May 20, 2021 8:09 pm
by TheHogNL
JackV wrote:I am glad I found this post because I also want to get the humidity out.
Now when I go to /tsc/sensors I get the next data :

{"temperature":20.7, "humidity":54.2, "tvoc":0, "eco2":400, "intensity":671}

temperature and humidity are what I understand.
:?: What are the last 3 parameters about, what do the values mean and is there a range for these values ?
TVOC: total volatile compounds (how bad is the air in your house poluted with other gases)
ECO2: equivalent CO2 (starts at 400, should show a estimated co2 level in your house, but we don't think it is working correctly)
intensity: the light intensity of the surrounding of the toon

Re: Read humidity from Toon

Posted: Mon Sep 06, 2021 11:54 am
by freddie
Both TVOC and eCO2 readings are not working correctly (here?). With doors and windows open the TVOC reads 29k and eCO2 15k, which are really high values. TVOC average should be around 500 and eCO2 around 700. Is this a sensor issue or are the values incorrectly converted?

What is the unit of measurement of the `intensity` value? Are there min / max values?

Re: Read humidity from Toon

Posted: Sat Sep 11, 2021 8:14 pm
by TheHogNL
freddie wrote:Both TVOC and eCO2 readings are not working correctly (here?). With doors and windows open the TVOC reads 29k and eCO2 15k, which are really high values. TVOC average should be around 500 and eCO2 around 700. Is this a sensor issue or are the values incorrectly converted?

What is the unit of measurement of the `intensity` value? Are there min / max values?
They don't work correctly indeed. That is why probably Eneco didn't enable the feature also.
I have bought the same chip they use in the toon and made my own test setup but it is just not good enough.

Don't know the intensity unit. Think it is a raw value.