We should have a page where it show the current light for every room (in a 10x10 grid with each room having a number in the middle, with the current color as the table cell background. When you tap on any given room, a popover shows current room color and any other details, and has a popup selector to change color.
At the bottom of the page also have a dropdown to choose RGB or W and 'set all'.
This will just save the value of the color to the room (or all rooms) in the database table.
There will be an API endpoint like /room which will allow each room SBC to retrieve it's state (room_color, led_1, led_2, led_3) something like that, and it will then make the room match the state in the database.
We should have a page where it show the current light for every room (in a 10x10 grid with each room having a number in the middle, with the current color as the table cell background. When you tap on any given room, a popover shows current room color and any other details, and has a popup selector to change color.
At the bottom of the page also have a dropdown to choose RGB or W and 'set all'.
This will just save the value of the color to the room (or all rooms) in the database table.
There will be an API endpoint like
/room
which will allow each room SBC to retrieve it's state (room_color, led_1, led_2, led_3) something like that, and it will then make the room match the state in the database.