Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Dheeraj
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Dheeraj Khajuria

    @Dheeraj

    Plugin Developer

    22
    Reputation
    68
    Posts
    1610
    Profile views
    1
    Followers
    1
    Following
    Joined Last Online
    Email dheeraj.khajuria@gmail.com Location India

    Dheeraj Follow
    Plugin Developer

    Best posts made by Dheeraj

    • Hackathon @Office showcasing Mysensors capability

      Recently we had a Hackathon event at our office and where we showcase open source MySensors wireless network capability along with pimatic controller running on sweet pi.

      @admin @hek

      MySensors & Pimatic Duo – 04:48
      — Dheeraj Khajuria

      posted in My Project
      Dheeraj
      Dheeraj
    • SmartClock

      Smartclock based on timer based mysensors node, which fetches time in unix second from pimatic controller.

      Smartclock made from following components.

      1. 4 cascade matrix led 8x8.
      2. DHT11 for temperature
      3. Li polymer 4000 mh battery.
      4. PIR sensor for motion detection.
      5. Shuttle box.. 🙂
      6. misc..

      SmartDisplay shows following info based on controller 's rules.

      1. Time to office using bing map api.
      2. Outside home temp, hum etc.
      3. Online weather forecast information.
      4. Any online information can be displayed like stock tick etc.

      Smartclock clock has temperature sensor DHT11 and a motion PIR sensor to detect movement.

      IMG_20151025_113927.jpg

      posted in pimatic
      Dheeraj
      Dheeraj
    • Relay with ACS712

      attempt over last week , circuit board with 2x relay actuator and hall current sensor ( acs712 ) and step down transformer. The most challenging part is how to pack your creation in a nice box. 😉 2015-01-27 20.21.35.jpg

      posted in Hardware
      Dheeraj
      Dheeraj
    • pimatic-mysensors controller plugin

      Created controller plugin for pimatic https://github.com/DheerajKhajuria/pimatic-MySensors

      pimatic is a home automation framework that runs on node.js. It provides a common extensible platform for home control and automation tasks.

      Uniform interface

      It defines several schemata for different home devices and sensors, so that all devices can be controlled uniform and are presented in a common interface.

      Automation by rules

      Automation tasks can be defined by rules in the form of "if this then that", where the "this" and the "that" part can be fully custemized by plugins. See the rule page for more details.

      Web-based interface

      The mobile frontend plugin provides a nice web frontend with a sensor overview, device control and rule definition. The web interface is build using express and jQuery Mobile.

      Extensible

      pimatic is extensible by various plugins adding features and integrating existing hardware and software.

      web based Interface

      Screenshot_2015-03-17-21-55-59.png

      Flexible home Automation Rules

      Screenshot_2015-03-17-21-56-51.png

      Graphs

      Screenshot_2015-03-17-22-22-34.png

      Steps to install pimatic

      Now I would say let's begin with setting up Pimatic from scratch :

      You can either check the instructions on the Pimatic website http://www.pimatic.org/guide/getting-started/ or follow these steps.

      If you are using a Raspberry Pi, get the latest Wheezy Image or what ever you like from here : http://downloads.raspberrypi.org

      Then write this image with this tool Win32DiskImager to your SD-Card.

      Now set up your Pi with sudo raspi-config and do the usual updates with

      sudo apt-get update
      sudo apt-get upgrade
      sudo rpi-update

      You're ready to install Pimatic 🙂 Go ahead with the following 19 steps :

      1.) wget http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-arm-pi.tar.gz -P /tmp
      2.) cd /usr/local
      3.) sudo tar xzvf /tmp/node-v0.10.24-linux-arm-pi.tar.gz --strip=1
      4.) sudo apt-get install build-essential
      5.) mkdir /home/pi/pimatic-app
      6.) cd /home/pi/
      7.) npm install pimatic --prefix pimatic-app --production
      8.) cd pimatic-app
      9.) cp node_modules/pimatic/config_default.json config.json
      10.) sudo nano /home/pi/pimatic-app/config.json (very important :insert admin password!!! otherwise pimatic won't start and comes up with an error message)

      11.) sudo chmod 777 /home/pi/pimatic-app/
      12.) sudo reboot
      13.) cd ./pimatic-app/node_modules/pimatic
      14.) sudo npm link
      15.) wget https://raw.github.com/pimatic/pimatic/master/install/pimatic-init-d
      16.) sudo cp pimatic-init-d /etc/init.d/pimatic
      17.) sudo chmod +x /etc/init.d/pimatic
      18.) sudo chown root:root /etc/init.d/pimatic
      19.) sudo update-rc.d pimatic defaults

      Now you are ready to start pimatic for the first time!
      There are three ways to start pimatic generally.

      Automatically at system start (since we daemonized Pimatic with the entries in init-d)
      With the command sudo service pimatic start (will run Pimatic as daemon / service in the background)
      With the command sudo pimatic.js (can be executed everywhere, since we globalized it)
      For the first start i recommend to use option 3 since Pimatic will do some compiling and setting up things. this may take a while, so you are able to watch the debug outputs on the console screen and see what Pimatic is doing actually.
      If you run sudo "service pimatic start" you won't get any debug messages since Pimatic will run in the background.

      When Pimatic is through with all the setup stuff, you will see a message like that :

      Now you can access the Pimatic gui via browser by entering the IP of your pi and go ahead with the further setup = > Step 2 - GUI overview

      For pimatic plugins : http://pimatic.org/pages/plugins/

      Support following pimatic-mysensors sensors

      • Temperature and Humidity ( http://mysensors.org/build/humidity)

      • Temperature and Pressure ( http://mysensors.org/build/pressure)

      • Motion ( http://mysensors.org/build/motion )

      • Relay-Actuator ( http://www.mysensors.org/build/relay )

      • |TimeAware Sensor support ( Unix time seconds )

      • Binary buttom ( http://www.mysensors.org/build/binary )

      • Battery level of sensors

      • PulseMeter ( experimental only support wattage )

      • Light Sensor

      posted in pimatic
      Dheeraj
      Dheeraj
    • Handy Serial Gateway for testing.

      Yet another serial gateway working without wires clutter.

      IMG_20150121_232911.jpg

      posted in Hardware
      Dheeraj
      Dheeraj
    • RE: Node-Red as Controller

      @Heinz

      where are you storing the sensor data for presentation , stream. let me know which database you are using here? you can have another flows for sending the the request to sensor node via serial port. I tried it same some time back . may be i can share it here. 😃

      posted in Node-RED
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      @hek @bjornhallberg
      added support for relay-actuator module 🙂

      Module supported..
      Temperature and Humidity ( http://mysensors.org/build/humidity)
      motion ( http://mysensors.org/build/motion )
      Relay-Actuator ( http://www.mysensors.org/build/relay )

      posted in pimatic
      Dheeraj
      Dheeraj
    • Temp/Humidity/Light Sensor on battery

      After a long time tried making a node with temperature, relative humidity and light sensors. 2015-04-03 13.00.18.jpg
      Running sensor node on 9v battery..actually i have bought ample of 9v batteries. sensor node is running for last 15 days.. ignore the dip in the battery levels due to non-battery mode .
      upload-cd163fd8-f48d-4e84-95f6-8d340f725709
      LDR and DHT11 sensors connected on PCB..
      2015-04-03 13.00.40.jpg
      final product2015-04-03 13.05.34.jpg
      upload-99d006c0-7a49-49f8-953d-964c221803be

      posted in Hardware
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      @ricardot
      contact/door/light mysensor add to list.. just check 🙂
      upload-58e0611e-710b-4a9a-9337-60282ed10131

      posted in pimatic
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      @jurasek connecting NRF24L01 to RPi directly is possible you will find good amount of references if you search this form.

      posted in pimatic
      Dheeraj
      Dheeraj

    Latest posts made by Dheeraj

    • RE: MySensors booth at Eindhoven Maker Faire!

      @Yveaux I wish i could come 🙂

      posted in Announcements
      Dheeraj
      Dheeraj
    • RE: MySensors booth at Eindhoven Maker Faire!

      Eindhoven is a nice city, I remember my visit there few years back..

      posted in Announcements
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      @fahrettine said:

      check whether you received any message ( serialport output ) on relay sensor node.

      posted in pimatic
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      @BastienVH . check few things first.

      1. hardware wiring is correct and as per mysensor guide.
      2. what debug value "sensorValue" you are seeing on serial console if you debug your sensor node.
      3. check the debug log in pimatic
      posted in pimatic
      Dheeraj
      Dheeraj
    • SmartClock

      Smartclock based on timer based mysensors node, which fetches time in unix second from pimatic controller.

      Smartclock made from following components.

      1. 4 cascade matrix led 8x8.
      2. DHT11 for temperature
      3. Li polymer 4000 mh battery.
      4. PIR sensor for motion detection.
      5. Shuttle box.. 🙂
      6. misc..

      SmartDisplay shows following info based on controller 's rules.

      1. Time to office using bing map api.
      2. Outside home temp, hum etc.
      3. Online weather forecast information.
      4. Any online information can be displayed like stock tick etc.

      Smartclock clock has temperature sensor DHT11 and a motion PIR sensor to detect movement.

      IMG_20151025_113927.jpg

      posted in pimatic
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      @karl261 using ButtonsDevice as mentioned by Oitzu, you can achieve the point no. 1 . non off/on switch..

      upload-9622ca50-7f41-488d-b9db-64391bbf0479

      
      {
            "id": "mode",
            "name": "TV Mode",
            "class": "ButtonsDevice",
            "buttons": [
              {
                "id": "PVR",
               "text": "PVR"
              },
              {
                "id": "HTPC",
                "text": "HTPC"
              },
              {
                "id": "Chromecast",
                "text": "Chromecast"
              },
              {
                "id": "testing",
                "text": "RainBowCycle"
              },
            ]
          },
      
      
      
      

      for point no. 2 you can use pimatic IFTTT rules to control (*hidden * relay switch button) moreover you can switch off optocoupler after 50 ms using rules.

      1. if you have some special requirement you are welcome to contribute..
      posted in pimatic
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      @Oitzu sure will do it need some time..

      posted in pimatic
      Dheeraj
      Dheeraj
    • RE: pimatic-mysensors controller plugin

      New version of plugin available. 0.8.21.

      and a video to showcase its capability..

      MySensors & Pimatic Duo – 04:48
      — Dheeraj Khajuria

      posted in pimatic
      Dheeraj
      Dheeraj
    • Hackathon @Office showcasing Mysensors capability

      Recently we had a Hackathon event at our office and where we showcase open source MySensors wireless network capability along with pimatic controller running on sweet pi.

      @admin @hek

      MySensors & Pimatic Duo – 04:48
      — Dheeraj Khajuria

      posted in My Project
      Dheeraj
      Dheeraj
    • RE: Scrolling Text sensor node with new V_TEXT

      found this library for scrolling effect https://code.google.com/p/arudino-maxmatrix-library/.

      posted in My Project
      Dheeraj
      Dheeraj