After a couple of years of the uninterrupted operation, I decided to retire the existing home automation and replace it with the new one. Since the technology available to the amateurs today is much more affordable, both when it comes to the simplicity of the use and integration but also the price. It is easy for the enthusiasts to combine the state of the art stuff like WiFi and LoRaWAN communication, open source home automation software, ESP8266, Arduino, …
In this post, I describe the various upgrades I have performed on the system during the course of one year.
Backend
Homy backend consisted of 433 Mhz transmitter and 868Mhz transceiver (central node packed in a rat) that communicated with local PC (control software) and stored data in the database.
The concept was ditched and replaced with Thingy platform. Using this approach, no local gateway hardware nor software was needed.
Thingy is just another IoT platform that provides defining, provisioning and shadowing devices. It is still an early alpha stage, but in the future, it should provide much more functionality.
Lights
In the initial design, light control has been done by emulating 433MHz remote controller. This was a robust solution, used for years, but slowly remote sockets start dying. In addition to this, the remote sockets would loose “coupling” information after every power loss – I usually turn fuses off when going away from home for longer than 5 days, so I had nice exercise couple of times re-coupling ~20 sockets every time.
I stumbled upon Sonoff devices. Not only they have cheap switches like Sonoff Basic, but also other nice gadgets like Sonoff Touch, Sonoff 4CH, Sonoff Slampher, …
The source code of the customized firmware can be found on the repository https://bitbucket.org/io-thingy/axon-sonoff.
Humidity & Temperature
The initial design included Arduino Pro Mini powered with LiPo battery with DH22 sensor and RF12B transceiver.
The upgrade included replacing RF12B transceiver with RFM95W one, which supports LoRaWAN.
The source code for the nodes can be found on repository https://github.com/dusanstojkovic/homy-node-lora.
Weighing scale, Balcony irrigation, and Roomba
Weighing scale was retrofitted with one ESP8266 based WeMos D1 mini module and connected to the backbone.
Balcony irrigation was also retrofitted with one ESP8266 based WeMos D1 mini module and connected to the backbone.
The old good Roomba, our faithful companion for years, recently stopped generating any electric signal. It is stowed away in our basement now.
The remaining artifacts include Roomba SCI library, that I was extracted and put on github (https://github.com/dusanstojkovic/RoombaSCI) and platformio (https://platformio.org/lib/show/1599/Roomba%20SCI).
User interface
While upgrading various parts of the system, I also investigated possibilities to upgrade UI part as well. What I have found was an excellent project Home Assistant. That is an open-source home automation platform. I have easily integrated it to the backend using MQTT endpoint. It fully replaced both desktop and mobile UI.
…
For the time being, I will more focus more on some other things, like LoRaWAN, Thingy platform and using those to solve one small problem at the time.
© 2017 – 2019, Quo Vadis ?. All rights reserved.
2,961 total views, 1 views today