Hello, together.
I have a problem with the representation of some devices.
I would like to select the data bme280 from sonoff with tasmota about mqtt.
What do I have to do in gets put around to these data to have?
-
Sonoff Tasmota with BME280
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
Hey @Thrusty
You need install msg broker (eg. Mosquitto) and pimatic-mqtt plugin.
Then just add the MqttSensor device.{ "attributes": [ { "name": "BME280.pressure", "topic": "tasmota/topic/for/pressure", "type": "number", "unit": "hPa", "acronym": "p", "messageMap": {} }, { "name": "BME280.Humidity", "topic": "tasmota/topic/for/humidity", "type": "number", "unit": "%", "acronym": "rH", "messageMap": {} } ], "xAttributeOptions": [], "id": "bme280", "name": "bme280", "class": "MqttSensor" }
Pimatic = Smart Home
-
@wutu Thanks for the Hint.
I will test it in the evening.
I have mqtt allready installed and its running with any sonoff’s. But without sensors."Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
Hello, over again,
unfortunately, does not function with me. Possibly it lies in topic.
this shows the Console of the Sonoff me here:
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
@Thrusty Hi, pls show your device config and data from tasmota in text form.
Pimatic = Smart Home
-
Now it seems to work.
Exactly with the settings from @wutu
Unfortunately, with problems. I have BME280.Temperature added.Anyhow my Mosquito system seems to be dirty.
Are the queries limited to the broker?
A new start of Mosquito has not helped.
Where from this mistake can come."Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
@Thrusty This is most common in the collision of two identical ClientIDs. Look into the log from Mosquitto.
stop Mosquitto
sudo /etc/init.d/mosquitto stop
run in the foreground
sudo /usr/sbin/mosquitto -v -c /etc/mosquitto/mosquitto.conf
Pimatic = Smart Home
-
@wutu In the Mosquitto log I can read this:
Socket error on client pimatic_b5c082a7, disconnecting. 1506146198: New connection from 127.0.0.1 on port 1883. 1506146198: New client connected from 127.0.0.1 as pimatic_b5c082a7 (c1, k60). 1506146198: Empty subscription string from 127.0.0.1, disconnecting. 1506146198: Socket error on client pimatic_b5c082a7, disconnecting. 1506146200: New connection from 127.0.0.1 on port 1883. 1506146200: New client connected from 127.0.0.1 as pimatic_b5c082a7 (c1, k60). 1506146200: Empty subscription string from 127.0.0.1, disconnecting. 1506146200: Socket error on client pimatic_b5c082a7, disconnecting. 1506146201: New connection from 127.0.0.1 on port 1883.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
@Thrusty Do you miss a topic on some device?
Then it is necessary to restart Pimatic.Pimatic = Smart Home
-
@wutu Unfortunately, a new start has not repaired the mistake.
Now I have completely extinguished the MQTTSensor Device and the mistake is away. However, unfortunately, this is not the solution."Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
Now I have it.
I have anew provided the MQTTSensor Device. And then every sensor individually added.
Now it seems to work.
Many thanks for the help. Sometimes one needs a shove in the right direction.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)