@leader21
I created devices
{
"id": "dhtmin",
"name": "DHT Temperaturemin",
"class": "VariableInputDevice",
"variable": "dhtmin",
"type": "number"
},
{
"id": "dhtmax",
"name": "DHT Temperaturemax",
"class": "VariableInputDevice",
"variable": "dhtmax",
"type": "number"
},
{
"class": "MySensorsMulti",
"id": "multi",
"name": "Multi Sensor 1",
"attributes": [
{
"name": "temperature",
"nodeid": 32,
"sensorid": 1,
"type": "float",
"acronym": "T",
"unit": "C"
},
{
"name": "humidity",
"nodeid": 32,
"sensorid": 0,
"type": "round",
"acronym": "H",
"unit": "%"
},
{
"name": "switch",
"nodeid": 32,
"sensorid": 3,
"type": "boolean",
"booleanlabels": [
"open",
"close"
],
"acronym": "Door"
},
{
"name": "battery",
"nodeid": 32,
"sensorid": 2,
"type": "battery",
"acronym": "Battery",
"unit": "%"
}
]
},
-----------------------------------------------------------
"variables": [
{
"name": "dhtmin",
"value": 19
},
{
"name": "dhtmax",
"value": 20
}
]
}
-------------------------------------------------------------------------------
Rules
{
"id": "dhtmin",
"name": "dhtmin",
"rule": "if $dhtmin < 19 then turn A on",
"active": true,
"logging": true
},
{
"id": "dhtmax",
"name": "dhtmax",
"rule": "if $dhtmax > 20 then turn A off",
"active": true,
"logging": true
}
----------------------------------------------------------
But how to make the connection from nrf multisensor( dht22 ) and devices dhtmin and dhtmax?
I do not understand.
I apologize but I am a noob.