|
|
|
|
Status Widget XML Integration to Website Last Post 07-27-2007 6:11 PM by Bergovoy. 36 Replies. | Sort: |
| Prev Next | You are not authorized to post a reply. | |
Carlosreef
 New Member
 Posts:20 Member Since: 06-11-2007 1:34 PM

 | |
Steve Allen ReefChat Staff
 Basic Member
 Posts:333 Member Since: 02-17-2007 4:19 PM

 | | 06-29-2007 1:50 PM | | I was just starting a thread so people could post how they were using it. Guess we will use this thread instead. So for those of you out there that are using the Status Widget XML out file, please post a link to your site and give a brief explanation how you are doing it. It might help inspire others.
Thanks! | | | |
| Carlosreef
 New Member
 Posts:20 Member Since: 06-11-2007 1:34 PM

 | | Steve Allen ReefChat Staff
 Basic Member
 Posts:333 Member Since: 02-17-2007 4:19 PM

 | | 07-10-2007 3:11 PM | | Pretty slick! I like what you have done. Especially glad that the XML out helped out. Thank you for suggesting it. Got any other idea? | | | |
| Bill Bergovoy
 New Member
 Posts:67 Member Since: 03-24-2007 1:57 AM

 | | 07-10-2007 6:04 PM | | definatelly very cool. Is there anyway I can get this to work with my situation, or am I still screwed. BTW: I spoke with verizon, actually it is earthlink, and they are contracted to verizon, and earthlink will not assist in any third party hardware issues They ran diagnostics, and tell me everything is good to go, and that I dont or shouldnt have a problem. I am not sure what I am going to do now, as I just bought a ip cam for my website and I was hoping to steal/ borrow the idea from here to animate the graphix with the aquacontroller stats like on carlos' page. I reallly want something like that, And am bummed that it seems that I am not meant to have it. First I found a programmer that flaked on me, now I got a different programmer, and he is plugging along, but if I cant get the aquacontroller to go online, it wont do half of what I want it to do, and what it should be albe to to do. I just plain dont understand. If someone would tell me, buy this, get that, do this,, I would do it. But UGGGGGHHHHH Bill | | 
| |
| Steve Allen ReefChat Staff
 Basic Member
 Posts:333 Member Since: 02-17-2007 4:19 PM

 | | 07-11-2007 5:05 AM | | Bill I am sure you have already read through this, but try again step by step. http://www.neptunesys.com/hardwareF...m#ETHERNETThe first thing is can you get to your controller on your internal network. ( http://AC ip address). If you can get that far the rest should be router settings, port forwarding etc... | | | |
| Carlosreef
 New Member
 Posts:20 Member Since: 06-11-2007 1:34 PM

 | | 07-19-2007 1:41 PM | | Here is another use for the XML file. I changed my homepage to reflect the current status of my tank plus a running total of the amount of electricity used. I take the XML file and automatically ftp upload it to my server (using command prompt and windows scheduler). I then created a script that parses the xml file from my server and saves the data to a mysql database (done every five minutes via cron job). The front page of my site then queries the database to get the length of time the items have been on. Then takes that and multiplies it by the electric charge (kwH). I also query the database for highs and lows for temp, pH and ORP. Carlosreef.comCarlos p.s. The running total for this month is off as the database only goes back a week ago. But you get the idea... | | | |
| ReefChat Administrator Site Administrator
 Basic Member
 Posts:282 Member Since: 02-17-2007 1:53 PM

 | | 07-19-2007 3:43 PM | | Dang Carlos! That is nice. Got those creative juices flowing. | | ReefChat Staff
| |
| Scott Rowe ReefChat Staff
 Basic Member
 Posts:333 Member Since: 02-17-2007 5:04 PM

 | | 07-19-2007 3:49 PM | | Carlos, I may have something you can use.. it's a max / min / time for ph, orp, and temp for today (today being since midnight.) Right now it's just spitting out text, but I could easily make it xml. | |  | |
| Bill Bergovoy
 New Member
 Posts:67 Member Since: 03-24-2007 1:57 AM

 | | 07-19-2007 4:54 PM | | Carlos, Is there anyway I can pay you to build me a website similar to yours, (sufficiently different to not infringe upon your originality)??? I would like most of what you got especially the ACIII stuff you have going on. But on another page, I would like a picture page, but with comments from visiotrs to suggest or help ID some of the critters that will get posted on that page. Other then that, just the normal, links, and DIY page maybe I really want something almost exactly like your page, but would not know where to begin, and honestly, have tried with others, that just dont come through in the end. So, if there is anyway you can help me out, get me up and running, andhopefully make it so I can update it myself, i.e. put up or take down new pictures, and or other minor stuff that I can hopefully figure out... Thanks
Bill edited by Admin: Removed the extra carraige returns | | 
| |
| ReefChat Administrator Site Administrator
 Basic Member
 Posts:282 Member Since: 02-17-2007 1:53 PM

 | | 07-19-2007 4:56 PM | | There have been a few questions asked about how to use the XML file from the widget or signature genarator. I will try to explain in a basic format how it can be used. Keep in mind that there are many different ways to do this and the method described below is just two of them. This is the way that I am familiar with. Once you have the XML file loaded to your server you can create a page that will read in the data and format it in HTML. Since I have already covered the XML output in another thread I will assume you are familiar with it and wont cover that file here (View the Widget XML file). I created an example page, with no formatting, to show you one way of doing this. (See example 1). In this example the html page simply takes the data and applies it to a table. To see how it is done, view the source. No coding involved here. AquaStatus
I will try and post a Javascript example in the next day or so. | | ReefChat Staff
| |
| Carlosreef
 New Member
 Posts:20 Member Since: 06-11-2007 1:34 PM

 | | 07-19-2007 5:15 PM | | Bill,
Thank you for the compliments. I really appreciate.
I really wish I could help you but at this time, I am in no position to take any extra work. I am in the process of installing my new 180 gall on tank (in-wall) with it's own tank room which I am building in my basement. I also have the everyday dealings of my regular job which leaves me with very little time to do my website. By the time I am done with those three things AND taking care of the demands of owning a house and having a girlfriend, I have little to no time left for just me.
I really hope you can find someone that has the time to create a website for you. It would be much easier if you already had a website and you were looking for just the integration. I think there are a few people out there that would be able to help you do that.
I am really sorry I cannot help you but I hope you understand.
Regards,
Carlos | | | |
| Carlosreef
 New Member
 Posts:20 Member Since: 06-11-2007 1:34 PM

 | | 07-19-2007 5:21 PM | | Posted By Ashlar on 07/19/2007 4:49 PM
Carlos, I may have something you can use.. it's a max / min / time for ph, orp, and temp for today (today being since midnight.) Right now it's just spitting out text, but I could easily make it xml.
That would be kewl, especially for someone that does not have the knowledge or resources to create/edit/query a database for such info.
Very kewl.
Carlos | | | |
| Bill Bergovoy
 New Member
 Posts:67 Member Since: 03-24-2007 1:57 AM

 | | 07-19-2007 5:29 PM | | Hey Carlos, I understand completely. I have most of all that, (less the girl friend or sig other), but definately understand.
I dont know what all is involved in putting together a site, no less one like yours, but i am positive it aint quick. From the amount of money a couple have already charged me, I would guess it to be 10-20 hours, (or so), but that is just a wild ass guess, it could be sig less or more, and they are just hungry...
But I do knnow, that your site, and the features uyou have implimented with teh help of the Allen bros, is exactly what I want I my website, (whenever I get one).
Good luck on your tank build, (I have a 180 and it too needs some final touches, but it has been about 8 months since I started). Are you going to post any pics or tank build logs anywhere on some forum somewhere? I would love to check it out.
Bill
| | 
| |
| ReefChat Administrator Site Administrator
 Basic Member
 Posts:282 Member Since: 02-17-2007 1:53 PM

 | | 07-20-2007 4:14 AM | | To see a JavaScript version in operation you can check out example2. This eample may only work in IE. There is some adjustments that can be made to the call for the XMLDom to make it work in FireFox. It is only the function that is called. Place it in the head tags of your html page. Then call loadXML() fom the body of your document. Thjis eaxmple code builds a table like above.
<script language="JavaScript">
function loadXML() {
// get XML object
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";
xmlDoc.load("aquastatus.xml");
// get the XML root item
var root = xmlDoc.getElementsByTagName('AquaStatus')[0];
var items = root.getElementsByTagName("item");
for (var i = 0 ; i < items.length ; i++) {
// get one item after another
var item = items[i];
// now we have the item object, time to get the contents
// get the name of the item
var title = item.getElementsByTagName("title")[0].firstChild.nodeValue;
// get the quantity
var description = item.getElementsByTagName("description")[0].firstChild.nodeValue;
document.write("");
document.write("");
document.write("| item #" + i + ": name=" + title + " value=" + description + " | ");
document.write(" ");
}
document.write(" ");
}
</script>
Hope that helps everyone have a little understanding on how they can use the XML output from the Widget and Signature Generator. | | ReefChat Staff
| |
| LVReefer
 New Member
 Posts:16 Member Since: 05-06-2007 5:43 PM

 | | 07-24-2007 8:37 AM | | Posted By Bergovoy on 07/10/2007 7:04 PM definatelly very cool. Is there anyway I can get this to work with my situation, or am I still screwed. BTW: I spoke with verizon, actually it is earthlink, and they are contracted to verizon, and earthlink will not assist in any third party hardware issues They ran diagnostics, and tell me everything is good to go, and that I dont or shouldnt have a problem. I am not sure what I am going to do now, as I just bought a ip cam for my website and I was hoping to steal/ borrow the idea from here to animate the graphix with the aquacontroller stats like on carlos' page. I reallly want something like that, And am bummed that it seems that I am not meant to have it. First I found a programmer that flaked on me, now I got a different programmer, and he is plugging along, but if I cant get the aquacontroller to go online, it wont do half of what I want it to do, and what it should be albe to to do. I just plain dont understand. If someone would tell me, buy this, get that, do this,, I would do it. But UGGGGGHHHHH Bill
