At the completely Charged online event at Silverstone earlier this month we stopped by the open energy screen mean a chat with Glyn Hudson (check out the NIEVO video below for a taste of the show).



Glyn’s wise house configuration is based around the emonPi as well as employs MQTT, nodeRED, OpenHAB, LightwaveRF as well as Google Home.

Over to Glyn for all the great stuff…

I believe automation can play an useful function in assisting to reduce energy consumption. For example being able to manage my house central heating system remotely allows me to only turn on the heating when it’s needed as well as not have it running on a set routine when the home is empty.

As previously mentioned in a blog post, the emonPi (running emonSD pre-built SD card) can function as a powerful house automation hub. Utilising the emonPi as a house automation hub is a great in shape for a number of reasons:

It’s already running 24/7 for energy monitoring

It’s optimised for robust long term operation: the root Raspberry Pi file-system is read-only to boost SD card lifespan

It’s already linked to your regional network

It’s running Debian Raspbian Jessie therefore installing additional bundles is simple as well as great deals of support is available

Raspberry Pi 3 has lots of area capacity

Extra radios / accessories can be linked via USB

It’s already running an MQTT server

emonSD pre-built SD card comes pre packed with the complying with integrations nodeRED, OpenHAB as well as LightWaveRF

In this publish I want to show you exactly how I utilize the emonPi in my own home.

Here is a video demo utilizing Google house to manage my central heating as well as gadgets via MQTT:

Read on to discover exactly how this is accomplished utilizing an emonPi as well as open-source software…

There are many many choices when it comes to house automation as well as control. Where possible I prefer open-source solutions which do not depend upon any type of third-party services. All the software application services for my house system as I explain in this publish runs locally on my emonPi as well as apart from Google house voice integration does not need an Web connection to function. A self-hosted open-source solution has the added benefit of increased privacy as well as security which you are in completely in manage of.

MQTT

MQTT lightweight communication protocol is utilized as the ‘glue’ communication layer between all the complying with services. See technical/MQTT section of the individual guide for more information about exactly how MQTT works on the emonPi.

Energy Monitoring

Emoncms…obviously!

Recently I have been loving utilizing the V2 Emoncms Android app (currently in beta) which supports several pages (see forum thread).

Video demo Emoncms Android app V2 beta:



I have likewise just recently enjoyed utilizing the redesigned Emoncms apps module which have just bee released on Emoncms.org. It’s now possible to have more than one MyElectric or MySolarPV ‘app’ per Emoncms account as well as economic climate 7 split time of utilize tariffs are now supported (see forum thread):

לִשְׁלוֹט

חימום מרכזי

To manage my gas central heating boiler I utilize an MQTT WiFi relay which likewise has a developed in thermostat as well as scheduler, although I don’t utilize these features, I just manage directly via MQTT. The WiFi Relay has been extremely reliable, it’s been utilized everyday for the past two years in my house as well as never when needed a reboot.

Plug sockets (lights)

I utilize LightWave RF plugs to which I have lights as well as other entertainment gadgets linked e.g. stereo as well as chromecast. being able to switch a whole plug bank on/off has the advantage of being able to turn gadgets completely off when not in utilize to minimise any type of vampire drain.

The emonPi can manage LightWave RF gadgets directly via MQTT if an RF OOk modules is fitted. See LightWave RF emonPi individual Guide.

LightWave RF gadgets are not perfect, the OOK RF protocol is simplistic, unsecure, sometimes unreliable as well as specify comments is not available. I am thinking about swithcing to ESp8266 based Sonoff plug with third celebration MQTT firmware or EmonESP firmware.

מִמְשָׁק

For the past few years I have been utilizing OpenHAB as the manage interface. OpenHAB is pre-loaded onto the emonPi emonSD pre-built image. I am yet to upgrade to OpenHAB V2.0, it looks extremely nice. However, V1.8 has been extremely dependable as well as fits my needs. I utilize the OpenHAB Android app to access the interface quickly from my phone:

