Hi
I am new to easpeasy but love in it already.
At the moment i am running an pir connected to pin 0 and a dht 11 connected initially to pin 0 and now to 16.
I am verifying the mqtt messages trough android app mqtt dashboard.
The pir is working fine sending 0 and 1 every time there is motion. But the temperature and humidity is not coming trough mqtt is not publish or i deed not configure it properly.
I included some images with my configuration.
Any help is gladly appreciated.
I am planing to integrate some of esp8266 with my Home Assistant configuration.
Some peoples mentioned that they that for some reason couldn't receive mqtt messages until they change the format from /%sysname%/%tskname%/%valname% to just %sysname%/%tskname%/%valname%
I tried that and just tskname%/%valname% but no success my pir (switch) works every single time, and other variation, every single time pir send the messages but not the dht.
My MQTT Dashboard config is:
ip address of the server
port 1883 (default)
I have no password
Topic (latest); dht/temperature
QoS:0
Is Numeric selected
Unit: empty (i tried with c-degree Celsius (deed not work)
What ma I doing wrong, why doesn't work?
Thanks again.
DHT11 mqtt
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 3
- Joined: 11 Nov 2016, 01:13
DHT11 mqtt
You do not have the required permissions to view the files attached to this post.
-
- New user
- Posts: 3
- Joined: 11 Nov 2016, 01:13
Re: DHT11 mqtt
Just used the fallowing command in putty:
for my pir: mosquitto_sub -h 192.168.1.12 -p 1883 -v -t 'pir/#'
And receive pir/contact 0 ore 1
But when using it for dht:
mosquitto_sub -h 192.168.1.12 -p 1883 -v -t 'dht/#'
There is no result, for some reason does not send the mqtt command although is working on the device.
So i am on a blocked road any help is much appreciated.
Thanks
for my pir: mosquitto_sub -h 192.168.1.12 -p 1883 -v -t 'pir/#'
And receive pir/contact 0 ore 1
But when using it for dht:
mosquitto_sub -h 192.168.1.12 -p 1883 -v -t 'dht/#'
There is no result, for some reason does not send the mqtt command although is working on the device.
So i am on a blocked road any help is much appreciated.
Thanks
-
- New user
- Posts: 3
- Joined: 11 Nov 2016, 01:13
Re: DHT11 mqtt
Fixed after i restarted from the beginning and changed the name from dht now works fine.
If the moderator like to delete this post i am fine with that.
If the moderator like to delete this post i am fine with that.
Who is online
Users browsing this forum: Amazon [Bot] and 13 guests