# My new Smart Home Automation System with OpenHab2 - Work in progress -\> Migrating to OpenHAB3 -\> Migrating to OpenHAB 4 -\> Migrating to OpenHAB 5

**URL:** <https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725>\
**Category:** openHAB Stories\
**Tags:** tutorial, openhab, openhab3, openhab4, openhab5\
**Created:** [August 29, 2017, 5:08pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725 "2017-08-29T17:08:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [August 29, 2017, 5:08pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/1 "2017-08-29T17:08:58Z")

</div>

Hello everybody, I’m a new user here and also for the **Home Automation System** things.

I recently discovered the sonoff devices and they let me evaluate a lot of Home Automation Software. In a few words I chose OpenHAB v.2.

Now, step by step I’m designing my system and I’m doing a lot of test…I’m pretty new to this kind of systems.

Till now, I played with Arduino and Raspberry PI2 but the sonoff devices and others similar to them opened my mind…I’m plenty full of ideas…

I’m writing a blog about that where I post my updates…

If you are interested, this is the url:

[**https://domoticsduino.blogspot.it**](https://domoticsduino.blogspot.it)

I hope to keep this post updated as soon as my work keep going on.

Just as a preview I will show you my first openHAB2 installation homepage:

[![Google Photos](https://lh3.googleusercontent.com/pw/AP1GczOcmcxpvZaJrfJJCmO3D0J7S_7ADvbLcJO_Hob5FZNiO_8SWzm_YoTiClpnVoPIO-RmU-azlfvEJxFfQlKsaXu9IM0kwoJbg0EAXINPkwPwB-p6QEEE=w600-h315-p-k "New photo · Sunday, Aug 6, 2017 📸") ](https://photos.google.com/share/AF1QipN0s9OpInkooAXu3rtdjVhLAEjVbRyDhcVxaX3T3EOC3v8M4Old_xOPSxhb-HiQRA?key=UHNLdVRDX3MtQjdXZjBvanJOQWhlaVc2S2ZYOEdR)

Bye

---

<div class="post-metadata">

**Author:** ![ThomDietrich](https://community.openhab.org/user_avatar/community.openhab.org/thomdietrich/32/71239_2.png) [@ThomDietrich](https://community.openhab.org/u/ThomDietrich)\
**Post date:** [August 29, 2017, 5:54pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/2 "2017-08-29T17:54:11Z")

</div>

Hey @s89511,

always nice to hear about the experiences and progress of new users. Please keep us posted with updates as answers to this thread! Best! Thomas

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [August 31, 2017, 12:02pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/3 "2017-08-31T12:02:12Z")

</div>

Thanks @ThomDietrich I’ll do my best 🙂

Just a little update not directly regarding openHAB but my project in general.

I upgrade **TASMOTA** firmware on **SONOFF** using the OTA procedure. It’s a very comfortable feature because you don’t need to access directly the device.

Some details on my blog:

[http://domoticsduino.blogspot.it/2017/08/home-automation-system-sonoff-tasmota.html](http://domoticsduino.blogspot.it/2017/08/home-automation-system-sonoff-tasmota.html)

And this is a little video about it:

[https://youtu.be/jqAEWbb8iPo](https://youtu.be/jqAEWbb8iPo)

I write link to my blog posts just to not describe my progress twice. I hope it’s ok…

If not, please admin or moderator warn me about it and I’ll try to keep updated both blog and this thread.

Thanks. Bye

---

<div class="post-metadata">

**Author:** ![ThomDietrich](https://community.openhab.org/user_avatar/community.openhab.org/thomdietrich/32/71239_2.png) [@ThomDietrich](https://community.openhab.org/u/ThomDietrich)\
**Post date:** [August 31, 2017, 12:08pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/4 "2017-08-31T12:08:50Z")

</div>

It’s okay to link external sources as long as you describe them shortly and highlight openHAB specific aspects. What you shouldn’t do is “spam” the forum with external links. 😉

Regarding Tasmota, we have an article on that as well: [ITEAD Sonoff switches and sockets - cheap ESP8266 Wifi+MQTT hardware](https://community.openhab.org/t/itead-sonoff-switches-and-sockets-cheap-esp8266-wifi-mqtt-hardware/15024/1)

Btw. The article as well as a big part of the Tasmota wiki content is written by me 😃

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [September 5, 2017, 9:34am UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/5 "2017-09-05T09:34:45Z")

</div>

Hello, I’m back again 🙂  
Just a little update not directly regarding OpenHAB, but I’m building its bases.

Some days ago I received a muche awaited mailbag from banggood; it contains 5 SONOFF Basic and 1 SONOFF Dual, a new entry in my little collection.

[![Google Photos](https://lh3.googleusercontent.com/pw/AP1GczPhN5h7nt9vzyy7UQ5R0PWTJ3tcTRxQd7SEDc74ueDyjL0t6W5ApZtf6EUmvb57m478yH64hhYvbOhvZ1pgduF0wG-ReyOvVvyKzpyBNJTCEDaYdWd4=w600-h315-p-k "New photo · Friday, Sep 1, 2017 📸") ](https://photos.google.com/share/AF1QipPiGsO8Wpt7tAycyHoOEgRRxMuQmNVxQLV-U0W5Ro5ftRM5roG6xCiAOg_h07s7Tw?key=WlZ0Mm1OZnV2VlJ4cWhXNDhlOFZzN0hFZEszbFF3)

And this is the new entry SONOFF Dual, plugged during test

[![Google Photos](https://lh3.googleusercontent.com/pw/AP1GczNz9X32W8oO38oLGOiVxkn1ZBCNF5aDtbfEB94j-DraPH5NFZ7u9Ddg7rGW34aDPEKWpl0sZKGCGtbTbtg7mA1PR6i8CiqKzJshbklfskL6DRtbFSpa=w600-h315-p-k "New photo · Friday, Sep 1, 2017 📸") ](https://photos.google.com/share/AF1QipPClDfIFmi8jguuAzf9eyUWH4ItZ9Z7-xPLieJXeRCLsmsXHGXP0lwC9D79bH1PRg?key=ZFZCRE1UZU9BeUtMc2VvX0ZZa0ZDRF9lOVdmdHF3)

As usual, this is the post in my blog, where you can find a short video about binding SONOFF Dual with EWeLink App, just for testing purpose

[http://domoticsduino.blogspot.it/2017/09/home-automation-system-new-items-arrived.html](http://domoticsduino.blogspot.it/2017/09/home-automation-system-new-items-arrived.html)

And now, it’s time to let OpenHAB do its work 🙂

---

<div class="post-metadata">

**Author:** ![ThomDietrich](https://community.openhab.org/user_avatar/community.openhab.org/thomdietrich/32/71239_2.png) [@ThomDietrich](https://community.openhab.org/u/ThomDietrich)\
**Post date:** [September 5, 2017, 9:39am UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/6 "2017-09-05T09:39:06Z")

</div>

That brings back [memories…](https://community-openhab-org.s3-eu-central-1.amazonaws.com/original/2X/f/fec50b342914a02951cc0a101608723c94ac319b.jpg) 😉

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [September 20, 2017, 10:54pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/7 "2017-09-20T22:54:39Z")

</div>

Hello, just a step forward. Finally I got OpenHAB v.2 running.

I installed it few weeks ago on Raspberry with other software as Grafana and InfluxDB, but I never configure and run it.

Now it’s time to see what OpenHAB is able to do (I think a lot of things…)

I begin with some easy jobs as speedtest integration and weather services, following the tutorial on the site. Very very nice…

As usual on my blog there are more details:

[http://domoticsduino.blogspot.it/2017/09/home-automation-system-its-time-for.html](http://domoticsduino.blogspot.it/2017/09/home-automation-system-its-time-for.html)

Cheers

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [September 26, 2017, 8:04am UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/8 "2017-09-26T08:04:19Z")

</div>

A new toy arrived directly from iTead. A **SONOFF Dev.**..a little wifi-board based on ESP8266 chip

It has some digital GPIO and an ADC pin.

[![Google Photos](https://lh3.googleusercontent.com/pw/AP1GczN_wMDoWBCO3xd5UFtucdoeO-CVAR4m0SAZs-Quc55DTZe0pP9ALtf7NTP-FXIKD23XzXHUF4IUXEd7G5pH9zSn7vSlAb4sHxupH1Fs97z6aocOnQoX=w600-h315-p-k "New photo · Saturday, Sep 23, 2017 📸") ](https://photos.google.com/share/AF1QipMo5LCicfnrWLP9x7K8aJN7AN7Dsk7PI5SpPltP814IWtw-8sXkXtw_OifBO8ZORw?key=QmlpOGpVc0dkQ1RFaXJXbHpXSTllM3RFcDJLTVpB)

Did you already used it?

For me, it’s time to make some test with it.

[http://domoticsduino.blogspot.it/2017/09/home-automation-system-new-item-sonoff.html](http://domoticsduino.blogspot.it/2017/09/home-automation-system-new-item-sonoff.html)

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [October 1, 2017, 11:36am UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/9 "2017-10-01T11:36:31Z")

</div>

Hello everybody, finally I integrated my sonoff basic in openhab with mqtt.

My smart home is taking shape…

As usual, details on my blog

[http://domoticsduino.blogspot.it/2017/09/home-automation-system-mqtt-sonoff-and.html](http://domoticsduino.blogspot.it/2017/09/home-automation-system-mqtt-sonoff-and.html)

Cheers

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [October 2, 2017, 11:12pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/10 "2017-10-02T23:12:27Z")

</div>

A little update, because I discovered (reading the TASMOTA docs) how to connect an external switch to the SONOFF Basic, using GPIO14 and SwitchMode param.

> **[Home Automation System - External buttons and switches on the SONOFF Basic...](http://domoticsduino.blogspot.com/2017/10/home-automation-system-external-buttons.html)**
>
> Domotics project based on Arduino and Raspberry PI

Cheers

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [October 8, 2017, 9:08pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/11 "2017-10-08T21:08:17Z")

</div>

I just updated my OpenHAB setup, adding an automatic notification about TASMOTA firmware updates

Using a public MQTT broker and adding an item and a rule to my OpenHAB configuration I’m able to manage automatic discovering of TASMOTA firmware updates; I found all the informations on official TASMOTA wiki and official OpenHAB docs.

Details:

> **[Home Automation System - Checking TASMOTA firmware updates with OpenHAB v.2](http://domoticsduino.blogspot.com/2017/10/home-automation-system-checking-tasmota.html)**
>
> Domotics project based on Arduino and Raspberry PI

Cheers

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [October 11, 2017, 10:33pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/12 "2017-10-11T22:33:02Z")

</div>

Step by step my openhab setup is growing…

I design a little local network monitoring with app notifications using OpenHAB v.2 and Network Binding

Details here:

> **[Home Automation System - OpenHAB v.2 and local network monitoring](http://domoticsduino.blogspot.com/2017/10/home-automation-system-openhab-v2-and.html)**
>
> Domotics project based on Arduino and Raspberry PI

Cheers

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [October 18, 2017, 7:28pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/13 "2017-10-18T19:28:52Z")

</div>

Now it’s time to learn “groups” in OpenHAB v.2

Just put them in my test sitemap…very nice feature!!!

 ![lights1](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/c/4/c4db7785ec51c5029aaf30f2ce7a60ce2c811d87.jpeg)

> **[Home Automation System - Using groups in OpenHAB v.2](http://domoticsduino.blogspot.com/2017/10/home-automation-system-using-groups-in.html)**
>
> Domotics project based on Arduino and Raspberry PI

---

<div class="post-metadata">

**Author:** ![akatran](https://community.openhab.org/user_avatar/community.openhab.org/akatran/32/71142_2.png) [@akatran](https://community.openhab.org/u/akatran)\
**Post date:** [October 19, 2017, 4:49am UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/14 "2017-10-19T04:49:09Z")

</div>

Nice!

May I suggest to change your network items status from Switch to Text in your sitemap?

The outcome will be something like this:

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/e/f/efa4ba8beeb8554b295457d2e27f2f3b12c8cd6d.png)

---

<div class="post-metadata">

**Author:** ![s89511](https://community.openhab.org/user_avatar/community.openhab.org/s89511/32/52649_2.png) [@s89511](https://community.openhab.org/u/s89511)\
**Post date:** [October 19, 2017, 11:14pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/15 "2017-10-19T23:14:48Z")

</div>

Hi Apostolos, thanks for your tips. I will apply it soon

Cheers

---

<div class="post-metadata">

**Author:** ![ThomDietrich](https://community.openhab.org/user_avatar/community.openhab.org/thomdietrich/32/71239_2.png) [@ThomDietrich](https://community.openhab.org/u/ThomDietrich)\
**Post date:** [October 20, 2017, 9:54am UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/16 "2017-10-20T09:54:07Z")

</div>

or like this 🙂

 ![Screenshot_20171020-115211_01](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/a/e/ae27a5a9ca3461533251c52db8d1a5fa8cf07348.jpeg)

---

<div class="post-metadata">

**Author:** ![job](https://community.openhab.org/user_avatar/community.openhab.org/job/32/37738_2.png) [@job](https://community.openhab.org/u/job)\
**Post date:** [October 20, 2017, 5:32pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/17 "2017-10-20T17:32:50Z")

</div>

Just out of curiosity, does a real reason exist to connect a coffee maker via wifi? Other than “because we can”? The coffee will not be delivered via tcp/ip. At least not in the near future. 😉

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [October 20, 2017, 6:29pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/18 "2017-10-20T18:29:17Z")

</div>

But you can turn on the machine in the morning and it will have finished heating up until you are in the kitchen.

I was also thinking about bringing my machine into the wifi for this.  
Only thing I had to do for my coffee automat is to place the Cup before I go to bed. 🙂

And additionally it’s a nice hobby task for someone.

---

<div class="post-metadata">

**Author:** ![ThomDietrich](https://community.openhab.org/user_avatar/community.openhab.org/thomdietrich/32/71239_2.png) [@ThomDietrich](https://community.openhab.org/u/ThomDietrich)\
**Post date:** [October 20, 2017, 7:35pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/19 "2017-10-20T19:35:38Z")

</div>

Hehe 😄  
Yup that project was founded on the idea of “Yes it is silly, we should do it!” 🐒 If you have a home automation, the coffee maker **needs** to be part of it!

In fact, it’s not a simple On/Off socket. I’ve hacked my Senseo to include a small micro controller to connect via WiFi. It is now able to report its state, turn on/off, detect a cup and brew coffee (after prior preparation). This is great in the morning!! Usage stats are btw persisted to InfluxDB 😉

@Confectrician you could try to adopt my solution.

Check out the project repository for more:

> **[GitHub - ThomDietrich/SenseoWifi: Wifi'ify the Senseo coffee maker. Circuit and...](https://github.com/ThomDietrich/SenseoWifi)**
>
> Wifi'ify the Senseo coffee maker. Circuit and firmware for an internal Senseo hack to monitor and control the daily coffee brew (via MQTT) ☕️📶

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [October 20, 2017, 8:24pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725/20 "2017-10-20T20:24:09Z")

</div>

I have already seen your repo some weeks ago. 🙂

Maybe something for a later point.

[Next page](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725.md?page=2)
