Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Apolgies if this is the wrong forum, bit I have scoured the internet and cannot find another forum that deals with steelseries canvas gauges?
If it is the wrong forum can anyone suggest a place I can ask this question.
I am trying to turn on or make it blink the used led, I am using javascript (I am not using Sandysoft software) as this is actually going to be used in monitoring my temperatures in my home via javascript. Here is my attemp so far, any ideas would be welcome as I have spent many hours trying to find the answer in steelseries.js
OK - all the above is working for me - but how do I remove the userLed - for instance with the Temp gauge - show the userLED when the temp gauge is in "out" mode - but I would like to remove it when the"in" button is clicked - as the trend indicator is removed in "in" mode and appears in "out" mode. So far I am able to show(initialize), turn on/off, blink on/off, and set the color - but not able to "un-show".
Not at present no, the visibility of both the threshold and user LEDs are set at initialisation, there are no public methods for toggling the visibility. It would be trivial to add this functionality though.
Maybe I'll sneak it in to the next release along with rising/falling thresholds.
Not at present no, the visibility of both the threshold and user LEDs are set at initialisation, there are no public methods for toggling the visibility. It would be trivial to add this functionality though.
Well that makes me feel a lot better - no wonder I couldn't figure out hoe to do it. Looking forward down the road to the next release!
Yes, indeed, works like a charm - although right now there is nothing in range to fire off setUserLedVisible(T/F) - so you have to take my word for it. I use it in both the "Temp" and "Hum" gauges. Can we expect this to be added to the next Steelseries Cumulus release?
I will most likely also use this in the "Wind" gauge.
I haven't made the leap to Cumulus as of yet but I am trying to figure out the SteelSeries gauges. I'm tearing apart every script I can find and found this forum. Here's the code I have right now and it simply won"t turn on the user LED. I'm sure it's my code but for the life of me I can't figure it out. Very new to HTML and JavaScript so I'll be looking for information next on conditional statements in JavaScript. I'm sure I'll be able to figure it out from looking at other code as that's pretty much how I'm learning C++. Any help on getting the trend indicator working would be appreciated as well....
Code follows...
<head>
<title>Pool Guages</title>
</head>
<body onload=init()>
<table><tbody><tr><td width="100%">
<canvas id=clockCanvas width=200 height=300>No canvas in your browser...sorry...</canvas>
<canvas id=powerCanvas width=200 height=300></canvas>
<canvas id=tempCanvas width=200 height=300></canvas>
<canvas id=diffCanvas width=200 height=300></canvas>
</td></tr></tbody></table>
</body>
<!-- http://emoncms.org/feed/value.json?id=8387 -->
<script>
function init()
{
// Initialzing gauges
// First the outside temp gauge
// Start the gauge update
(function showIt(){
var saveit;
var site =
"http://api.pachube.com/v2/feeds/1098239238.json?&key=GtGuoMKJSqv2tzqGvWaITLhlEDUxrYXSixqPSmlyj-s&&datastreams=0,2,5";
//alert('going for ' + site);
$.ajax({
type: 'GET',
url: site,
dataType: 'json',
cache: false,
data: {},
processData: true,
async: false, // you have to have this so the data will arrive before display
success: function(data_archive) {
//alert("the url returned success");
//alert("got back " + data_archive.datastreams[0].current_value);
outsideGauge.setValueAnimated(eval(saveit=data_archive.datastreams[0].current_value));
pooltempGauge.setValueAnimated(eval(data_archive.datastreams[1].current_value));
differentialGauge.setValueAnimated(eval(data_archive.datastreams[2].current_value));
Right now it's only running on my local PC. I can post the HTML that calls it though. The code posted above runs on it's own on my machine but may not anywhere else. I'll post the bit of code that displays it. It's not very much....
Well, that's what I get for trying to do things when I'm tired. I managed to get the LED to turn on, off and blink. Now I'm trying to figure out how to (if possible) change the LED color on the fly...