My new Smart Home Automation System with OpenHab2 - Work in progress

tutorial
hardware
Tags: #<Tag:0x00007fe054b25368> #<Tag:0x00007fe054b251d8>

(Marco “Marcolino76” Lamanna) #1

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

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:

New photo by Marco “marcolino76” Lamanna

Bye


What did you build/automated today (with pictures)?
( ) #2

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


(Marco “Marcolino76” Lamanna) #3

Thanks @ThomDietrich I’ll do my best :slight_smile:

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

And this is a little video about it:

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


( ) #4

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. :wink:

Regarding Tasmota, we have an article on that as well: ITEAD Sonoff switches and sockets - cheap ESP8266 Wifi+MQTT hardware

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


(Marco “Marcolino76” Lamanna) #5

Hello, I’m back again :slight_smile:
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.

New photo by Marco “marcolino76” Lamanna

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

New photo by Marco “marcolino76” Lamanna

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

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


( ) #6

That brings back memories… :wink:


(Marco “Marcolino76” Lamanna) #7

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

Cheers


(Marco “Marcolino76” Lamanna) #8

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.

New photo by Marco “marcolino76” Lamanna

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


(Marco “Marcolino76” Lamanna) #9

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

Cheers


(Marco “Marcolino76” Lamanna) #10

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.

Cheers


(Marco “Marcolino76” Lamanna) #11

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:

Cheers


(Marco “Marcolino76” Lamanna) #12

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:

Cheers


(Marco “Marcolino76” Lamanna) #13

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

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


(Apostolos) #14

Nice!

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

The outcome will be something like this:


(Marco “Marcolino76” Lamanna) #15

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

Cheers


( ) #16

or like this :slightly_smiling_face:


(Joachim Boeddeker) #17

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. :wink:


(Jerome Luckenbach) #18

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. :slight_smile:

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


( ) #19

Hehe :smile:
Yup that project was founded on the idea of “Yes it is silly, we should do it!” :monkey: 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 :wink:

@Confectrician you could try to adopt my solution.

Check out the project repository for more:


(Jerome Luckenbach) #20

I have already seen your repo some weeks ago. :slight_smile:

Maybe something for a later point.