ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Simple Sensatronics Tray Tool...

(1/5) > >>

LEDAdd1ct:
Hello!  I am a big fan of Sensatronics sensors, especially because we use one at our house to monitor the current temperature.  Although the protocol to access it is very simple, I cannot find a simple tray tool to do what I would like.  Released as freeware, I think this tool would be very useful.

Suggestions:

-sit in the system tray
-display the current temperature
-display red if over 80 degrees, black, and blue at 32 or below
-when you click it, it displays an empty box to type in the IP address of the unit
-it compares the current value with the previous value, and shows horizontal arrow if no change,
up arrow if temperature is rising, and down arrow if temperature is falling
-allow you to select interval for checking (1 min. /5 min. /10 min.)


All the other programs are either huge memory hogs, cost $500, or do too much.  If something small like this isn't too complicated to write, I think it would be pretty neat!  The most common products are the E4 and EM1. 

Here is the protocol it uses:

"Write Your Own
 
The Model E Temperature monitor runs an internal Web server that
listens for TCP/IP HTTP /GET requests on Port 80, and responds to
three different URL requests – /index.html, /temp and /config.
 
/index.html: This is the main index page that returns an HTML-
formatted Web containing the temperatures of all connected
probes. This index page also provides details about the
Temperature Monitor such as manufacturer, serial number, unit,
and probe names. 
 
/temp: This request will return an HTML-free Web page,
consisting of a simple ASCII string of pipe-delimited data.   
 
The data will be in the format of 
 
“PROBE1_NAME|TEMP|PROBE2_NAME|TEMP…”
 
This URL is typically used by OEMs who are packaging the
Temperature Monitor for use with their own software and need
an easy and efficient way to get at the probe temperature data. 
This URL is also handy for those wishing to write their own
software interface to simply and quickly obtain the temperatures
and incorporate them into their existing Network Management
Software.   
 
Here’s an example:
 
Probe 1| 74.5|Probe 2|35.5|Probe 3| 79.0|Probe 4| 54.4
 
Sensatronics Model E Temperature Monitor                                                                        16

To query the Temperature Monitor from within your own software, you
will need an understanding of TCP/IP Sockets and the HTTP protocol.
Consult the documentation of the specific programming language for
details. After successfully initializing and opening up a TCP/IP socket to
the Temperature Monitor, you will be able to communicate with it using
the HTTP Protocol. 
 
To request the /temp URL simply send the following string
   
“GET /temp HTTP/1.0 <CR><LF><CR><LF>”
 
Using the Telnet command is a convenient way of retrieving data from
the Temperature Monitor. Open a telnet session to the Temperature
Monitor unit’s IP Address on Port 80. 
 
For example, if the Temperature Monitor was configured on IP
192.168.2.101, you would send the following command:
 
telnet 192.168.2.101 80
 
If successful, you will be able to send command directly to the
Temperature Monitor. Recall that one such command is /temp:
 
GET /temp HTTP/1.0
 
Followed by pressing  Enter  twice.
 
This will return a non-HTML ASCII, pipe-delimited string – just as it would
if you were to open your Web browser and type the following in the URL
address bar: 
 
http://192.168.2.101/temp
 
Here’s an example of a return string:
 
Probe 1| 71.3|Probe 2|34.5|Probe 3| 77.0|Probe 4| 52.3
Sensatronics Model E Temperature Monitor                                                                         

Source:  http://www.sensatronics.com/downloads/manuals/manual_model_e.pdf





skwire:
Welcome to the site.  =]  I should be able to help with this.  I'll contact you via PM.

LEDAdd1ct:
Oh, wow; thank you!  I've wanted to use this outdoors where it belongs for a long time now, but was dismayed at the lack of little utilities.  Our family uses a Radioshack wireless unit in the dining room, and I got this one so we could check from our computers.

Lots of people would benefit from this program. 

I am very excited!

Thank you for the welcome.  :-) 

skwire:
Many thanks to LEDAdd1ct for working closely with me on this.  There are still a few bits and bobs to add but I think it's ready for a public release.  Granted, the audience for this will be limited to folks with Sensatronics sensor units and, after checking prices on their website, they are not cheap.  I think the app turned out well.  Here are some screenshots:

IDEA: Simple Sensatronics Tray Tool... IDEA: Simple Sensatronics Tray Tool...

Website | Download
v1.0.1 - 2012-01-20
    + Public release

v1.0.0 - 2012-01-19
    + Private builds.

LEDAdd1ct:
The build turned out very, very nicely:

-it's tiny
-it uses barely any memory
-it fits neatly in the system tray
-it offers an optional trend indicator
-it changes color at the upper and lower extremes
-it doesn't write to the registry (completely portable)

Navigation

[0] Message Index

[#] Next page

Go to full version