Go Back   Hardware Canucks > SOFTWARE > O/S's, Drivers & General Software

    
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 3, 2019, 05:46 PM
lowfat's Avatar
Moderator
 
Join Date: Feb 2007
Location: Grande Prairie, AB
Posts: 9,126

My System Specs

Default My new home automation micro server







Raspberry Pi 2B (overclocked to 1GHz) w/ a 120GB SATA SSD over USB2.0 . Enclosure was printed on my Prusa MK3.

System runs Raspbian Stretch Lite. It is running 3 major apps that I use for home automation.


Home Assistant
. Which IMO is the most powerful smart home controller + supports by far the most devices.

Mosquitto MQTT. MQTT is a protocol that allows simple communication for IoT and other devices. 95% of my IoT uses MQTT. I also use Owntracks on my phone so HA knows if I'm home or not. Owntracks uses MQTT to send my location.

And Node Red. A ridiculously awesome tool that allows for flow-based programming. This cuts out so much YAML that is normally used for Home Assistant.

The Home Assistant UI.






The Node-RED automations. I use a 'flow' (a plugin) that interfaces Node-RED w/ Home Assistant as well as my Harmony Hub.

These are all my automations that work based on if I'm home/away, the time of day, sunrise/sunset, as well as controlling stuff for my 3d printers.

An example how this works, for the first automation. It is an event that will trigger if my phone leaves/arrives a 100m around my house. On = home, off=away. So lets say I arrive home @ 5:30pm. It will trigger 'evening' and 'sun is up'. It sends a request to turn on all my living room lights, as well as turn on my desk RGB lights to red. If I arrived before 5PM, a few less living room lights would be on and my desk RGB would be red.


And my Alexa automations. I use a flow in Node-Red that creates a emulated Philips Hue light. Then I created a command phrase for each automation, that will show up as a Hue light in the Alexa app.

So if I say to Alexa "Computer watch Netflix". It will turn off all my living room lights. Turn my hall lights to red (over a 30s transition period, which looks sick). Turn on my TV & AVR via the Harmony Hub. Then open Netflix on the Roku via the Harmony Hub.

The 'Good Night' command will also tell HA that I'm sleeping. Since I often to go bed before sunset in the summer, this prevents HA from turning on the lights normally come w/ sunset.



Still lots I want to do.I plan to add monitoring of other computers here soon. As well as being able to shut down/ restart systems. This is sorta difficult tho.

Also will be implementing more safety stuff for the 3d printers. Like automatically killing power if something on a printer is running too hot.
__________________
The Crippled God WIP
Queen of Dreams WIP
Big Lian Li
Complete
Forever Alone Complete
Reply With Quote
  #2 (permalink)  
Old June 4, 2019, 09:25 AM
Lysrin's Avatar
Hall Of Fame
 
Join Date: Mar 2014
Location: Nova Scotia
Posts: 2,976

My System Specs

Default

Well, I always figured but that settles it... YOU ARE FROM THE FUTURE!!

That is very cool stuff lowfat. I'm still waiting for you to integrate the "Earl Grey, hot" command ;) It is pretty impressive how granular the control is in some of those flows and the different options for triggering. And the custom 3D printed enclosure is just slick!
__________________
i7 8700K @ 4.8GHz (Swiftech H220) | ASUS Maximus X Code | 32GB Corsair Vengeance RGB Pro DDR4-3200 | ASUS ROG GTX 1080 Ti Strix OC ver. | EX920 512GB, MX100 512GB, MX300 2TB | EVGA Supernova 850W G2 | Meshify C | Mayflower Electronics O2+ODAC, USB sound for mic, Sennheiser PC360 SE | Acer Predator X34, BenQ 21.5" | Windows 10 Pro
Reply With Quote
  #3 (permalink)  
Old June 4, 2019, 09:46 AM
Shadowmeph's Avatar
Hall Of Fame
F@H
 
Join Date: Oct 2007
Posts: 4,046

My System Specs

Default

Quote:
Originally Posted by Lysrin View Post
Well, I always figured but that settles it... YOU ARE FROM THE FUTURE!!

That is very cool stuff lowfat. I'm still waiting for you to integrate the "Earl Grey, hot" command ;) It is pretty impressive how granular the control is in some of those flows and the different options for triggering. And the custom 3D printed enclosure is just slick!
hehe

that is really cool if I had a place that was large enough ( live in a tiny Bach suit) I would check out doing such a thing just for the cool factor
Reply With Quote
  #4 (permalink)  
