toon additional data
Moderators: marcelr, TheHogNL, Toonz
toon additional data
To get the daily "stats" (start of day power/gas etc) what would be the easiest way ..
this is the list i compiled browsing the topics ..
http://<ToonIP>/boilerstatus/boilervalues.txt
http://<ToonIP>/happ_pwrusage?action=GetCurrentUsage
http://<ToonIP>/happ_thermstat?action=changeSchemeState&state=0
http://<ToonIP>/happ_thermstat?action=getModuleVersion
http://<ToonIP>/happ_thermstat?action=getWeeklyList
http://<ToonIP>/happ_thermstat?action=getEdge2Stats
http://<ToonIP>/happ_thermstat?action=getHeatingHistory
http://<ToonIP>/happ_thermstat?action=getThermostatInfo
http://<ToonIP>/happ_thermstat?action=changeSchemeState&state=2&temperatureState=0
http://<ToonIP>/happ_thermstat?action=setSetpoint&Setpoint=2250 (in this case sets the temperature to 22,5 degrees)
http://<ToonIP>/hcb_config?action=getObjectConfigTree&package=happ_thermstat&internalAddress=thermostatStates
http://<ToonIP>/hcb_rrd?action=getRrdData&loggerName=gas_flow&rra=5min&readableTime=0&nullForNaN=1&from=1588754943&to=1588776543
http://<ToonIP>/hcb_rrd?action=getRrdData&loggerName=thermstat_boilerChPressure&rra=year&readableTime=1&samples=100&nullForNaN=1&from=1504301154&to=1509301154&skipEmpty=1
http://<ToonIP>/hcb_rrd?action=getRrdData&loggerName=thermstat_boilerBurnerHours&rra=30days&readableTime=1&nullForNaN=1
http://<ToonIP>/happ_thermstat?action=printTableInfo
http://<ToonIP>/hdrv_zwave/index.html
http://<ToonIP>/hdrv_zwave?action=getDevices.json
http://<ToonIP>/hdrv_zwave?action=getDevices
http://<ToonIP>/tsc/sensors (toon2 only)
but it looks like it isn't there ..
http://<ToonIP>/boilerstatus/boilervalues.txt i found the sourcecode, this would be a nice easy way .. to get the desired data ..
(change a bit of code to display the data from /qmf/config/config_happ_pwrusage.xml ?)
this is the list i compiled browsing the topics ..
http://<ToonIP>/boilerstatus/boilervalues.txt
http://<ToonIP>/happ_pwrusage?action=GetCurrentUsage
http://<ToonIP>/happ_thermstat?action=changeSchemeState&state=0
http://<ToonIP>/happ_thermstat?action=getModuleVersion
http://<ToonIP>/happ_thermstat?action=getWeeklyList
http://<ToonIP>/happ_thermstat?action=getEdge2Stats
http://<ToonIP>/happ_thermstat?action=getHeatingHistory
http://<ToonIP>/happ_thermstat?action=getThermostatInfo
http://<ToonIP>/happ_thermstat?action=changeSchemeState&state=2&temperatureState=0
http://<ToonIP>/happ_thermstat?action=setSetpoint&Setpoint=2250 (in this case sets the temperature to 22,5 degrees)
http://<ToonIP>/hcb_config?action=getObjectConfigTree&package=happ_thermstat&internalAddress=thermostatStates
http://<ToonIP>/hcb_rrd?action=getRrdData&loggerName=gas_flow&rra=5min&readableTime=0&nullForNaN=1&from=1588754943&to=1588776543
http://<ToonIP>/hcb_rrd?action=getRrdData&loggerName=thermstat_boilerChPressure&rra=year&readableTime=1&samples=100&nullForNaN=1&from=1504301154&to=1509301154&skipEmpty=1
http://<ToonIP>/hcb_rrd?action=getRrdData&loggerName=thermstat_boilerBurnerHours&rra=30days&readableTime=1&nullForNaN=1
http://<ToonIP>/happ_thermstat?action=printTableInfo
http://<ToonIP>/hdrv_zwave/index.html
http://<ToonIP>/hdrv_zwave?action=getDevices.json
http://<ToonIP>/hdrv_zwave?action=getDevices
http://<ToonIP>/tsc/sensors (toon2 only)
but it looks like it isn't there ..
http://<ToonIP>/boilerstatus/boilervalues.txt i found the sourcecode, this would be a nice easy way .. to get the desired data ..
(change a bit of code to display the data from /qmf/config/config_happ_pwrusage.xml ?)
Last edited by vso on Sun May 24, 2020 6:14 pm, edited 3 times in total.
Re: toon additional data
Thanks for summing this together. I changed your post a bit for errors.
There are also:
/hcb_config?action=getObjectConfigTree&package=happ_thermstat&internalAddress=thermostatStates
/happ_pwrusage?action=GetCurrentUsage
To get daily stats you should use the RRD url
There are also:
/hcb_config?action=getObjectConfigTree&package=happ_thermstat&internalAddress=thermostatStates
/happ_pwrusage?action=GetCurrentUsage
To get daily stats you should use the RRD url
Member of the Toon Software Collective
Re: toon additional data
BTW, stop creating multiple new topics for about the same information.. just deleted another topic also talking about this urls
Member of the Toon Software Collective
Re: toon additional data
added to the list thxTheHogNL wrote:Thanks for summing this together. I changed your post a bit for errors.
There are also:
/hcb_config?action=getObjectConfigTree&package=happ_thermstat&internalAddress=thermostatStates
/happ_pwrusage?action=GetCurrentUsage
To get daily stats you should use the RRD url
I mean the value that gets subtracted to calculate daily "stuff" (solar deliverd/returned" usage and so forth) the "specific" value .. I understand you can get 1 or more values
n/p both were simulair ..TheHogNL wrote:BTW, stop creating multiple new topics for about the same information.. just deleted another topic also talking about this urls
Re: toon additional data
That data is in RRD. Only data what is in the xml file is monthly totals (but also in RRD). For some stupid reason the Toon takes the month data from the file and not the toon.vso wrote: I mean the value that gets subtracted to calculate daily "stuff" (solar deliverd/returned" usage and so forth) the "specific" value .. I understand you can get 1 or more values
.
Member of the Toon Software Collective
Re: toon additional data
Member of the Toon Software Collective
Re: toon additional data
Member of the Toon Software Collective
Re: toon additional data
Nice! I was looking for an overview. Can anybody tell what the info in /tsc/sensors exactly is? On my toon2 it outputs a sensors file with the values below but what does tvoc and eco2 mean? Also the humidity value seems to be off. When I look at the corresponding tile on the toon2 itself it displays 68 percent humidity. Sometimes it's off even more.
Code: Select all
{"temperature":20.2, "humidity":71.5, "tvoc":24, "eco2":564}
Re: toon additional data
tvoc is total volatile compound and eco2 is equivilant co2, vanuit deze sensor https://www.sciosense.com/products/envi ... as-sensor/X1pheR wrote:Nice! I was looking for an overview. Can anybody tell what the info in /tsc/sensors exactly is? On my toon2 it outputs a sensors file with the values below but what does tvoc and eco2 mean? Also the humidity value seems to be off. When I look at the corresponding tile on the toon2 itself it displays 68 percent humidity. Sometimes it's off even more.
Code: Select all
{"temperature":20.2, "humidity":71.5, "tvoc":24, "eco2":564}
Genoeg te vinden op internet wat het precies betekend. Maar ervaring leert dat je er niks van aan moet trekken omdat de sensor erg onnauwkeurig is, of althans de algoritmes die de toon gebruikt om vanuit de ruwe waardes uit de ccs801 sensor deze waardes te berekenen.
De humidity moet ik even naar kijken waarom deze afwijkt van de tile. Al heel lang zit er een afwijking in de tile van de normale toon (niet rooted) voor luchtvochtigheid. Misschien dat ze dat onlangs verbeterd hebben waardoor onze aanpassing niet meer werkt en juist deze afwijking opleverd.
Member of the Toon Software Collective
Re: toon additional data
@X1pheR can you confirm you have set 'temp compensation' in the toon? I expect this to be the issue for the humidity calculation
Member of the Toon Software Collective
Re: toon additional data
Yesterday a new 5.33.9 resource file was created to fix the humidity tile. It didn't use the temp. correction set by the user so it showed the humidity relative to the measured temperature instead of the user-corrected/shifted temperature. The sensors file in /qmf/www/tsc/sensors did use the corrected temperature already. That explains the difference before.
Please notice, the original toon software still shows the humidity relative to the internal temperature sensor (which due to internal cpu heating is much too high, resulting in a much to low humidity).
Please notice, the original toon software still shows the humidity relative to the internal temperature sensor (which due to internal cpu heating is much too high, resulting in a much to low humidity).
Member of the Toon Software Collective