Last updated: 2015-07-27
Tested with: v2.0.1 ???
I chose the i2ex for all his abilities that are far superior to Raspberry.
My goal was to use this i2ex of Solidrun to install, Domoticz with a Zwave controller (Razberry GPIO daughter card), Rfbee to control heating Honeywell, with an Arduino Mega RFLINK 433 for the control of catches and lights.
- HummingBoard a motherboard connected to your home network
- a 5v power supply 2A
- Razberry a GPIO card, connect to the motherboard HummingBoard
- Sd Card Class 10
- Putty installed on a computer on your network
- (For Arduino part, if someone is interested, send an email)
http://mirror.igorpecovnik.com/Cubox-i_ ... .14.14.zip
ps: you must simply unzip and burn the image to your SD card. If you have problems, it is imperative formatted your SD card in fat or fat 32.
For those who wish, you can use the ignition SolidRun (Debian Wheezy), but the installation will be longer and at this time, some sources are problematic.
LOGIN / PASS: root / 1234
The first time you will be asked to change the password.
Once you're indentified, start Putty.
Enter the address of the Ip hummingboard on your network, port 22, SSH connection.
Then you are prompted to enter the name of the SSH account:
no password: the one you have previously chosen.
after that, everything goes faster !!
(You can copy / paste, simply by selecting and making must click on your mouse)
To the system:
- apt-get update && apt-get upgrade
- dpkg-reconfigure tzdata (choose your location: Ex: EUROPE - Paris)
- sudo apt-get install cmake make gcc g ++ libboost-dev libboost-thread-dev libboost-system-dev-dev subversion libsqlite3 curl libcurl4-openssl-dev libusb-dev
- sudo apt-get install cmake libboost-dev libboost-thread-dev libboost-system-dev-dev subversion libsqlite3 curl libcurl4-openssl-dev libusb-dev zlib1g-dev
- sudo apt-get install libudev-dev
- git clone https://github.com/OpenZWave/open-zwave.git
- ln -s open Zwave Zwave open-read-only
- cd open Zwave
- 5- make
- cd ..
edit the / etc / inittab
- cd ~ /
- nano (you should have a console with marked GNU nano 2.2.6), which is a kind of file editor)
- to CONTROL T
- to R CONTROL
- You should arrive in 5- DIR: / root
- direct you in ... (parent dir)
- direct you in / etc
- looking for the inittab file (2 kb) and validated
there should see things like thisClearly, unlike Raspberry for which to create a symbolic link to AMA0 USB20, a HummingBaord, we see that the port is routed mxc0 port.
Code: Select all
# # T0: 23: respawn: / sbin / getty -L ttymxc0 9600 vt100 # T1: 23: respawn: / sbin / getty -L 9600 ttyS1 vt100 # Example how to put a getty was modem line. # # T # 3: 23: respawn: / sbin / mgetty -X0 -s 57600 ttyS3 T0: 2345: respawn: / sbin / getty -L ttymxc0 115200 vt100
So you have just modified the file by adding a # before the line T0 2345 ..
Code: Select all
# # T0: 23: respawn: / sbin / getty -L ttymxc0 9600 vt100 # T1: 23: respawn: / sbin / getty -L 9600 ttyS1 vt100 # Example how to put a getty was modem line. # # T # 3: 23: respawn: / sbin / mgetty -X0 -s 57600 ttyS3 # T0: 2345: respawn: / sbin / getty -L ttymxc0 115200 vt100
- CONTROL to x (command to exit)
- You are asked to save, do y (yes), then validated
- Then you are asked the saving path: / etc / inittab
- crush: yes
A simple story #
and knowledge of the port: ttymxc0
B: Installing Domoticz
- cd ~ /
- mkdir domoticz
- cd domoticz
- 4-1 wget http://nadhyr.deffar.free.fr/domoticz_linux_armv6l.tgz
- 4-2 wget http://nadhyr.deffar.free.fr/domoticz_linux_armv6l.tgz
4-1 4-2 Stable beta
- xzvf domoticz_linux_armv6l tar or tar xzvf domoticz_linux_armv7l.tgz
- domoticz_linux_armv6l.tgz rm or rm domoticz_linux_armv7l.tgz
To verify that domoticz, type (./domoticz)
You should see this:Domoticz works !!!
Code: Select all
2015-07-23 11: 02: 51,966 Domoticz V2.2657 (c) 2012-2015 GizMoCuz 2015-07-23 11: 02: 51,967 Startup Path: / root / domoticz / 2015-07-23 11: 02: 52,038 Sunrise: 6:05:00 SunSet: 21: 46: 00 2015-07-23 11: 02: 52,046 Active notification subsystems: http (1/8) 2015-07-23 11: 02: 52,049 Webserver started on Port: 8080 2015-07-23 11: 02: 53,554 Hardware Monitor: Started
- domoticz leave the server, making CONTROL c
Putty in the console,
- cd ~ /
- nano -w /etc/udev/rules.d/09-tty.rules
- enter the following line:
KERNEL == "ttymxc0" SYMLINK + = "ttyUSB20"
- CONTROL do x, then yes, then enter to save
- ln -s / dev / ttymxc0 / dev / ttyUSB20
(Command to the port rooter Razberry ttymxc0 towards the USB20
C: Last step
domoticz start (visit the domoticz folder, and make ./domoticz)
eg root @ Cubox-i: ~ / # domoticz ./domoticz
Go in part Harware, add Razberry, with:
Type: OpenZwave Usb
Port: / dev / ttymsc0
Then click setup, and you should see the Razberry, registered as a controller !!
http://www.vesternet.com/resources/appl ... bDEqPntmkr
https://www.chopperrob.nl/domoticz/13-i ... mmingboard
https://domotiga.nl/projects/domotiga/w ... e_RaZberry
good luck everybody !
Moderator note: Moved the original post as quote to post 3