Other

Description

Other questions about the HAH platform

Forums

A simple question, and no doubt an obvious answer will be provided but........

Is it possible to change the webserver port on the HAH from default 80 to another port and if so how?

Thanks in advance

Forums

Hi All

Is it possible to implement something like:-

"<source>if dbzoo.livebox.CurrentCost:ch.1 <138 then 0 else dbzoo.livebox.CurrentCost:ch.1 end</source>"

within the xapconfig.xml file....or can you point me at a good xml primer?

 

Wrap up warm, there's a chill wind blowin'

 

EJ

Forums

Hi all

I want to investigate modifying the sketches on the Jeenode. Can someone point me at a programmer that I need? or can I user the HAH built in programming feature?

My goal is to attempt to make my own simple weather station and ultimately to also control greenhouse watering.

Many thanks

Forums

I was thinking about the problem of having the HAH system and multiple jogglers and keeping their configuration all in sync and I have a solution.

The HAH system will contain the configuration file for the joggler as it already has a webserver so it makes this process easier.   The URL http://x.x.x.x/live maps to the location /etc/www on the HAH.

A Joggler will would to be configured like this (not tested btw) assuming the 192.168.1.138 is the HAH system.

config.xml

<joggler>
   <version>0.5</version>
   <name>Joggler</version>
   <usejogglerapi>auto</userjogglerapi>
   <configfilelocation>http://192.168.1.138/live/</configfilelocation&gt;
   <configfile>xapconfig.xml</configfile>
   <iserver>
    <port>9996</port>
    <ip>192.168.1.138</ip>
    <password>xxx</password>
   </iserver>
</joggler>

As I have no way of testing this I'd be interested how others get on, it should work.

Brett

Forums

Would anyone be interested in a graph like the one below built into the gui interface.  It would allow you to select different Pachube feeds and datastreams to be displayed as a single graph.

Pachube MultiGraph

 

I'm not a coder like Brett, so it wouldn't be done overnight, but if enough people think that they can make use of it I'll have a go.

Forums

I'm using the 302 firmware and seem to be having problems with the Pachube uploads freezing. Checking the device this evening it froze earlier today.

Looking at the /var/log/xap-pachube.log -

 

# cat xap-pachube.log
Pachube Connector for xAP v12
Copyright (C) DBzoo 2009-2010
[err][pachulib.c:137:connect_server] errno 145 (Connection timed out)
[err][pachulib.c:137:connect_server] Err!! connect
[err][pachulib.c:137:connect_server] errno 145 (Connection timed out)
[err][pachulib.c:137:connect_server] Err!! connect
[err][pachulib.c:137:connect_server] errno 145 (Connection timed out)
[err][pachulib.c:137:connect_server] Err!! connect
[err][pachulib.c:185:read_data] errno 131 (Connection reset by peer)
[err][pachulib.c:1#

 

# ps
  PID USER       VSZ STAT COMMAND
    1 root      1796 S    init
    2 root         0 SW   [keventd]
    3 root         0 RWN  [ksoftirqd_CPU0]
    4 root         0 SW   [kswapd]
    5 root         0 SW   [bdflush]
    6 root         0 SW   [kupdated]
    7 root         0 SW   [mtdblockd]
    8 root         0 SW   [khubd]
   34 root         0 SWN  [jffs2_gcd_mtd2]
  111 root      1668 S    dropbear -p 22
  133 root      1028 S    /usr/bin/xap-hub -i br0
  137 root      1068 S    /usr/bin/xap-livebox -s /dev/ttyS0 -i br0
  144 root      1044 S    /usr/bin/xap-serial -i br0
  146 root      4072 S    /usr/bin/kloned
  148 root      2616 S    /usr/bin/xap-currentcost -s /dev/ttyUSB0 -i br0
  152 root      4168 S    lua /etc_ro_fs/plugboard/plugboard.lua
  179 root      1080 S    /usr/bin/xap-pachube -i br0
  187 root      1740 S    dropbear -p 22
  188 root      1812 S    -ash
  193 root      1784 R    ps
#

I have other devices uploading data to Pachube and these continue to upload when Livebox has failed.

 

Has anyone else seen this problem?

Andy.

 

Forums

Hi troops...

I have to have at least two HAHHubs on my LAN (topology issues) each connected to its own CC EnviR, posting to its own Pachube feed.... my problem is data interference/masking...

On Hub01 I have 4 CC ID's (1-2-3-4) posting to Feed nnnn01 as pachube ID's 1-2-3-4 with Tags P0101, P0102, P0103 and P0104...Instance = default

On Hub02 I have 4 CC ID's (1-2-3-4) posting to Feed nnnn02 as pachube ID's 1-2-3-4 with Tags P0201, P0202, P0203 and P0204...Instance = HAH02 (with UID's starting at 00E3 going to 00EE)..

When I view the pachube feeds nnnn01 is all correct....BUT nnnn02 has the correct Tags, but is displaying Hub01's data...

What've I missed?

Hope you can help....EJ

Forums

I had a xap-livebox.ini corruption and had to reset everything.

It seems that Pachube have updated their keys model and I had to generate a new one.

The thing is - it doesnt seem to be pasting all of the key into the text box on the webgui - is the new key too long?

My key is now approx 128 characters long.

My feed 10591 is now frozen.

Is this a bug?

Forums

Just a quick post to record that if you use the 'Instance' feature (ie Admin tab, Instance field is not blank) and you use the default xAPFlash setup as supplied, then you will need to edit the xAPFlash.xml to replace

dbzoo.livebox.controller

with (assuming your 'Instance' is 1)

dbzoo.livebox.1.controller

 

In addition, probably obviously to Linux wiz's, link to the xAPFlash screen without the HAH wrapper is case sensitive:-

eg http://192.168.253.5/flash/xAPFlash.swf

kevint