AnonymousInactiveMay 28, 2013 at 11:54 pmPost count: 16
I am trying to get the zbpserver home automation stuff installed on my pi. The install seemed to go ok following instructions from here
added below at step 4.5
sudo apt-get install libcap2-bin
Install notes below
pi@raspberrypi /usr/bin $ sudo apt-get install zbpserver
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 210 not upgraded.
Need to get 0 B/544 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
Install these packages without verification [y/N]? y
Selecting previously unselected package zbpserver.
(Reading database … 62198 files and directories currently installed.)
Unpacking zbpserver (from …/zbpserver_1.12-1_all.deb) …
Setting up zbpserver (1.12-1) …
/var/lib/dpkg/info/zbpserver.postinst: 1: /var/lib/dpkg/info/zbpserver.postinst: /#!/bin/sh: not found
update-rc.d: using dependency based boot sequencing
insserv: warning: script ‘K01zbp’ missing LSB tags and overrides
insserv: warning: script ‘zbp’ missing LSB tags and overrides
–2013-05-28 01:42:41– http://miniupnp.free.fr/files/miniupnpc-1.2.tar.gz
Resolving miniupnp.free.fr (miniupnp.free.fr)… 184.108.40.206
Connecting to miniupnp.free.fr (miniupnp.free.fr)|220.127.116.11|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 38787 (38K) [application/x-gzip]
Saving to: `/tmp/miniupnpc-1.2.tar.gz’
100%[=============================================================================================================================================>] 38,787 57.2K/s in 0.7s
2013-05-28 01:42:42 (57.2 KB/s) – `/tmp/miniupnpc-1.2.tar.gz’ saved [38787/38787]
install -d /usr/lib
install -m 644 libminiupnpc.a /usr/lib
install -m 644 libminiupnpc.so /usr/lib/libminiupnpc.so.3
install -d /usr/bin
install -m 755 upnpc-shared /usr/bin/upnpc
ln -fs libminiupnpc.so.3 /usr/lib/libminiupnpc.so
however when i tr to run it i get
sudo /etc.init.d/zbp start
Message from syslogd@raspberrypi at May 28 01:53:09 …
ZBPServer: main:: Configuration file not found!
I do see htis but am not sure if this is where its supposed to live
pi@raspberrypi /usr/bin $ ls -al /ZBP_Bins/config.ini
-rw-r–r– 1 pi pi 948 Mar 18 20:58 /ZBP_Bins/config.ini
can you help point me in the right direction ?
SAnonymousInactiveMay 29, 2013 at 1:13 amPost count: 259
You need to be in the root dir. So $cd / will do the trick. If you then get a session bus error then try this command: eval $(dbus-launch –auto-syntax)
I do not see a reboot command issued. Can you please send $sudo reboot The zbpserver will start in the background on startup.
DhawalAnonymousInactiveMay 29, 2013 at 3:01 amPost count: 16
Yup That works perfectly,
I moved the ZBP_bins dir into /opt/zbpserver/ZBP_bins and cd there during the init script, it started right up first time
managed to add a smarthome 2413UH dual band insteon controller as /dev/ttyUSB0 and it seems to find it no
problem and lets me turn on/off an insteon ceiling light.
SO looks good to me
Thanks for the fast response, very much appreciated, now i have a basic working system i can experiment a little
would you recommend the ZBPLM interface for Insteon/X10/ZB control with a pi ?
is it usb or RS232 ?
if RS232 is there a breakout cable provided to a std 9 pin D ?
SAnonymousInactiveMay 29, 2013 at 4:06 amPost count: 259
Glad to hear that.
Yes ZBPLM is the recommended interface since it supports Zigbee, Insteon and X10. Zbpserver also supports IP cameras and IP thermostats.
It’s RS232 DB9, so the only thing you’ll need is a USB to serial converter as it ships with a serial cable.
Let me know if you have any other questions.
dhawal.d@Smartenit.comAnonymousInactiveMay 29, 2013 at 5:27 amPost count: 16
thanks much appreciated
do you have any recomendations on USB -> RS232 or will anything that the pi supports be ok ?AnonymousInactiveMay 29, 2013 at 6:50 amPost count: 259AnonymousInactiveMay 29, 2013 at 3:06 pmPost count: 16
sounds good ty
- You must be logged in to reply to this topic.