Category Archives: Raspberry

Funky 3

funky-bottom
This is a hobby project by Martin Harizanov. A small Arduiono with usb and radio module.
This is v3 of my “Funky” Arduino clone, specifically designed to be small, with on-board radio module and for low power applications.

Highlights

  • Board size is 20×21.2mm (0.78″x0.83″)
  • Weighs 3 grams (0.11 oz)
  • Compatible with Arduino IDE
  • ATMega32U4 MCU, the same as processor used in the popular Arduino Leonardo
  • No need for external programmer to upload new sketch – just use micro USB cable
  • Equipped with 433/868 wireless RFM12B or RFM69CW transceiver module
  • Runs on 8 Mhz and can be powered from 2.7-3.3V power source, including coin cell battery
  • Low power operating mode

He also has a gateway board for the Raspberry to use as gateway to talk to wireless nodes such as the Funky and emonTXJeeNode, etc

Node red

IBM is very active in both open source as well as in IoT. Here is a very nice tool for anyone into integration of any sorts of data flow.

I have it installed on one of my Raspberry Pi’s and it allow me to visually create integration mixing hardware and software.

Head of to http://nodered.org if you have yet see this.

Screen Shot 2016-01-03 at 21.16.50

Update, 25 Jan 2016: Node Red is included in the Jessie build for Raspberry pi. After struggling to get the GPIO to work with my old build, I decided to start from scratch. It was worth it. Node red is now only a menu option away, works like a sharm.
Extra benefit: The new GUI in Jessie (if you don’t decide for the slim down version) is very nice.

One example of what I included as my first experiment:

I have motion running with a camera overlooking my garden and street. As soon motion is detected it sends an event to a MQTT broker I’m running on another Pi. Then I have a node flow that subscribes to that topic and makes a http against my Sonos system to play a short notification indicating ‘car is arriving’. The Sonos api is based on node (min version 4) by jishi.

Ubidots cloud IoT logging from Raspberry pi

Ubidots offer a free service for up to 5 measurement values.

My setup is Nexa temperatur and humidity sensors that report to a Tellstick connected to Raspberry. Here is the setup:

sudo apt-get install python-setuptools
$ sudo easy_install pip
$ sudo pip install ubidots

Using the api to post data in is only a few lines:

from ubidots import ApiClient
import random

#Create an "API" object

api = ApiClient("4785d3be6f45a6102xxxxxx75efb16a6f9b9c")

#Create a "Variable" object

test_variable = api.get_variable("56294a1xxxxxxx27c3c69d")

test_value = random.randint(1,100)

test_variable.save_value({'value':test_value})

Here is my outside temperatur chart based on a logging once per hour:

Raspberry Pi as GSM phone

This is a link to David Hunt’s DYI very interesting project to build a GSM Phone based on a Raspberry Pi. The project can inspire to various implementations where GPRS may be needed, also for situations where you may need to run on battery.

Here is David’s run-down of component costs. Please be sure to check out his video demo as well.

Costs:

Total: $158

 

Splunk forwarder for Raspberry Pi

From the Splunk blog there is a simple step-by-step instruction of how to install a forwarder of data from you Pi into a Splunk instance on a Mac/PC.

It could be to capture log data from GPIO connected sensors.

http://blogs.splunk.com/2013/10/21/how-to-splunk-data-from-a-raspberry-pi-three-easy-steps/

 

Web GUI for Tellstick Duo devices

remotestick-serverI wanted a clean and simple web interface to turn on/off my devices. It should also work on an iPhone or iPad.

I found that the remotestick-server created by Patrik Åkerfeldt was exactly what I wanted. It is based on the lean python framework Bottle.

The only tweek I have made so far is to filter my device listing to the devices beginning with underscore will not show up. The reason for is it to be able to define all my switches but only show the active one in the GUI.

Installation is simple:

  1. Install the bottle framework with: sudo apt-get install python-bottle
  2. Download and upack remotestick-server from GitHub.
  3. Create a directory and put the files here:
    mkdir ~/remotestick-server
  4. Start the server: python remotestick-server.py –host=192.168.0.5 –port=8422 –user=xx pass=secret
  5. Turn your browser to http://192.168.0.5:8422/s/

You should of course replace the IP address with the one for your RPi). You may omit user & pass for a local installation to avoid a login-page.