Last active
October 12, 2023 10:47
-
-
Save stas-dovgodko/2adcb4fdff0985e5965339d37d087d32 to your computer and use it in GitHub Desktop.
Myhome vents things
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ПВУ neoclima | |
Bridge modbus:tcp:neoclima "PVU" [ host="***.***.***.***", port="***", id=1] { | |
// регістри керування вентиляторами, байпасом та нагрівачем | |
Bridge poller speed [ start=0, length=12, refresh=1000, type="holding" ] { | |
Thing data heater "PVU SW HEATER" [ readStart="1", readValueType="int16", writeStart="1", writeValueType="int16", writeType="holding" ] | |
Thing data bypass_opening "PVU BYPASS OPENING TEMP" [ readStart="2", readValueType="int16", writeStart="2", writeValueType="int16", writeType="holding" ] | |
Thing data bypass_range "PVU BYPASS OPENING RANGE" [ readStart="3", readValueType="int16", writeStart="3", writeValueType="int16", writeType="holding" ] | |
Thing data onoff "PVU SW ONOFF" [ readStart="9", readValueType="int16", writeStart="9", writeValueType="int16", writeType="holding" ] | |
Thing data supply "PVU SPEED SUPPLY" [ readStart="10", readValueType="int16", writeStart="10", writeValueType="int16", writeType="holding" ] | |
Thing data exhaust "PVU SPEED EXCHANGE" [ readStart="11", readValueType="int16", writeStart="11", writeValueType="int16", writeType="holding" ] | |
} | |
// регістри датчиків температури ПВУ | |
Bridge poller temp [ start=12, length=4, refresh=1000, type="holding" ] { | |
Thing data exchange "PVU TEMP EXCHANGE" [ readStart="12", readValueType="int16" ] | |
Thing data input "PVU TEMP INPUT" [ readStart="13", readValueType="int16" ] | |
Thing data output "PVU TEMP OUTPUT" [ readStart="14", readValueType="int16" ] | |
Thing data exhaust "PVU TEMP EXHAUST" [ readStart="15", readValueType="int16"] | |
} | |
// регістр цільової температури | |
Bridge poller setpoint [ start=27, length=1, refresh=1000, type="holding" ] { | |
Thing data temp "PVU SETPOINT TEMP" [ readStart="27", readValueType="int16", writeStart="27", writeValueType="int16", writeType="holding" ] | |
} | |
} | |
// адаптер 0-10в регулювання нагрівача повітря | |
Bridge modbus:tcp:N4DAC02_1 [ host="***.***.***.***", port="***", id=2] { | |
Bridge poller holding [ start=1, length=1, refresh=1000, type="holding" ] { | |
Thing data voltage [ readStart="1", readValueType="uint16", writeStart="1", writeValueType="int16", writeType="holding" ] | |
} | |
} | |
// двоканальний адаптер ds1820 для температур з ГТО та після нагрівача | |
Bridge modbus:tcp:ds1820_1 [ host="192.168.10.71", port="8899", id=3] { | |
Bridge poller temp [ start=512, length=2, refresh=5000, type="holding" ] { | |
Thing data t1 [ readStart="512", readValueType="uint16" ] | |
Thing data t2 [ readStart="513", readValueType="uint16" ] | |
} | |
} | |
// Реле Shelly pm2.5 для керування засувкою | |
Thing shelly:shelly25-relay:40f520019ba7 "Shelly PM2.5 #40f520019ba7" @ "Shelly" [deviceIp="***.***.***.***", userId="****", password="****" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment