Hello all, I am using an EmonTH to log external temperatures. I have just recently set up a feed to log the daily min and max temperature, however I have noticed that it records the daily min/max temperature at 19:00 for some reason instead of at midnight. Is there a way to change this? There is a very good chance that the temperature will drop below the min logged at 19:00 by 23:59, therefore logging early possibly skews my data.
I am using emoncms.org, along with a raspberry pi. Any help would be appreciated!
Update: I tried deleting the input/feeds for the Max/Min temperature and re-adding them at midnight (I am up doing other work) to see if the time at which the feed was created has an effect on when values are logged into the system on a daily basis. After doing this the new values reflected on the multigraph (logged at 12:01 AM) show 19:00 yesterday as being the time they were logged. Is there a way to change this default?
The multigraph in question can be viewed here: www.emoncms.org/pksmith/maxmin
Re: Daily Min/Max Graph Logging at 19:00
Could it be that your time zone is not set correctly on the Admin page?
Re: Daily Min/Max Graph Logging at 19:00
Edit: I have adjusted my time zone to UTC-5. The rest of my data has been logging at the correct time, I suppose it is based on the raspberry pi time settings? I will see if that makes a difference.
No that is set correctly. The real time data is logged at the appropriate times, it is only when the daily max/min gets recorded that is wrong. The other strange thing is if I were to refresh the feed for the daily/max min at 19:00 (7:00pm) and export the data, the time that the newest data point was entered will say midnight, even though it is really 19:00. There has to be something within the code on emoncms.org for the daily/max min that is off. The attached screen shot has black lines drawn on it where midnight occurs, you can see that it is consistently offset by a few hours.Re: Daily Min/Max Graph Logging at 19:00
I am still seeing my graphs incorrectly logged at 19:00. I have my emoncms account set to -5 UTC (I'm located in the U.S. in the central time zone). Any ideas on why this is happening or how to fix it so that the system logs each new day at 24:00?
Re: Daily Min/Max Graph Logging at 19:00
Patrick,
I have the same problem with my emonPi at the same time - we are both in the same time zone. The charts/graphs based on a single day (e.g., kWh/day) restart at 19:00 CDT (also know as 00:00 UTC). I believe the day for my emonPi changes at 00:00 UTC instead of at 00:00 CDT. At midnight CDT (05:00 UTC) then all works as expected. All my times and time zones look correct to me.
I have let the OEM support team know of the issue, but I am not sure what is being done to fix. Maybe it is fixed in emoncms 9.0.
As a side thought - the emonPi has one other page for setting the time. See <http://openenergymonitor.org/emon/modules/emonpi#timezone>. I am guessing the Raspberry Pi would have the same raspi-config command.
Jon
Re: Daily Min/Max Graph Logging at 19:00
Jon,
Glad to know I am not the only one experiencing this, it makes me feel a little better :). I am fairly certain my raspberry pi is configured for CDT, but I will check. All the time stamps on my data are correct, it is only the feeds that deal with daily averages (kWhd, min/max temperatures, etc.) that seem to be off (stuck on UTC).
Patrick
Re: Daily Min/Max Graph Logging at 19:00
I believe the issue was resolved in v8.5.2 "extended" emoncms with the additional timezone fixes, but the emon-pi "low-write" emoncms was based on the "standard" emoncms, and emoncms.org @ v8.3.5 pre dates any of the v8.5 timezone fixes.
You can use raspi-config on the Pi to set a timezone, using
but I don't think that will effect the emoncms timezone as that is set for each user within emoncms.
Paul
Re: Daily Min/Max Graph Logging at 19:00
Paul,
I am using emoncms.org, which like you mentioned is running v8.3.5. Dose how my Pi is configured have any impact on when the daily feeds are plotted, or is that internal ot emoncms.org?
Thanks,
Patrick
Re: Daily Min/Max Graph Logging at 19:00
totally internal to emoncms, even emonhub reports all data using unix time and data timestamping is not influenced by the Pi timezone, only the GLCD time broadcast and log file entry times are affected.
Paul