Hey Guys
in the last days I was working with the charts in order to start my smart metering for energy consumption (to be measured on level power switch (Sicherung), current consumption in KW (kilowatt)). First steps run smoothly but as soon as I started to improve my charts with time periods (with mappings and visibility for hours, days, weeks, months) the problems came up.
In detail: as soon as I click on one of the new buttons (e.g. “Day”) I get on server log the messages below [see Logfile] and all of my energy-related KNX actors receive a command to set energy consumption to the same level as the mapping/visibility is:
- if “Hour” is selected --> visibility==0 --> Strommessung received command 0 --> all values are set to 0
- if “Day” is selected --> visibility==1 --> Strommessung received command 1 --> all values are set to 1
- if “Week” is selected --> visibility==2 --> Strommessung received command 2 --> all values are set to 2
…
After a while the KNX sends again the correct values (configures as "send update if value change is >3%) but as soon as I click again on “day” or “week” the game starts again as described.
What is wrong in my configuration? Any ideas?
Cheers
John
Logfile
2015-08-22 18:24:00.034 [INFO ] [runtime.busevents ] - Sicherung_F2_Strommessung received command 0
2015-08-22 18:24:00.059 [INFO ] [runtime.busevents ] - Sicherung_F3_Strommessung received command 0
2015-08-22 18:24:00.084 [INFO ] [runtime.busevents ] - Sicherung_F4_Strommessung received command 0
2015-08-22 18:24:00.109 [INFO ] [runtime.busevents ] - Sicherung_F5_Strommessung received command 0
2015-08-22 18:24:00.134 [INFO ] [runtime.busevents ] - Sicherung_F6_Strommessung received command 0
2015-08-22 18:24:00.159 [INFO ] [runtime.busevents ] - Sicherung_F7_Strommessung received command 0
2015-08-22 18:24:00.184 [INFO ] [runtime.busevents ] - Sicherung_F9_Strommessung received command 0
2015-08-22 18:24:00.204 [INFO ] [runtime.busevents ] - Sicherung_F10_Strommessung received command 0
2015-08-22 18:24:00.229 [INFO ] [runtime.busevents ] - Sicherung_F11_Strommessung received command 0
2015-08-22 18:24:00.254 [INFO ] [runtime.busevents ] - Sicherung_F12_Strommessung received command 0
2015-08-22 18:24:00.279 [INFO ] [runtime.busevents ] - Sicherung_F13_Strommessung received command 0
2015-08-22 18:24:00.304 [INFO ] [runtime.busevents ] - Sicherung_F14_Strommessung received command 0
2015-08-22 18:24:00.589 [INFO ] [runtime.busevents ] - Sicherung_F15_Strommessung received command 0
Ausschnitt aus meiner haus.sitemap
Frame {
Switch item=Strommessung label="Strommessung Chart Periode" mappings=[0="Stunde", 1="Tag", 2="Woche", 3="Monat"]
Chart item=Strommessung service="rrd4j" period=h refresh=30000 visibility=[Strommessung==0, Strommessung=="Uninitialized"]
Chart item=Strommessung service="rrd4j" period=D refresh=30000 visibility=[Strommessung==1]
Chart item=Strommessung service="rrd4j" period=W refresh=30000 visibility=[Strommessung==2]
Chart item=Strommessung service="rrd4j" period=M refresh=30000 visibility=[Strommessung==3]
}
Ausschnitt aus meiner haus.items
Group:Number:SUM Strommessung "Stromverbrauch JETZT im gesamten Haus [%.3f kW]" (All)
Number Sicherung_F2_Strommessung "F2 - Kochfeld [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/2"}
Number Sicherung_F3_Strommessung "F3 - GWA/HTR EG + DG [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/3"}
Number Sicherung_F4_Strommessung "F4 - UG:Spielzimmer / HZV UG + EG [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/4"}
Number Sicherung_F5_Strommessung "F5 - EG: Eingang / Nasszelle / Korridor / Enthärter / KWL [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/5"}
Number Sicherung_F6_Strommessung "F6 - DG: Zimmer 1 + 2 / HZV DG [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/6"}
Number Sicherung_F7_Strommessung "F7 - Steuerung Wärmepumpe [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/7"}
Number Sicherung_F9_Strommessung "F9 - Backofen + Mikrowelle [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/9"}
Number Sicherung_F10_Strommessung "F10 - Waschmaschine + Trockner [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/10"}
Number Sicherung_F11_Strommessung "F11 - DHC Zusatzheizung [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/11"}
Number Sicherung_F12_Strommessung "F12 - Wärmepumpe [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/12"}
Number Sicherung_F13_Strommessung "F13 - UG: Technik / Keller / Korridor / NAP Garage / MMV [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/13"}
Number Sicherung_F14_Strommessung "F14 - EG: Wohnen / Essen / Küche / Sitzplatz [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/14"}
Number Sicherung_F15_Strommessung "F15 - DG: Zimmer 3 / Bad / Korridor [%.3f kW]" <energy> (Strommessung) {knx="9.024:4/1/15"}