eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
861 stars 787 forks source link

Generic MQTT Thing Channel #6920

Open ngquan98 opened 4 years ago

ngquan98 commented 4 years ago

I'm using ESP8266 and DHT22 sensor to measure temperature then send to OpenHab through Generic MQTT Thing. I've set up things succesfully, but the bugs is when MQTT message publish to the broker, it't happen in system log. In Generic MQTT Thing Channel, I choose Number value type, but when the message is publish, the system log show that:

[WARN ] [ab.binding.mqtt.generic.ChannelState] - Command '29.80' not supported by type 'OnOffValue': No enum constant org.eclipse.smarthome.core.library.types.OnOffType.29.80"

Even though I choose Channel is Number or String type, I always receive that warning. I think maybe this is a small bug. (Sorry for my bad English)