My first home automation system was based on Arduino and Raspberry PI . All the relays I wanted to control, the switches from which I received signals and temperature sensors that I used, were connected to the arduino mega with ethernet shield. Arduino was responsible for storing the states of individual devices. I had the MQTT server installed on Raspberry PI. Arduino sent all signals to the MQTT they were downloaded by OpenHAB and made available to the user via a web GUI or a mobile application. In addition, OpenHab could send user commands to MQTT. Arduino read messages from MQTT queue and updated the status of home appliances. The solution had one basic advantage: it worked :) However, there were a few problems that I mentioned in previous posts. These included: - complicated architecture - in case of problems there were many places to verify. - problems with power failures - arduino with ethernet shield has problems with proper boot after power outage. The...