Hello,
When i see the grapihcs of the energie production the day switch isn't working well.
We think our code is ok:
# If last output exists send last energy to domoticz with zero power
if ( [ $DEBUG == "Y" ] )
then
echo Last entry
fi
power=0;
energy=`cat ${DATA_FILE_PREV} | grep ^"Dag: 0," | awk -F: '{ print $3 }' | awk -F\ '{ print $1 * 1000 }'`
rm -f ${DATA_FILE_PREV}
else
# If last output does not exists send exit script
if ( [ $DEBUG == "Y" ] )
then
echo Sun down no updates
fi
exit 1
This is what is shows:
DateTime,Opgewekt
2016-03-20 00:00:00,5.21
2016-03-21 00:00:00,3.18
2016-03-22 00:00:00,7.47
2016-03-23 00:00:00,14.13
2016-03-24 00:00:00,14.13
2016-03-25 00:00:00,8.4
2016-03-26 00:00:00,21.43
2016-03-26 00:00:00,21.43
2016-03-28 00:00:00,18.06
Sometimes when the next day there is more production it is showing it, otherwise it is showing the value of the day before.
Sometimes it is showing the good value and as you can see the 27e is gone an 2 times 26e.
Does anyone have clue what the problem is. I'am using Version: 3.4834. Before the last update is was the same.
Day switch in grapihcs
Moderators: leecollings, remb0
-
- Posts: 13
- Joined: Friday 01 January 2016 23:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Day switch in grapihcs
I'm also specifically 'missing' sunday 27th of March in my graphs. Also running V3.4834
Maybe it has got something to do with the DST change? (Zomertijd)
Maybe it has got something to do with the DST change? (Zomertijd)
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Day switch in grapihcs
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 13
- Joined: Friday 01 January 2016 23:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Day switch in grapihcs
Thnx Jos, for pointing out that topic.
Who is online
Users browsing this forum: No registered users and 1 guest