@kosta thank you, the new version is running well. I just had to open the gateway again after the update and everything is working fine.
I’m also having a feature request for your plugin:
Can you also implement a device for the combined temperature and humidity sensor? I can’t to do it on my own, but I can try my best to help, if your willing to implement this.
Xiaomi Aqara Temperature Humidity Sensor
![0_1522274996013_ef248895-2737-49ec-9baf-83c10ef79658-image.png](../../assets/uploads/files/1522274996743-ef248895-2737-49ec-9baf-83c10ef79658-image.png)
I have just added this device succesfully to the raspbee gateway and with some (unprofessional) curl commands within shellsensors I managed to display the temperature, humidity and pressure in pimatic.
![0_1522275340732_37ef16cf-a08e-4ffe-b809-699d3e535f29-image.png](../../assets/uploads/files/1522275341014-37ef16cf-a08e-4ffe-b809-699d3e535f29-image.png)
Here are the commands I have used to get the values:
{
"attributeName": "temperature",
"attributeType": "number",
"command": "curl -s http://IP-Adress:Port/api/xxxxxxxxxx/sensors/3 | json_pp | grep temperature | sed -s 's/,//g' | awk {'print $3'} | sed 's/..$/.&/'",
"interval": 120000,
"id": "xiaomi-sensor-temperature",
"name": "Xiaomi Sensor Temperature",
"class": "ShellSensor"
},
{
"attributeName": "humidity",
"attributeType": "number",
"command": "curl -s http://IP-Adress:Port/api/xxxxxxxxxx/sensors/4 | json_pp | grep humidity | sed -s 's/,//g' | awk {'print $3'} | sed 's/..$/.&/'",
"interval": 120000,
"id": "xiaomi-sensor-humidity",
"name": "Xiaomi Sensor Humidity",
"class": "ShellSensor"
},
{
"attributeName": "pressure",
"attributeType": "number",
"command": "curl -s http://IP-Adress:Port/api/xxxxxxxxxx/sensors/5 | json_pp | grep pressure | sed -s 's/,//g' | awk {'print $3'}",
"interval": 120000,
"id": "xiaomi-sensor-pressure",
"name": "Xiaomi Sensor Pressure",
"class": "ShellSensor"
},
{
"variables": [
{
"name": "temperature",
"expression": "$xiaomi-sensor-temperature.temperature",
"type": "number",
"unit": "°C"
},
{
"name": "humidity",
"expression": "$xiaomi-sensor-humidity.humidity",
"type": "number",
"unit": "%"
},
{
"name": "pressure",
"expression": "$xiaomi-sensor-pressure.pressure",
"type": "number",
"unit": "hPa"
}
],
"xAttributeOptions": [],
"id": "xiaomi-sensor",
"name": "🌡 Badezimmer",
"class": "VariablesDevice"
}
Thank you in advance