-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathahoy_cfg.py.example
More file actions
23 lines (23 loc) · 1.43 KB
/
ahoy_cfg.py.example
File metadata and controls
23 lines (23 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ahoy_config = {'interval': 5,
'transmit_retries': 5,
#'sunset': {'disabled': False, 'latitude': 51.799118, 'longitude': 10.615523, 'altitude': 1142, 'mod': 'usunsethandler'}, # mod optional, default: mod=websunsethandler
'nrf': [{'spi_num': 1, 'sck': 7, 'mosi': 11, 'miso': 9, 'cs': 12, 'ce': 16}], # neu
#'display': {'i2c_num': 0, 'scl_pin': 6, 'sda_pin': 5, 'display_width': 128, 'display_height': 64},
#'display': {'display_type': 'spi_lcd', 'spi_num': -1, 'sck_pin': 18, 'mosi_pin': 23, 'miso_pin': 19, 'cs_pin': 5, 'dc_pin': 17, 'rst_pin': 16},
#'mqtt': {'disabled': False, 'host': 'homematic-ccu2', 'port': 1883},
#'blink': {'led_pin': 8, 'inverted': False, 'neopixel': False},
'dtu': {'serial': 99978563001, 'name': 'mpy-dtu'},
'inverters': [
{'name': 'HM600',
'serial': 114172220003,
'txpower': 'low',
'mqtt': { 'topic': 'hoymiles/hm600'},
'strings': [
{'s_name': 'String 1 left', 's_maxpower': 380},
{'s_name': 'String 2 right', 's_maxpower': 380},
{'s_name': 'String 3 up', 's_maxpower': 405},
{'s_name': 'String 4 down', 's_maxpower': 410}
]
}
]
}