Accéder au contenu principal

Articles

Affichage des articles associés au libellé mqtt

Theengs mobile application to read your BLE sensors

I’m excited to announce the release of Theengs Android mobile application, the application uses  Theengs Decoder  to read data from BLE devices and display those to your mobile, you can download it on Google Play (paid app) To stick with the spirit of  OpenMQTTGateway  the app can also be used as a gateway to an MQTT broker! So if you have an Android touch screen, you can install the app and configure it to read BLE sensor data and push it to your favorite Home Automation controller. Note that if you want to run the integration in the background this is possible as an experimental feature (we need your feedback on this). More information on the app documentation . We came a long way from removing the decoding of BLE sensors from OpenMQTTGateway, creating a dedicated  library , creating a  gateway , a Home Assistant  Addon  a data  explorer  and now a  mobile application ! And you know what, this is not the end, we have plans to...

Add of LORA technology to OpenMQTTGateway

The V0.9.1 release of  OpenMQTTGateway  will introduce the compatibility with LORA RF technology based on the work of  Sandeep MISTRY . LORA is a technology used on Low Power Wide Area Network, the 3 first words of this definition are very interesting. Indeed in home automation we are often faced against the challenge of range and working with battery powered device. LORA solves both problems by its low power consumption and its "kms" range. The first tests on OMG  has been done with the TTGO LORA boards based on ESP32. They are delivered with an antenna and an embedded display. Quite usefull for the first tests. Note that the modules I bought had already a sender and receiver program flashed! If you want to reflash these programs you can find them here: https://github.com/LilyGO/TTGO-LORA32-V2.0 You can use this library for the display: https://github.com/osresearch/esp32-ttgo/blob/master/libraries/OLED.zip These modules combined with ...

Connected terrarium with arilux module

One easy thing that you can build with your child is a terrarium, but what about mixing this achievment with your DIY competencies and transform it into a connected terrarium. Here is how to do it: Bill of materials :  Terrarium Big recipient in glass with a top that can be drilled or cut (so as to pass the alimentation cable) A cap in plastic of another recipient that can fits into the bigger cap Different earth or little stones color. Plants Cup of something in plastic Connected light FTDI so as to program the Arilux the first time (after you can upload by Over The Air update) Arilux AL-LC0X Power supply for the arilux Rgb led strip Glue gun Step 1 :  Connected light We are not going to use the stock firmware of the ARILUX (of course ;-) so as to connect it to a home automation controller (in this case OpenHAB). We will load into the Arilux the firmware from mertenats  So as to load the firmware follow the instruc...

Mi flora integration to OpenMQttgateway

Following some users requests on OpenMQTTGateway github I made some research and code to be able to read data from Mi Flora sensor also known as xiaomi flower sensor. The goal is to connect the mi flora to an mqtt compatible controller like openhab or home assistant with a simple arduino or esp8266 connected to an hm10/11 module. Mi flora use Bluetooth Low Energy technology to communicate to a smartphone.  It gather on one sensor temperature, humidity, hygro and fertility measurement. These measures are available through an app on your smartphone so as to monitor your plants. As this device use BLE the idea was to be able to read the measures with OpenMqttgateway through the hm10 component. Some code and library are already available in python for the pi or equivalents. But not for arduino or esp8266. This is where it begins. With the current gateway version we were able to receive the mac adress of ble devices including the mi flora one. But not the dev...

Ina226 voltage and current sensor with esp8266 sending by MQTT

I needed to measure the voltage and the current of my lawn mower robot, as i have already an home automation system, the point was also to integrate these measures into Openhab and idealy using mqtt protocol. The first idea that came up was to use a voltage divider to measure the voltage with the esp8266 analog pin.Nevertheless i found some contradictives infos about this, the accepted voltage was low between 1v and 2v depending on the sources. Unfortunately my battery is a 28,4v one. With some search I found on banggood the ina226 sensor already soldered and ready to plug with an arduino. The question was; is this compatible with an esp8266 to allow an easy integration with my home automation system. The answer is yes. Thanks to the help of Shelvin blog  here are the details: Pinout for a NODEMCU: Nodemcu/INA226 D1/SCL D2/SDA GND/GND 5V/VCC IN+ & IN- correspond to the current meter for the tests, I linked them before the INA226 power so as to have s...

Infrared IR, 433mhz and MQTT on ESP8266 bidirectional gateway OpenMQTTGateway

Following discussions on the home assistant forum people gave me the idea to add Infrared communication to the 433mhz gateway.  The goal is to act as a gateway between 433Mhz sensors, infrared remote controls and a MQTT broker or between the MQTT broker and 433Mhz actuators, infrared devices, It enables to: receive MQTT data from a topic and send RF 433Mhz signal corresponding to the received MQTT data  publish MQTT data to a different topic related to received 433Mhz signal  receive MQTT data from a topic and send infrared signal corresponding to the received MQTT data  publish MQTT data to a different topic related to received infrared signal  It can be an interesting part in an home automation system so as to interface sensors and actuators (wall sockets), your tv, home cinema, hifi ... with software like  openhab  or home assistant . List of compatible RF sensors here [EDIT] all infos are now centralized into the github repository  ...

Interfacing the 433mhz bidirectional MQTT Gateway with Openhab

In this article I’m going to detail how to integrate the  OpenMQTTGateway  with OpenHAB using MQTT protocol. We will explore two kind of integration : -a cheap socket wall switch (on/off) -a voltage sensor ( values between 0 to 5000mV) based on this tutorial Before continuing you must have : ·          An MQTT broker running (for example mosquitto) ·          An OpenHAB instance running with the MQTT addon binding configured to talk to your MQTT broker ·          The 433mhz Gateway setup (either arduino or esp8266 one) Cheap wall socket The wall socket that we will be using are these ones Be carefull not all the wall sockets are compatible with RCSwitch (Library used by the 433Mhz Gateway). For example blyss ones are not compatible. Learning the codes of your plug First step will be to learn the code that are used by ...