Software to fetch global weather data from Darksky.

Two python modules to fetch daily and currently weather data from all over the world. The data is published straight into a MQTT broker and your automation system like  HomeSeer, Home Assistant, Homey, Fibaro HC3, Node Red, Iobroker, OpenHAB and others. Compatible with windows, linux, MacOs and others.

Xiaomi Air Humidifier Smart House software

MQTT control and monitor software for Xiaomi’s air humidifier. Compatible with HomeSeer, Home Assistant, Homey, Fibaro HC3, Node Red, Iobroker, OpenHAB and others.Helps you control the air humidification in your home or office. Can give you a waring when the water level is too low and needs refill. Can be hooked up to automation systems which supports MQTT as HomeSeer Hs3 and others. Can also be used from an app which supports the mqtt protocol on your phone or pc.

Xiaomi Roborock Smart House software

Xiaomi Roborock Vacuum Cleaner software
We got Mqtt control software for these models ready. Its based on the rytilahti.
Supports all Roborock models from V1 to S7.
Check metod to implementand install nessesary software on Github: https://github.com/rytilahti/python-miio

Compatible with HomeSeer, Home Assistant, Homey, Fibaro HC3, Node Red, Iobroker, OpenHAB and others.
Make your Vaccum great again! Requirements: Python 3.6+, Windows,MacOs or Linux. A public or private MQTT broker like Mosquitto. We now have a ready-made control program for this via mqtt. The program has the following features:
1. zone based cleaning – eg clean kitchen.
2. Multi zone based eg clean living room and kitchen.
3. Waypoints eg goto livingroom(can be used for inspecting your house with a camera mounted or to bring/fetch things)

It is possible to define up to 10 zones and 10 waypoints in the cfg file. Otherwise, the software has most of the commands that are also in the app (see below). And best of all, the program allows Roborock to be controlled from whichever  automation system via the MQTT protocol. To obtain the code (the token) for this we had to follow this recipe. And when we got connected  we received the status from it. 🙂 We also have another method to get the token, and this is described in the doc file including with the installation file. Commands via mqtt. examples:
miio/set/vaccum/192.168.100.145/start = 1 – start cleaning of whole house
miio/set/vaccum/192.168.100.145/home = 1 –go to docking station miio/set/vaccum/192.168.100.145/multi = kitchen, livingroom, hall  – clean these zones miio/set/vaccum/192.168.100.145/waypoint = hallway  – goto hallway .
The following commands are available: home = 1 – go to docking station
pause = 1
start = 1
clean = 1 (clean house-all zones)
speed = 1 -100 (%)
setvol = 1-100 (%)
stop = 1
spot = 1 – spot cleaning
soundtest = 1 – it says ‘Starting the cleanup!’
Resume_zoned_clean = 1
resume_or_start = 1
goto = x, y-coordinate
multi = section1, section3, section5 (defined in cfg file) – clean -clean multiple zones i n one command
waypoint =xxx like ‘kitchen’ (x, y defined in cfg file) – goto waypoint find = 1 (say “Hi, I’m over here”)
Waypoint the command is based on the setup in the cfg file where you can define up to 10 waypoints. It provides an opportunity to connect to a voice-controlled system such as Google Home or Alexa. one say e.g. ‘Hey Google, waypoint kitchen (or’ go to kitchen ‘if you want) and the robot goes to the point on the map you have predefined as kitchen in the cfg file. The same applies to zone-based cleaning. All zones must be defined in the cfg file in advance . After this is done, the voice command ‘Hey Google, clean the living room!’ cause the robot to do just that. 🙂 The zones defined are also used in Multisone cleaning where you can ask the robot to clean several zones in the order you choose. Then the command ‘Hey Google, clean the living room and kitchen!’ cause it to be spotlessly clean there. The Find command can be used either if one wants company or if one wants to drive away any unauthorized person with a female voice calling “Hey, I am over here!” You need unit id and token also to get to communicate.This can be done by installing a command line tool called miio with following command: npm install -g mii Then run the Miio discover command from a command window. All your Miio devices will then print in this format on the screen as they are found on your network: Device ID: 48765421 Model info: zhimi.airpurifier.m1 Address: 192.168.100.9 Token: token-as-hex-here via auto-token Support: At least basic More info about this tool here.. Take care of this data, you will need it the later … The system has the ability to support multiple devices,  then an additional license must be purchased for each device one wishes. With the Mqtt protocol, one can e.g. Get all the devices to start cleaning at the same time.
Homey, HomeSeer, Home Assistant, Iobroker  and many more automation systems supports Mqtt.

