capture data from own home logger

25 pts.
Tags:
Microsoft Windows 7
Microsoft Windows Vista
Microsoft Windows XP
Telnet
I have a datalogger in my house that monitors the environment and sends it over the web to a server that I can log into and view that data. I want to retrieve the same data simultaneously as it is being sent out so I can write a program to view it instantly.  I have been able to log into the port on the datalogger using the Telnet application and see the data that it would be sending out, however when I use Telnet, it no longer goes out over the web, even though I can see the data. Is there a way to capture the data in real time to forward to a viewing program without hindering it from sending over we web.



Software/Hardware used:
windows xp, vista, windows 7

Answer Wiki

Thanks. We'll let you know when a new response is added.

You may want to view if your datalogger is capable of sending it to additional locations besides your webserver. If not, then you may want to utilize a CDP product of some sort. This product would allow multiple streams of data to be sent to different locations.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    It could be a setting of your datalogger, to send the data to the web server, or through telnet if a connection is detected. Have you checked the settings just to make sure the option to send it to both the web and the telnet connection doesn't exist ?
    69,920 pointsBadges:
    report
  • School1012
    Thanks for the reply. The data logger is dedicated and has no changeable settings. It sends environmental house data to a web server every 15 min. I have used telnet to log into the sending port and can view and log the data which has the readings in plain ascii. The problem is that by using telnet, the logger will send data to telnet but no longer send it to the webserver until telnet is logged off. I need to be able to capture the data without stopping it from being sent out. Any help is appreciated
    25 pointsBadges:
    report
  • carlosdl
    Do you know how the data is sent to the web server ? If you do, you could have your application connect to the telnet port, get the data, and send it to the server (on behalf of the datalogger) and to any other application you need to.
    69,920 pointsBadges:
    report
  • TomLiotta
    I have used telnet to log into the sending port ... That doesn't make much sense. First, how do you know what port it's going to use to send out through? Normally, I'd expect that to be an ephemeral port that's simply the next available one when requested. It might be a long time before the same port number is used again. Next, if you can connect to it, then the datalogger must be listening on that port, waiting on a connection request. But it would be extremely unlikely that any web server would be trying to make outbound connection attempts to some remote system (some PC sitting in your home). Instead, the web server would be doing the opposite -- waiting for remote systems (your datalogger PC) to connect to it. Do you own or control the web server system? That is, do you have programming installed on it that knows how to connect to your datalogger PC and request the info? If so, then it's likely that your web-server-resident program is blocked from connecting because the port is in use by your telnet connection. If that's the case, then the datalogger will need some reprogramming to allow and handle multiple concurrent connections. Tom
    125,585 pointsBadges:
    report
  • carlosdl
    Tom, although School1012 said he used telnet to connect to the 'sending' port, I think it is safe to infer that it is not really the sending port (because as you noted, there is no way to know what port is going to be used to send the data out), but another port specifically programmed to listen and send data if a connection is established. There are many devices and programs with similar functionality, which send data through one of many different configurable methods (ftp,web,e-mail,etc...), and some of them lets you configure the sending through more than one of these methods simultaneously (which is apparently not the case in this datalogger). I think there is not much we could add without having more details.
    69,920 pointsBadges:
    report
  • School1012
    A port monitor showed that ports 25, 110, 2955, 8000 and 34248 are open. Monitoring those ports, Telnet only showed that 2955 and 34248 would respond after monitoring each port for over one hour (the logger sends out every 15 min). Telnet shows that port 2955 is sending the data every 15min and I can view it and it is the correct data that the server gets and reports. Telnet on port 34248 reports that that port is for logging in with password to modify settings. ( note: I have not seen any communications coming into this port) Thanks for the posts and hope this clarifies my posts.
    25 pointsBadges:
    report
  • carlosdl
    If you used a port scanner to check open ports, then it reported what it saw at the time that the scanner was run. That doesn't guarantee that the port used to send the data to the web server is one of those ports reported as 'open'. "Telnet only showed that 2955 and 34248 would respond after monitoring each port for over one hour (the logger sends out every 15 min). Telnet shows that port 2955 is sending the data every 15min..." By this, you mean that you used Telnet to connect to the ports and left the connections running for one hour ? or did you use some packet analyzer to monitor what was being transmitted without stablishing a connection to those ports ? Well, this port discussion is not necessarily going to help to find a solution. If you want to clear any doubts you could need to use some packet analyzer to see what's hapenning at the moment of the sending to the web server (without using telnet). You mentioned that port 34248 is for logging in to change settings. I guess this is a new discovery as you previously said that the datalogger didn't have any changeable settings. Have you logged in to check what settings are available ?
    69,920 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following