This video explains the basics of the Xiaomi Miflora soil moisture sensor and how to integrate it with OpenHAB and Node-Red.
Steps for OpenHAB explained in the OpenHAB Community. This contains the python code and other setup details:
Node Red script can be found here:
4 Open House Automation Substitute Tools for OpenHAB
The Internet of Things it not just a buzzword, it’s really a quickly growing reality.
With an ever-expanding amount of devices open to make it easier to automate, defend, and monitor your own home, it has never been easier nor more tempting to have a go at home automation. Whether you are trying to handle your HVAC(Heating Ventilating Air Cooling) system remotely, add in a home entertainment system, safeguard your home from stealing, fire, or other risks, reduce your electrical power consumption, or just control a few lights, there are loads of devices on offer at your disposal.
While connected devices often contain personal components, a good starting point in bringing open source into your home automation system is to be certain that the device which ties your devices together-and presents you with an interface to them (the “hub”)-is open source. Fortunately, there are numerous options around the world, with alternatives to run on everything from your always-on personal PC to a Raspberry Pi.
Have a look at a few of our favs.
OpenHAB (stand for Open Home Automation Bus) is among the most widely known home automation tools amongst open source hobbyists, with a huge user community and quite a number of supported devices and integrations. Written in Java, openHAB is easily portable across the majority of major OS’s and even runs properly on the Raspberry Pi. Supporting hundreds of devices, openHAB is designed to be device-agnostic while making it simpler for developers to incorporate their own devices or plugins to the system. OpenHAB also ships iOS and Android applications for device control, in addition to a design tools so you can develop your own User interface for your home system.
You can easily find openHAB’s source code on GitHub licensed under the Eclipse Public License. https://github.com/openhab/openhab
Calaos is designed as a full-stack home automation system, with a server application, touchscreen interface, web application, native mobile applications for iOS and Android, and a preconfigured Linux operating system to run underneath. English speaking readers should be advised that, while some English documentation can be obtained, a few of the instructional material together with support discussion forums are mostly in French.
Calaos is licensed under version 3 of the GPL and you can view its source code on GitHub. https://github.com/calaos
Domoticz is a home automation system with a very wide library of supported devices, such as weather stations to smoke detectors to remote controls, with a great number of additional third party integrations documented on the project’s web site. It’s designed with an HTML5 frontend, rendering it reachable from both desktop computer web browsers and also most up-to-date cell phones, and is light-weight, running on a lot of low power products like the Raspberry Pi.
Domoticz is written chiefly in C/C++ under the GPLv3, and its source code can be browsed on GitHub. https://github.com/domoticz/domoticz
Home Assistant is an open source home automation platform, and is designed to be simply deployed on essentially any machine which could run Python 3, from a Raspberry Pi to a NAS device, and likewise comes with a Docker container to make deploying on other systems quite easy. It combines with a range of open source and business oriented offerings, which enables you to link, one example is, IFTTT, weather information, or your Amazon Echo device, to regulates from locks to lights to even a command line notifier.
Home Assistant is released under an MIT license, and its source code readily available for download from GitHub. https://github.com/balloob/home-assistant
OpenMotics is a home automation system with both software and hardware under open source licenses, designed at providing an extensive system for controlling devices in place of stitching together a good number of devices from different providers. Dissimilar to several of the other systems designed chiefly for simple retrofitting, OpenMotics centers on a hardwired solution. For further, see our full article from OpenMotics backend developer Frederick Ryckbosch.
The source code for OpenMotics is licensed under the GPLv2 and is for download on GitHub. https://github.com/openmotics
These aren’t the only choices available, surely. Scores of home automation followers go with a various solution, or possibly elect to roll their very own. Different potential choices to take into account involve LinuxMCE, PiDome, MisterHouse or smarthomatic. Other people decide to use private smart home devices without including them into a single wide-ranging system.