Good stuff, @Bernhard_Boser though I have a couple of concerns. Perhaps my textual configuration is faulty. I have OpenHAB 2 on RPi2 with an NX-8E alarm panel. This has an automation serial port that is supposed to expose the same protocol as the NX-584E does.
The system status query returns accurate data, though some of my item values are inconsistent. For example, panel low battery comes back as 0 - false. You’ve implemented this as a switch with ON/OFF. When I list the items in Karaf, it shows State=ON. My panel has not reported low battery.
Log:
Byte 4 bit mask 0x40 represents low battery, yes?
07:09:13.304 [DEBUG] [ab.binding.nx584.handler.NX584Events] - received System Status Message: 0x08 0x04 0x00 0x00 0x00 0x00 0x02 0x00 0x00 0x02 0x03 0x24
Items:
Switch securityPanelLowBattery <yellowLED> { channel="nx584:security:nx8e:panel#low_battery" }
Sitemap:
Switch item=securityPanelLowBattery label="Security Panel Low Battery"
Karaf console items list
openhab> smarthome:items list
securityPanelLowBattery (Type=SwitchItem, State=ON, Label=Security Panel Low Battery, Category=yellowLED)