2019-12-27 21:19:43.618 [WARN ] [ab.binding.mqtt.generic.ChannelState] - Command ‘0’ not supported by type ‘OnOffValue’: No enum constant org.eclipse.smarthome.core.library.types.OnOffType.0
I feel im missing something really simple… but cannot find what!
I’m curious on this error.
It sounds to me as if openHAB (not the device) is complaining about 0/1 instead of ON/OFF. Since the command is set to send 0/1 I would expect this message to be complaining about the 0/1 state message from the device. In this case an incoming transformation might be needed.
However this is only guess-work!
Yes the device reports back periodically its state ( 0 or 1 ) to mqtt.
Ive got this working, but not via the Things file entry. I created in PaperUI a new thing and set the “Custom on/Open value” to 1 and “Custom Off/Closed Value” to 0… then linked this to my item and that now works…
I checked out the entry within the jsondb file to see what it sets: