You can look at device for device and create control software for each and one of them, we did it another way, we though of a black box device and created control software that works with everything that exists. One to unite them all.
VSCP (Very Simple Control Protocol) is a framework for IoT/m2m tasks. The framework defines methods to have a common device discovery, a common configuration, a common way to interface with remote devices and a common way to update firmware of devices built on different architectures. A server is available that runs on many platforms that have a webserver/websocket/rest/driver and tcp/ip interface with ssl security.
Documentation for VSCP is available at https://docs.vscp.org
Checkout with
git clone -j8 https://github.com/grodansparadis/vscp.git
A short introduction to VSCP is available here and here.
Documentation in different formats is available here.
Also there is a with many examples for different platforms and a HTML5 websocket UI repository.
Copyright (C) 2000-2024 Ake Hedman, the VSCP project - MIT license.