Gladys in Brittany

Well, I’m going for it, this will be the occasion to take stock of what I have at home :slight_smile:

Let’s start with a short introduction

Andro is an old nickname I used when I registered on this forum, at that time @pierre-gilles announced that he was working on a promising V2, I thought I would follow this project with attention. :slight_smile:

In real life, it’s Jean-Philippe (JP for the intimates :blush:)

Young (yes yes 36 years is young!) father of 3 kids, I live in a longhouse renovated by ourselves south of Rennes (in Brittany).

On the job side, I work for a large telecommunications and internet provider (and TV, and banking and lots of other things we don’t suspect… etc), as a systems and network engineer.
On the dev side, apart from what dates back to my studies (not much actually, or outdated technologies), everything else is self-taught.

How I got into home automation

It all started with the assembly of a mini-pc to make a MythTV multimedia server/client.

Then, when buying the longhouse, I started to see things on a larger scale (2010, the year, not the living area), to think about home automation.
At that time, the need was not specific.

Not having done the electrical part, I had asked my electrician if he could suggest things, but it didn’t work out (in fact, in the rush of the construction site, neither he nor I followed up on the home automation aspect).
So I ended up wiring only RJ45 and nothing else in terms of info/home automation.

Once moved in and the work (+ or -, more - than + actually) finished, home automation started to germinate in my head.

What were my needs

Well I don’t know actually, because like many people I think, we don’t really know what home automation can bring to a house, apart from the roller shutters but I don’t have any!

On the other hand, I knew, and I still believe today, that in a more or less near future (this time more + than -), home automation will be natively integrated into houses.. but that’s another subject.

Over time, I still identified some needs like turning on my lights when I come home in the evening, and above all, having video surveillance, especially one that activates automatically without me having to press a button in the morning and evening (I did it for a while).

What equipment I chose

Wired or not wired? That is the question.

I wanted wired! no wifi!
Except that the construction finished, I had nothing wired for home automation, there was KNX but help the prices…

So, wireless … :slight_smile:
However, on the Wifi side I wanted to limit, but it was before the tablet and the wifi-only laptop..
So, Wifi too!

  • For the home automation part
    After long comparisons, I ended up with the EnOcean protocol
    https://www.enocean-alliance.org/
    for the green side and above all, no batteries to change every 6 months.

  • For third-party equipment
    I still bet on wired (wired IP camera, rpi connected via RJ45, Sonos via RJ45..)

Implementation

« Computer » equipment:

  • A Server (home made) KVM Hypervisor with the following roles per VM:
    1. ZoneMinder + unbound (local dns)
    2. Cozy Cloud (file / photo storage)
    3. Kresus (bank account tracking tool)
    4. Gladys (of course!)
    5. OpenVPN (for external access)
    6. NFS server (on the hypervisor)
    7. MythTV backend (on the hypervisor for TV streaming)
  • A Gb switch for all the house cabling
  • A PoE hub for the PoE camera
  • A UPS for all this mess
  • A Trendnet IPTV PoE Camera
  • A USB Bluetooth dongle, a Hauppage TV USB dongle and an EnOcean USB dongle, a teleinfo dongle

« Home automation » equipment:

EnOcean

Hue

  • the bridge
  • 2 color LED strips
  • 2 white bulbs

Bluetooth

  • 2 gigasets keeper (for presence detection)

Sonos

  • a Play 1 speaker
  • a Play 3 speaker

RPI

  • 1 RPI3 Kodi + Hyperion ambilight diy
  • 1 RPI3 Kodi
  • 1 RPI2 Raspotify

Usage

After trying OpenRemote and FHEM, it’s now Gladys that controls all this.

In summary, the functional scenarios:

  • Turning on the hallway light at 5% when movement is detected at night on the mezzanine if the house is in ‹ sleep › mode followed by turning it off after 5 minutes
  • Turning on the garden lights when I enter the home zone and it’s night
  • Wake-up in our bedroom (gradual turning on of the 2 LED strips + progressive birds sound playlist on raspotify)
  • Presence detection with gladys-bluetooth
  • Activation of zoneminder if no one is at home + turning off the wifi
  • Sending free SMS notifications for madam and pushbullet for me if intrusion (open door) or movement (zoneminder motion) if no one is in the house
  • Notification of return of an inhabitant to the house + turning on the wifi when someone returns home
  • Notification when EDF Red Tariff tomorrow

Ongoing work:

  • Snips experiments for Voice integration (I gave up gladys-voice with google)

Future evolutions

  • Get the EnOcean module on an RPI to put it at the heart of the house, currently, some equipment is too far from the dongle.
  • Equip more temperature sensors
  • Automate my heating system
  • Better integrate Kodi and TV
  • Manage my comings and goings and remote controls

Personal experience feedback

Clearly, think globally from the beginning of the renovation/construction…
There’s too much to say .. :smiley:

Nice presentation of the setup.
I feel like I’m going to enjoy this section, it’s going to give me some ideas! :slight_smile:

I’m in a similar situation as you: renovation of a longère.
As soon as I have time, I’ll also post my setup. Nothing too extreme in terms of scenario for the moment, but quite a bit of hardware.

Top this presentation @Jean-Philippe!! It’s true that you’ve been here since before v2.

When will you standardize your different pseudonyms across all platforms? :grin:

It took me several years to realize that Andro = JP = Jean-PhilippeD

A big thank you for sharing your Gladys with us :slight_smile: As @Hamtaro said, this will give us some ideas… It would also be great if you could tell us the approximate value of your installation. No need to detail the price of each item (as it takes a long time to research if you have more invoices^^).

In any case, great job, thank you again for sharing.

On the pricing side, it’s indeed complicated, I’ve been buying as I go.

If we exclude the Sonos speakers, I must be around €1200.