Инструменты пользователя

Инструменты сайта


конфигурирование

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
Следующая версия Следующая версия справа и слева
конфигурирование [2021/10/03 12:27]
192.168.88.1 старая версия восстановлена (2021/09/04 10:52)
конфигурирование [2023/10/20 00:33]
Admin
Строка 1: Строка 1:
-==== Boot sequence: ==== 
- 
-  * Trying to load JSON config from NVRAM. If config is valid JSON structure - start to operating (to avoid dependance from network and allow local control) 
-  * Trying to retrieve MAC address, stored in NVRAM. If ok - using retrieved MAC. If not - using CUSTOM_FIRMWARE_MAC (see compilers directives). If not configured - using hardcoded DEFAULT_FIRMWARE_MAC = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0} 
-  * Starting LAN with DHCP or with static ip if configured 
-  * Trying to load JSON config from  address "http://MY_CONFIG_SERVER/12-12-12-12-12-12.config.json", where "12-12....12" is controller's MAC address and MY_CONFIG_SERVER - compiler's directive. If not configured = lazyhome.ru used 
-  * After parsing of loaded config, performing re-initialization of objects, except number of DMX channels. There is possible to store loaded config in NVRAM after some testing using "save" cli command. 
-  * Connecting to MQTT server according stored or retrieved config. 
-  * Subscribing to OUTTOPIC (/myhome/s_out/# by default) for 5 sec. Retrieving and executing all persistent topic (restore recent values) 
-  * Unsubscribe from OUTTOPIC, Subscribe for INTOPIC (/myhome/in/# by default) and start processing normal incoming event flow 
  
 ==== Operation ==== ==== Operation ====
Строка 94: Строка 84:
  
    
-Address is channel depended. Pin# for relay, DMX address for DMX-512 channel, array for Modbus channel+Address is channel depended. Pin# for relay, DMX address for DMX-512 channel, array for Modbus channel
 +In case of DMX item note that addressees are continuous numbering between decoders and start address of each decoders configurable by jumpers. E.g. if you have two 24-ch decoders and want to control all 48 channels then you must set address "1" on the first decoder and "25" on the second.
  
 <code>  <code> 
конфигурирование.txt · Последнее изменение: 2023/10/22 01:27 — Admin