iobroker.enocean
Version:
Connects EnOcean devices via USB/Serial devices with TCM300 Chips
71 lines (70 loc) • 1.62 kB
JSON
{
"eep": "A5-06-01",
"rorg_number": "0xA5",
"telegram": "4BS",
"func_number": "0x06",
"type_number": "0x01",
"type_title": "Light Sensor Range 300lx to 60.000lx",
"bidirectional": false,
"objects": {
"preDefined": ["ILL", "SVC"]
},
"case": [
{
"send": false,
"condition": {
"range": {
"bitoffs": "31",
"bitsize": "1",
"value": 0
}
},
"datafield": [
{
"data": "Illumination",
"shortcut": "ILL",
"bitoffs": "8",
"bitsize": "8",
"value": {"+": [ { "*": [ { "-": [ { "var": "value" }, 0 ] }, 116.4706 ] }, 300]},
"decimals": 2
},
{
"data": "Supply Voltage 0...5.1V",
"shortcut": "SVC",
"bitoffs": "0",
"bitsize": "8",
"value": {"+": [{"*":[{"-":[{"var": "value"}, 0]},0.02]}, 0]},
"decimals": 2
}
]
},
{
"send": false,
"condition": {
"range": {
"bitoffs": "31",
"bitsize": "1",
"value": 1
}
},
"datafield": [
{
"data": "Illumination",
"shortcut": "ILL",
"bitoffs": "16",
"bitsize": "8",
"value": {"+": [ { "*": [ { "-": [ { "var": "value" }, 0 ] }, 235.2941 ] }, 600]},
"decimals": 2
},
{
"data": "Supply Voltage 0...5.1V",
"shortcut": "SVC",
"bitoffs": "0",
"bitsize": "8",
"value": {"+": [{"*":[{"-":[{"var": "value"}, 0]},0.02]}, 0]},
"decimals": 2
}
]
}
]
}