DEV Community

loading...

Any Smart Home enthusiast in here?

genejams profile image {Gene} Updated on ・2 min read

I am starting to work on a new project for a Smart Home UI and I was considering streaming live my coding sessions for a couple of reasons:

  • to show how to write web based components (using zuix.js library) and so add more usage examples to zuix.js itself
  • testing and showing components applied to a real and a simple Smart Home setup (which is my home =))
  • having a chance to speak and improve my English =)) and meeting new developers and enthusiasts interested about the topic
  • designing with you, real-time by listening to feedback and suggestions while coding

So I was wondering if there's anyone interested in a series of live streams about this work in progress, web based, Smart Home Dashboard?


About my Smart Home setup:

  • X10 dimmers, switches and sensors
  • Z-Wave dimmers, switches and sensors
  • Philips Hue color bulbs
  • Raspberry Pi with:
    • custom GPIO expansion module with temperature, light sensing and IR transceiver
    • RGB color LEDs array used for real time feedback and ambient lights.
    • Z-Wave and X10 interfaces
  • IP cameras

Everything is built around HomeGenie server but these new smart home components will be of course open source and written in a way that could be used with any other smart home gateway or server.

UPDATE (2019-04-14)

It took some time before I started to work on this Smart Home UI, but finally, about a month ago, I did it.

This is still a work in progress but it already allow the integration of multiple sources (smart home hubs and devices) by writing a simple "connection adapter" that consist of a small JavaScript code.

There are already two connection adapter available:

  • a demo adapter that simulates a smart home hub with a few devices connected.
  • HomeGenie adapter that allow connection to HG server hubs and HG mini devices

As the time of writing there are only a few widgets available (switch, light, dimmer, button) but I will work on the other widgets in the next days (sensors, weather, energy monitor and so on) so stay tuned =)

Discussion (11)

pic
Editor guide
Collapse
scottishross profile image
Ross Henderson

I'm going fairly simple at the start. Hopefully, I will expand later! I have just bought a house (literally a week ago) and so far I've introduced:

  • Phillips Hue White Bulbs
  • Tado (awaiting purchase of it, but I'm going to get it) smart heating
  • Google Home
  • 2x Google Home Minis.
  • Raspberry Pi MagicMirror (awaiting construction).

I may expand to include smart locks/doorbells, thermostatic controlled radiators (by Tado), etc.

Collapse
genejams profile image
{Gene} Author

Cool stuff,

beside voice control, what are you using as a control panel?
Do you like the idea of a customizable dashboard where to control every thing from one place?
Something like the new Google Home Hub, just web based and accessible from any tablet and smartphone in the house.

Collapse
scottishross profile image
Ross Henderson

I was thinking about it, and I wasn't entirely sure. I think I'd need to get everything set up and use it before I could really make an informed decision.

A customisable dashboard, just like your HomeGenie does look incredibly useful if you had a lot to control and multiple ways to control it just as you suggested. But I would have to figure out how I'd use it though.

I will be keeping an eye on your work though!

Collapse
jfrankcarr profile image
Frank Carr

I am interested in how to do web app to multiple device controllers, more for the manufacturing environment than for the home. Where I work we have a lot of legacy PLC/scale/barcode applications, most of them written in VB6 and running on the manufacturing floor on old desktop PC's. One of our goals is to replace these with lighter weight computers, maybe PI's, and make as much as we can microservice and web based.

Collapse
ben profile image
Ben Halpern

I have Alexa + Hue bulbs and I’ve been very gradually writing my own home OS of sorts. I’m pretty sure I could code up a really nice experience but I haven’t had the motivation to finish!

Collapse
peiche profile image
Paul • Edited

I did a write-up about a small project I did a while back. With a Raspberry Pi and smart plugs, I set up voice-activated lights for my daughter, who can't reach the light switch.

Edit: should probably mention that I'm using Google Assistant for the voice control.

Collapse
genejams profile image
{Gene} Author

Glad to see some feedback on this.

In the meantime I already started to write the code base for this Smart Home Dashboard and I'll probably put this on GitHub soon.

Currently I am designing a generic "switch/light" component featuring: level and color control, on/off delay, scheduling, energy metering with statistics and real time graph.

There will be an abstraction layer to provide a common entry point for interfacing the component with different vendors and API.

I will initially provide examples for interfacing it with HomeGenie and Philips Hue.

Once I get this done, I will have to face my kinda introvert self, before I can actually start the live coding sessions =)

Keep you posted.

Collapse
adrienchenu profile image
Adrien Chenu • Edited

I'd be interested in videos on how you would install or code a UI for Smart Home.

I'm a coding newbie and have a basic smart home with Philips Hue, activated by Alexa, as well as a simple flask server that asks my karotz (if anyone remembers them) karotz to tell me the weather and tube line status. I also have a couple of X10 motion sensors that I don't know what to do with.

I don't even know where to start on the UI front so would be interested to see how you would approach it.

Collapse
hawkinjs profile image
Josh Hawkins

Could be fun! I have Phillips hue and a couple nest cameras. Live streaming code is fun, I’d totally tune in and maybe even collaborate!

Collapse
genejams profile image
{Gene} Author

Thanks, this is a great encouragement =)

Collapse
robertexe profile image
Robert Tabares

I'd be interested.. I'm just starting off in software development and smart homes is a sector i'd like to be apart of.