Question is how to configure a OH to read this message? I try use a scan, but it doesn’t work.
I hope I did all correctly and what I can see in the brooker is correct. I want use it to share values readed by arduino.
in Device Available Payload. A normal Availability topic is something like True or False, but maybe this work. You’ll have to figure the Unavailable topic.
I deleted complete advanced setup and topic I defined later in channels definition. Now I can see a text message. But … Now I must check how to send more values from the arduino uder one topic or how it must be correctly handled
OH is going to receive it as a string anyway so you can send the value as a string without needing to do anything special on OH. If you use a number channel the steering will be parsed into a number automatically.
ok, but in the arduino I have a float (windspeed calculation). This float I must transform somehow to the string, because mqqtclient.publish can’t send a float.
We’ll, this really isn’t an Arduino forum. You might get lucky here but will be more likely to get your answer from an Arduino focused site. For something simple like that, one of the AI chat bots might even give you a correct answer.