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

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


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

Различия

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

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

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
Следующая версия Следующая версия справа и слева
конфигурирование [2021/09/25 04:06]
176.31.125.95 старая версия восстановлена (2019/02/17 15:02)
конфигурирование [2021/09/25 04:07]
176.31.125.95 старая версия восстановлена (2021/05/06 22:26)
Строка 26: Строка 26:
 * load - load config from NVRAM * load - load config from NVRAM
 * kill - test watchdog timer (normally, causes reboot) * kill - test watchdog timer (normally, causes reboot)
 +
 +CLI commands must be send via serial port with 115200 baud rate / 8N1 params: 8 data bits, no parity bit, 1 stop bit.
 +
 +Example via shell:
 +```
 +> stty -f /dev/cu.usbmodem146101 ispeed 115200 ospeed 115200 -parenb cs8 cstopb
 +> echo "ip" > /dev/cu.usbmodem146101
 +> cat /dev/cu.usbmodem146101
 +```
 +
 +Same can be done via GUI e.g. from Arduino IDE (serial monitor). Serial port must be configured (MacOSX config file ~/Library/Arduino15/preferences.txt)
 +```
 +serial.databits=8
 +serial.stopbits=1
 +serial.parity=N
 +serial.debug_rate=115200
 +serial.line_ending=1
 +```
  
 The example of config files you can find in config folder The example of config files you can find in config folder
Строка 57: Строка 75:
  
 # Item types: # Item types:
-``` +^# of type ^ ID ^ Note ^ Parameters ^ 
-#define CH_DIMMER 0    //DMX out 1 ch +|0| CH_DIMMER|DMX out 1 ch|| 
-#define CH_RGBW      //DMX out 4 ch +|1| CH_RGBW  |DMX out 4 ch|| 
-#define CH_RGB     2   //DMX out 3 ch +|2| CH_RGB   |DMX out 3 ch|| 
-#define CH_PWM     3   //PWM output directly to PIN +|3| CH_PWM   |PWM output directly to PIN|| 
-#define CH_MODBUS    //Modbus AC Dimmer +|4| CH_MODBUS|Modbus AC Dimmer|| 
-#define CH_THERMO    //Simple ON/OFF thermostat +|5| CH_THERMO|Simple ON/OFF thermostat|| 
-#define CH_RELAY   6   //ON_OFF relay output +|6| CH_RELAY |ON_OFF relay output|| 
-#define CH_GROUP   7  //Group pseudochannel +|7| CH_GROUP |Group pseudochannel|| 
-#define CH_VCTEMP   //Vacom PID thermo - regulator (Ventilation set) +|8| CH_VCTEMP|Vacom PID thermo - regulator (Ventilation set)|| 
-#define CH_VC       //Vacom modbus motor regulator +|9| CH_VC    |Vacom modbus motor regulator|| 
-```+|10| CH_AC 10|Air Conditioner Haier|| 
 +|11| CH_SPILED | SPI LED|| 
 +|12| CH_MOTOR |Motorized air gateway|| 
 +|13| CH_PID   |PID regulator|| 
 +|14| CH_MBUS  |Universal Modbus channel|| 
 +|18| CH_MULTIVENT |Multiroom ventilation set|| 
 + 
    
 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
конфигурирование.txt · Последнее изменение: 2023/10/22 01:27 — Admin