Initial commit: CODESYS tree, integration docs, Node-RED scripts.

PLC application sources (NVL, rooms, boiler), HA/Node-RED integration guide, and NVL patch utilities.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-26 21:21:56 +03:00
commit d98c44bfa3
27 changed files with 3844 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
(* === DECLARATION === *)
//This gobal variable list is received via the network.
//Protocol: UDP
//Layout matches Node-RED nvl-send (no legacy struct_switches removed on PLC)
{attribute 'qualified_only'}
VAR_GLOBAL
cmd_livingRoom : struct_room_cmds;
cmd_dinningRoom : struct_room_cmds;
cmd_kitchenArea : struct_room_cmds;
cmd_hallway : struct_room_cmds;
cmd_office : struct_room_cmds;
cmd_bedroom : struct_room_cmds;
cmd_masterBedroom : struct_room_cmds;
cmd_masterBath : struct_room_cmds;
cmd_shower : struct_room_cmds;
cmd_guestWc : struct_room_cmds;
cmd_outFront : struct_room_cmds;
cmd_coveredVeranda : struct_room_cmds;
cmd_outYard : struct_room_cmds;
cmd_outBack : struct_room_cmds;
boiler_cmd : struct_boiler_cmd;
END_VAR
(* === IMPLEMENTATION === *)