Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


macjones

106 posts

Master Geek


#237964 27-Jun-2018 00:05
Send private message

Here's my home automation using node-red and my future ideas....

 

 

 

I have a bunch of SONOFF's in use for home automation .... (aliexpress).... no fires as yet. Will keep you posted.

 

All SONOFF's re-flashed with easyesp (https://www.letscontrolit.com/wiki/index.php/ESPEasy)

 

All using MQTT across the LAN (no IFTTT)

 

Orchestration done by node-red (drag and drop flows - no coding required).... i.e. (if the water tank is low, turn on the kitchen light).

 

Node-red offers lots of plugins.... i.e. I use a bluetooth ping to my iphone BT mac address to turn on the heater in the office when it "sees" my phone arrive AND if the temperature is too low.

 

When the BT ping "see's" me get home, it checks the home water tank level and if it's below 30% sends me a telegram message. All done by drag and drop, no code.

 

Alexa node-red plugin lets me turn anything on or off. "Alexa turn on the heater" sends MQTT ON to the heater sonoff.

 

An ESP8266 running esp-easy counts pulses from the LED on my smart meters to give kW/h readings over MQTT.

 

The node-red json/http function gets etherium mining rates from nanopool as json for display on node-red dashboard.

 

The node-red dashboard URL runs on an old android tabled on the wall that gives us all the information in a nice format.

 

Other / Next ideas...

 

If node-red can ping my wife's phone on the LAN then open the garage door if the time is between 3pm and 4pm and the door is currently closed and the car is absent. (this is the open the garage automatically for my wife flow)

 

If the car is not charging and the time is past 9pm and the car is in the garage then send me a telegram to plug it in before I wake up to a grumpy wife.

 

If the time is past 7pm and I'm home the set the spa pool 2 degrees warmer than the kids like it 'cause it's grown up spa time. Send me a telegram when it's up to temperature. 

 

If the garage door is open and it's past 9pm and the car is in the garage then close the garage door.

 

If node-red can't ping my AWS server and it can ping 8.8.8.8 then send me a telegram.

 

SONOFF + ESP8266 + MQTT + Alexa + Telegram + Node-Red = Home Automation Bliss.

 

 

 

 

 

 

 

 

 

 

 


Create new topic
davidcole
6011 posts

Uber Geek

Trusted

  #2044512 27-Jun-2018 06:51
Send private message

So you only have node red installed and no other interface like Home Assistant or OpenHAB for interacting with your items?

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


 
 
 
 

Send money globally for less with Wise - one free transfer up to NZ$900 (affiliate link).
russelo
328 posts

Ultimate Geek


  #2044533 27-Jun-2018 08:01
Send private message

I have been running Home Assistant great for 2 years now and have just recently setup node-red to see how it compares.

 

Watching this space for ideas and discussions.


davidcole
6011 posts

Uber Geek

Trusted

  #2044540 27-Jun-2018 08:26
Send private message

russelo:

 

I have been running Home Assistant great for 2 years now and have just recently setup node-red to see how it compares.

 

Watching this space for ideas and discussions.

 

 

I just like the idea of externalising all rules from the platform....so it doesn't matter if I'm HA or OH.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 




macjones

106 posts

Master Geek


  #2044575 27-Jun-2018 09:02
Send private message

davidcole

 

 

 

Correct, just node-red and node-red-dashboard, played with HA, but it does not bring enough benefit over node-red-dashboard for me to want to fight with the yaml.

 

 

 

:-)

 

Mac

 

 


davidcole
6011 posts

Uber Geek

Trusted

  #2044590 27-Jun-2018 09:19
Send private message

macjones: davidcole

 

 

 

Correct, just node-red and node-red-dashboard, played with HA, but it does not bring enough benefit over node-red-dashboard for me to want to fight with the yaml.

 

 

 

:-)

 

Mac

 

 

 

 

I didn't know node red had much of a ui....but then again anything I've seen on it, has been driving from the HA/OH side, so they were still expecting to use their own UIs for display and interaction elements.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


jurgensp99
67 posts

Master Geek


  #2049874 5-Jul-2018 15:23
Send private message

Hi

 

Two things on your list that I'm currently investigating myself.

 

What device do you use to measure water tank level?

 

and

 

How do you (or intend to) interface with and control your spa pool?


mentalinc
3169 posts

Uber Geek

Trusted

  #2049879 5-Jul-2018 15:26
Send private message

I also use node-red its ideal for simply workflows!





CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 




irongarment
280 posts

Ultimate Geek
Inactive user


  #2049946 5-Jul-2018 16:38
Send private message

I'm using Domoticz and ESPEasy. Just replying so I get updates from this thread.

kryptonjohn
2523 posts

Uber Geek

Lifetime subscriber

  #2049970 5-Jul-2018 16:43
Send private message

This is all very cool, watching with interest...

 

Not sure I agree with a non human triggered garage door close due to potential risk of injury to person or object in it's way. For that one I'd just send myself a message to remind me to close the door (which you could confirm with a pushbutton on your phone app?)

 

 

 

 


hio77
'That VDSL Cat'
12999 posts

