Is there already someone that can claim success with this ?

Moderators: Rene, Willem4ever
marck wrote:In a few days I will start a new project, that is; get this working on a Raspberry Pi.
Is there already someone that can claim success with this ?
Code: Select all
root@OpenWrt:~# opkg list-installed
base-files - 117-r36088
busybox - 1.19.4-6
dnsmasq - 2.62-2
dropbear - 2011.54-2
firewall - 2-55.1
hotplug2 - 1.0-beta-4
iptables - 1.4.10-4
iw - 3.6-1
jshn - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
kernel - 3.3.8-1-d6597ebf6203328d3519ea3c3371a493
kmod-ath - 3.3.8+2012-09-07-3
kmod-ath9k - 3.3.8+2012-09-07-3
kmod-ath9k-common - 3.3.8+2012-09-07-3
kmod-cfg80211 - 3.3.8+2012-09-07-3
kmod-crypto-aes - 3.3.8-1
kmod-crypto-arc4 - 3.3.8-1
kmod-crypto-core - 3.3.8-1
kmod-gpio-button-hotplug - 3.3.8-1
kmod-ipt-conntrack - 3.3.8-1
kmod-ipt-core - 3.3.8-1
kmod-ipt-nat - 3.3.8-1
kmod-ipt-nathelper - 3.3.8-1
kmod-leds-gpio - 3.3.8-1
kmod-ledtrig-default-on - 3.3.8-1
kmod-ledtrig-netdev - 3.3.8-1
kmod-ledtrig-timer - 3.3.8-1
kmod-ledtrig-usbdev - 3.3.8-1
kmod-lib-crc-ccitt - 3.3.8-1
kmod-mac80211 - 3.3.8+2012-09-07-3
kmod-nls-base - 3.3.8-1
kmod-ppp - 3.3.8-1
kmod-pppoe - 3.3.8-1
kmod-pppox - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb2 - 3.3.8-1
kmod-wdt-ath79 - 3.3.8-1
libblobmsg-json - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
libc - 0.9.33.2-1
libgcc - 4.6-linaro-1
libip4tc - 1.4.10-4
libiwinfo - 36
libiwinfo-lua - 36
libjson - 0.9-2
liblua - 5.1.4-8
libnl-tiny - 0.1-3
libubox - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
libubus - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
libubus-lua - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
libuci - 2013-01-04.1-1
libuci-lua - 2013-01-04.1-1
libxtables - 1.4.10-4
lua - 5.1.4-8
luci - 0.11.1-1
luci-app-firewall - 0.11.1-1
luci-i18n-english - 0.11.1-1
luci-lib-core - 0.11.1-1
luci-lib-ipkg - 0.11.1-1
luci-lib-nixio - 0.11.1-1
luci-lib-sys - 0.11.1-1
luci-lib-web - 0.11.1-1
luci-mod-admin-core - 0.11.1-1
luci-mod-admin-full - 0.11.1-1
luci-proto-core - 0.11.1-1
luci-proto-ppp - 0.11.1-1
luci-sgi-cgi - 0.11.1-1
luci-theme-base - 0.11.1-1
luci-theme-openwrt - 0.11.1-1
mtd - 18.1
netifd - 2013-01-29.2-4bb99d4eb462776336928392010b372236ac3c93
opkg - 618-3
ppp - 2.4.5-8
ppp-mod-pppoe - 2.4.5-8
swconfig - 10
uboot-envtools - 2012.04.01-1
ubus - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
ubusd - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
uci - 2013-01-04.1-1
uhttpd - 2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd
wpad-mini - 20120910-1
root@OpenWrt:~#
By now I have the same results with you Viknet !!!viknet wrote:1) Extending the flash with an external dongle is a good way to overcome the memory size, I manage to fit everything on my router
, but I needed to remove some things and it was a tight fit
2) Make sure the program xPL_Hub in /bin/ is running all the time it is required for xpl
3) Run through telnet the program /www/cgi-bin/jsongetxplstate.cgi the output should look like:
Content-Type:text/html;charset=iso-8859-1
{ "status":"disarmed","pmaxstatus":"disarmed","readytoarm":"","sensor":[{"zone":"R.D.C.","type":"interior","alert":"false","armed":"false","tamper":"false","low-battery":"false"},{"zone":"Etage","type":"interior","alert":"false","armed":"false","tamper":"false","low-battery":"false"},{"zone":"Salon","type":"perimeter","alert":"true","armed":"false","tamper":"false","low-battery":"false"},{"zone":"Salle a manger","type":"perimeter","alert":"true","armed":"false","tamper":"false","low-battery":"false"},{"zone":"cuisine","type":"perimeter","alert":"true","armed":"false","tamper":"false","low-battery":"false"},{"zone":"porte garage","type":"perimeter","alert":"false","armed":"false","tamper":"false","low-battery":"false"},{"zone":"volet garage","type":"perimeter","alert":"false","armed":"false","tamper":"false","low-battery":"false"},{"zone":"detecteur incendie","type":"perimeter","alert":"false","armed":"false","tamper":"false","low-battery":"false"}]}
send me what you get and I will try to help
Code: Select all
server.modules = (
"mod_auth",
"mod_cgi"
)
server.network-backend = "write"
server.document-root = "/www/"
index-file.names = ( "index.html", "default.html", "index.htm", "default.htm" )
mimetype.assign = (
".pdf" => "application/pdf",
".class" => "application/octet-stream",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".svg" => "image/svg+xml",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml"
)
$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
server.port = 8080
server.pid-file = "/var/run/lighttpd.pid"
server.upload-dirs = ( "/tmp" )
cgi.assign = ( ".cgi" => "" )
auth.backend = "plain"
auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"
auth.require = (
"/" => (
"method" => "basic",
"realm" => "download archiv",
"require" => "user=admin"
)
)
Code: Select all
/etc/init.d/pmaxd enable
/etc/init.d/lighttpd enable
/etc/init.d/xPL_Hub enable
@ggero, ca you pulish or send me a pic of the cale? i still didn't figure out the pins of my powermaxggero wrote:I have made the cable for the powermax connection .. If anybody needs help for this let me know
After a lot of reading, I managed to make it work .. When running the pmaxd at v mode, I can use the keyboard buttons (a,h,g,c) and the alarm is corresponding as it should...
I have problem with the web interface. I see it but I cannot make it work (it shows only icons). I press the buttons on it, but does nothing
I guess that I should configure something at the lighttpd file. Can anybody help me to this ?