Page 4 of 14

Re: Toon app: boiler status

Posted: Sun Jan 07, 2018 12:03 pm
by rubyan
I did a factory reset and indeed my iptables and root access did not change :)
I had to redo some settings in /qmf/config/config_happ_scsync.xml with EndDate and such and now my Toon is working again.

However, the message 'Geen ketelmodule. Verbind Toon met een ketelmodule' is still there, and the http output of page http://TOONIP/happ_thermstat?action=printTableInfo is still active. This means that happ-thermstat_1.554-trunk_qb2.ipk is still active.

I would like to do is opkg install <newest happ-themstat file>, but I don't have this file. Is there anyone that can provide this file for me, since I downgraded the existing package?

Re: Toon app: boiler status

Posted: Sun Jan 07, 2018 5:49 pm
by jeltel
Toonz wrote:
Toonz wrote:I believe these are the parameters you can use in the http call which I have successfully tested:

readableTime (values 0 or 1 - converts Epoch to normal time
skipEmpty (values 0 or 1 - skips null value readings)
nullForNaN (values 0 or 1 - shows null instead of NaN)
loggerName (string without quotes)
rra (string without quotes)
from (epoch time)
to (epoch time)
samples (integer value - determines how many values you will receive back)

Example:

Code: Select all

http://192.168.x.x/hcb_rrd?action=getRrdData&loggerName=thermstat_boilerChPressure&rra=year&readableTime=1&samples=100&nullForNaN=1&from=1504301154&to=1509301154&skipEmpty=1
More parameters exist but these are for the function setRrdData with which you can create rra data yourself
To add to this post for convenience a complete overview of all variables available in the rrd databases from version 4.10.
Note that the ID's after the smart plug variables are different for each smart plug. Each plug will have it's own set of databases.
4.10.rrd.png
I would like to get the codes for my smart plugs. How did you get this list?

Re: Toon app: boiler status

Posted: Sun Jan 07, 2018 8:51 pm
by Toonz
jeltel wrote:I would like to get the codes for my smart plugs. How did you get this list?
Read this post: viewtopic.php?f=87&t=11671&start=15#p84082

Re: Toon app: boiler status

Posted: Sun Jan 07, 2018 8:55 pm
by jeltel
Than the plugs aren't logged :(
Strange because it seems to work on a non rooted toon.

Re: Toon app: boiler status

Posted: Sun Jan 07, 2018 8:57 pm
by marcelr
Mine are logged allright.

Re: Toon app: boiler status

Posted: Sun Jan 07, 2018 9:36 pm
by Toonz
jeltel wrote:Than the plugs aren't logged :(
Strange because it seems to work on a non rooted toon.
I have two Toons, one logged electricity usage of the plugs the other doesn't.
Will find out the configuration differences when I have time and post my findings here.

Re: Toon app: boiler status

Posted: Sun Jan 07, 2018 10:22 pm
by jeltel
marcelr wrote:Mine are logged allright.
No configurations needed?

And do they also show up in the interface of Toon? Or only in the database?

edit: no need for reconfiguration, just re add them.
viewtopic.php?f=87&t=11939

Re: Toon app: boiler status

Posted: Tue Jan 09, 2018 6:02 pm
by rubyan
rubyan wrote:I would like to do is opkg install <newest happ-themstat file>, but I don't have this file. Is there anyone that can provide this file for me, since I downgraded the existing package?
Quoting myself lol :) I fixed it after all by enabling the connection to the Eneco Service Center. Then the new packages started downloading and appeared magically in /mnt/data/update . I could then install the proper thermstat package. To prevent loosing ssh access I added a restore iptables.conf to crontab as described on this forum. After rebooting and fixing EndDate everything is working again :)

Re: Toon app: boiler status

Posted: Sun Jan 14, 2018 5:22 pm
by Hypermobile
rubyan wrote:
rubyan wrote:I would like to do is opkg install <newest happ-themstat file>, but I don't have this file. Is there anyone that can provide this file for me, since I downgraded the existing package?
Quoting myself lol :) I fixed it after all by enabling the connection to the Eneco Service Center. Then the new packages started downloading and appeared magically in /mnt/data/update . I could then install the proper thermstat package. To prevent loosing ssh access I added a restore iptables.conf to crontab as described on this forum. After rebooting and fixing EndDate everything is working again :)

i've had exactly the same issue.
Downgraded to happ-thermstat_1.554-trunk_qb2 ;
After that; i got the error-message 'Geen ketelmodule. Verbind Toon met een ketelmodule'

So then it's NOT impossible to set the Temperature on Toon.

It was however possible to change Temperature in Domoticz; that still worked on the background.
And the http://TOONIP/happ_thermstat?action=printTableInfo Worked.
But still the Error message; i Fixed it by reinstalling the OPGK Update...and i did everything all over again.


But i still would like a Working http://TOONIP/happ_thermstat?action=printTableInfo Without Downgrading.
Is there already a solution?

Re: Toon app: boiler status

Posted: Sun Jan 14, 2018 6:06 pm
by michel30
I also have some strange things after upgrade to 4.10.6 for me is reading out the power what I used in domoticz but after the upgrade to an higher version it does not work anymore.

When I check the power read out link it is complete diffrent in 4.10.6

http://IP_TOON/happ_pwrusage?action=GetCurrentUsage

and it looks like this:

Code: Select all

 {
result: "ok",
powerUsage: {
value: null,
dayCost: null,
avgValue: null
},
powerProduction: {
value: 0,
dayCost: 0,
avgValue: 93.67
},
gasUsage: {
value: null,
dayCost: null,
avgValue: null
}
} 
before it was a big list with {2.3} {3.3} etc on the front that was IDX you choose in domoticz to use as read out.

Re: Toon app: boiler status

Posted: Mon Jan 15, 2018 8:31 am
by Rudolf
Are you sure you're not mistaken with the URL's? Because I have both (on older FW)

You seem to be referring to this one:
http://toon/hdrv_zwave?action=getDevices.json

Home Assistant uses this URL to monitor consumption; my guess is Domoticz should too.

Do you use a meter adapter and did you update its firmware? Maybe the device id has changed:
https://github.com/cyberjunky/home-assi ... s/issues/3

Re: Toon app: boiler status

Posted: Sun Jan 21, 2018 1:14 pm
by Toonz
Hi all,

I just released on ToonStore the beta version of the new boiler status app.
It is a remake of the old app Marcelr created in the past but which stopped working from version 3.6.

The data on the tile can be retrieved in JSON format from toon via [url]http://<toon-ip/boilerstatus/boilervalues.txt[/url] for use in external applications like domoticz and others.
Data is refreshed every minute (tile doesn't need to be active on the homescreen for the data to be refreshed)

Screenshot tile:
screenshot.png
screenshot.png (26.05 KiB) Viewed 15659 times

Re: Toon app: boiler status

Posted: Sun Jan 21, 2018 1:56 pm
by Hypermobile
Toonz wrote:Hi all,

I just released on ToonStore the beta version of the new boiler status app.
It is a remake of the old app Marcelr created in the past but which stopped working from version 3.6.

The data on the tile can be retrieved in JSON format from toon via [url]http://<toon-ip/boilerstatus/boilervalues.txt[/url] for use in external applications like domoticz and others.
Data is refreshed every minute (tile doesn't need to be active on the homescreen for the data to be refreshed)

Screenshot tile (from my dev toon without boiler attached):
The attachment boilerstatus.png is no longer available
Just installed it.

Got 0.0 Bar of Pressure.
When i downgraded to happ-thermstat_1.554-trunk_qb2 (don't do that on 4.9.23 and other newer versions, you break the boilertile.)

I also noticed that there was no Pressure there at the time.

Re: Toon app: boiler status

Posted: Sun Jan 21, 2018 2:08 pm
by Toonz
Hypermobile wrote:Got 0.0 Bar of Pressure.
When i downgraded to happ-thermstat_1.554-trunk_qb2 (don't do that on 4.9.23 and other newer versions, you break the boilertile.)

I also noticed that there was nog Pressure there at the time.
Just to clarify: after you downgraded the happ_thermstat you don't see the boiler pressure anymore? Are your rra databases not populated by that version of happ_thermstat?

Re: Toon app: boiler status

Posted: Sun Jan 21, 2018 2:34 pm
by Hypermobile
Toonz wrote:
Hypermobile wrote:Got 0.0 Bar of Pressure.
When i downgraded to happ-thermstat_1.554-trunk_qb2 (don't do that on 4.9.23 and other newer versions, you break the boilertile.)

I also noticed that there was nog Pressure there at the time.
Just to clarify: after you downgraded the happ_thermstat you don't see the boiler pressure anymore? Are your rra databases not populated by that version of happ_thermstat?

A while ago i Downgraded thermstat because i red that on the forum,
and saw accurate value in the [url]http://IP_TOON/happ_thermstat?action=printTableInfo[/url]
But the only blank one was Pressure over there.
And the i got a Error message "Ketelmodule not connected"

I didn't know how to upgrade back to the latest thermstat again;

But by doing "OPKG Upgrade" in Putty. All updates to 4.9.23 were done Again.
Installed Toonstore and stuff again. Error message was gone :-)
And the [url]http://IP_TOON/happ_thermstat?action=printTableInfo[/url] was Zero's again

Then waited till this app was done :-)