Old June 4, 2019, 10:53 AM
Hall Of Fame
F@H
 
Join Date: Aug 2007
Location: Toronto, ON
Posts: 1,656

My System Specs

Default

Awesome stuff! Recently switched to HA as well when my OpenHab SD card failed - this is probably the worst thing about moving a setup to an RPi vs on a VM. Will be taking notes from your setup and do some copying :)

Have you tried linking in Google Assistant or are you purely Alexa based?
__________________
heatware
Reply With Quote
  #5 (permalink)  
Old June 4, 2019, 11:57 AM
lowfat's Avatar
Moderator
 
Join Date: Feb 2007
Location: Grande Prairie, AB
Posts: 9,126

My System Specs

Default

Quote:
Originally Posted by zoob View Post
Awesome stuff! Recently switched to HA as well when my OpenHab SD card failed - this is probably the worst thing about moving a setup to an RPi vs on a VM. Will be taking notes from your setup and do some copying :)

Have you tried linking in Google Assistant or are you purely Alexa based?

If you have any general questions ask. I've done quite a bit of researching for this. Although if its questions about supported devices I probably won't know anything. Almost everything I use is an ESP8266 device w/ Tasmota firmware plus Hue + TPLink as they both allow complete local control.

I use to use GA for the automations, using webhooks. But GA is slower and I got sick of her always responding w/ a bunch of dialogue I don't need to here .

There is a 'Google Action' node available to download for Node-RED. I've added it but haven't played w/ it yet. As I don't use my GAs for in areas where I generally need to call an automation.

EDIT: Tried the Google Action... Ya I have no idea what a Google Action is. https://developers.google.com/actions/overview
__________________
The Crippled God WIP
Queen of Dreams WIP
Big Lian Li
Complete
Forever Alone Complete

Last edited by lowfat; June 4, 2019 at 01:59 PM.
Reply With Quote
  #6 (permalink)  
Old June 4, 2019, 12:58 PM
Entz's Avatar
Top Prospect
 
Join Date: Jul 2011
Posts: 147

My System Specs

Default

That is very impressive. I really gotta set this up. I have a few sensors I built around the house but nothing is integrated lol.
Reply With Quote
  #7 (permalink)  
Old June 6, 2019, 09:04 AM
Allstar
 
Join Date: Dec 2008
Location: Toronto
Posts: 589

My System Specs

Default

Looks like a great project to start soon. But, I don't have a 3d printer, and I don't have a RPi, altho I always wanted one. Just wondering if there are apps like this for a regular desktop linux running debian?
Reply With Quote
  #8 (permalink)  
Old June 6, 2019, 09:08 AM
lowfat's Avatar
Moderator
 
Join Date: Feb 2007
Location: Grande Prairie, AB
Posts: 9,126

My System Specs

Default

Quote:
Originally Posted by Chris View Post
Looks like a great project to start soon. But, I don't have a 3d printer, and I don't have a RPi, altho I always wanted one. Just wondering if there are apps like this for a regular desktop linux running debian?
It isn't special hardware / software. All the software runs fine in debian. I ran it in a Ubuntu server VM for the last 10 months prior to last week.
__________________
The Crippled God WIP
Queen of Dreams WIP
Big Lian Li
Complete
Forever Alone Complete
Reply With Quote
  #9 (permalink)  
Old June 6, 2019, 11:38 AM
Allstar
 
Join Date: Dec 2008
Location: Toronto
Posts: 589

My System Specs

Default

Thanks, lowfat. Iíll run it on Debian, and then slowly build the RPi, and may be buy a 3D printer (which has been in my wish list for a long time). I do have a insteon hub and a harmony hub. That should give me a head start.
Reply With Quote
  #10 (permalink)  
Old June 6, 2019, 12:30 PM
enaberif's Avatar
Hall Of Fame
 
Join Date: Dec 2006
Location: Calgahree, AB
Posts: 11,418
Default

I thought I made a post but guess it didn't go through? What are you using for temp checks?
Reply With Quote
Reply


Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sub Forum for Home Automation? Mr. Friendly Suggestions & Feedback 13 January 3, 2019 09:12 PM
Mini Micro ATX home ofice/occasional gamer budget pc mickeyaaaa New Builds 10 October 25, 2013 09:47 AM
NAS or Home server? Mena New Builds 30 January 29, 2013 10:13 PM
WIP Home File Server - Modding Rack mount Server Chassis CoolHandL Case Mods, Worklog & Gallery 24 December 22, 2010 12:37 PM
Home Server trainguy New Builds 8 October 5, 2008 05:16 PM