1703
|
1 from rdflib import Namespace
|
|
2
|
|
3 ROOM = Namespace('http://projects.bigasterisk.com/room/')
|
|
4
|
|
5 devs = {
|
|
6 ROOM['kitchenLight']: {'root': 'h801_skylight', 'hasWhite': True, },
|
|
7 ROOM['kitchenCounterLight']: {'root': 'h801_counter', 'hasWhite': True, },
|
|
8 ROOM['livingLampShelf']: {'root': 'sonoff_0/switch/sonoff_basic_relay/command', 'values': 'binary', },
|
|
9 ROOM['livingLampMantleEntry']: {'root': 'sonoff_1/switch/sonoff_basic_relay/command', 'values': 'binary', },
|
|
10 ROOM['livingLampMantleChair']: {'root': 'sonoff_2/switch/sonoff_basic_relay/command', 'values': 'binary', },
|
|
11 ROOM['livingLampToyShelf']: {'root': 'sonoff_3/switch/sonoff_basic_relay/command', 'values': 'binary', },
|
|
12 ROOM['livingLampPiano']: {'root': 'sonoff_4/switch/sonoff_basic_relay/command', 'values': 'binary', },
|
|
13 ROOM['theater']: {'root': 'theater_blaster/ir_out', 'values': 'theaterOutputs', },
|
|
14 ROOM['bedHeadboard']: {'root': 'bed/light/headboard/command', 'hasWhite': True, },
|
|
15 # https://github.com/Koenkk/zigbee2mqtt.io/blob/new_api/docs/information/mqtt_topics_and_message_structure.md#general
|
|
16 ROOM['asherBedBar']: {'root': 'bed_bar_asher/light/rgb/command', 'hasBrightness': True, 'defaults': {}},
|
|
17 ROOM['asherDoor']: {'root': 'zigbee-frontbed/0xd0cf5efffe28abcf/set', 'hasBrightness': True, 'defaults': { 'transition': 0, } },
|
|
18 ROOM['frontCeiling1']: {'root': 'zigbee-frontbed/0xf0d1b800000210fc/set', 'hasBrightness': True, 'defaults': { 'transition': 0, } },
|
|
19 ROOM['frontCeiling2']: {'root': 'zigbee-frontbed/0xf0d1b8000001ffc6/set', 'hasBrightness': True, 'defaults': { 'transition': 0, } },
|
|
20 ROOM['frontHanging']: {'root': 'zigbee-frontbed/0xf0d1b80000023583/set', 'hasBrightness': True, 'defaults': { 'transition': 0, } },
|
|
21 ROOM['livingCouch']: {'root': 'zigbee-frontbed/0x000b57fffec9645f/set', 'hasBrightness': True, 'defaults': { 'transition': 0, } },
|
|
22 ROOM['livingToys']: {'root': 'zigbee-frontbed/0x90fd9ffffee70277/set', 'hasBrightness': True, 'defaults': { 'transition': 0, } },
|
1733
|
23 ROOM['stairTop']: {'root': 'zigbee-dash/0xf0d1b8000001c925/set', 'hasBrightness': True, 'defaults': { 'transition': 0, } },
|
1703
|
24 }
|