Raspberry Pi
Raspberry Pi has gone to manufacture. This would make a COOL nextgen HAH platform.
Read about it http://www.raspberrypi.org/archives/509
Then considering signing this petition that discorages British Manufacturing for electronics.
http://epetitions.direct.gov.uk/petitions/27158
Brett
I'm waiting for expected delivery around mid may - well that was before they discovered the wrong network socket had been fitted.
I'll definitely join your "fan club" , I was waiting for this news for a long time. I got my first Raspberry from a local San Diego classifieds source and it was all I needed to become hooked. Now I am eagerly waiting for the next generation of mini-computers, I find them revolutionary.
Just been told mine has shipped - so if you got in there early they're on their way :-)
WOW its small.
just had delivered a model b small form factor twin usb hdmi, ethernet, audio out and composite.
in 20 minutes i had it hooked up and was browsing the internet.
now hows the hah integration going, i think priority one is RF 2,3 and 4 using the i/o to get relays and inputs working.
what do others think?
does anyone else have one?
Brett said : "GUI - xAPFlash works for the Joggler but its screen size is HARDCODED for these dimensions so it's not surface aware."
Yes - very true and also there's also the aspect that the Joggler doesn't implement the Flash stage in the normal way. I could spend some time removing the hardcoded screen sizing but TBH Flash seems to be on it's way out - with latest 'Jelly Bean' Android not supporting it in Chrome. The XML that configures xAPFlash is also badly structured as it just evolved rather than being well thought through. Configuration isn't easy and there should be a graphical layout editor. However whilst I've seen lots of recommendations for HTML5 / websockets I haven't seen much practically that really compares to Flash as it's used here .. and I'm not familiar enough to know how XBMC might serve the client / device base.
I think looking at alternatives is a good plan but should you end up back at xAPFlash I'll take a look into this.
K
Hi Brett
Would like to see an opkg or similar, I think HaHub should go platform agnostic, there are plenty of NAS, plug computers etc that could easily run it. If we move to pure fat linux you have reduced the target market.
In that vein I agree seperating the electronics from the server makes sense. An Arduino shield with RF & relays may be a way to keep the core hardware without too much redesign. Communicate with XAP and usb serial.
I believe making the web RF device screen into general devices so you can select either inbuilt (e.g. RF,Relay,LED,UDP), custom written plugins or LUA script based plugins. You can then roll these into source XML for xapflash.
So
device.1.type= RF, Tx.On=110FF00, Tx.Off=110FF01, RF=N/A, XAP_monitor=liveduino.RF.3,Page=Lounge,X=100,Y=200,image=Projector.state
device.2.type= Relay, TX.on=LUArelay On Latch, Tx.off=LUArelay 6 Off Latch, RX.on=Plugboard.Relay6.closed, XAP_Monitor=N/A Page=Lounge,X=100,Y=200,image=Aircon.state
you can then use the device settings to create a standard xapflash config.xml from the web interface. Makes it much more approachable, you configure the devices once and the fancy interface works.
If that is where you are going with the plugins I'm ll for it.
Agree local storage, maybe in eeml format? on a low resource DB.
Glam for the control (SWMBO) interface is important, for set up its not so necessary IMHO.
How about an interface to openremote? HAHhub does the clever stuff (bit like the Vera) , Openremote does the Bling?
You can keep XAPflash in case Openremote goes the wrong way.
Maybe an iServer / openremote gateway?
Android may be another platform. Plenty of TV set top boxes being sold, soon they will have DVR so will be allways on.
XBMC is now ported in Alpha.
I think we need to see HAH hub as the engine and let other people provide the bodywork.
Have you seen this, looks lik a COSM competitor with cooler Graphs?
Well spotted - I've got 4 invites if anyone wants one...... the graphs look cool and they are in 'real-time'!!!
EJ
I thought I'd have a go at moving Brett's xap-hub to the ARM platform and it went without too much difficulty, other than static library linking, with a few extensions to base UID on IP address to allow multiple Pi's without needing config. I'm using it on openelec (xbmc) as I'm part way through creating a xAP plugin for xbmc and wrestling with Python(!). I'd previously used a hub based on an assortment of code but this one should be able to track any changes.
Attached is the binary for anyone interested, together with the startup script for openelec.
Regards,
Lehane
Attachment | Size |
---|---|
xaphub2.zip | 16.58 KB |
Arch Linux boots to a cli and seems quite compact. Maybe that would do the trick
Rasbian boots to CLI by default in about 30 seconds. The card class does make a difference, espically to XBMC. There are also a few tuning things you can do to make it a little quicker.
I've also had mine reading the data received by the JeeNode basenode. I think it would also connect easily enough to the HAH PCB using the serial connection, this is something else that's on my list, it's a long list.
Hi, for Pi + XBMC + resources over I would also suggest looking at XBian. Similar to openelec but more open. Third in same line is raspbmc.
http://xbian.org/community/what-is-xbian/
Br,
Aivo
I've moved openelec to a 512Mb RAM version which is noticeably better (no surprise!) and using an Kingston 8Gb SDHC Class 10.
Lehane
Have to agree with the above, 512MB version of the Pi really is an improvement
Not sure it the same applies where you are based Brett, but i mananged to sell my 256mb version 2nd hand on ebay for the same price it cost me to order the 512 from cpc / rs the same day.
also i use a UHS spec SD card, i was worried a low class would impact performance
Would this be an option?
http://www.tp-link.com/en/products/details/?categoryid=241&model=TL-WR702N
I know these are available on ebay under £20. It has a USB port which idea to connect a UBS-Serial connector, hackers put OpenWRT on this for various projects.
The Rasp Pi et al are all fine. That nice TP Link box looks good too.
However, (in the UK) I can still buy a Livebox on eBay for around GBP10 delivered (as I type, one is closing with 9mins to go at £11 delivered and no bids). Don't forget that this includes a switched mode PSU and a case.
The HAH firmware has been running on this platform for a fair while. It's generally stable - and where there are any issues, there are folks to help out.
New ports are fine ... but in the fashion industry of HA, IMHO it's sometimes better to pick a nicely architected platform and to go from there.
Cheers,
Derek
I've bought a couple of those recently. Seems there are at least 2 a week on there. The last one I got actually cost more in postage alone than I paid for it.
Anyone help please.
I have been following the PI install on the wiki, but I have very little linux knowledge and am at a loss. What does this mean?
pi@raspberrypi ~ $ sudo update-rc.d -f apache2 remove
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'mathkernel' missing LSB tags and overrides
pi@raspberrypi ~ $ sudo make arm-deb
make: *** No rule to make target `arm-deb'. Stop.
pi@raspberrypi ~ $ sudo dpkg -i build/*.deb
dpkg: error processing build/*.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
build/*.deb
pi@raspberrypi ~ $ sudo INSTALL_DIR=/ make install
make: *** No rule to make target `install'. Stop.
thanks
John
John,
first error is cos apache isn't a default install on Pi so you don't need to remove it.
second is probably cos your in wrong directory. Make sure your in the /portable. Directory where you checked out the code to.
other errors are cos .deb didn't build due to above!
at least I think this is the case!
Had a go but it ended like this:
/target/klone-core-2.3.0/libu/include -c utils.c -o utils.o
gcc -pipe -I../include -I/home/pi/portable/userapps/hah/klone/klone-2.3.0/build/target/klone-core-2.3.0 -I/home/pi/portable/userapps/hah/klone/klone-2.3.0/build/target/klone-core-2.3.0/libu/include -c tcurl.c -o tcurl.o
In file included from tcurl.c:16:0:
../include/tcurl.h:13:23: fatal error: curl/curl.h: No such file or directory
compilation terminated.
make[5]: *** [tcurl.o] Error 1
make[5]: Leaving directory `/home/pi/portable/userapps/hah/klone/liblivebox'
make[4]: *** [/home/pi/portable/userapps/hah/klone/liblivebox] Error 2
make[4]: Leaving directory `/home/pi/portable/userapps/hah/klone/klone-2.3.0'
make[3]: *** [.real-subdirs] Error 2
make[3]: Leaving directory `/home/pi/portable/userapps/hah/klone/klone-2.3.0'
make[2]: *** [target-options-default] Error 1
make[2]: Leaving directory `/home/pi/portable/userapps/hah/klone/klone-2.3.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pi/portable/userapps/hah/klone'
make: *** [install] Error 2
Now I'm stuck :-(
Sounds like you have an issue with curl install.
what happens if you try
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install build-essential libxml2-dev libcurl4-openssl-dev flex
Thanks Garry, I failed to follow that vital instruction in the wiki. All sorted, compiled and running.
You can still obtain a Beta version here ;-)
http://www.ebay.co.uk/itm/Raspberry-Pi-Model-B-beta-board-02-limited-series-10-/180786868461?pt=LH_DefaultDomain_3&hash=item2a17bcb0ed
Providing you don't mid spending a few thousand! - cant wait for production units to be made available.
Petition signed.
David