OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) NodeSprinkler – nodejs powered opensprinkler

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22577

    ndboost
    Participant

    Folks,
    I am beginning nodejs dev work of re-writing the interval_program in nodejs and adding some standards compliance to the app. things such as REST, mobile first, DRY methods etc..

    – It will have a full RESTful API.. POST /zones/1/on … etc
    – It will have a mobile first responsive web UI (built using bootstrap)
    – It will eventually have an android/ios app that uses API Keys/oauth to talk globally
    – You will be able to create schedules using plain-text sentences such as “every 12 hours starting on the 6th hour before 15 minutes”[/list]

    It uses sailsjs as the backend to do most of the REST api stuff. I am currently working on the scheduling portion of the system.

    you can follow/contribute to the status of the project at https://github.com/RelativeMedia/nodesprinkler.git

    #25210

    driedger
    Member

    This is fantastic timing!

    I just received my OSPi in the mail at the end of last week and am looking forward to starting some development work(playing) with it. I also just started working with node.js in a R&D project at work, and am excited about working with node. I am not sure if I have the node knowledge to be much of a contributor yet, but I will be following this project very closely. I already have node installed on the RPi, ready for the fun.

    Mark

    #25211

    ndboost
    Participant

    A bit of an update …

    I decided to focus directly on building on the backend side of things.. for now the front-end web ui wont make much progress. Instead the REST based API will be my primary focus.

    So far the schedule system is working and you can do things such as.. “every 12 hours on the 6th hour before 10th minute” for your schedules.. The GPIO interface is written but not tested as functional yet as i havent had time to bootup another RPi of mine as a dev unit.

    Authentication is also working and you can create/delete users as well as login/logout..

    Right now its running on mongodb as the database .. which for this purpose is probably quite heavy.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) NodeSprinkler – nodejs powered opensprinkler