Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия Следующая версия Следующая версия справа и слева | ||
конфигурирование [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 " | ||
- | * 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 " | ||
- | * Connecting to MQTT server according stored or retrieved config. | ||
- | * Subscribing to OUTTOPIC (/ | ||
- | * Unsubscribe from OUTTOPIC, Subscribe for INTOPIC (/ | ||
==== 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 " | ||
< | < |