iobroker.enocean
Version:
Connects EnOcean devices via USB/Serial devices with TCM300 Chips
57 lines (56 loc) • 1.56 kB
JSON
{
"eep": "TF-13-12",
"rorg_number": "0xA5",
"telegram": "4BS",
"func_number": "0x00",
"type_number": "0x00",
"type_title": "Brightness sensor 0-100 Lux & 300-30000 Lux",
"bidirectional": false,
"objects": {
"preDefined": ["ILL"]
},
"case": [
{
"send": false,
"condition": {
"range": {
"bitoffs": "8",
"bitsize": "8",
"value": {"==": [{"var": "value"}, 0]}
}
},
"datafield": [
{
"data": "Illumination",
"shortcut": "ILL",
"bitoffs": "0",
"bitsize": "8",
"value": { "var": "value" },
"decimals": 0
}
]
},
{
"send": false,
"condition": {
"range": {
"bitoffs": "8",
"bitsize": "8",
"value": {">=": [{"var": "value"}, 1]}
}
},
"datafield": [
{
"data": "Illumination",
"shortcut": "ILL",
"bitoffs": "8",
"bitsize": "8",
"value": {
"+": [{ "*": [{ "-": [{"var": "value"}, 0]}, 116.47058823529412]}, 300]
},
"decimals": 0
}
]
}
]
}