Intel Edison
Jump to navigation
Jump to search
- Enable WiFi
- Enable Bluetooth
Install Node-RED
sudo npm install -g node-red node-red
Install MRAA
First test
- https://github.com/gomobile/iotapp-template-onboard-led-blink
- https://github.com/gomobile/iotapp-template-onboard-led-blink/blob/master/main.js
Install Typescript
echo prefix=/root/.node >> ~/.npmrc export PATH=/root/.node/bin:$PATH sudo npm install -g typescript sudo npm install -g tsd wget --no-check-certificate https://github.com/HEADS-project/mraa/archive/master.zip unzip master.zip cd mraa-master/examples/typescript/ tsd query node -a install npm install mraa tsc --module commonjs AioA0.ts sudo node AioA0.js
Install Package
add this line to /etc/opkg/base-feeds.conf
src/gz all http://repo.opkg.net/edison/repo/all src/gz edison http://repo.opkg.net/edison/repo/edison src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32
next
opkg update opkg install git
Install Java
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-i586.tar.gz
Install OpenHAB 1
wget --no-check-certificate https://github.com/openhab/openhab/releases/download/v1.6.2/distribution-1.6.2-runtime.zip wget --no-check-certificate https://github.com/openhab/openhab/releases/download/v1.6.2/distribution-1.6.2-addons.zip wget --no-check-certificate https://github.com/openhab/openhab/releases/download/v1.6.2/distribution-1.6.2-demo-configuration.zip