Global Weather data from yr.no

Software(Linux,Windows and Mac) to fetch global weather data from yr.no. These data is published to a mqtt broker to be used in various automation systems like HomeSeer, Home Assistant, Homey, Fibaro HC3, Node Red, Iobroker, OpenHAB and others.

Xiaomi Air Purifier Smart House software

Software for connecting Xiaomi’s air purifiers to a mqtt broker and thus most automation systems on the market today. Compatible with HomeSeer, Home Assistant, Homey, Fibaro HC3, Node Red, Iobroker, OpenHAB and others.The software consists of two parts, one for monitoring and one for control. With this software one can control the air purifier (s) with a command from the automation system or from a mqtt app from mobile or tablet. It is possible to control them by section so that, for example, all the air purifiers in the bedrooms run at full throttle from 0800 in the morning to 1000 in the morning every weekday. And it’s possible to set up alerts if it’s time to replace the filter. And you can put the device into hibernation if the air quality is ok and set it  in operation again if it gets worse. Light, humidity and temperature sensors in addition to air quality meter provides useful data for management. For Windows, Mac and Linux. Requires the libraries paho-mqtt, six and python-miio are installed. Python 3.5 or higher. Local or public Mqtt broker eg. Mosquitto. Data in the Iot Mqtt Panel App, ready for you to control the Air Purifier!

Netatmo Weather station Smart House software

This software feeds the Mqtt broker with environmental data from the Netatmo Weather Station and up to 3 indoor units, one main unit and one outdoor unit. It’s a Python script that runs on most platforms like Windows, Linux and MacOs. Compatible with HomeSeer, Home Assistant, Homey, Fibaro HC3, Node Red, Iobroker, OpenHAB and others. Data transmitted is temperature outside and inside, humidity outside and inside, CO2 content, noise and air pressure at the main unit. The program requires access to a MQTT broker with username / password security.

MQTT- Message Queing Telemetry Transport protocol

The protocol is used in our Mqtt2Fan and Fan2Mqtt program to control and monitor Blauberg
Wifi heat recovery devices and compatible devices.
In addition, we have developed two programs to publish data from Netatmo Weather Station and
Netatmo Healty Home Coach to a MQTT broker (server).
This data can again be used to control the indoor environment of buildings.

This is a protocol used by most automation systems on the market today.
Like for example. HomeSeer Hs3, OpenHab, Fibaro, Home assistant etc.
MQTT v.s. HTTP

Compatible with Blauberg Expert Wifi, Vents Twinfresh Wifi and Flexit Roomie One Wifi units.
We have ready control software to link these
the fans up against a mqtt broker (server).

This means that they can be controlled individually or in groups from which
any mqtt client with rights and access to the server.

Here I have set up control one a single fan so that I can see the current setting on the fan and at the same time I can at a key press kick off  a combined command such as speed 2 and ventilation.
Here is the screenshot from the Mqtt panel app on Android (recommended):

And here you can control all the fan’s in the northern side of the building:

Here you can control all the fans with one command.

And here is an example where you can control all bedrooms.

 

In the configuration file for Mqtt2Fan, it is possible to set up three additional sections that the fan should listen to. From before  the fan listens on the ip address, location and all (if all = 1). In this way one can at a key press e.g. turn off all the fans if  fire occurs or other causes.
Or you can control a group of fans eg bedrooms.
But if you want to exclude one or more fans from all for one reason, you just put all = 0.

Section3 I have set up with north which indicates where the room with the fan is facing. If you use this you can check all the fans that are facing, for example. to the north if there is strong north wind or take in fresh cold air in the summer if that side is in the shade side of the house.

Section1 is set up with bedrooms (can also be bedrooms), and then you can control them together with a command. It is thus possible to control the fans in the group, floor or section of the house.

And all these devices will be able to remotely control from the internet via a standard or own
mqtt client / app if you wish.

Single room ventilation is transformed with our solution into a fully balanced ventilation system such as
provides the opportunity for support via Enova.

The control program runs on a suitable PC, Mac or Linux device as
eg Raspberry Pi. A session must be connected per fan you wish to control.
The controller and fan should be in the same network, otherwise it must be routed so that
the controller reaches both the fan and the server.
The best solution is to have a controller for each wifi network.

For example, I use a controller for wifi in the house (raspberry Pi w / several mqtt2fan processes
controlled by pm2 (process manager).
In addition, I have a controller on a virtual Pi for office wifi and fans.

Requires:
MQTT Broker (eg Mosquitto).
The Mqtt broker (server) can be local or public. Should be local then support for security on
this level is not entered with anything other than username and password.

Screen shot from Mosquitto Broker status on the fans every 10 sec( timer in the fan2mqtt config file)

Screen dump from Mqtt2Fan program waiting for mqtt message to control fan.

Screen shot from the Fan2Mqtt program that retrieves status from the fans and publishes them to the broker.

Screenshot from Rapberry Pi showing Pm2 monitor and status of the processes there.

As a controller you can use Raspberry Pi or other Linux controls, Mac or PC that can run Python 2 or 3.
Must have the MQTT library and the Python-six library installed.
Wifi network.
One or more Blauberg Expert Wifi, Vents Twinfresh Wifi or
Flexit Roomie One Wifi units.
Valid license for each fan.

** If you buy one or more Blauberg Vento Expert Wifi units you get a 75% discount on the licenses!

As mentioned above, it is possible to use Mqtt together with HomeSeer Hs3.
Then the mcsMqtt plugin (free) is easy to use as mqtt client there.
It is well documented on the Homeseer forum.

And in Homeseer the devices mapped in mcsMqtt shows up like this:

Netatmo devices and MQTT.

We have developed two MQTT programs to get data from Netatmo Weather Station and Netatmo Healty Home Coach.
These two systems from Netatmo are so different and they have to have their own program.
But the result to the MQTT broker is still quite similar.
To the left is the result of Healty Home Coach and to the right result from the Weather Station.
The data published to the MQTT broker can then be used for controlling the automation system.



It can be anything from control of ventilation and heat andI don’t know what, only the imagination sets limits here.
These two programs can be found in our online store.
Ring Video Dorrbell i HomeSeer Hs3 via ring2mqtt og mcsMQTT plugin’en.
Two other projects we are running now:
1) A mqtt and ftp link to Ring Doorbell so that video on motion and active ringing is taken care of while it is registered on the mqtt broker for further processing.
This program is on testing now and it looks promising.We first had IFTTT to trigger the file transfer to our own server when there were motion detection, but replaced it with the built-in Ring sensor.

This can also trigger the Arlo cameras to record. Then one can start recording  before the object has entered the camera sone of the Arlo cam. This now works via IFTTT and is very useful.
Arlo Pro 2 VMS4230P Base+2 HDcam
2) An mqtt and ftp connection to Arlo surveillance camera so that this data is also published in mqtt and
the videos and snapshots are stored on an FTP server.
Then one can have as long history as one wish.
This can be expanded to support Arlo Baby Camera and other Arlo equipment in the long term.
Arlo Go is also an exciting camera to get supported, it can be used as a hunting camera as it has 4G instead of Wifi, and can be placed in the forest where you hunt for example. moose.
Maybe one can also trigger other types of camera to record on the basis of motion. Eg. Ring Doorbell.

Arlo i Mosquitto broker ..

Xiaomi devices.

