I have an interesting behaviour with Elsner Suntracer KNX sl light Blocking Objects and OpenHAB2 observed. Not sure whether anyone of you saw the same, and whether you found a good way to resolve it.
My Intention: For times away, i programmed on the KNX bus leveraging Suntracer logic functions some behaviours for automated up and down for rollershutter. This works perfectly fine. However, when I am at home, I do not want this automation. In order to block it, I leverage the Suntracer blocking (Sperren) objects.
On the KNX Bus, this works perfectly fine. I I leverage ETS, than I can set the status of the block objects, and put it to ON / OFF. Perfect. Also, when I leverage ETS to change the status of the block objects, than OH2 updates the status immediately.
If i however put the status to ON/OFF leveraging OH, than it does not update the status. This is really strange and to me it seems an OH2 Issue.
Note: Other than for example MDT switches, Elsner Suntracer does not offer a status object for the blocking switch, however, it can be configured to announce the current status which again it does on the KNX bus, but OH2 is not reading it
Example 1:
KNX.things
Type switch : Wetterstation_AutomationJalousien_Wohzimmer_Regen_sperren "Wetterstaion Automation Jalousien bei Regen deaktivieren" [ ga="<3/6/5" ]
knx.items
Switch Wetterstation_AutomationJalousien_Wohzimmer_Regen_sperren "Wetterstaion Automation Jalousien bei Regen deaktivieren [MAP(Wetterstation_AutomationJalousien_Wohzimmer_Regen_sperren.map):%s]" <switch> (All, gUG_Garage, gWetter, gSQLAllChanges) { channel="knx:device:bridge:generic:Wetterstation_AutomationJalousien_Wohzimmer_Regen_sperren" }
knx.sitemap
Switch item=Wetterstation_AutomationJalousien_Wohzimmer_Regen_sperren
Example 2:
knx.things:
Type switch : Wetterstation_Hitzeschutz25Grad_Wohnzimmer_sperren "Wetterstaion Hitzeschutz ab 25 °C daktivieren" [ ga="<3/7/3" ]
knx.items:
Switch Wetterstation_Hitzeschutz25Grad_Wohnzimmer_sperren "Wetterstaion Hitzeschutz ab 25 °C Wohnzimmer deaktivieren" (All, gWetter, gSQLAllChangesRestoreOnStartup) { channel="knx:device:bridge:generic:Wetterstation_Hitzeschutz25Grad_Wohnzimmer_sperren" }
knx.sitemap:
Switch item=Wetterstation_Hitzeschutz25Grad_Wohnzimmer_sperren
jdbc.persist:
Strategies {
everyMinute : "0 * * * * ?"
every15min : "0 */15 * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
every15min : "0 */15 * * * ?"
// if no strategy is specified for an Item entry below, the default list will be used
default = everyChange
}
Items {
//
// Items Configuration Section
gSQL* : strategy = every15min, everyHour, everyDay
gSQLAllChanges* : strategy = everyChange
gSQLAllChangesRestoreOnStartup* : strategy = everyChange, every15min, everyHour, everyDay, restoreOnStartup
gSQLRestoreTemperature* : strategy = everyChange, restoreOnStartup
// Items Configuration für Rules
Wetterstation_Regen_15min :strategy = every15min
comfoairTemps_Chart : strategy = everyChange, restoreOnStartup
comfoairEfficiency : strategy = everyMinute, restoreOnStartup
comfoairFanLevel : strategy = everyMinute, restoreOnStartup
}