2021-01-15 16:56:56.446 [WARN ] [ab.binding.mqtt.generic.ChannelState] - Command 'true' not supported by type 'OnOffValue': No enum constant org.openhab.core.library.types.OnOffType.true
What is de correct “channelTypeUID”for a motion sensor?
I now have channelTypeUID: mqtt:switch
Text Value
Number Value
Percentage Value
On/Off Switch
Open/Close Contact
Color Value (Red,Green,Blue)
Color Value (Hue,Saturation,Brightness)
Color Value (HSB, RGB or CIE xyY)
Date/Time Value
Image
Location
Rollershutter
Trigger
which do not contain any type of: Movement/Motion
i have tried the following type: Switch, Contact and Trigger
2021-01-15 23:20:52.375 [WARN ] [ab.binding.mqtt.generic.ChannelState] - Command 'true' not supported by type 'OnOffValue': No enum constant org.openhab.core.library.types.OnOffType.true
Sure! I think the Switch and the Contact Channels are probably most appropriate for a motion sensor, though others may have other preferences. As you mentioned earlier though, openHAB doesn’t have a specific Motion Channel.
slowly I learn to find my way in OH3 and MQTT
Thank for your help
Do you have any experience with light bulbs via MQTT?
Openhab expects a value from 0 to 100 on a dimmer channel
My bulb expects a value from 0 to 254.
I read some topic where they use a jave script to transform the value, but I have no idea how to apply that via OH3’s gui