post@blomkvistitk.no
+47 99519810
Blomkvist ITK

Automation Blog

Automation Blog
My interest in automation came early in my youth. Around the age of 13-14 I mounted light inside the nightstand drawer
in my room. It worked like the light came on if the drawer was pulled out and it worked well!
Home automation is “The Internet of Things” or IoT. The way all our devices and household items are connected to networks to give us seamless control over all aspects of our homes and buildings, etc.
Here is an overview of my projects
• Health:
-The healthy home
Ventilation:
Heat recovery units:
Exhaust fan:
Balanced ventilation:
• Environment
Water leakage: in wet room such as toilet, bathroom, laundry room, kitchen etc.
Smoke detectors: serial-connected smoke and gas detectors
Moisture monitoring: inside all rooms including bathroom and laundry room
Co2 monitoring: in all living areas
Temperature monitoring: in refrigerator, freezer box, refrigerator, food shop, wine cellar, aquarium, sauna, etc.
weather Station
Methane detector: on wc and other living areas
Radon detector: in the basement, garage, etc.
CO detector: In room with fireplace, wood, oil or gas stove.
VOC detector: where one is exposed to cigarette smoke, volatile gases, solvents and other small particles.
Air Purifier
Air Humidifier
Robot Vaccum cleaner
• Safety
Movement: inside and out
Anti-theft: Motion, outer shell protection, video, camera m.
Video surveillance: Inside and in, in fridge, bar cabinets, etc.
Access Control: Outer Door, Ring Clock Door Lock
Stove Guard:
Warning: Siren, SMS, Email, Push Notification
• Comfort
Light: Inside and inside, Phillips Hue, Netatmo, another light.
Solar shading:
Remote controlled awnings
Pergola
Blinds
Blinds.
Temperature:
Night and day care
Heat recovery without cold breeds
Heat pump
Floor heating
radiators
A heating boiler
• Power Consumption:
Savings, new technology
• Media
Entertainment
Garden

Robot Mower

Ventilation. -The healthy home

