MySensors -> ElectricImp -> Xively
-
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,- Several sensors (temperature, humidity, pressure, light, power)
- Gateway
- Electric Imp (for wireless connection to internet and Xively)
- 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:
- 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
- Gateway
- No modicifations needed here
- 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login