Hi.
I'm looking at the options for building an integrated system for my garage. I already have a home network, server, WiFi, uno, mega, pi etc.
System requirements:
Independent burglar alarm that does not rely on an an OS or WiFi, which will continue to work in the event of power/network outage (battery backup). Set with wired keypad.
Which can also be monitored/set from 1) a phone (local WiFi and remote 5g) with an app not a Web page, using a secure protocol. 2) local touch screen.
Phone app and Web page need to control this with secondary system that controls lighting and motorised doors / cameras, plus other inputs/outputs.
Happy to build this from the ground up or use std practice/tools for iot.
Only.want to use wifi/5g where absolutely needed (like mobile phone) but run power/cat6/alarm cables where needed.
Thoughts so far:
Https needs a pi.
Pi needs to talk to multiple arduinos
Pi talks to 1 (ethernet, serial, other?)or 2 arduinos via
Rs485 (need to consider modbus?)
AI2 is proving easy to use (I like the tinydb )
I'm good with basic sql, html, css, javascript, xml, json)
Happy to learn python.
Would like to integrate lights with alexa/google home
1st stab at architecture:-
alarm = mega
Lights & other i/o = uno
talk to each other via rs485?
Pi running secure Web server talks to mega over serial USB, or should I consider rs485 ( distance is <1m) or some tcp/ip protocol?
Pi presents html Web pages locally
Android mobile app connects securely using websockets to Pi?
Any comments / guidance much appreciated