Dear all
Still trying to get ebus binding running. One more observation I made: When trying to integrate telegrams from command 05 03 in order to read out state of flame or pump etc. I get NULL values when all flags are 0 (i.e. byte 8 is 00), i.e. using smarthome:ebus resolve
:
F1 FE 05 03 08 01 01 00 FF 2C FF 27 0B 3E AA
^^------------------------------------------ Source address | Type: Master | F1
^^--------------------------------------- Destination address | Type: Broadcast | FE
^^ ^^--------------------------------- Command | | 05 03
^^------------------------------ Master Data Length | Length: 8 | 08
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^------ Master Data | | 01 01 00 FF 2C FF 27 0B
^^--- Master CRC | | 3E
Resolve the telegram
********************
Found 1 command method(s) for this telegram.
Values from command 'auto_stroker.op_data_bc2tc_b1' with method 'GET' from collection 'std'
state_valve2 = NULL
status_auto_stroker = 1
temp_return = NULL
temp_outside = 11
temp_boiler = 22
state_water_flow = NULL
state_alarm = NULL
state_pump = NULL
temp_dhw = 39
state_gas_pressure = NULL
state_air_pressure = NULL
state_flame = NULL
state_valve1 = NULL
performance_burner = NULL
only when one of the flags is 1, I get for the remaining flags, which are 0 a “false”:
03 FE 05 03 08 01 00 01 FF 2C 16 28 10 C4 AA
^^------------------------------------------ Source address | Type: Master | 03
^^--------------------------------------- Destination address | Type: Broadcast | FE
^^ ^^--------------------------------- Command | | 05 03
^^------------------------------ Master Data Length | Length: 8 | 08
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^------ Master Data | | 01 00 01 FF 2C 16 28 10
^^--- Master CRC | | C4
Resolve the telegram
********************
Found 1 command method(s) for this telegram.
Values from command 'auto_stroker.op_data_bc2tc_b1' with method 'GET' from collection 'std'
state_valve2 = false
status_auto_stroker = 0
temp_return = 22
temp_outside = 16
temp_boiler = 22
state_water_flow = false
state_alarm = false
state_pump = false
temp_dhw = 40
state_gas_pressure = false
state_air_pressure = true
state_flame = false
state_valve1 = false
performance_burner = NULL
This is a problem since openhab seems to interpret a NULL as an unassigned state of the item and will not do anything with it (e.g. no reaction in a rule on received update when e.g. state pump goes from true to NULL).
Shouldn’t the standard parser programmed in such a way that when byte 8 goes to 00 that all items of that byte (e.g. flame, pump) go to false instead of NULL?
Best regards
Rolf