View Full Version : AC web page; stuff easy to do ...
kenargo
01/02/2009, 11:17 PM
An earlier thread caused me to reinvestigate some public Internet services for hooking the AC controllers to web pages. As a result I have been doing some redesign on my page (take a look and see what you think).
The pages currently use no scripts that I have written and the reef status (at the top of each page) as well as the graphs of the tank status (on the graph page) are all generated for me by a tool here:
http://www.reefchat.org/Extras/SignatureGenerator/tabid/259/Default.aspx
It is free and very cool. I noticed that in addition they have added an XML doc that includes the status of your timers and I will be investigating how to use that XML to generate a live tank status for timers and such. Not being a web programmer I am sure I may not be doing the most streamline of implementation but so far no code has been required.
See what you think and feel free to borrow from my examples.
ciphros
01/02/2009, 11:59 PM
Checked the link, don't see how to add a signature. Am I missing something? Looked at your website too, but couldn't pull up the code for some reason, so not sure how you put the signature up in the corner of your page. I'm interested in doing this since work has shut down all but ports 80 and 8080, and clearwire won't allow access in via port 80, so having a webpage I can go to to check both tanks would be GREAT!
Just want to say, I really appreciate the work you do, and have just recently been back watching the forums, and have gotten excited by the developments you have been working on. Your simulator has been a great tool working through new additions to code (since I'm a ceramic engineer and am not that great with coding...know just enough to be dangerous).
itZme
01/03/2009, 12:11 AM
<a href=showthread.php?s=&postid=14067564#post14067564 target=_blank>Originally posted</a> by ciphros
Checked the link, don't see how to add a signature. Am I missing something?
It was a mystery to me also but I researched enough to find the answer. You can scroll to the bottom of the page of signatures and then click the green plus sign to create your own signature.
It looks pretty neat but I haven't taken the time to complete the signature info form yet.
Thanks for the info Ken. It is pretty neat!
-- Kevin
ciphros
01/03/2009, 12:20 AM
<a href=showthread.php?s=&postid=14067649#post14067649 target=_blank>Originally posted</a> by itZme
It was a mystery to me also but I researched enough to find the answer. You can scroll to the bottom of the page of signatures and then click the green plus sign to create your own signature.
-- Kevin
Nope, no green + for me. After Ken's signature, all I see is "42 rows" and that's it.
itZme
01/03/2009, 12:40 AM
It is there to the right of the "43 rows" after you sign in and then scroll. I just tried to complete mine but it won't allow enough characters for my password :(
Now I have to go downstairs and change the pass on the AC3 as well as on all my shorcuts on my laptops and cell phone's browsers.
ciphros
01/03/2009, 12:43 AM
Ah, I guess the problem is I need to sign in (and therefore, register). :p
Thanks.
fishnu
01/03/2009, 12:54 AM
registration required.
itZme
01/03/2009, 01:53 AM
EDIT: I think I am getting it figured out ... was having a brain fart.
fishnu
01/03/2009, 02:43 AM
http://www.rowelab.com/AquaController/rc_fishnu_sig.png
itZme
01/03/2009, 05:06 AM
Still couldn't get the other timers to show up like HT1, T51 etc... I keep getting the same arror as the last person on there where it says "can't substitute template file .. can't read "HT1" no such variable"
In my Status page HT1 and HT2 are both legit timer names.
http://img223.imageshack.us/img223/5304/statuswx0.jpg
fishnu
01/03/2009, 07:59 AM
Here is my configuration
Make sure you are using the Status page url.
http://i39.*******.com/35k6dqt.jpg
IP has been changed to protect the ...er...me.
StevieK
01/03/2009, 08:43 AM
looks interesting ... have yet to figure it out though
itZme
01/03/2009, 09:24 AM
Looks like what I already have. Check out mine...
I can see the HT1, HT2, FAN, T51 etc.. status on Ken's widget.
http://img90.imageshack.us/img90/9375/signaturenotwork6093958lr8.jpg
-- Kevin
fishnu
01/03/2009, 10:15 AM
I tried duplicating your problem and can't. I thought maybe the {} or the ----> was throwing things off but seem OK. Maybe reentering the text might help. Sorry.
kenargo
01/03/2009, 12:14 PM
In the parameter list you needs "{" at the beginning and a "}" at the end.
Ashlar
01/03/2009, 04:02 PM
Thanks for the plug, Ken. I'm the author of the app. I'll add some iconography and explanation about having to be registered / logged in as well as duplicating the 'add' link at the top.
For those experiencing problems, let me look at your settings and I'll pm you with suggestions.
slallen
01/03/2009, 04:06 PM
Sorry guys yes registration is required. It is needed so that we can separate all the user data.
XML out, even charts and graphs. Hope you enjoy! Let us know what you think.
slallen
01/03/2009, 04:10 PM
You may also want to take a look at this doc on how to set up.
http://www.reefchat.org/Extras/SignatureGenerator/SignatureGeneratorHelp/tabid/262/Default.aspx
kenargo
01/03/2009, 04:33 PM
I updated my page and I now have selective charts (see graphs page); it's turning out to be quite easy though I'm learning web programming as i go which is a challenge.
kenargo
01/03/2009, 04:34 PM
Next up; going to figure out how to use the XML out to have a status page with on/off indicators.
BillyBee
01/03/2009, 04:54 PM
Ken, that looks great.
fishnu
01/03/2009, 05:20 PM
Ken, I don't have an {or a } in my list but it still works...??
Anyway thanks all for the aplication, and I'll look forward to the next step!
John
<a href=showthread.php?s=&postid=14069992#post14069992 target=_blank>Originally posted</a> by kenargo
In the parameter list you needs "{" at the beginning and a "}" at the end.
ciphros
01/03/2009, 08:49 PM
Finally got it. One note, things are case sensitive, be sure Time Temp and pH are capitalized correctly.
itZme
01/03/2009, 09:23 PM
Thank you for figuring it out for me Ashlar. I have the perfect start page for my cell phone now. Whenever I open the browser I will get a quick update of my tanks.
In case you guys were wondering, the problem was me not adding the "cgi-bin/status.cgi" at the end of the URL. I guess I went through the whole help page several times and never saw that part.
Well here's a quick pic that shows the sig on my laptop, the cell phone and Ken's widget all there so I have the info I need at all times :)
http://img399.imageshack.us/img399/475/signature9349185xu9.jpg
Thanks to all who have worked on these applications. Your work is appreciated.
-- Kevin
kenargo
01/03/2009, 09:29 PM
Update; I fugured out how to read and parse out the XML files the site supplies. It includes some extra 'devices' that are not part of my controller (I have sent note to Ashlar about this) but you can see it is quite cool.
I was going to add this to my graph page but there appears to be an issue when running on real site. I need to investigate.
sfsuphysics
01/04/2009, 09:53 PM
Out of curiosity is it possible for this to work without divulging my admin/password? Since it seems the information is blocked unless I put that data in.
kenargo
01/04/2009, 10:08 PM
You should only need your username but there is an issue working with the XML file as it is blocked by brower security settings as a cross-domain call.
Take a look at the source for my webpages and you can see some examples of what I have working.
Ashlar
01/05/2009, 08:17 AM
If you have AquaNotes, I can use the guest account, but for an AC3/pro I need the u/p.
kenargo
01/05/2009, 10:50 AM
What are you wanting to do? Much of the later part of this thread has been about the services of reefchat.org and the free status readers they expose. It sounds like you are wanting to do different things using different environment.
Conesus_Kid
01/05/2009, 11:26 AM
This looks terrific!
Is the sig file hosted by the reefchat.org site, or are you able to host it on your own webserver?
kenargo
01/05/2009, 12:14 PM
ReefChat creates the image (for the sig) and I just placed an 'img' tag in the header of my website. For the graphs ReefChat generates the image of the graphs and I did the same except I added a comboBox which changes the image src (and thereby changes the graph).
Under the graph you will see a link to a work-in-progress which displays status and state for each timer. This was a bit more challenging as it comes from information from an XML file which is stored on ReefChat and is blocked by browsers as a cross-domain content so I broke down and purchased a hosting service so I could run PHP scripts to get the XML, allowing the webpage to process it.
buck50bmg
01/06/2009, 07:20 AM
I cant figure this out.
Here is my sig
http://www.rowelab.com/AquaController/rc_buck50bmg_sig.png
What do you type for the template? I did Time----> $Time
buck50bmg
01/06/2009, 08:27 AM
Ok now I just cant get DO and Cond to display. Any ideas?
Ashlar
01/06/2009, 08:43 AM
Buck, I had to make a change to the script to handle your TmpB, etc.. you should be fine now :)
I wondered where all the people came from on the signature forum. I noticed that after Ken brought his signature back online a bunch of new ones popped up. I have been using them for a while.
Wish there was a way to post them here in your signature but I guess they need to upgrade software for that.
http://www.rowelab.com/AquaController/rc_Otty_sig.png
kenargo
01/06/2009, 03:53 PM
ReefCentral used to allow sigs to include the images but they turned them off for perf reasons.
buck50bmg
01/06/2009, 06:17 PM
OK, anyone know how to add the sig in iWeb?
kenargo
01/06/2009, 07:36 PM
Sorry to sound out of it but; what is iWeb?
buck50bmg
01/06/2009, 08:12 PM
iWeb is Apples version of Frontpage.
kenargo
01/06/2009, 08:45 PM
Ah, do they have an equal to the image tag?
This is what it looks like in html (for my sig); I would think you just add the same tag.
<img alt="" src="http://www.rowelab.com/AquaController/rc_kenargo_sig.png" />
VivaBorg
01/09/2009, 09:57 PM
FYI there is a new Iphone app, Aquanotes. Its a free download.
I run an RKE and Im jealous, I wish they had something like this for the Iphone.
Conesus_Kid
01/11/2009, 04:12 PM
How did you post the sig in RC? I tried the web link w/ IMG tags but it didn't work.
http://www.rowelab.com/AquaController/sig.php?n=Conesus_Kid
Conesus_Kid
01/11/2009, 06:21 PM
<img border="0" src="http://www.rowelab.com/AquaController/sig.php?n=Conesus_Kid">
RussM
01/11/2009, 06:26 PM
<a href=showthread.php?s=&postid=14120383#post14120383 target=_blank>Originally posted</a> by VivaBorg
FYI there is a new Iphone app, Aquanotes. Its a free download.
I run an RKE and Im jealous, I wish they had something like this for the Iphone.
I've seen the RKE NET module in action (a friend is an official beta tester); there are some features (even in the pre-release firmware) that will make it quite easy for people to write web pages, widgets/gadgets, and smartphone apps to display RKE data. I have no doubt that there will be all kinds of geeky stuff out within a couple of months of the NET becoming available to the public.
buck50bmg
01/11/2009, 06:27 PM
<a href=showthread.php?s=&postid=14133083#post14133083 target=_blank>Originally posted</a> by RussM
I've seen the RKE NET module in action (a friend is an official beta tester); there are some features (even in the pre-release firmware) that will make it quite easy for people to write web pages, widgets/gadgets, and smartphone apps to display RKE data. I have no doubt that there will be all kinds of geeky stuff out within a couple of months of the NET becoming available to the public.
I thought this was a Neptune forum???;)
jnarowe
01/11/2009, 06:28 PM
hmmm...trying to emulate this but I am not sure what web address they are asking for. Is that supposed toi be an address of my AC unit?
Conesus_Kid
01/11/2009, 06:30 PM
<a href=showthread.php?s=&postid=14133099#post14133099 target=_blank>Originally posted</a> by jnarowe
hmmm...trying to emulate this but I am not sure what web address they are asking for. Is that supposed toi be an address of my AC unit?
The reefchat sig generator? You want to get a dyndns or no-ip address that points to your controller IP.
jnarowe
01/11/2009, 06:35 PM
OK...more work...but I have been meaning to do this for a LONG time. Thanks for the quick response, and another thanks to Kenargo for his tireless efforts here in the Neptune forum!
intenseimage
02/02/2009, 08:40 AM
I have this working but something is confusing me.
In my parameter list I have: {Time Temp pH}
Then in the template I have a line:
Return: $RET MP40w: $VOR
I dont have those listed in the parameter list but they still work. What is the purpose of the parmeter list then?
kenargo
02/02/2009, 03:17 PM
There is a forum just for the SIG here:
http://www.reefchat.org/Extras/SignatureGenerator/tabid/259/Default.aspx
As I understand it the param list is to tell the parser what to parse out but maybe it is no longer needed. You might want to ask the SIG forum.
The Saltman
03/10/2009, 01:30 AM
I'm having problems trying to create a sig and get this error message
Not Found
The requested URL /AquaController/James43420.xml was not found on this server.
What should I do?
kenargo
03/10/2009, 08:46 AM
I am unsure what the URL you indicate above is from; the SIG takes a URL for your AC3 (see SIG instructions for examples). Where are you entering the URL above?
The Saltman
03/10/2009, 10:56 AM
I have followed the instructions on setting up a sig and I still get nothing.
The Saltman
03/10/2009, 11:03 AM
On the signature page it still just shows a dot. I don't even get an error message. I'm entering the url of the static ip address I signed up for. I have a router but already have port 80 setup because I access the controller via the web. Is there maybe another router setting that is causing this?
ciphros
03/10/2009, 11:40 AM
If you follow the link for your static IP of the AC3, can you get logged into it? If so, then the problem is with how you have things configured to get the data to the Sig. If not, then the Sig generator can't log into your controller, and thus, can't get the data.
Let us know what the status is on you physically entering the controller from the web from outside your home network, and we can troubleshoot from there.
The Saltman
03/11/2009, 08:59 PM
I got a static ip from dyndns. I think I'm having trouble with the url. I setup a host name. In the template page for the url I entered my host name along with "cgi-bin/status.cgi" at the end of it and I still get an error that it cant find the specified url. I am able to enter the controller with the host name, I just dont think I'm naming the complete url right in the template box.
ccanfield
03/11/2009, 10:13 PM
Here's what I have for mine -
http://my.dyndns.ws/cgi-bin/status.cgi
I suggest logging into the controller, and clicking on the status page. Copy the link that shows in your web browser window. That way you know you have the right one.
The Saltman
03/11/2009, 10:37 PM
I know for sure I have the right url now, but its still now working.
ciphros
03/12/2009, 09:01 AM
Do you have an AIM account? If so, I can catch you sometime and we can both be on our signature generator edit pages and I can verify you have things correct. I am usually home after 5 PM Pacific time. If interested, PM me with your screen name and I will look for you when I am on later. That way we can go through things one by one in a fairly short period of time.
96vette
03/12/2009, 09:12 AM
I just set mine up this past weekend
http://www.rowelab.com/AquaController/rc_gregsreef_sig.png
The Saltman
03/12/2009, 09:21 AM
<a href=showthread.php?s=&postid=14593539#post14593539 target=_blank>Originally posted</a> by ciphros
Do you have an AIM account? If so, I can catch you sometime and we can both be on our signature generator edit pages and I can verify you have things correct. I am usually home after 5 PM Pacific time. If interested, PM me with your screen name and I will look for you when I am on later. That way we can go through things one by one in a fairly short period of time.
Pm sent
96vette
03/12/2009, 10:03 AM
I just set mine up this past weekend
http://www.rowelab.com/AquaController/rc_gregsreef_sig.png
vBulletin® v3.8.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.