Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. MySensors -> ElectricImp -> Xively

MySensors -> ElectricImp -> Xively

Scheduled Pinned Locked Moved My Project
2 Posts 1 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • wmylionelW Offline
    wmylionelW Offline
    wmylionel
    wrote on last edited by
    #1

    MySensors is such an awesome development! Thank you guys, keep up the wonderful work.

    The objective for my first MySensors project was very simple, connect a wireless network of sensors and store the data in the cloud.
    This project involves the following,

    1. Several sensors (temperature, humidity, pressure, light, power)
    2. Gateway
    3. Electric Imp (for wireless connection to internet and Xively)
    4. Xively (for logging the sensor data)

    I do not own a Vera to act as the controller, though I own a Raspberry Pi, seems like there will be alot more development needed for this hardware. Hence, I settled without using a controller for now. Since I just wanted to log sensor data (no actuation for now).

    Modifications needed to MySensors code:

    1. Sensors
      • Since there is no controller to provide the sensor ID, i had to force the ID by entering it in the gw.begin() statement ie. gw.begin(10) for ID 10
    2. Gateway
      • No modicifations needed here
    3. Electric Imp (receive serial comm from gateway and post to Xively)
      • refer to https://xively.com/dev/tutorials/electric_imp/
      • Had to modify the above code to only process serial messages that contain Message Type = 1 (Set Variable)

    Feel free to post your interest and I will be more then willing to share more of my experience.

    1 Reply Last reply
    0
    • wmylionelW Offline
      wmylionelW Offline
      wmylionel
      wrote on last edited by
      #2

      Here are the results in Xively.
      You will noticed I used the Node ID and Child ID as the Channel name.

      Capture.PNG

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      7

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular