MQTT Topics/Entrys help

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
valbuz99
Normal user
Posts: 9
Joined: 08 Jan 2019, 21:16

MQTT Topics/Entrys help

#1 Post by valbuz99 » 02 Sep 2019, 19:08

hi together

can someone explain me why i have this entrys in the mqtt instance of iobroker.
i can't get the solution.
i want to check the value of a io input of a wemos with espeasy on it.

see the att. picture

many thanks
pat
iobroker.JPG
iobroker.JPG (42.43 KiB) Viewed 515 times
esp.JPG
esp.JPG (46.9 KiB) Viewed 515 times

User avatar
grovkillen
Core team member
Posts: 3197
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT Topics/Entrys help

#2 Post by grovkillen » 03 Sep 2019, 05:06

The LWT you mean?
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 :idea: :idea: :idea:

valbuz99
Normal user
Posts: 9
Joined: 08 Jan 2019, 21:16

Re: MQTT Topics/Entrys help

#3 Post by valbuz99 » 03 Sep 2019, 07:09

thats the other question....

why are entries with LWT in the mqtt broker, but on the espeasy i didn't fill it out... :(

User avatar
grovkillen
Core team member
Posts: 3197
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT Topics/Entrys help

#4 Post by grovkillen » 03 Sep 2019, 07:33

So what is the first problem?
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 :idea: :idea: :idea:

valbuz99
Normal user
Posts: 9
Joined: 08 Jan 2019, 21:16

Re: MQTT Topics/Entrys help

#5 Post by valbuz99 » 03 Sep 2019, 09:14

:roll:
Ok
Why the LWT entries there?

User avatar
grovkillen
Core team member
Posts: 3197
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT Topics/Entrys help

#6 Post by grovkillen » 03 Sep 2019, 13:14

Have you restarted the unit with these settings?
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 :idea: :idea: :idea:

valbuz99
Normal user
Posts: 9
Joined: 08 Jan 2019, 21:16

Re: MQTT Topics/Entrys help

#7 Post by valbuz99 » 03 Sep 2019, 13:49

Yes, i have several times restart the device. But always this entries

User avatar
grovkillen
Core team member
Posts: 3197
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT Topics/Entrys help

#8 Post by grovkillen » 03 Sep 2019, 16:29

If you test to add something to the topic and messages, save, remove the topics and messages, save again.
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 :idea: :idea: :idea:

valbuz99
Normal user
Posts: 9
Joined: 08 Jan 2019, 21:16

Re: MQTT Topics/Entrys help

#9 Post by valbuz99 » 03 Sep 2019, 20:57

i remove the topics in iobroker and change the GPIO on the Wemos.
The Entrys in iobroker are as follow:
mqtt_object.JPG
mqtt_object.JPG (46.38 KiB) Viewed 438 times
so i think it's ok.
when i now reboot the ESP, i habe the following entrys:
mqtt_object_reboot_esp.JPG
mqtt_object_reboot_esp.JPG (83.52 KiB) Viewed 438 times
How can i place the topic inside the STATE topic? Why is there a new entry "mqtt"?
i think it's better also inside the "mqtt.0"

thanks
pat

User avatar
grovkillen
Core team member
Posts: 3197
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT Topics/Entrys help

#10 Post by grovkillen » 04 Sep 2019, 04:38

What version are you using?
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 :idea: :idea: :idea:

valbuz99
Normal user
Posts: 9
Joined: 08 Jan 2019, 21:16

Re: MQTT Topics/Entrys help

#11 Post by valbuz99 » 04 Sep 2019, 14:46

i think you mean the esp:

mega-20190830

thanks
pat

User avatar
grovkillen
Core team member
Posts: 3197
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT Topics/Entrys help

#12 Post by grovkillen » 04 Sep 2019, 16:32

Then open an issue on GitHub.
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 :idea: :idea: :idea:

valbuz99
Normal user
Posts: 9
Joined: 08 Jan 2019, 21:16

Re: MQTT Topics/Entrys help

#13 Post by valbuz99 » 04 Sep 2019, 16:50

ok :| i will try this...(don't know how... :roll: ) we will see

thanks
pat

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests