bad inferno wrote:
> 
> Now I think I can combine just the vertical scale (shaded area) and write
> directly onto the image with the alarm limits that are set.  That way
> alarm limits can be dynamically set and displayed which is really cool  (I
> email on high / low alarm from a script).
> 

@bad inferno:
Using sample html and javascript from the internet and a little rewriting I
managed to build my own webpages showing about what you are talking about.
Difference is that I did it using iFrames on top of the RRD-graphic using
transparency. Use a transparent background (e.g. your scale) and 'write'
text on top of it. The needed html-lines for the iFrame are created with
echo-statements from a bash-script. This script also takes care of the
reload of the data to the frame after an alteration of the min/max-limits.
So this takes care of real-time updating. When the limits are crossed a
small alarmbell will show on top of the graphic and the text IN the rrd-png
will change!! Also an email will be sent with a maximum of one per hour. So
I needed no additional tools or packages. The greatest addition (I think) is
a transparent night-period showing (again) on top of the RRD-png moving in
time. This is done by writing position-parameters to a CSS-file. The
limit-setting box uses cgi and a bash-script again rewriting the iFrame with
echo-statements so you can include variables for displaying the new or
editted temp-settings.

(Not sure if this picture is going to show....)

http://www.nabble.com/file/p12486135/AquaPjoeter.jpg 

http://www.venividivissie.org/album_pic.php?pic_id=15760 <<Picture
hyperlink>> 

The 'box' is an ASUS-router WL500gP with OpenWRT and a little 1Wire
hardware. Now working on a LCD-display and pH-amplifier.
-- 
View this message in context: 
http://www.nabble.com/Error-trap-works-great-on-NSLU2-with-owfs-tf4305299.html#a12486135
Sent from the OWFS - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to