Monday, July 30, 2012

Canduino - Arduino connected to Everymote

Our favorit candy machine is now connected to Everymote with the help of an Arduino Ethernet.

Candy machine & Arduino


The Arduino is communicating with the Everymote cloud server using WebSocket and the socket.io protocol. All right we maybe didn't implement the full spec for the socket.io protocol just the bare minimum to get it work

Hardware


  • Arduino Ethernet
  • Continuous Rotation Servo
  • Candy machine
  • M&Ms


Code




For a live demo go to http://www.everymote.com/demo.html

Happy hacking
Marcus



Tuesday, July 3, 2012

How to install Everymote on a Beaglebone

Everymote tellstick is no running on Beaglebone with Ångström, it will probably work on other linux distribution too.

beaglebone with tellstick

Prerequisites

Nodejs version >= 0.6.15
telldus-core version 2.1.1 how to install

Install everymote-tellstick

npm install everymote-tellstick -g

If it successfully installed you can now start it by running

everymote-tellstick

or cloning the git repo and start it by using

node app.js

Auto start

Her is a example on how you can get everymote-tellstick start automaticly at startup by creating a cron job. Start by create starteverymote.sh

#!/bin/sh

sleep 60
echo "started"
/usr/local/sbin/telldusd
echo "telldusd started"
/usr/bin/everymote-tellstick

To register the script as a cron job run

crontab -e

and add the flowing last

@reboot sh /dir/to/starteverymote.sh >/dir/to/log/cronout.log

Reboot and it should register all devices to everymote. Go to m.everymote.com and control your devices.

Everymote is still in early development and we suport on, off and dim at the moment.