Page 1 of 1
Temprature logging does not occur in 24h log
Posted: Saturday 01 August 2020 20:43
by beninho
Version: V4.10717
Platform: raspbian
Plugin/Hardware: razberry / Danfoss Devolo Home Control Radiator Thermostat (0x0175:0x0005) openzwave
Since I renewed my Domoticz installation and uploaded my lastest working backup, the temprature sensors logging behaviour is very strange.
There's a
- daily log
- monthly log
- yearly log
And the daily log, with the minute by minute, hour by hour temprature of a certain room does not log. The device gives me live temperature, and is logs in the monthly- yearly log.
What can I do to start trouble shooting this?
ps: Not sure where to post this?
Re: Temprature logging does not occur in 24h log
Posted: Saturday 01 August 2020 21:44
by waaren
beninho wrote: ↑Saturday 01 August 2020 20:43
Since I renewed my Domoticz installation and uploaded my lastest working backup, the temprature sensors logging behaviour is very strange.
What can I do to start trouble shooting this?
Did you already cleared browser cache and app cache (different things)?
What do you see when you enter
Code: Select all
http://<domoticz IP:domoticz port>/json.htm?idx=<device idx>&range=day&sensor=temp&type=graph
in you browser ?
Re: Temprature logging does not occur in 24h log
Posted: Monday 03 August 2020 21:13
by beninho
Your command gives: status: "ERR"
But.. there was a database error in the logfile. Could be a left-over issue from SD card corruption, which was the reason for the new install.
Repaired the database with sqlitebrowse and now, things are back to normal. But strange that there' no current status via the commando you gave me.
Re: Temprature logging does not occur in 24h log
Posted: Tuesday 04 August 2020 0:02
by waaren
beninho wrote: ↑Monday 03 August 2020 21:13
Your command gives: status: "ERR"
You see this message if you enter a none existing id or when there is a typo in the call. If the database is not OK you can also expect a lot of unpredictable results.
Re: Temprature logging does not occur in 24h log
Posted: Tuesday 04 August 2020 11:06
by beninho
well, lets see. A reboot gives the result

.
http://10.0.1.xx:8080/json.htm?idx=09&r ... type=graph
{
"result" :
[
{
"d" : "2020-08-03 21:05",
"te" : 20.5
},
{
"d" : "2020-08-03 21:10",
"te" : 20.399999999999999
},
{
"d" : "2020-08-03 21:15",
"te" : 20.300000000000001
},
<<BREAK>>
],
"status" : "OK",
"title" : "Graph temp day"
}
---
This is very good info. Because my Danfoss radiator thermostats sometimes, regularly does not reconnect after sleep-wake. Although, it is visible in open-zwave, domoticz does not update it's status. And when the thermostat, during that situation is giving the signal for heating the room, it gets very hot in there.
With this info, i can at least stop it from heating if the temperature status does not change for a 20 minutes, since the output is so detailed. Great to know, could be a temp fix.