franzda
(Franz Hauke)
1
Hello I send float values via MQTT python to openhab(statement see bellow).
All values arrive correctly. I can display all values (data and float) correctly. However, the following message appears in the log list.
“Command ‘value’ not supported by type ‘OnOffValue’: No enum constantCommand ‘value’ not supported by type ‘OnOffValue’: No enum constant”
What am I doing wrong or how can I avoid the message.
my python statetment
publish.single(MQTT_PATH+"/wert1", werte[6], hostname=MQTT_SERVER, port=1883, auth={‘username’: “openhabian”, ‘password’: “xx”})
werte[6] is float value
thank you for helping
opus
(Jürgen Baginski)
2
You are most probably did asign a switch channel which is expecting an ON/OFF command. Check this channel.
franzda
(Franz Hauke)
3
Thank you for response. How can I check. I assign on the same way as other values. Other values are ok
opus
(Jürgen Baginski)
4
How did you create the Things and Channels?
Via a .things file, please post that file
Via PaperUI or autodetected, please post a screenshot.
opus
(Jürgen Baginski)
6
This is a number channel, I would not expect the posted message to be caused by this channel.
franzda
(Franz Hauke)
7
I deleted everything even the Binding and asign everything new .
There is no message in the log file.
I have no idea why. I made everything on the same way …
Thank You for support
system
(system)
Closed
8
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.