when running Pi 3/openHABian 2.3
using switch.items:
Switch Pump “Pump [%s]” { snmp="<[192.168.100.93:private:1.3.6.1.4.1.318.1.1.4.4.2.1.3.6:100:MAP(APCPDUOutletState.map)] >[OFF:192.168.100.93:private:.1.3.6.1.4.1.318.1.1.4.4.2.1.3.6:2] >[ON:192.168.100.93:private:.1.3.6.1.4.1.318.1.1.4.4.2.1.3.6:1]" }
using tank.sitemap
sitemap tank label=“tank” {
Frame label="tank" {
Switch item=Pump
}
}
Switch state is not pupated with current position (on/off)
Debug (repeats every 1s):
2018-05-03 10:04:26.669 [DEBUG] [ab.binding.snmp.internal.SnmpBinding] - Item ‘Pump’ is about to be refreshed
2018-05-03 10:04:26.671 [DEBUG] [ab.binding.snmp.internal.SnmpBinding] - SNMP: Send PDU 192.168.100.93/161 GET[requestID=0, errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.4.1.318.1.1.4.4.2.1.3.6 = Null]]
2018-05-03 10:04:26.789 [DEBUG] [ab.binding.snmp.internal.SnmpBinding] - Received PDU from ‘192.168.100.93/161’ 'RESPONSE[requestID=670533044, errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.4.1.318.1.1.4.4.2.1.3.6 = 1]
does not work on 2.2 either.
Is there a configuration change I need to make to sitemap?
sitemap does not show the current state of the switch.
Expected behavior: sitemap reflects switch state (on/off)
Thank you for looking at this!