raspberry piでWebiopiをインストール中、Weavedへの登録をしました。
Webiopiはダウンロードしたので、次はインストール。
先輩方のサイトを参考に頑張りました。
まずは、ダウンロードしたファイルの解凍
tar xvzf WebIOPi-0.7.1.tar.gz
解凍したWebiopiに移動
cd WebIOPi-0.7.1
そしてインストール
sudo ./setup.sh
少しインストールに時間がたった後。
Congratulations! Your network is compatible with Weaved services.
OKの用です。そのあとポートは8000でよいかどうかを聞かれたため、yを回答。
We are installing Weaved for WebIOPI.The default port for WebIOPi is 8000.
Would you like to continue with the default port assignment? [y/n] y
We will install Weaved services for the following:Protocol: webiopi
Port #: 8000
Service name: Weavedwebiopi8000Sign-up for free at http://developer.weaved.com then enter your Weaved login:
なんじゃこりゃ。突然Sign upを求められた。
どうやらWeavedというサイトに登録しろということらしい。
特に何もなく登録するだけ。私はWeavedのホームページから登録しました。
そして登録時に使用したメールアドレスとパスワードを入力。これでOKでした。
(パスワードは例のごとく見えないですが、打ってエンターキーです。)
Sign-up for free at http://developer.weaved.com then enter your Weaved login:
*******@yahoo.co.jpNow, please enter your password:
Copied notify.sh to /usr/bin
Copied notify_Weavedwebiopi8000.sh to /usr/bin
Copied weavedConnectd to /usr/bin
startweaved.sh copied to /usr/bin
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
~~中略~~
WebIOPi successfully installed
* To start WebIOPi foreground : sudo webiopi [-h] [-c config] [-l log] [-s script] [-d] [port]* To start WebIOPi background : sudo /etc/init.d/webiopi start
* To start WebIOPi at boot : sudo update-rc.d webiopi defaults* Weaved IoT Kit installed, log on http://developer.weaved.com to access your device
* Look in /home/pi/WebIOPi-0.7.1/examples for Python library usage examples
pi@raspberrypi ~/WebIOPi-0.7.1 $
途中エイリアスなる名前を登録するところがあったような気がします。
ふう、なんとかWebiopiのインストールを終えました!