Custom Web Chart

Related to the Portal

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Feb 20, 2012 2:36 pm
For those that use custom fields or any other field that is not plotted by the standard web chart, here is an alternative of seeing the web chart for a particular field:

status/chart.aspx?id=reefangel&filter=rfw

Reef_Angel_Web_Chart_RFW.png
Reef_Angel_Web_Chart_RFW.png (90.9 KiB) Viewed 4464 times


The example above is my Ecotech Radion White channel using the new PWMParabola() function.

Only two parameters are needed:
id - Your forum id
filter - The filter can be anything in this list:
viewtopic.php?p=5957#p5957
Roberto.

Posts: 154
Joined: Sat Aug 04, 2012 4:22 am
PostPosted: Tue Nov 27, 2012 2:05 am
Hi Roberto,

I have tried to access thie first link for the custom web chart but doesn't work - I want to chart my water level expansion.

Can you,help?

Posts: 154
Joined: Sat Aug 04, 2012 4:22 am
PostPosted: Tue Nov 27, 2012 2:18 am
Ignore me, just realised I need to add my ID and parameter-all sorted now!
User avatar
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis
PostPosted: Mon Mar 04, 2013 5:02 pm
How do I filter this for a relay status? status/chart.aspx?id=jsclownfish&filter=XXX

I finally got around to connecting my homemade lightsensors to the IO unit (http://forum.reefangel.com/status/chart.aspx?id=jsclownfish&filter=C0 or C1 for right and left side of the tank ) and I wanted to look at them overlayed with the actual relay units that control the lights.

They seem to work pretty well for a confirmation that the bulbs are working OK. :geek:


Thanks,
Jon

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Mar 04, 2013 5:11 pm
:( can't.
The filter is for the entire 8 relays.
You need to do the math or use something like the relay activity chart.
Roberto.
User avatar
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis
PostPosted: Mon Mar 04, 2013 5:52 pm
ahhh, OK. I couldn't figure it out. I guess the json data then represents day, time, and relay status. One of these days I'm going to have to learn about bit math. :?

Jon

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Mar 04, 2013 6:52 pm
But, as an alternative, you could use one of the custom variables to report the status for a particular relay.
Would that work?
Roberto.
User avatar
Posts: 378
Joined: Mon Oct 24, 2011 7:52 pm
Location: Saint Louis
PostPosted: Mon Mar 04, 2013 7:16 pm
That's a good alternative. It's not really critical or anything, I was just curious how the graph would look lining up the light relays with the light sensors.
User avatar
Posts: 20
Joined: Sun Mar 10, 2013 12:22 am
PostPosted: Thu Apr 11, 2013 3:26 pm
This is very useful - thanks.

The custom web chart seems to be picking up the wrong (someone else's?) series labels.

See the attached example for status/chart.aspx?id=arch&filter=T2

First image is custom web chart - with incorrect label "Canopy" - the second image is the Portal web chart with the correct label.

CustomWebChart.gif
CustomWebChart.gif (54.36 KiB) Viewed 3876 times

Portal.gif
Portal.gif (75.79 KiB) Viewed 3876 times


.

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Apr 11, 2013 3:44 pm
Yeap :)
Bug
Roberto.
Next

Return to Portal

Who is online

Users browsing this forum: No registered users and 2 guests

cron