Quantcast
Channel: HomeSeer Message Board
Viewing all articles
Browse latest Browse all 4847

RaspberryIO - User Guide

$
0
0
INSTALLATION / CONFIGURATION

System Requirements:

This plugin is for HS3 or HS3PRO.
It is designed to allow HomeSeer to configure, monitor and control the GPIO (General Purpose Input/Output) of a Raspberry Pi. It works with any version of Raspberry Pi.


Plugin Installation on your HS3 machine
Download and install from the updater (not yet available) or download package from the Beta Testing thread and follow instructions to install.

If your HS3 machine is not a Raspberry Pi you don't need to enable the plug-in (but you still have to install it)

Plugin Installation on a Raspberry Pi which is not your HS3 machine
If you want to monitor/control GPIO of a Raspberry Pi which is not your HS3 machine, you need to run it as a remote plugin.
WARNING: if your HS3 server run on Windows you MUST run mono version 4.x. on your Raspberry Pi. Here is a Guide to update Mono to version 4.x on Raspbian.

Here is the installation steps from the command line (tested on Raspbian)
1. create a directory where you want to install, and enter it:
Code:

mkdir RaspberryIO
cd RaspberryIO

2. download the plug-in remote install archive and unzip it. (This archive contains the plug-in files and the Homeseer libraries needed to run a plug-in remotely)
Code:

wget https://www.dropbox.com/s/j3m4wbjrpfr840z/RaspberryIO_remote_install_3-0-0-1.zip
unzip RaspberryIO_remote_install_3-0-0-0.zip

3.make the "run" script executable
Code:

chmod +x run
4. edit the run script
Code:

pico ./run
5. and replace <ip_of_your_hs_machine> with the actual IP of your HS3 machine, and <instance_name> with a name for this instance of the plugin (no space or special characters). Type Ctrl+X, then Y to save the file.

6. last step is to actually run the script
Code:

spud@rpi ~/RaspberryIO $ ./run
Plugin: RaspberryIO Instance: TestRemote starting...
Connecting to server at 192.168.1.100...
Connection attempt #1
Connected (HomeSeer API 3). Waiting to be initialized...
Sep-13 14:29:41 INFO RaspberryIO version 3.0.0.1
Sep-13 14:29:41 INFO Raspberry Pi running on Bcm2709 processor
Sep-13 14:29:41 INFO Firmware rev10620993, board model B2 (Raspberry Pi 2 Model B)

If everything is ok, you should see the init sequence like above, and in the 'PLUG-INS > Manage' page you should see your instance in the Remote Plug-Ins section like in the screenshot below:
Attachment 56540



Plugin Configuration
Go to the config page 'PLUG-INS > RaspberryIO > Config - InstanceName', and configure the pins you want to use as Input/Output

Attachment 56542

Attached Images
  

Viewing all articles
Browse latest Browse all 4847

Trending Articles