We were plagued with bad air in the home. There was a bit too damp and clammy in the bathroom so that the window was dewdroping and there was a tendency to mold and fungal formation.
And in a bedroom it was too moist and clammy that it formed molding down on the outer wall.
In another bedroom the air was tight and heavy. Something had to be done!
I needed to measure the indoor air in a straightforward manner and found that Netatmo had a weather station that also measured the quality on the indoor air with its indoor modules. So I went to the purchase of a weather station and three indoor modules, then I could measure air quality in a total of four rooms plus outside of course.
After about one week of measurement, I could say yes, the indoor air was really bad  in our house. The Co2 level was sky high and together with humidity of 80% it was clear that something had to be done!
I was wondering how to deal with this problem and feared it would be expensive, very expensive.
The balanced ventilation systems I examined were expensive with a comprehensive installation with air and air ducts. It was an investment of just under a hundred thousand NOK including work.
Admittedly, Enova could cover 25%(now 15%) of this, but 75 thousand NOK was a really big sum for me. I had to find a cheaper solution.
The task seemed formidable, but then I came across these single-room fans from Blauberg!
They had Wifi and were also heat recovery systems! The last will save me too much money in the years to come.
Between 80 and 97% power recovery depending on fan speed is impressive.
And the noise level of 11db at the lowest fan speed is good in the bedrooms. The price was affordable also , they were on a campaign!
Three Blauberg units were purchased, one for each of the most precarious rooms. I mounted them myself as this was reasonably easy.
I just removed the old valves and put Blauberg’s canals into the holes in the wall.
Installed a power cord with plug and covered this with a cable duct. Then I thought it looked quite nice.
Runned a test period to see if the indoor air was getting better.
From before, I had a Windows based home automation system from HomeSeer and found that I could control these via IR (infrared) remote control or directly via an app on the mobile, both on the local Wi-Fi home and via the Cloud (ie over the internet).
I set up a remote control scheme via Broadlink RM Pro and IR as I ruled from HomeSeer. Set up rules such that if the air was bad then I drove the fans at a faster rate. If acceptable, I could stop or drive at low speed. It was difficult to see if they worked according to expectations. And they passed the test period with shine! Gone was the problem of heavy and damp air!
Co2 level was halved compared to before! This was definitely the way to go ….
In bedrooms you may want to vent out with an open window from time to time. Therefore, I have mounted a door-window sensor from Fibaro on the window. This because I want the fan to shut off if the window is opened. When closed, the fan turns itself on again. Then I’ve saved some power. This sensor can also be connected to control the heating so that the panel oven or heating cables do not go too full while the window is open! Then you save even more power! But in general, the windows should be closed so that foreign objects such as pollen and insects do not escape into the house.
We have had both small birds and frogs here who entered the bedroom window! 🙂
But it was before I got the fans mounted.
I had discoverd that Netatmo also supplies Healty Home Coach devices that are the similar to the weather station’s indoor features, only self-contained devices that are also supported by HomeSeer Hs3.
Three such were purchased and placed in the other rooms, living room, laundry room and a bedroom.
The somewhat less expensive Broadlink A1 sensor was also purchased to cover storage and office space.
It also has measurement of VOC level in the air. What is VOC? In short, tiny organic particles in the air that can come from cigarette smoke, paints, solvents, detergents, cleansers, glue, copiers, insecticides, etc.
Multi detector.
Here is another sensor we have in the online store that measures both Radon, temperature, air pressure, humidity, VOC and CO2.
Wave Plus – Indoor Air Quality Meter.
It is a good option for those who want an all-in-one sensor.
To monitor the radon level in the basement and garage you can use this slightly less expensive sensor:
Airthings Wave Radon meter.
CO detector.
CO (Carbon monoxide) measurement and warning should also be provided if you have heat sources such as firewood, gas stove or burning candle light and the like.
Here’s one that’s suitable:
Fibaro Carbon Monoxide Detector.
If the CO level is increased, you can report this early and, if necessary, drive the ventilation up automatically.I wanted something more with my project and when I found the APIs (programming codes) ‘one for the fans, I took out old programming skills.
After thorough examination of HomeSeer sample code and encoding, I developed a plugin that actually talked with the fans over the wifi. I called it EcoFan. Read more about this.
It proved to be successful for the indoor climate and at a fraction of the cost of an “ordinary” balanced ventilation system.
A quick headline gives me a sum of 35,000+NOK  the actual HomeSeer server (one pc),
So let’s say 45,000 NOK  including everything with 3 fans.
I plan to invest in several fans afterwards, 2 pieces in the living room / kitchen + 1 in the laundry room then we are up to about 50 thousand.
When Enova covers 15% of the cost, we get down to around 40,000 NOK and it’s about half of what an “ordinary” facility costs.
The difference is that I have continuous measurement of the air quality in all rooms and that is an important advantage!
Depending on the air quality, the fans are now controlled optimally and automatically.
At night time they are set to night mode at the lowest speed so that they are almost not heard.
But there are other major advantages of these Blauberg fans. Read more about it on http://blomkvistitk.no
.
In the summertime it can be hot indoors and then these fans can be added to provide outside air from the shadow side of the house:
This will relieve the heat pump in the cooling process so that it is possible to save power as well!
In the WC, we have a Flexit exhaust fan that I intend to switch to a Blauberg range in the long term.
Here, as mentioned above, I have a Netatmo weather station indoor module. The fan provides good ventilation with help of the rules set up in the automation system. Here I use a Fibaro power plug to turn on / off the fan.
This fan has only one speed and no night mode. In addition, I have a methane detector there that also kicks start waving if the gas level goes beyond a certain level. More about it later. 🙂
Power Consumption – Savings, New Technology
By installing intelligent devices with consumption measurement on the most energy-intensive devices such as panel heaters,
hot water tank, stove, heating cables, etc. one wants to see what these require and where the consumption is greatest.
Examples of devices that can be used are Fibaro wall jack, Sonoff POW R2,
Aeotec – ZW096 or Aeotec Heavy Duty Smart Switch, all of which have consumption measurement.
Based on this, it is possible to set up the automation system to save power at night / day lowering temperature. And it need not be +23 or more in the living room when there is noone home eg. To check if anyone is at home you can use the Fibaro motion sensor or Netatmo’s Welcome Home Camera.
Power Grid:
This year, there was a new power supplier on the marked , a company called Tibber. They are really a power brokerage company that ensures that you as a customer always get the lowest electricity price on the market. Even they only charge kr 39, – per month for this service. If you are a customer of them, you can look at an app what the current price is at the moment, and heat the water in the hot water tank or charge the electric car, etc. according to low price
In addition, it is easy for those who produce power themselves to supply power to the network via Tibber.
Tibber is compatible with HomeSeer Hs3 via the TibberSeer plugin, which is free. Via Hs3’s IFTTT channel you can then connect all the other smart devices and anything else that IFTTT supports!
Then you can adjust your power consumption compared to when the time of day is the cheapest.
Hot water:
Here I have mounted a Fibaro wall socket to measure consumption while turning on / off the power.
The connector supports 2500W and the tank pulls up to 2000W so it fits well.
In addition, I have mounted a Fibaro Z-Wave Door and Window sensor with a waterproof DS18B20 Temperature Sensor
on the tank outlet.
Then I can set up a rule on the automation system that says I should connect to the power when the temperature of the tank is below a certain level and the electricity price is most favorable.
The same setup with a Fibaro Z-Wave Door and Window Sensor with a Waterproof DS18B20 Temperature Sensor may be suitable for monitoring temperature in sauna, refrigerator, refrigerator, freezer-freezer, aquarium, etc. where the z-wave transmitter itself must be outside due to humidity and heat or other reasons.
In some of the above locations, the door and window sensor can also act as a door sensor. Then you will be notified the door of the freezer is open before all the foods are melted, for example.
Here in the house we had ice cream stored in the freezer in the hallway. Unfortunately the kids often left the door open after taking say an ice, and then there were problems afterwards. We are getting rid of this problem now.
Instead, we store the ice cream in the freezer compartment of the refrigerator in the kitchen. But we have installed the system on both.
Outside the sauna, I will have to install an Aeotec Heavy Duty Smart Switch by an electrician. Then we can decide how hot we wish it in the sauna while it is on heating.
For those who are lucky enough to have a cellar or food store, maybe also an idea to mount this as a frost guard. In combination with
a heat source controlled by eg.Fibaro wall jack.
Who would like to have frost in the food cellar?
Electric radiators:
Here you can use a Fibaro wall socket to measure consumption while turning on / off the power.
The connector supports 2500W and most panel heaters are inside.
Heating cables:
To control the heating cables, you must have a thermostat for the control of electrical cables. Here is one who likes it well
is called HeatiT.
Water-borne heat radiators:
Here you need thermostats that control radiators, such as the Netatmo Smart Radiator Valves Starter Pack.
Then you can have inductive temperature for each room.
Gas, oil or wood burning boilers and heat pumps.
Here is the Netatmo Thermostat V2 a useful device to use.
Heat pumps can also be controlled via IR and then RM Pro, RM3mini (Bean) or Logitec Harmony Hub is an option.
Heat recovery:
Blauberg units have the possibility of efficient heat recovery between 80 and 97%!
This is power saving in practice! Each unit operates under 5W at full fan speed.
So here’s the money to save.
Night and daylight reduction of temperature:
There is a lot of power and a lot of money to save if you do not have 23 degrees or more in the house while away, at work or on vacation. This is regulated in automation systems such as HomeSeer Hs3, IFTTT, Fibaro and others.
Heat regulation in relation to outdoor temperature:
With an automation system that supports Netatmo Urban Weather Station, you can always keep an eye on
alternating outdoor temperature and wind in order to optimally control the temperature of the home.
HomeSeer Hs3 supports this and it also does Fibaro HC2 and Lite.Stove Guard:
There are several types of cooker on the market, but if you have an automation plant from before or
Planning to get you, there are more affordable solutions that can be implemented in this.
The smoke detector from Fibaro is an excellent sensor for both smoke, heat and gases. It along with
Aeotec’s Heavy Duty Switch is the stove as good as anyone. Both operate on the z-wave protocol.
This solution can be set up without the help of an electrician.

In retrospect, I’ve made two plugins to HomeSeer to control Broadlink’s devices directly through HomeSeer.
It is the RMIR plugin that controls IR and RF signals from RM Pro, RM3mini (Bean) and others.

and RM Tasker plugin that controls and monitors sensors and switches on Broadlink A1, MP1 power strip and SP3 switch.
And the temperature sensors at RM Pro ..

These software modules are available in our online store together with the EcoFan module.

As you can see, I am now a dealer of this equipment I have used to set this up, with few exceptions.
The HomeSeer licenses may so far be purchased online via their website.
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 and I don’t know what, only the imagination sets limits here.
These two programs can be found in our online store.

Security camera and doorbell.

We have tried several different types of security cameras and have found that Arlo delivers good wireless cameras that meets most needs. They have everything from weather-resistant UHD, HD , 4g HD cameras and baby camera. All of these can be controlled from the Cloud and IFTTT, and now from most automation systems with our MQTT module.

Arlo Cameras and Base with Mqtt into HomeSeer Hs3 with the help of mcsMqtt plugin.
Arlo Pro 2 VMS4430P Base+4 HDcam

With IFTTT, Arlo collaborates with other systems such as Ring Video Doorbell.
This is a doorbell with video and two-way sound that also register motion outside your door.
With an IFTTT rule, the Arlo camera begins to record if Ring Doorbell discovers movement outside when we’re not at home. I have already caught the neighboors cat outside.
With Arlo Smart Premier subscription for about 80 nok a month, you get up to 10 cameras and 30 days of video storage each month.
This subscription hates extended detection  that it distinguishes between people, pets and cars. Also, it has activity zones that you can set up in the camera range.
This has Netatmo’s outdoor camera also, so you don’t have to turn on the burglar alarm due to a dog or moose roaming over the property. Have not been tested against moose yet by the way ..

Ring Doorbell is useful both when you are at home and when you are away. In either case, one can see who is outside and one can also talk to the person in question. When I am at home I choose to go to the door, but if I am away this is quite useful. Then I can talk with them as I was at home or not.


Since I have an office in the garage I have a Ring doorbell there if any call
at the house I get a pling inside the office as well as on my mobile.
The same doorbell is also inside the house and gives a message there with a nice sound.
For both Arlo and Ring I have ready programs based on the MQTT protocol, its now possible to store the videos on your own server and to embed them in your automation system in a better way than with IFTTT.

Xiaomi Air Purifier


Xiaomi got an air purifier we also offer in our webshop.
The Airpurifier 2s makes your indoor climate healtier
together with the Blauberg Heat Exchange units.
The Mqtt program makes it possible to hook it up with an automation system which supports the Mqtt protocol.

Xiaomi Robot Vaccum Cleaner


Xiaomi Roborock S50 has also its own MQTT program.
Our Mqtt program har 3 additional functions which are not included in the Mi Home App:

1. Pre-defined zones give you the possiblility to run the command “Clean the kitchen” or “Clean the hall”.
You can define up to 10 zones like this..

2. The multi command option “clean the kitchen and the livingroom” where these zones are a combination of the predefined zones..

3. Waypoints give the possibility to define 10 points in your house where you want the vaccum to go.
If you want it to meet you by the door when you arrive home or you want it to go to the dust bin besfore it go back to its home under the couch.

We have tested voice control of the Roborock S50 and have had the best result with Alexa. Alexa does not currently support Norwegian language, but this probably comes afterwards.
Google Home is more troublesome since they only have ON / OFF commands and you need to customize the name of the devices and events so that the commands go to remember. But ends up with commands such as “Hey Google, Apple TV on TV ON” etc. Not much to boast of … Below is a screenshot of the commands from Alexa after they are made more understandable in ‘routines’.

 

After all, you have to have some fun . Set up a waypoint by the fridge and one by the couch. Thus, it was the setting for a new routine.
By posting an event I called “Get drinks” in Homeseer where the Roborock first went to the fridge and waited there for 30 seconds so that the wife could put a glass or a box on it, and then take the straight road to my place on the couch, wait 30 seconds here, before returning to the charging station.
At Alexa I scanned for new “Scenes” where the HomeSeer event takes place. Then the new event came in and I then created a new “Routine” on Alexa which was also called “Get drinks”.
After adding an action to say “ok master!” and run the event (stage) “Get drink”, it was time to test out.
And it certainly works! 🙂 Will be nice to have it for the next World Ski Championship! By the way, it was the wife’s idea to set this up!
Otherwise, I created a routine I called “Come to Dad” where the Roborock answers sweetly “Roger that!” and rush to the living room by the couch. Can be nice to have if you want to impress the coffee guests!
But now the wife wants another routine that brings her coffee where she sits studying in the office.
So then I just have to move around programming again! 🙂

I also mounted an Arlo surveillance camera on the Vaccum robot. The idea is that then the robot can scan the house and see if everything is fine when we are away. It will also listen for abnormal sounds and give alarm if certain limit values ​​are exceeded.
With an Arlo Smart Premier subscription, the camera can distinguish between humans and animals, so if the cat is loose and gets in the way, the robot can stop and the same applies to humans. Yes, if you are not at home, the robot can even sound an alarm and it detects people. Then you can get a push message and trigger a siren in the house at the same time. The possibilities are limited only by the imagination.
It may be a good idea to link this to our robot management software (miiorobo2mqtt) to get the above solution.

Easy to mount on the top of the vaccum cleaner with velcro tape.

Over a small round in the house with the robotic vacuum cleaner with Arlo HD camera.
This allows for even more intelligence if you combine our Mqtt program for both Arlo and Xiaomi Version 1 / S50 Mqtt program.
Only the imagination sets the boundaries. 😉
Xiaomi Air Humidifier

Xiaomi also has a humidifier that is suitable for us heating our house in winter. The air tends to be very dry inside and it is noticed on the skin and eyes. That’s why I’m going to try to keep the humidity between 40 and 50%. And it can be achieved with the help of Netatmo’s Healty Home sensors that can signal to the automation system when the limit values are reached. We have not yet started the development of the Mqtt programs for this unity it is still in the mail.Xiaomi Water Purifier.

Xiaomi Mi Water Purifier 1A


We have plans to create Mqtt control program for this unit also. Many struggle with poor quality drinking water, smell, taste and color. It can also remove bacteria with osmosis and coal filter. With the control program, it will be possible to give notice whether there is time to change the filter or a limit value is exceeded.

 

 

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

 

Robot mower

I mounted an Arlo surveillance camera on the Worx robot mower. The idea is that then the robot can scan the house and see if everything is fine when we are away. It will also listen for abnormal sounds and give
alarm if certain limit values ​​are exceeded.

My choice was a Worx robotic lawn mower, Landroid S300, which
claimed to be the most intelligent on the market today.
Well, it says a lot about your competitors you ask me. 😉
Compared to Xiaomi’s robotic vacuum cleaner, this one seems far less intelligent since it doesn’t
mapping the garden or managing to control exactly where you want it ..
Xiaomi also has a standard sensor that detects something is in its way, and at Worx this is
enhancement. well well. maybe in the next version of the firmware?

To install it into the automation system you need to install
iobroker, which is a driver, on a free computer in the house.
Then you need to download the adapter for this series of lawn mowers:
iobroker.worx adapter, and install this. Search it on google.
Nb! It is not pre-installed on iobroker (for older Worx lawn mowers).
Once installed, you must also install the Mqtt client adapter that is in the iobroker directory, if you do not have a Mqtt broker running you can also choose to install a combination of client / broker adapter that is also in the iobroker directory.
Both of these adapters must then be activated inside the iobroker to get an instance (running program).
To extend the use of the robot, I mounted an Arlo HD camera with sound on top of it.
So now it can look after the property while I’m away! Combined with our proprietary mqtt control and monitoring program (arlo2mqtt) for Arlo camera and an Arlo Smart Premier subscription, this is a hand in glove situation.
The Smart Premier subscription opens for notification if the robot detects humans, animals or cars and distinguishes between them.
From there, it is really up to everyone to create rules that create the most sensible scenario for use. For example, you can stop the robot if animals or humans get in the way!
Then maybe you can start talking about intelligent robotic lawnmower?
Arlo HD camera with sound mounted on with Velcro.


A little ride in my garden. 🙂
More coming …..