nodejs / cbus realtime web interface

Discussion in 'General Discussion' started by ievolve, Jan 27, 2013.

  1. ievolve

    ievolve

    Joined:
    Mar 20, 2010
    Messages:
    112
    Likes Received:
    1
    Location:
    Idaho
    Hey Guys,

    Just wanted to share an update on some of the new cbus integration I worked up. I built it to run on nodejs, which can be installed on the raspberry pi.

    It run great on the pi and exposes:
    1. An HTTP api to grab JSON data that represents your network.
    2. HTTP api to issue on/off/ramp commands to a group(s)
    3. Realtime web socket with status updates as they occur
    4. Responsive web interface that can be consumed from pc/tablet/mobile

    Still a work in progress, but video is here:
     
    ievolve, Jan 27, 2013
    #1
  2. ievolve

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,313
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Hello Anthony

    It's nice to see what you have been up to.

    A basic browser interface for CBus on the pi is sure to be of interest to many people here.
     
    DarylMc, Jan 27, 2013
    #2
  3. ievolve

    jboer

    Joined:
    Apr 27, 2012
    Messages:
    458
    Likes Received:
    35
    Location:
    Sydney
    Very nice, keep up the good work!

    I am looking forward to when you might be needing some testers :)
     
    jboer, Jan 27, 2013
    #3
  4. ievolve

    ievolve

    Joined:
    Mar 20, 2010
    Messages:
    112
    Likes Received:
    1
    Location:
    Idaho
    Thanks for the words of encouragement guys.

    I posted another video just now of the scene support I added last night, and I also added a search as you type that is pretty cool too. Today I am working on adding the ability to dim a control from the web.

     
    ievolve, Feb 2, 2013
    #4
  5. ievolve

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,313
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Hello ievolve

    Have you given much thought to securing the access to your lighting control not so much on the local network but the internet.

    I wondered how it would be done and if it causes much inconvenience to using the browser control.
     
    DarylMc, Feb 3, 2013
    #5
  6. ievolve

    ievolve

    Joined:
    Mar 20, 2010
    Messages:
    112
    Likes Received:
    1
    Location:
    Idaho
    @DarylMc could add a password and prevent users who dont have an auth cookie from visiting the site, that would be pretty easy/slick. Good idea, I havent opened the interface up to the internet just yet, but likely will, and will need to secure it when I do.
     
    ievolve, Feb 3, 2013
    #6
  7. ievolve

    Twistz

    Joined:
    Nov 7, 2010
    Messages:
    23
    Likes Received:
    0
    Location:
    Melbourne
    Hi ievolve

    Looks interesting a old project of yours sonos control on dlt i would love to integrate this in my house i have several sonos box in the rooms with dlts would be great to have volume control. Was unable to find your code for this to try make it work at my house would there be any chance of making it available.

    Thanks
    Twistz
     
    Last edited by a moderator: Feb 3, 2013
    Twistz, Feb 3, 2013
    #7
  8. ievolve

    ievolve

    Joined:
    Mar 20, 2010
    Messages:
    112
    Likes Received:
    1
    Location:
    Idaho
    @Twistz The sonos integration was a bit of a proof of concept that made its way into the incontrol project http://www.incontrolzwave.com/ which is a pretty nice way to get native mobile apps and sonos integration to boot.

    If you are homebrewing a solution it wil require some technical know how. My projects use nodejs and can run on mac/linux/windows. Regarding how to actually talk to sonos, originally I kind of reverse engineered some of the XML based UPnP calls sonos was making on my network over http. I've since then found an open project with a very robust implementation of talking to sonos using http/js https://github.com/CommandFusion/Sonos/tree/master/Current

    I am currently working on a low-power / low-cost solution using the raspberry pi. I am making good progress toward that and hope to have something to share before too long.
     
    ievolve, Feb 3, 2013
    #8
  9. ievolve

    Twistz

    Joined:
    Nov 7, 2010
    Messages:
    23
    Likes Received:
    0
    Location:
    Melbourne
    Thanks for your reply I am a electrician with some limited use of code but my son is a software engineer i will have a look a see what we can come up with thanks
     
    Twistz, Feb 3, 2013
    #9
  10. ievolve

    zei20t

    Joined:
    Aug 18, 2010
    Messages:
    130
    Likes Received:
    1
    Location:
    Sydney, Australia
    Just watched the video. Interface looks fantastic!

    How is the project coming along?

    I just bought a Raspberry Pi and looking for projects.
     
    zei20t, Sep 12, 2013
    #10
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.