OK, guys… I’ve made some changes. Removed the 2nd channel from the rollershutters items.
They no longer have the “position” included as it continues to throw that error even after changing the incorrect type from “switch” to “number”, on the position channel.
Rollershutter Shutter_LRw_Window "LR West Window Shutter" (gLivingDome, gAllShutters) { channel="mqtt:topic:eab2edb0:RS_LRw_Window:rschannel" }
Rollershutter Shutter_LRe_Window "LR East Window Shutter" (gLivingDome, gAllShutters) { channel="mqtt:topic:eab2edb0:RS_LRe_Window:rschannel" }
The rollershutter things follow…
Thing mqtt:topic:eab2edb0:RS_LRw_Window "RS_LRw_Window" (mqtt:broker:eab2edb0) @ "Living Room" {
Channels:
Type rollershutter : rschannel "Shutter" [
commandTopic="cmnd/RS_LRw_Window/shutterposition1",
stateTopic="stat/RS_LRw_Window/SHUTTER1",
up="up",
down="down",
stop="stop"
]
Type switch : reachable "Available" [
stateTopic="tele/RS_LRw_Window/LWT",
on="Online",
off="Offline"
]
Type number: position "Shutter Position" [
stateTopic="tele/RS_LRw_Window/SENSOR",
transformationPattern="JSONPATH:$.Shutter1.Position"
]
Type number:rssi "RSSI" [
stateTopic="tele/RS_LRw_Window/STATE",
transformationPattern="JSONPATH:$.Wifi.RSSI"
]
Type switch: uppower "Shutter Up" [
stateTopic="stat/RS_LRw_Window/POWER1"
]
Type switch: downpower "Shutter Down" [
stateTopic="stat/RS_LRw_Window/POWER2"
]
}
Thing mqtt:topic:eab2edb0:RS_LRe_Window "RS_LRe_Window" (mqtt:broker:eab2edb0) @ "Living Room" {
Channels:
Type rollershutter : rschannel "Shutter" [
commandTopic="cmnd/RS_LRe_Window/shutterposition1",
stateTopic="stat/RS_LRe_Window/SHUTTER1",
up="up",
down="down",
stop="stop"
]
Type switch : reachable "Available" [
stateTopic="tele/RS_LRe_Window/LWT",
on="Online",
off="Offline"
]
Type number: position "Shutter Position" [
stateTopic="tele/RS_LRe_Window/SENSOR",
transformationPattern="JSONPATH:$.Shutter1.Position"
]
Type number:rssi "RSSI" [
stateTopic="tele/RS_LRe_Window/STATE",
transformationPattern="JSONPATH:$.Wifi.RSSI"
]
Type switch: uppower "Shutter Up" [
stateTopic="stat/RS_LRe_Window/POWER1"
]
Type switch: downpower "Shutter Down" [
stateTopic="stat/RS_LRe_Window/POWER2"
]
}
The BasicUI is shown next. Notice that the two rollershutter switches fail to show a value for shutter position (0-100), but rather a dash mark.
And finally, from the console, you can see that the LRw shutter has a position of 56, LRe has a position of 0, yet they do not display.
openhab> smarthome:status Shutter_LRw_Window_Position
58
openhab> smarthome:status Shutter_LRe_Window_Position
0
openhab>
I have been chasing this for weeks with no progress. Any help or direction would really be great. Thanks.