We now got ready software to control and monitor the Xiaomi Air Purifier and the Xiaomi Roborock vaccum cleaner.
The plan ahead is to link up more Xiaomi units to mqtt.
The humidifier is the current candidate. In the long term possibly the water purifier as well, although we here in Norway have very clean water. Nevertheless, there may be some who can see the benefits of such a link to their automation system. One can e.g. Get notified if filters need to be replaced or if water levels are low. Only your imagination sets limits.

Read more about that project here.

Here is a link to several free mqtt modules,
which can be used for controlling Philips Hue Light, Broadlink units etc.
https://github.com/owagner?tab=repositories

More to come….

Smart House software for Blauberg wifi v.1 units

Fan2Mqtt and Mqtt2Fan monitor and controls wifi heat recovery devices with the powerful MQTT protocol. A protocol used by most automation systems on the market today. Like for example. Homeseer, Home Assistant, Homey, Fibaro HC3, Node Red, Iobroker and OpenHAB. Compatible with Blauberg Expert Wifi, Vents Twinfresh Wifi and Flexit Roomie One Wifi v.1 units. We have ready monitor and control software to link these fans up against a mqtt broker (server). This means that they can be monitored and controlled individually or in groups from any mqtt client with rights and access to the server. The programs runs on a suitable PC, Mac or Linux device as eg Raspberry Pi. A session must be connected per fan you wish to control. The controller and fan should be in the same network, otherwise it must be routed so that the controller reaches both the fan and the server. The best solution is to have a controller for each wifi network. The controller must be able to run Python ver 2 or 3 and must have installed the MQTT library and the python-six library. The Mqtt broker (server) can be local or public. For example, I use a controller for wifi (raspberry Pi w / several mqtt2fan processes controlled by pm2 (process manager). In addition, I have a controller on a virtual Pi for office wifi and fans. Requires: MQTT Broker (eg Mosquitto). Raspberry Pi or other Linux controller, Mac or PC that can run Python. Wifi network. One or more Blauberg Expert Wifi, Vents Twinfresh Wifi or Flexit Roomie One Wifi units. One license for each fan you wish to control. If you buy one or more Blauberg Vento Expert Wifi units you get a 50% discount on the licenses! If you have purchased a license and want more, contact us and we will expand to two or more licenses. Its not possible to use two 1-license modules against one broker. Then you have to have a 1-license module and a 2-license module. etc. If you have the new type v.2 with its own software (Mqtt), you can synchronize both types of fans. That is, if you issue the blauberg / set / fan / all / combine = s1r command then all the fans will switch to speed1 and regeneration! That is, if you issue the blauberg / set / fan / all / combine = s1r command then all the fans will switch to speed1 and regeneration! There are a number of commands common to the fans. For example, you can get all the fans facing north to go in one mode while all facing a different direction or floor may go in a different mode! In the event of a fire in the building, you can cause all the fans to ventilate and drain the building of air so that the fire is dampened. If you use air quality sensors then you can use these controls to control the fans If the outdoor air is heavily polluted (smoke, gas, etc.) then you can close all the fans on the side of the building in question. And if the indoor air is very bad, all the fans can be run on ventilation while you have a window or a door open, or run 50% of the fans on ventilation and 50% on supply! And on a hot summer day, you can catch cooler air from the shade of the house from the fans that are there. This will also relieve the AC system and save power. On cold winter days, the device helps to relieve the heat pump so that it does not need to run fully. Fireplace mode (Overpressure mode) If you wish to use the stove, you can select the fireplace mode. This mode makes the fan go in 70/70 to 80/60 (in / out) so that an overpressure is formed in the room. The mode has 3 speeds. Some believe that overpressure can also prevent radon from penetrating the home. In this mode, the heat recovery effect goes down and the fan beeps every time it changes direction. Vacuum mode (negative pressure). This mode makes the fan go in 70/70 to 60/80 (in / out) so that a negative pressure is formed in the room. The mode has 3 speeds. In this mode, the heat recovery effect goes down and the fan beeps every time it changes direction. From the building regulations: Rooms with poor air quality such as copy rooms, toilets, garages, kitchens, etc., must have negative pressure in relation to surrounding rooms. This is achieved by drawing more air than is supplied in these rooms. Recirculated air or overflow air from such rooms must not occur.