Skip to content

Instantly share code, notes, and snippets.

@deNULL
Created February 8, 2017 03:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deNULL/36969cdc351f973ca050a20d6f21e492 to your computer and use it in GitHub Desktop.
Save deNULL/36969cdc351f973ca050a20d6f21e492 to your computer and use it in GitHub Desktop.
{
"device_type" : "XKC-Y25-RS485",
"device" : {
"name" : "XKC-Y25-RS485",
"id" : "xkc-y25-rs485",
"max_read_registers": 1,
"channels" : [
{
"name" : "Water detected",
"reg_type" : "holding",
"address" : 1,
"type" : "switch",
"poll_interval": 500
},
{
"name" : "Capacitance",
"reg_type" : "holding",
"address" : 2,
"format": "u16",
"type" : "text",
"poll_interval": 500
}
]
}
}
@deNULL
Copy link
Author

deNULL commented Feb 8, 2017

Описание датчика воды XKC-Y25-RS485 для Wirenboard

/usr/share/wb-mqtt-serial/templates/config-xkc-y25-rs485.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment