iobroker.enocean
Version:
Connects EnOcean devices via USB/Serial devices with TCM300 Chips
55 lines (54 loc) • 1.54 kB
JSON
{
"eep": "TF-13-10",
"rorg_number": "0xA5",
"telegram": "4BS",
"func_number": "0x00",
"type_number": "0x00",
"type_title": "Brightness sensor 0-50 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"}, 0]}, 0.5]}, 0]},
"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"}, 1]}, 116.92913]}, 300]},
"decimals": 0
}
]
}
]
}