-
AuthorPosts
-
Anonymous
InactiveMay 28, 2013 at 11:54 pmPost count: 16Hey folks
I am trying to get the zbpserver home automation stuff installed on my pi. The install seemed to go ok following instructions from herehttp://simplehomenet.com/solutions.asp?page_id=HomAidPi
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:
zbpserver
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!
zbpserver
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)… 212.27.63.162
Connecting to miniupnp.free.fr (miniupnp.free.fr)|212.27.63.162|: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]
miniupnpc-1.2/Makefile
miniupnpc-1.2/igd_desc_parse.c
miniupnpc-1.2/igd_desc_parse.h:
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.sohowever 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[2816]: 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.inican you help point me in the right direction ?
S
Anonymous
InactiveMay 29, 2013 at 1:13 amPost count: 259Hi,
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.
Regards,
DhawalAnonymous
InactiveMay 29, 2013 at 3:01 amPost count: 16Yup 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 ?S
Anonymous
InactiveMay 29, 2013 at 4:06 amPost count: 259Glad 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.
Regards,
Dhawal
(949) 429-3303
dhawal.d@Smartenit.comAnonymous
InactiveMay 29, 2013 at 5:27 amPost count: 16thanks much appreciated
do you have any recomendations on USB -> RS232 or will anything that the pi supports be ok ?
Anonymous
InactiveMay 29, 2013 at 6:50 amPost count: 259Any usb to serial adapter should work, Frys has good cheap ones. I personally use this
http://www.cablestogo.com/product/26886Anonymous
InactiveMay 29, 2013 at 3:06 pmPost count: 16sounds good ty
-
AuthorPosts
- You must be logged in to reply to this topic.