I’ m getting “Invalid Value token: WINTER” in the status at the top of the UI5 page. I’m using a virtual switch device which to set “Summer mode” in the house. That switch was included in the PLEG device as a trigger (Not enabled = Winter).
Triggers:
1st_LightsOff → Combination Device that contains all of the lights on the 1st floor & gets triggered if all of them are off
2nd_LightsOff → Combination Device (same description as for 1st)
Basement_LightsOff → Combination Device (see 1st & 2nd)
Winter → Virtual Switch device – (“Summer Mode”) is turned off.
1st_LigthsOn → Triggered while virtual switch (Combo device) is off
2nd_LightsOn → Same as 1st
Basement_LightsOn → Same as 1st & 2nd.
Settings:
HouseDark = 1st_LightsOff AND 2nd_LightsOff AND Basement_LightsOff
Heat1st = Winter AND 1st_LightsOn
HeatOff1st = Winter AND 1st_LightsOff
If I rotate “Winter” and “1st_LightsOff” the message claims the invalid token is “ST_LIGHTSOFF” (chopping the 1st character off?).
Also, in the log, there are still Schedules (that have been deleted in the plugin itself and doesn’t show up there)?
50 01/25/13 20:57:14.388 luup_log:175: ProgramLogicEG:175:Initialize:Restart __LEAK__ this:24576 start:2564096 to 0x17ce000 <0x2b3e7680>
50 01/25/13 20:57:14.447 luup_log:175: ProgramLogicEG:175:EvalConditions:Condition:HouseDark Trigger:nil Result:false __LEAK__ this:126976 start:2691072 to 0x17ed000 <0x2b3e7680>
50 01/25/13 20:57:14.449 luup_log:175: ProgramLogicEG:175:EvalConditions:Condition:Heat1st Trigger:nil Result:false <0x2b3e7680>
50 01/25/13 20:57:14.460 luup_log:175: ProgramLogicEG:175:EvalConditions:Condition:HeatOff1st Trigger:nil Result:false <0x2b3e7680>
50 01/25/13 20:57:14.461 luup_log:175: ProgramLogicEG:175:SaveDB:{{name ='4am', state = true, seq = 0},{name ='9am', state = true, seq = 1359122400},{name ='SundayMovieNight', state = true, seq = 0},} <0x2b3e7680>
06 01/25/13 20:57:14.461 Device_Variable::m_szValue_set device: 175 service: urn:rts-services-com:serviceId:ProgramLogicC variable: TriggerStatusMap was: {{name ='4am', state = true, seq = 0},{name ='9am', state = true, seq = 1359122400},{name ='SundayMovieNight', state = true, seq = 0},} now: {{name ='4am', state = true, seq = 0},{name ='9am', state = true, seq = 1359122400},{name ='SundayMovieNight', state = true, seq = 0},} #hooks: 0 upnp: 0 v:0xc245f8/NONE duplicate:1 <0x2b3e7680>
50 01/25/13 20:57:14.468 luup_log:175: ProgramLogicEG:175:SweepDB:4am <0x2b3e7680>
50 01/25/13 20:57:14.469 luup_log:175: ProgramLogicEG:175:SweepDB:9am <0x2b3e7680>
50 01/25/13 20:57:14.469 luup_log:175: ProgramLogicEG:175:SweepDB:SundayMovieNight <0x2b3e7680>