Sorry for the hijack, but Bergovoy what exactly do you need help with, I'm a network guy maybe I can help. | |  | |
| Bill Bergovoy
 New Member
 Posts:67 Member Since: 03-24-2007 1:57 AM

 | | 07-24-2007 10:06 AM | | Posted By LVReefer on 07/24/2007 9:37 AM
Sorry for the hijack, but Bergovoy what exactly do you need help with, I'm a network guy maybe I can help.
Contact me at bill@thelittleocean.com or call me at 626-358-4840 The situation is that I can not get either the Aqua controller III or the IP webcam to be accesses from the internet. I have tried port forwarding but it does not seem to be working. Most everyone I spoke with that offered to try to help tell me they think it has something to do with Verizon and their hardware and or configuration of the DSL modem…
I tried many many things. I have port forwarded the router, I have port forwarded the modem, I have configured and reconfigured and changed and called and spoke with tech supports from Neptune Sys, (The aqua controller), the camera, (SMC), the router (Belkin), and Earthlink).
Everyone except EarthLink says it is an ISP problem, Earthlink says it is a router problem.
I don’t know who to believe.
Basically, I give up as I have wasted a bunch of peoples time, and they were great, but if I cant get EarthLink to offer to try different settings and or configurations for their hardware, then I am stuck
Anyways, just in case you think you can come up with something for me to try, please let me know.
Bill
edited by Admin: Something in the email quote/reply was messing with the fonts and such on the rest of the thread. | | 
| |
| LVReefer
 New Member
 Posts:16 Member Since: 05-06-2007 5:43 PM

 | | 07-24-2007 1:31 PM | | Here are a couple of things to try; but first we need to prep your location for testing. - Turn off all IP devices except the AC, DSL Modem, router, and a workstation.
- If you have a hub instead of the router, better yet (testing only).
- If a router is being used, turn off firewall and NAT if enabled.
- I am assuming that no other security is enabled (MAC or port filtering)
- Once you can reach the internet go to http://probe.hackerwatch.org/probe/probe.asp to see what ports your ISP is allowing to your IP address. Port 80 & 25 are most likely blocked.
- Next double check your IP address using http://ip-lookup.net/ . This should be the IP address you are entering into IE to get to your AC.
- This will tell us our IP address and port that we will connect on.
- example http://65.115.236.10:8080 /cgi-bin/status.cgi will render the home page of the AC unit.
REMEMBER to turn your NAT and SPI/Firewall back on along with any filters you might have had setup. Give me some feed back and we can go from here. | |  | |
| Bill Bergovoy
 New Member
 Posts:67 Member Since: 03-24-2007 1:57 AM

 | | 07-24-2007 2:08 PM | | can you call me? I have questions. 626-358-4840 thanks I think I have all the ip items off except the onces listed. What is the difference betwen a router and a hub? I have the Belkin Router, it has 4 ports and wireless, it is the FD7230-4, (I think) I have been asking about NAT. I think I recall seeing it onthe DSL modem, and I think that If I turn it off, I lose internet connection. I am p[retty sure all the firewall stuff is turned off. I will double check. I will goto the hackerwatch site, but I have used th shiledsup from the site GRC.com and got results that all the ports were closed except for port 80,21, and 23. Not sure if closed means blocked or what, but seems funny that you suggest port 80 should be blocked but that site showed it open... I will check out thehackerwatch site shortly after I check all the other things first Thanks Bill | | 
| |
| Bill Bergovoy
 New Member
 Posts:67 Member Since: 03-24-2007 1:57 AM

 | | 07-24-2007 3:55 PM | | Hello, I ahve now switched to Time warner service. Cable modem. I did all you suggested, prior to the switch and I got everythign back the same as before, no open ports. I tried to turn off the NATand lost internet connection. I tried to run the hackerwatch utility and came back wth all ports stealth or closed. I tried running the hackerwatch on the new cable internet and port 80 seems open and ready to recieve incoming requests.
Not sure what that means, as you suggested it would be closed... It is the only one that is open. I will try to turn NAT off now that I have cable modem and see what happens. Bill | | 
| |
|
| You are not authorized to post a reply. |
| Active Forums 4.3 |
|
|
|
|
Find Your Group
|
| No matter how you connect, you'll find your group - whether it's about Nanos or Large Reef Systems, Equipment or Livestock, you'll be able to find your group here. |
|
|
|
Suggestions
|
|
This is YOUR site, so if you have suggestions or feedback on how we can improve it for you, please let us know! We do our best to keep up!
|
|
|
|
Get Started
|
| In just a few steps you'll be able to connect with other members, join and create groups, start a conversation and more. It only takes a minute and is completely free to join. |
|
|
|
|
|
|
|
|
|
|
|
|