i have 2 MCP23017 chips connected to my raspberry with openhab and it usually works well, however, sometimes the chips will not go online after a reboot, so i thought maybe it was possible to just retrive the status in an item and show it on the sitemap.
is this possible, without creating a rule to retrive the status?
things example:
Thing mcp23017:mcp23017:chipA "MCP23017 chip A" [address=24,bus=1]
item example:
Switch switch_chipA_A0 "Lys Switch Chip A A0" <light> (Terr_Lysalle, Terr_Lys1) {channel="mcp23017:mcp23017:chipA:output#A0"}
i would just like to have an item that looks like this:
String status_chipA "Chip A Status: [%s]" {channel="mcp23017:mcp23017:chipA:status"}
and show in sitemap, if this is possible?