Hi
so I am working since a couple of month with Pimatic to run a terrarium. My new idea was to built an ESP8266-based weather station. On the later I installed Tasmota, that is sending MQTT messages to the Pi. After some connection problems in the beginning, it seems that it is actually really sending to Mosquitto running on the pi as MQTT-Broker.
However, my problem is now that it seems as I would have an error in Pimatic - as it is not showing the data (Temperature and Humidity for the beginning.
In the Tasmota Console it looks like this:
18:11:15 MQT: tele/Wetterstation/STATE = {“Time”:“2020-11-01T18:11:15”,“Uptime”:“0T00:42:09”,“UptimeSec”:2529,“Heap”:25,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:19,“MqttCount”:1,“POWER”:“ON”,“Wifi”:{“AP”:1,“SSId”:“CXNK006666C7”,“BSSId”:“48:77:46:21:BC:13”,“Channel”:11,“RSSI”:64,“Signal”:-68,“LinkCount”:1,“Downtime”:“0T00:00:03”}}
18:11:15 MQT: tele/Wetterstation/SENSOR = {“Time”:“2020-11-01T18:11:15”,“AM2301”:{“Temperature”:22.9,“Humidity”:59.2,“DewPoint”:14.5},“TempUnit”:“C”}
In the Pimatic config I added this:
{
“brokerId”: “192.168.1.68”,
“attributes”: [
{
“name”: “AM2301.Temperature”,
“topic”: “tele/Wetterstation/SENSOR”,
“type”: “string”,
“messageMap”: {},
“unit”: “C”
},
{
“name”: “AM2301.Humidity”,
“topic”: “tele/Wetterstation/SENSOR”,
“type”: “string”,
“unit”: “%”,
“messageMap”: {}
}
],
“xAttributeOptions”: [],
“id”: “wetterstation”,
“name”: “Wetterstation”,
“class”: “MqttSensor”
}
Is there anybody of you finding a mistake?
best
stefan