Hello,
I trying to use MQTT import with ESPEasy Mega 2.0. The MQTT broker is a Home Assistant, and I'm able to send MQTT messages to GPIO ports. But I can't seem to receive any MQTT messages on the MQTT Import module.
This is the setup on the import-module and the message I'm trying to publish from MQTT.fx:
Problems with MQTT Import
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 3
- Joined: 01 Mar 2019, 12:38
Problems with MQTT Import
- Attachments
-
- MQTT Import.png (63.19 KiB) Viewed 2956 times
-
- mqtt.fx.png (28.67 KiB) Viewed 2956 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Problems with MQTT Import
MQTT import is it's own MQTT client. That means that the entire topic you have in the settings is the topic you send your values you want to import.
In your case: publish to mqttcmd
In your case: publish to mqttcmd
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
-
- New user
- Posts: 3
- Joined: 01 Mar 2019, 12:38
Re: Problems with MQTT Import
Thank you for answer. I tried the setting like this, and it still doesn't change the value. Does import MQTT use the same broker as the the ESP?
- Attachments
-
- mqtt2.png (38.82 KiB) Viewed 2930 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Problems with MQTT Import
I looked at your settings once more. You have set the topic to temp. No slashes or anything.
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
-
- New user
- Posts: 3
- Joined: 01 Mar 2019, 12:38
Re: Problems with MQTT Import
It worked like a charm Thank you very much
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Problems with MQTT Import
Great!
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
Who is online
Users browsing this forum: No registered users and 84 guests