I'm not expert in the area, but I would imagine a standard API could be implemented to handle the vast majority of use cases. Connecting to an app securely, turning things on and off, basic scheduling.
I'm not expert in the area, but I would imagine a standard API could be implemented to handle the vast majority of use cases. Connecting to an app securely, turning things on and off, basic scheduling.
Openwrt is powerful enough to take care of logging, connecting to the internet etc, and the sensor units can form a pseudo mesh using their wifi capabilities.
Last I checked, OpenWRT did not do security updates, and it's up to the user to recompile everything if they want newer versions.
https://en.wikipedia.org/wiki/Inferno_(operating_system)
That gets you:
1. Communications between devices are encrypted by the OS.
2. Access to the devices are handled with simple file-permissions.
3. Feature-providing utilities can be run either locally (i.e. on the device's CPU) or remotely (on some hub-CPU.)