Refactor room and light configurations for Node-RED integration

- Updated global variable lists in GVL_IO.gvl and GVL_NVL_placeholders.gvl to reflect new room naming conventions and structures.
- Revised PLC_App.st to map new room configurations for lighting control.
- Enhanced documentation in all-lights-and-rooms.md and ha-lights-and-rooms.md to align with updated room and light entity naming.
- Adjusted room-config.js and related Node-RED flows to support the new configuration structure.

This update improves the organization and clarity of room and light management within the Node-RED integration, ensuring consistency across the system.
This commit is contained in:
2026-04-01 19:09:59 +03:00
parent d755d3c1ed
commit 0af21f4dc3
16 changed files with 579 additions and 220 deletions

View File

@@ -0,0 +1,42 @@
#,Zone,Area,Light
1,L1,Open Plan,Living Room Main
2,L1,Open Plan,Living Room Spots
3,L1,Open Plan,Dining room Main
4,L1,Open Plan,Dining room Spots
5,L1,Open Plan,Entrance Mirror
6,L1,Open Plan,Entrance Main
7,L1,Open Plan,Guest WC Main
8,L1,Open Plan,Guiest WC Strip
9,L1,Open Plan,Guest WC Fan
10,L1,Open Plan,Living Room Strip
11,L1,Open Plan,Living Room Strip
12,L2,Ktchen,Kitchen Main
13,L2,Ktchen,Island
14,L2,Ktchen,Kitchen Cabinets
15,L2,Ktchen,Fridge
16,L2,Ktchen,Pantry
17,L3,Bedrooms,Office Main
18,L3,Bedrooms,Office Strip
19,L3,Bedrooms,Hallway
20,L3,Bedrooms,Wachine Machine
21,L3,Bedrooms,Shower spots
22,L3,Bedrooms,Shower fan
23,L3,Bedrooms,Bedroom Main
24,L3,Bedrooms,Bedroom Spots
25,L4,Master Bedroom,Main
26,L4,Master Bedroom,Spots
27,L4,Master Bedroom,Strip
28,L4,Master Bedroom,Door
29,L4,Master Bedroom,Dresser
30,L4,Master Bedroom,bathroom spots
31,L4,Master Bedroom,bathroom fan
32,L5,Exterior,Veranda
33,L5,Exterior,BBQ
34,L5,Exterior,Entrance Door
35,L5,Exterior,Front Lights
36,L5,Exterior,backyard flood light 1
37,L5,Exterior,backyard flood light 2
38,L5,Exterior,Master Bedroom flood light
39,L5,exterior,Driveway
40,L5,,
41,L5,,
1 # Zone Area Light
2 1 L1 Open Plan Living Room Main
3 2 L1 Open Plan Living Room Spots
4 3 L1 Open Plan Dining room Main
5 4 L1 Open Plan Dining room Spots
6 5 L1 Open Plan Entrance Mirror
7 6 L1 Open Plan Entrance Main
8 7 L1 Open Plan Guest WC Main
9 8 L1 Open Plan Guiest WC Strip
10 9 L1 Open Plan Guest WC Fan
11 10 L1 Open Plan Living Room Strip
12 11 L1 Open Plan Living Room Strip
13 12 L2 Ktchen Kitchen Main
14 13 L2 Ktchen Island
15 14 L2 Ktchen Kitchen Cabinets
16 15 L2 Ktchen Fridge
17 16 L2 Ktchen Pantry
18 17 L3 Bedrooms Office Main
19 18 L3 Bedrooms Office Strip
20 19 L3 Bedrooms Hallway
21 20 L3 Bedrooms Wachine Machine
22 21 L3 Bedrooms Shower spots
23 22 L3 Bedrooms Shower fan
24 23 L3 Bedrooms Bedroom Main
25 24 L3 Bedrooms Bedroom Spots
26 25 L4 Master Bedroom Main
27 26 L4 Master Bedroom Spots
28 27 L4 Master Bedroom Strip
29 28 L4 Master Bedroom Door
30 29 L4 Master Bedroom Dresser
31 30 L4 Master Bedroom bathroom spots
32 31 L4 Master Bedroom bathroom fan
33 32 L5 Exterior Veranda
34 33 L5 Exterior BBQ
35 34 L5 Exterior Entrance Door
36 35 L5 Exterior Front Lights
37 36 L5 Exterior backyard flood light 1
38 37 L5 Exterior backyard flood light 2
39 38 L5 Exterior Master Bedroom flood light
40 39 L5 exterior Driveway
41 40 L5
42 41 L5