Read humidity from Toon

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

Moderators: marcelr, TerrorSource, Toonz, TheHogNL

Read humidity from Toon

Postby FireSon » Fri Jan 17, 2020 6:27 pm

Is it possible to get the humidity from a rooted Toon2? I would like to use it in Home Assistant.
Thanks,
Jan
FireSon
Starting Member
Starting Member
 
Posts: 12
Joined: May 2010

Re: Read humidity from Toon

Postby TheHogNL » Fri Jan 17, 2020 6:50 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1924
Joined: August 2017

Re: Read humidity from Toon

Postby FireSon » Fri Jan 17, 2020 8:56 pm

Wauw thanks, that is quick and it works :D
FireSon
Starting Member
Starting Member
 
Posts: 12
Joined: May 2010

Re: Read humidity from Toon

Postby glsf91 » Mon Jan 20, 2020 9:12 pm

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.
glsf91
Member
Member
 
Posts: 176
Joined: September 2017

Re: Read humidity from Toon

Postby mAiden » Mon Jan 20, 2020 9:56 pm

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
mAiden
Member
Member
 
Posts: 330
Joined: July 2017

Re: Read humidity from Toon

Postby RoadXY » Wed Jan 22, 2020 12:27 pm

Are there any sensors on a Toon v1 which can be read?
RoadXY
Member
Member
 
Posts: 111
Joined: October 2015

Re: Read humidity from Toon

Postby JackV » Fri May 14, 2021 9:58 am

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 ?
JackV
Starting Member
Starting Member
 
Posts: 11
Joined: February 2021

Re: Read humidity from Toon

Postby TheHogNL » Thu May 20, 2021 8:09 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1924
Joined: August 2017

Re: Read humidity from Toon

Postby freddie » Mon Sep 06, 2021 11:54 am

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?
freddie
Starting Member
Starting Member
 
Posts: 5
Joined: July 2020

Re: Read humidity from Toon

Postby TheHogNL » Sat Sep 11, 2021 8:14 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1924
Joined: August 2017


Return to Toon external control

Who is online

Users browsing this forum: No registered users and 1 guest