Получение данных с DHT22
Things:
Thing i2c p34 "145-P34 Дом лестница DHT22 " [port="34", refresh="30"]
Items:
Number megad_dom_input_p34_dht22_temp "MEGAD Дом Температура лестница [%s °C]" {channel="megad:i2c:incoming:device145:p34:temp"[profile="transform:JS", function="00to0copy.js", sourceFormat="%s" ]} Number megad_dom_input_p34_dht22_hum "MEGAD Дом Влажность лестница [%s %%]" {channel="megad:i2c:incoming:device145:p34:humidity"[profile="transform:JS", function="00to0copy.js", sourceFormat="%s" ]}