Read humidity from Toon

Everything about external control, apps, VNC, etc goes here.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
FireSon
Starting Member
Starting Member
Posts: 12
Joined: Fri May 14, 2010 3:25 pm

Read humidity from Toon

Post by FireSon »

Is it possible to get the humidity from a rooted Toon2? I would like to use it in Home Assistant.
Thanks,
Jan
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Read humidity from Toon

Post 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).
Member of the Toon Software Collective
FireSon
Starting Member
Starting Member
Posts: 12
Joined: Fri May 14, 2010 3:25 pm

Re: Read humidity from Toon

Post by FireSon »

Wauw thanks, that is quick and it works :D
glsf91
Member
Member
Posts: 184
Joined: Fri Sep 15, 2017 9:25 pm

Re: Read humidity from Toon

Post 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.
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Read humidity from Toon

Post 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.
Member of the Toon Software Collective
RoadXY
Member
Member
Posts: 111
Joined: Wed Oct 21, 2015 8:11 am

Re: Read humidity from Toon

Post by RoadXY »

Are there any sensors on a Toon v1 which can be read?
JackV
Starting Member
Starting Member
Posts: 23
Joined: Tue Feb 09, 2021 12:11 am

Re: Read humidity from Toon

Post 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 ?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Read humidity from Toon

Post 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
Member of the Toon Software Collective
freddie
Starting Member
Starting Member
Posts: 5
Joined: Tue Jul 14, 2020 1:52 pm

Re: Read humidity from Toon

Post 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?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Read humidity from Toon

Post 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.
Member of the Toon Software Collective
Post Reply

Return to “Toon external control”