Today I spent my time to build and connect the MySensors serial GW plus a DHT11 sensor to my pimatic installation. I’m able to receive data within pimatic but struggle to display the values in the front-end.
The config.json includes the following specifications:
{
"plugin": "mysensors",
"driver": "serialport",
"protocols": "1.4.1",
"driverOptions": {
"serialDevice": "/dev/ttyUSB0",
"baudrate": 115200
}
},
..
{
"id": "DHT11",
"name": "DHT11",
"class": "MySensorsDHT",
"nodeid": 10,
"sensorid": [
0,
1
]
}
After starting pimatic I get these messages:
21:24:29.571 [pimatic] Listening for HTTP-request on port 80…
<- I_LOG_MESSAGE 0;0;3;0;9;read: 2-2-0 s=1,c=1,t=0,pt=7,l=5:27.9
<- I_LOG_MESSAGE 0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:37.8
<- I_LOG_MESSAGE 0;0;3;0;9;read: 2-2-0 s=1,c=1,t=0,pt=7,l=5:27.8
<- I_LOG_MESSAGE 0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:37.5
The values for device DHT11 are displayed as T unbekannt °c RH unbekannt %.
Any idea what is wrong in the configuration and needs to adjusted?