I've been wanting to use Node.js for a project since I heard about
it. I have also been thinking and doing a lot of research on home
automation. Some thing clicked and it would seem Node.js and home
automation would be the perfect combination.
While I haven't done much home automation, it seems to be largely
event based. Something happens, the system reacts to it. Ie, sensor
in the living room detects motion, turn on all lights in the living
room. It also seems to be async, commands to devices may take awhile,
which would lend itself to node's architecture.
Taking it one step further would be modelling the home using some sort
of DOM. Imagine being able to model your home like an HTML page and
controlling how it looks and behaves with CSS and javascript. Example
w/ jQuery:
// When motion is detected in the living room, turn all lights to 75%
intensity
$(".living-room").delegate(".motion-sensor", "onmotion", function(){
$(".living-room .lights").css("intensity", 0.75)
});
Now I don't know if this would at all be possible with Node.js and
maybe something like Env.js mixed in, but it would be a pretty neat
way to program a house. I hope to start hacking away once the reno's
are done. Just curious if anyone else would be interested in this
project and would like to bounce some ideas around?
Cheers,
Tys von Gaza
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
Really cool idea. As long as you could hook into the controllable from your computer you'd be able to do it.
- Nick
On May 27, 2010 3:54 PM, "Marak Squires" <marak....@gmail.com> wrote:
+5
On Thu, May 27, 2010 at 2:39 PM, Tys von Gaza <t...@tvg.ca> wrote:
>
> Not sure if this is place fo...
It's not using node right now, but one project for bringing the DOM
into the physical world is @nonken's HumanApi - you can check it out
here: http://humanapi.org/
--
Andrew Lunny
Software Developer, Nitobi
604 685 9287
blogs.nitobi.com/andrew
Now I don't know if this would at all be possible with Node.js and
maybe something like Env.js mixed in, but it would be a pretty neat
way to program a house. I hope to start hacking away once the reno's
are done. Just curious if anyone else would be interested in this
project and would like to bounce some ideas around?
+10
I love the idea of modeling a house after the DOM. :) Also the event based nature of Node.js works so well with this model! As for implementation I assume that you could write a wrapper in JS around some software like http://openremote.org/.
His code is using LinuxMCE and a zwave usb dongle & devices. He
created a "virtual device" in LinuxMCE which adds events to a ruby
queue. Would be relatively easy to setup a similar architecture to
get started. I haven't played with either of these, so that will be
my first step.
I've created a home.js google group for those interested. This may
have been a little pre-emptive as I won't have time to work on it till
fall (house this is happening in is a construction zone right now),
but it would be a good place to start exploring what is possible.
http://groups.google.com/group/homejs
Cheers,
Tys
On May 27, 2:02 pm, Carl <bloonl...@gmail.com> wrote:
> +10
>
> I love the idea of modeling a house after the DOM. :) Also the event based
> nature of Node.js works so well with this model! As for implementation I
> assume that you could write a wrapper in JS around some software likehttp://openremote.org/.
>
> Carl Sverre
>
> +----------------------------------------+
> | http://www.carlsverre.com
> | Cell: (250) 360 7329
> | Skype: bloonlabs
> +----------------------------------------+
>
> >> nodejs+un...@googlegroups.com<nodejs%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/nodejs?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "nodejs" group.
> > To post to this group, send email to nod...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > nodejs+un...@googlegroups.com<nodejs%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
--
From the little research that I have done, I have found it difficult
to find reasonable-priced, good looking home automation hardware
devices using open standards that supports Type F sockets. A bit off
topic, I know, but software alone cannot toggle a lightbulb on or off.
We need some hardware as well.
What standards, equipment, or whatever would be worth targeting? I bet
most Node.js users are comfortable with open standard-type stuff that
does not come with a PDA from 1995. DIY packages are great, but
soldering isn’t. :)
I don’t know much about it, but X10 is an open standard that seems to
be widely used.
--
Best regards,
Alexander Teinum
Some options are:
- X10: to my knowledge X10 isn't 2-way
- Insteon: X10 follow up, don't know a lot about it
- Zwave: 2-way, close source but lots of device choices. Open-zwave
reverse engineering project does look promising though.
- Zigbee: More open, less device choices. Used a lot more by
utilities to monitor energy usage. Zigbee-IP looks promising for
using ipv6 for devices. #cool
Ideally though the tech used shouldn't matter.
> --
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en.
>
>
--
Aaron
http://clickdummy.net
From the research I've done there are a variety of options on the
hardware side. I'll probably choose to just interface with LinuxMCE
to begin with as it can abstract the choice and can trigger events
through a "virtual device".
Some options are:
- X10: to my knowledge X10 isn't 2-way
- Insteon: X10 follow up, don't know a lot about it
Please take a look at the UPnP standard for various things like light
switches and media players.
You might want to base your code on it, since it's an industry standard.
Nikhil
Hello,
Did you get anywhere on this project? I would be interested in helping out because this is exactly what I would be in need of now also
best regards
Lucas Vikström
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Best Regards,
Jussi
Ninja blocks and even Arduinos can do some of this stuff. Truly only a matter of time until we progress hobby hacking to actual products for consumers.
AT&T bought a company a few years ago called Xanboo that has some of this functionality but the APIs were tragically bad.