Uber Geek

ID Verified
Trusted
Lizard Networks
Subscriber

  #2050113 5-Jul-2018 20:55
Send private message

How have you found node-red dashboard?

 

 

 

i was using it, but found for larger datasets the graph plugin simply draws every single point in a single call (so mobile devices peal over)





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 

 


Ge0rge
2023 posts

Uber Geek

Trusted
Lifetime subscriber

  #2050130 5-Jul-2018 21:30
Send private message

jurgensp99:

Hi



What device do you use to measure water tank level?



Very interested in this part myself too, @macjones

irongarment
280 posts

Ultimate Geek
Inactive user


  #2050256 6-Jul-2018 08:42
Send private message

Ge0rge:
jurgensp99:

Hi



What device do you use to measure water tank level?



Very interested in this part myself too, @macjones


A good candidate would be an HC-SR04 ultrasonic sensor looking down at the top surface of the water in the tank. They're very easy to get data from, and supported by ESPEasy.

https://www.letscontrolit.com/wiki/index.php/HC-SR04

Other options: a float switch, several float switches, a float arm with a potentiometer, capacitive sensing, a balanced float and weight over a potentiometer or rotary encoder.

russelo
328 posts

Ultimate Geek


  #2056993 16-Jul-2018 11:39
Send private message

russelo:

 

I have been running Home Assistant great for 2 years now and have just recently setup node-red to see how it compares.

 

Watching this space for ideas and discussions.

 

 

 

 

I finally had some time over the weekend to play with Node-Red.  Man, I should have used node-red for the automation part since the beginning.

 

Automations that takes me a half day figuring out how to implement in yaml now takes only a few minutes.  Very easy to edit and arrange connections between entities.   Visualization greatly helps.

 

What I'm going to do is move my whole automation.yaml to node-red.  UI and device connections stays with HA.

 

As others say, Home Assistant and Node-red is a match made in heaven.


chevrolux
4962 posts

Uber Geek
Inactive user


  #2057977 17-Jul-2018 19:01
Send private message

Just throwing in another shout out for Node-Red and ESP Easy. Dam it makes things easy!!

 

Started building a couple of ESP8266 based relay units to control the gate and garage door. Esp-Easy took ALL the programming out of it, bloody brilliant. I have no interest in mucking around with the finer details and want to just work on an end product.

 

Nest step will be to install either Openhab or Home Assistant for prettier dashboards and data collection for the sensors. Although the Node-Red dashboard does just about everything I need, just don't know how to store that data, whereas it can be stuck in to SQL with Openhab.


davidcole
6011 posts

Uber Geek

Trusted

  #2057992 17-Jul-2018 20:02
Send private message

chevrolux:

Just throwing in another shout out for Node-Red and ESP Easy. Dam it makes things easy!!


Started building a couple of ESP8266 based relay units to control the gate and garage door. Esp-Easy took ALL the programming out of it, bloody brilliant. I have no interest in mucking around with the finer details and want to just work on an end product.


Nest step will be to install either Openhab or Home Assistant for prettier dashboards and data collection for the sensors. Although the Node-Red dashboard does just about everything I need, just don't know how to store that data, whereas it can be stuck in to SQL with Openhab.



What sort of data? I think HA uses it’s own data store. I use influxdb which can be set as a persistence option for openHAB, or anything really. Then use Grafana for viewing it (which can be exposed as a page or image for viewing in openHAB or home assistant)




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic





News and reviews »

Logitech Introduces New G522 Gaming Headset
Posted 21-May-2025 19:01


LG Announces New Ultragear OLED Range for 2025
Posted 20-May-2025 16:35


Sandisk Raises the Bar With WD_BLACK SN8100 NVME SSD
Posted 20-May-2025 16:29


Sony Introduces the Next Evolution of Noise Cancelling with the WH-1000XM6
Posted 20-May-2025 16:22


Samsung Reveals Its 2025 Line-up of Home Appliances and AV Solutions
Posted 20-May-2025 16:11


Hisense NZ Unveils Local 2025 ULED Range
Posted 20-May-2025 16:00


Synology Launches BeeStation Plus
Posted 20-May-2025 15:55


New Suunto Run Available in Australia and New Zealand
Posted 13-May-2025 21:00


Cricut Maker 4 Review
Posted 12-May-2025 15:18


Dynabook Launches Ultra-Light Portégé Z40L-N Copilot+PC with Self-Replaceable Battery
Posted 8-May-2025 14:08


Shopify Sidekick Gets a Major Reasoning Upgrade, Plus Free Image Generation
Posted 8-May-2025 14:03


Microsoft Introduces New Surface Copilot+ PCs
Posted 8-May-2025 13:56


D-Link A/NZ launches DWR-933M 4G+ LTE Cat6 Wi-Fi 6 Mobile Hotspot
Posted 8-May-2025 13:49


Synology Expands DiskStation Lineup with DS1825+ and DS1525+
Posted 8-May-2025 13:44


JBL Releases Next Generation Flip 7 and Charge 6
Posted 8-May-2025 13:41









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







GoodSync is the easiest file sync and backup for Windows and Mac