Comando luci scale da 2 punti con pulsanti in toggle e tempo massimo di accensione

"IO1": {
    "enable": 1,
    "logic_io": 11,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 200,
    "time_refresh": 3000,
    "name": "IO1",
    "description": "Ingresso IO1"
},
"IO2": {
    "enable": 1,
    "logic_io": 12,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 20,
    "time_refresh": 3000,
    "name": "IO2",
    "description": "Ingresso IO2"
},
"OUT1": {
    "enable": 1,
    "io_logic": 1,
    "device_type": "DIGITAL_OUT",
    "default_startup_value": 0,
    "inverted": 1,
    "filter": 127,
    "time_refresh": 3000,
    "plc_function": "timer",
    "plc_timer_n_transitions": 2, // numero trasnsioni ON / OFF
    "plc_mode_timer": 49, // innesca su fronte ON e spegne se timer innescato
    "plc_xor_input": 3, // inverte l'ingresso IO1 così innesca su fronte OFF
    "plc_time_on": 1000, // tempo MAX ON 10 secondi
    "plc_time_off": 1,
    "plc_linked_board_id_io_logic": ["4-11", "4-12"],
    "name": "OUT1",
    "description": "Lampadina1"
}

1334 person(s) visited this page until now.