This release has been >2 months in the making since release 252. There are some major new capabilities that will support additional hardware add-ons.
Upgrading:
Make a backup of your /etc/xap-livebox.ini file, preferably not on the HAH itself.
Run /etc/init.d/update
The HAH platform has historically relied upon existing code that parsed xAP messages. Some of this wasn’t optimal. Release 253 has replaced almost ALL of this legacy code. The new infrastructure is known as ‘xaplib2’.
This new xaplib2 library, although invisible to users, greatly enhances the stability and maintenance of the HAH system. Applications that use this library have a faster xAP parser and a smaller memory footprint than those using the original xaplib. They also take up less flash space due to higher shared library reuse. Debug capability has also been greatly improved.
These programs were all rewritten to use xaplib2, in addition to the noted enhancements:
- xap-snoop - Added message filtering support and new command line options.
- xap-serial (NEW) - Allows easy integration with any serial device.
- xap-currentcost - Full xAPBSC support, Current Cost generation 1 support, external sensor support; IAM’s and standalone development boards. Endpoint UID stabilisation. Command line option for setting the model when ran manually.
- xap-googlecal - Added “where=” to the schema to allow events to be scheduled that trigger other events. Errors emitted as xAP messages. Sanity check the system clock on authentication error for SSL problem. INI file password frob (note: this is not ‘encryption’).
- xap-pachube - Support for logging non xAPBSC events.
- xap-hub - Faster, smaller, a heartbeat, host IP encoded into its endpoint name making the HAH easier to find.
- xap-sms - Errors emitted as xAP messages.
- xap-twitter - Now supports the new OAuth authentication model
- xap-livebox - Endpoint UID stabilisation.
Programs still using the old xaplib:
- xap-plugboard - Modified to honour single HAH instance setting
- xap-bridge - Modified to honour single HAH instance setting
These will be uplifted in the next release.
Web changes
- new Automation>Assists tab to start xap-sms, xap-serial and xap-plugboard
- new Admin>Instance tab to make multiple HAH systems easier to setup.
- Option to disable the login page for networks that don’t require it.
- Pachube GUI page changes to support non xAPBSC events.
- Title change to Home Automation Hub
Numerous bug fixes and stability improvements.
Due to a change in the way in which the Ethernet bridge is setup, after flashing, your HAH will acquire a new IP address so don’t be alarmed if you can’t find it. Use xFxViewer to see its IP is emitted by the xap-hub component.
To upgrade your .INI file to handle the new Pachube format perform the following.
/etc/init.d/xap stop
/etc_ro_fs/upgrade
/etc/init.d/xap start