hello,
can somebody please explain to me why mosquitto_pub -t wemos/line2 -m "14" update the display on an wemos d1 mini (esp mega) and this one mosquitto_pub -t Wemos_Schlafzimmer/line2 -m "12" doesn't work.
The device ist named "Wemos_Schlafzimmer" and the original path of OpenHAB MQTT ist default.
Greetings
Thomas
[solved] need help by mqtt imports on an oled display
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
[solved] need help by mqtt imports on an oled display
- Attachments
-
- mqtt_wemos_problem.png (70.37 KiB) Viewed 3452 times
Last edited by tklein.lotte@web.de on 31 Mar 2017, 15:27, edited 1 time in total.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: need help by mqtt imports on an oled display
I think you forget the first "/" in your publication. By the way I go with the MQTT standard of not having a leading / in my topics just because of this problem you are facing.
You either add a / in the beginning or change the controller setting by removing the leading / in both publish and subscribe field.
You either add a / in the beginning or change the controller setting by removing the leading / in both publish and subscribe field.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: need help by mqtt imports on an oled display
thx grovkillen.
I've found the stupid mistake. Under my MQTT Import device the string contained "wemos". I'll test you informations.
Greetings
Thomas
I've found the stupid mistake. Under my MQTT Import device the string contained "wemos". I'll test you informations.
Greetings
Thomas
Who is online
Users browsing this forum: Bing [Bot] and 19 guests