OpenHAB likewise integrates with my Pebble smartwatch which makes it super simple to turn on/off the heating while out as well as about:

A while back (early 2016) I dabbled with HomeAssistant, (see blog post). I was rather impressed, I have been complying with the job as well as it appears like it’s matured toלהיות פלטפורמת אוטומציה של בית מצוין. עצור פוטנציאל יריב לפתיחה.

בחירה נוספת לממשק היא לוח מחוונים Nodeded, כיום חלק רשמית מהפרויקט Nodered.

היופי של MQTT הוא שזו הפלטפורמה אגנוסטי, ניתן לקבל ממשקים רבים ושונים השולטים בדיוק על אותם צמתים.

ממשק קול

ממש לאחרונה השגתי רמקול שהפעיל קול של גוגל האוס, עם מעט סיוע מה- Bridge כדי לחקות גשר פיליפס HUE, זה די פשוט לגרום לגוגל את בית לנהל גאדג’טים אזוריים באמצעות MQTT. אותה תצורה בדיוק תעבוד גם עם Amazon Echo. ראה מדריך תצורת HA-Bridge עבור EmonPI.

ראו הדגמת וידאו בראש הפוסט הזה.

תצורת מכשיר תוך שימוש ב- GUI של דף האינטרנט של Ha-Bridge:

הגדרת אפליקציות Google House:

שילוב ואוטומציה

אני משתמש ב- Nodedered אשר נטען מראש ב- Emonpi / Emonsd כדי להשתלב עם שירותים אחרים שכאלה מקבלים את הטמפרטורה החיצונית האחרונה ממצב מזג האוויר מתחת לאדמה, שלח התראות דחיפה (חימום / כיבוי של התראה על טמפרטורה) לטלפון שלי תוך שימוש ב- Pushover. לשני השירותים הללו יש זרימות שמוכנות מראש שהופכות את האינטגרציה לקלה ביותר. Nodered מותקן מראש כמו גם מוגדר על Emonpi / Emonsd. זרימת הדוגמה הכלולה ב- Emonpi מדגימה קריאת נתוני אמון מ- MQTT כמו גם נתוני טמפרטורה חיצוניים ממצב מזג האוויר מתחת לאדמה.

כמו כן יש לי זרימה שמורה שמטפלת בכיבוי החימום כאשר הטמפרטורה בסלון (כפי שנקבע על ידי אמון) מגיעה לנקודת מוגדרת. יכול להיות שהשתמשתי בבקר התרמוסטט בממסד ה- WiFi כדי לעשות זאת, עם זאת יהיה קשה בביתי להריץ את חיישן הטמפרטורה החוטית מממסד ה- WiFi לסלון, ולכן אני משתמש בטמפרטורת אמונט אלחוטית במקום.

אבטחה כמו גם גישה מרחוק

ניתן לבצע ניהול מרחוק (מחוץ לרשת האזורית) תוך שימוש בשירות DNS דינמי כמו DuckDNs או VPN מאובטח כדי לספק גישה לשירותים מבחוץ. למשל, אני פותח את Port 8080 כדי לספק גישה לפתיחה של OpenHab ב- Emonpi שלי מהאינטרנט. OpenHab אימות מופעל כמו גם HTTPS ניתן להשתמש כדי לייצר חיבור מאובטח.

לחלופין, כמו גם פיתרון טוב בהרבה עשוי להיות להשתמש בשירות myopenhab.org כדי לאפשר ניהול מרחוק מבלי שתצטרך לפתוח יציאה חיצונית.

לעוזר הבית יש דוגמא לשימוש בשירותי בצל טור כדי לגשת לעוזר הבית לרוץ באופן מקומי.

בקר ב- OpenEnergyMonitor.org

הוחזר מהבלוג המקורי לפרסם באישור חביב של גלין הדסון.

שתף זאת:
פייסבוק
טוויטר
Reddit
לינקדאין
פינטרסט
אימייל
יותר

WhatsApp
הדפס

סקייפ
טאמבלר

מִברָק
כִּיס

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *