monitor not working on NAS

Asked by Christian Joistgen

hello to all lwz and thz owners and users of the great sw,

I get the sw worked on my ubuntu and on my windows also.
Now I want to run it on my NAS. Its a Netgear with a sparc debian distribution.

I found a python 2.6 package for installing on the nas and also all other packages so far. With some probs I giot all packages working. First with the protocol.py I get no connection with the pump.

But starting the heatpumpmonitor.py the log says:

Starting ...
Heatpump reports Version 4.09
Using protocol definition from milamber (based on 4.38 Robert Penz <email address hidden> and 2.06 Beier Andreas) (v0.1 Created for LWZ 303i V4.09 (iPod control) - 57600 Baud)
Up and running
rrdtool graph /var/www/graphs/fans_week_small.png --start 1321391554 --end 1321996354 --step 300 --title "Fans" --vertical-label percent --width 400 --height 100 --color ARROW#FFFFFF --color AXIS#FFFFFF --color BACK#333333 --color CANVAS#333333 --color FONT#FFFFFF --color FRAME#AAAAAA --color MGRID#CCCCCC --color SHADEA#000000 --color SHADEB#111111 --imgformat PNG DEF:vent_speed_set=/var/lib/heatpumpMonitor/heatpumpMonitor.rrd:vent_speed_set:AVERAGE LINE:vent_speed_set#FF2802:"ventilator speed set" DEF:extr_speed_actual=/var/lib/heatpumpMonitor/heatpumpMonitor.rrd:extr_speed_actual:AVERAGE LINE:extr_speed_actual#D9FF02:"extractor speed actual" DEF:extr_speed_set=/var/lib/heatpumpMonitor/heatpumpMonitor.rrd:extr_speed_set:AVERAGE LINE:extr_speed_set#84FE19:"extractor speed set" DEF:vent_speed_actual=/var/lib/heatpumpMonitor/heatpumpMonitor.rrd:vent_speed_actual:AVERAGE LINE:vent_speed_actual#FFA902:"ventilator speed actual"
========= Tue Nov 22 22:12:34 2011 =========
ERROR: unknown function 'LINE'
---------
Traceback (most recent call last):
  File "heatpumpMonitor.py", line 103, in doMonitor
    r.render()
  File "/c/Secure/NASDevelop/heatpumpMonitor-0.5/render.py", line 218, in render
    g.write(debug=False)
  File "build/bdist.linux-padre/egg/pyrrd/graph.py", line 851, in write
    self.backend.graph(*data)
  File "build/bdist.linux-padre/egg/pyrrd/backend/external.py", line 242, in graph
    _cmd('graph', parameters)
  File "build/bdist.linux-padre/egg/pyrrd/backend/external.py", line 21, in _cmd
    raise ExternalCommandError(stderr.strip())
ExternalCommandError: ERROR: unknown function 'LINE'

=========

So the pump reports the right version, but it doesnt work further.
i think the problem is located at the rrdtool, i have only get the v 1.0.49 working. I cannot compile the newer version.

Thanks

Chris

Question information

Language:
English Edit question
Status:
Solved
For:
heatpumpMonitor Edit question
Assignee:
No assignee Edit question
Solved by:
Christian Joistgen
Solved:
Last query:
Last reply:
Revision history for this message
Robert Penz (robert-penz-name) said :
#1

sounds like your rrdtool is too old. which version do you have installed? My oldest install has 1.2.19 running.

Revision history for this message
Robert Penz (robert-penz-name) said :
#2

ah didn't read that you wrote 1.0.49 already. The problem is that I don't call rrdtool directly but with a library so you should talk with the author of that library if he is willing to make it also work with an old version.

Revision history for this message
Christian Joistgen (christian-joistgen) said :
#3

hello robert,

after many hours of testing and trying its working now.
i compiled the 1.2.19 on my nas!

thank you for your help!

other question:
is there a possibility to read out the values like runtime, power consumption etc and put it in a csv file?