News and announcements

Description

For news and announcements to the HAH community at large.

Whats new in release 305

  • issue 39 - 1wire devices can now be setup with a calibration (offset) and hysteresis.   This allows you to adjust the reading from each device to allow for variances in their readings.  The hysteresis is used to prevent jitter from the devices triggering an event message.  The offset may be positive or negative.  The hyteresis is a postive.  Both values are floating point.
  • issue 40 - Four additional API's where added to the BSC LUA module.  These are used to emit xAPBSC.cmd messages.
    See http://www.dbzoo.com/livebox/hah_plugboard_v2?&#bsc_command_helper_func… for details.
  • issue 38 - Kloned configuration externalized (if required).   A sample configuration file is supplied in /etc_ro_fs if this is copied to /etc it will be honoured on startup.  This allows you to adjust the webservers port, create new web redirect aliases and other things.

Sample usage:

# cp /etc_ro_fs/kloned.conf /etc
# vi /etc/kloned.conf

Brett

Whilst wandering around B&Q earlier today, I noticed a new display stand branded 'Siemens'. Lots of nice looking RF switches, bulbs and so on. Details of the range at lightwaverf.com

Anyway, I went crazy & bought one of their dimmable CFL bulbs, together with a little remote control. http://www.responseelectronics.com/LighwaveRF-Connect-Lighting-Home-Automation-Dimmable-CFR-20W-BC-Credit-Remote.html - it cost £19 at B&Q.

A quick poke around with the old 'scope and the HAH is now able to switch this one on and off via URF.

Haven't tried dimming yet, but it doesn't seem to support the notion of going to a specific, 'pre-programmed' brightness level (at least not with the supplied remote handset), so probably of limited use anyway - but more investigation is underway.

Note that I've not actually done enough to understand the various parts of the (rather lengthy) bitstream... just replicated on/off for a single device. If I get to buying a LightwaveRF remote that has more buttons, a more complete support will become possible.

I've added details to the URF section of the wiki. http://www.dbzoo.com/livebox/universalrf?&#lightwaverf_dimmable_cfl_bulb

Cheers,
Derek.

Whats in this release

  • Fixed a major issue with the EDF currentcost -if you use an EDF meter you must UPGRADE to this release for it to work.
  • issue 37 - multiple relays and RF devices selected on the web gui not begin actioned.  This actually uncovered another nasty issue, if you drive the RF devices from LUA and try to switch >2 at the same time, everything after the 1st would not fire.  To solve this, and the WEB GUI issue, a timeout has been introduced to delay another RF event happening until the AVR has had time to transmit the RF signal.  On the web gui you will see a new setting to configure this delay, by default its 500ms, note if you make this too small things will stop working.   I've not tested what the threshold is but I'm sure somebody will  :)

Many thanks to Karl for his assistance with Issue 37 and to Martyn and Alex for the EDF currentcost feedback.

Brett

Whats Changed

  • Support for the EDF current cost monitor
  • issue 31 - Graph web page did not handle multiple feeds
  • issue 32 - Plugboard not instance aware
  • issue 33 - bscmsg not instance aware
  • issue 36 - Support ID=0 when using xap-pachube as a service
  • Note on instance web page about unique MAC addresses
  • LUA frame:getValue() api call should be case agnostic

Thanks goes out to Karl for his code contributions to this release.

Brett

My system is Build: 302/1.0

I noticed a new update available the other day, so updated my system before looking to find out what it was for.

Too trigger happy at the moment I guess.

 

Since then I've had problems.  All my settings were lost(backup was available).  I reloaded them but found Pachube settings needed reloading again.  This done, my feeds are still not loading.  I've since tried to update keys etc none of which has worked.

 

While doing some of this, the settings on the system were all lost again.

Anyone else having trouble?

1 Defect fixed and 2 enhancements.

  • issue 29 Defect - Restore was not working with IE and Chrome browsers
  • issue 28 Enhancement - Support for multiple pachube feeds
  • issue 16 Enhancement- Support for max, min, and units on the pachube feed

Merry Christmas.

This embeds xAPFlash into the HAH and onto its web gui.

The configuration file, just like you have on your joggler is loaded from /etc/www

The flash default files are stored in /usr/share/flash and are accessible directly using the /flash alias on your browser.  So for example  http://a.b.c.d/flash/xAPFlash.swf will load the SWF application by-passing the HAH wrappers for direct access.

The URI /live maps to the filesystem location /etc/www this is where you can put your custom configuration and additional graphics assets.   This maps to the URI  http://a.b.c.d/live/

On the Admin/Webserver page you can default the startup page to HTML or FLASH.

This is very prelim but I hope you guys can figure it out.

Brett

The following have changed in this release

  • Fixed a bug where-by the HAH would corrupt /etc/resolv.conf when using a static IP
  • Upgrade busybox from 1.12.1 -> 1.14.4
  • Widen web gui
  • Added the "blue" theme.   Admin>Management tab
  • LCD display NTP sync on startup
  • Added webserver 404 handler
  • dropbear auto gen SSH private keys (security issue)
  • Added RoomNodeTwin decoder for 2x 1wire on a HAHNODE
  • xap-hbeat.stop on process termination
  • Deprecated pure-ftpd and replaced with a ftpd from busybox
  • Trimmed unused kernel modules
  • Correct xap-heat pid key to be xAP spec compliant. pid=<IP>:<PID>
  • ability to limit the channels for current cost sensors.  (INI adjustable only)

Note: using INSMOD now requires a FULL path to the module you want to load.

Brett

Added web based Backup/Restore capabilty for the following files/directories

  • /etc/plugboard
  • /etc/xap-livebox.ini
  • /etc/crontabs
  • /etc/TZ (if present)

There you go Dean I can cross that one of your wish list  :)

Brett