Google has made the decision to shutdown code hosting, which is where the HAH project source currently live.
http://google-opensource.blogspot.com.au/2015/03/farewell-to-google-cod…
Due to this I've migrated all the branches over to https://github.com/dbzoo
Member for
13 years 11 monthsThanks Brett, I was only
Thanks Brett,
I was only using the SVN repo last night thinking this is all very good, little did i realise it was for the chop due to abuse!
All seems updated, can i ask are you patching the portable rather than updating the major revisions?
my BB is showing 313 not 317... just checking as the mqqt libs appear to be present as is the mqqt-xap gateway
Andrew
Member for
16 years 10 monthsAndrew,I actually work on the
Andrew,
I actually work on the portable distribution more than the trunk these days. Once something is working on portable I backport it to the trunk.
The version number the portable distribution is never bumped as this is never distributed as a .rpm/.deb package so there is no stable release, its an ever moving baseline depending on when the source was checked out by the likes of yourselves. I'm not sure what the 'build' number really means in this context.
To make you happy I've bumped the portable build number to 317.
Rest assured thou the portable branch is as up to date as the trunk.
I've added a section on how to keep your portable distro up to date:
http://www.dbzoo.com/livebox/portable?&#keeping_up_to_date
Member for
14 years 6 monthsPI
Hi
I have been building up a PI and did an upgrade using GITHUB. Somewhere in the process of doing this, adding samba, adding ftp etc, not sure which.. I get ?err? all over the GUI screens. I don't know what this means. Strangely plugboard lua scripts are working.
John
Member for
16 years 10 monthsThe xap-livebox processes has
The xap-livebox processes has an internal web server that listens on port 79, I do this so that the kloned web front end can query it for the status of relays etc.. The alternative was to have kloned issue a BSC query and wait for a response which seemed messy so I took a shortcut and had it directly query the process itself.
If a query cannot be made kloned will serve up ?Err?
Which means that you probably don't have xap-livebox running or something else was stealing port 79 stopping the process from starting up.
FYI: Here in the code is where xap-livebox is setup to listen as a webserver
https://github.com/dbzoo/hah/blob/trunk/userapps/hah/xap-livebox/livebo…
Member for
14 years 6 monthsA bit lost
sudo lsof -i :79 shows nothing
I thought I would do another update to have a clean install.
Member for
16 years 10 monthsJohn,You have nothing running
John,
You have nothing running as your "logged in user" that is correct. The xAP processes run as the "root" user.
The xap-livebox process is not started up by default in the portable distribution. Which makes sense as you need to do some additional wiring to get the livebox additional hardware connected. Something I've not personally done but other have.
In anycase xap-livebox process is not needed unless you have the external hardware attached.
Perhaps gets yourself as the root user and poke about as root things will become more clear.
$ sudo su -
# ps x
Brett
Member for
14 years 6 monthsBrettI am in the process of
Brett
I am in the process of adding the hardware and testing it. I will need the xap-livebox to start automatically. How do I do that. My first portable build was OK and only when I updated yesterday did it stop.
thanks
John
PS I realize that this post should be in the RaspPI 2 thread.
Member for
15 years 7 monthsJohn the changes to the
John
the changes to the /etc/init.d/xap file we talked about will start livebox. Or should do.
Type ps aux to see all running processes.
Garry
Member for
14 years 6 monthsGarryI checked that, it looks
Garry
I checked that, it looks OK
subsystem="hub xively livebox iserver web sms serial currentcost twitter googlecal plugboard urfrx mail"
Also ps aux does not show anything recognisable as HAH stuff.
Just when I was slowly getting to grips with Livebox I am now tearing my hair out with this PI.
I seem to be battling with everything. I have no jeenode connectivity. Tried microcom -s 57600 /dev/ttyUSB0, not available, so downloaded it. It then says: cannot open device /dev/ttyS0
Should I surrender and buy another Livebox?
John
Member for
17 yearsNew-fangled stuff
>Should I surrender and buy another Livebox?
Absolutely! It's not a 'surrender'.
The Livebox is the 'original' platform for the HAH. Most all of the writeup is Livebox based. My Livebox setup is sooo very solid in operation. A year of uptime isn't unusual.
The Pi does have a bit more resource and is rather trendy but it doesn't:
Come with a PSU.
Come with a case.
Cost less than GBP 10, delivered.
Looking on eBay right now, you could buy a Livebox and have it for GBP8.99 including delivery.
Horses for courses.
Derek.
Member for
14 years 6 monthsDerek there's a lot of merit
Derek there's a lot of merit in what you say but I am looking for additional functionality. I want to host my own web site on it and also use it for off site data backup. Another plus is having all the intelligence on a memory card which can be backed up and simply plugged into another PI in the event of failure. (I have 3 PIs)
John
Member for
16 years 10 monthsxap-livebox on the pi
John,
In you /etc/xap.d/xap-livebox.ini file you need to have at least these settings:
[livebox]
enable=1
port=/dev/ttyxxx
initserial=+++
You'll need to figure out what the TTY port is you are using on your PI.
Gary what do you use here? I know /dev/ttyO0 is the console on the PI.
Brett
Member for
15 years 7 monthsI use ttyAMA0 of the gpio
I use ttyAMA0 of the gpio header. You need to disable console access and startup info as per
http://www.hobbytronics.co.uk/raspberry-pi-serial-port
Garry