Hello, i am using some esp boards with different temperature sensors. most of them are DHT based but i have also some BME Sensors.
One BME is connected and configured with a Wemos D1 Mini.
Readings from the sensor are working fine. i can see temperature, humidity and pressure in the device menu on the webinterface of easy esp but i got no informations on the mqtt broker.
the mqtt setup is the same like on my other esps with the dht sensors.
controller subscribe: Climate/Office
controller publish: Climate/Office
controller lwl topic: Climate/Office/%valname%
if i subscribe to Climate/Office/#
i only get the info topic: Climate/Office/%valname%
with the connect and disconnect strings but no temperature or other informations
mqtt problem with wemos mini and BME Sensor
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: mqtt problem with wemos mini and BME Sensor
You're not using %tskname% and %valname% in the publish topic meaning that you aren't giving the broker unique topics per value being sent. Is that what you want?
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
Re: mqtt problem with wemos mini and BME Sensor
the mosquitto logfile is showing me that:
1536651134: ESPW-1 0 Climate/Office/
1536651134: Received PUBLISH from ESPW-1 (d0, q0, r1, m0, 'Climate/Office/%valname%', ... (9 bytes))
but for my understanding %valname% is a systemvar and has to transport the information which is stored in the var not ne name by itself
1536651134: ESPW-1 0 Climate/Office/
1536651134: Received PUBLISH from ESPW-1 (d0, q0, r1, m0, 'Climate/Office/%valname%', ... (9 bytes))
but for my understanding %valname% is a systemvar and has to transport the information which is stored in the var not ne name by itself
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: mqtt problem with wemos mini and BME Sensor
I suggest you change the publish topic to: Climate/Office/%valname%
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
Re: mqtt problem with wemos mini and BME Sensor
problem solved. thank you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: mqtt problem with wemos mini and BME Sensor
Glad I could help!
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 5 guests