topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday October 31, 2024, 8:01 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LEDAdd1ct [ switch to compact view ]

Pages: [1]
1
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: February 13, 2021, 07:26 AM »
@skwire, I hope you and your family are well!

I just sent you an email via the "Contact" page on your website:

I hope it finds you well! 

2
Skwire Empire / Re: Release: sWeather (tray-based weather app)
« on: November 24, 2017, 08:40 AM »
Thank you!  :-)

I will check those out. 

3
Skwire Empire / Re: Release: sWeather (tray-based weather app)
« on: November 23, 2017, 09:44 AM »
Hello!  Thank you so much for this awesome program. 

It is so lightweight and nimble!

I wanted to ask a few questions:

1)  Is it correct that Yahoo! only updates the weather in the data that feeds this utility once every hour?

2)  I would like to dedicate a computer to use this program 100% of the time and show this information. 

a)  In the mornings, the monitor would come out of idle and power on, probably between 5:30 A.M. and 8:00 A.M. while getting ready for work, and again in the evenings from 5:00 P.M. to 10:00 P.M.

b)  I would love it if there was the ability to make this program fill the entire screen, with all the texts/fonts/little icon graphics resizing dynamically as you increase its size, or, simply making a "full screen option" where the exact same data fills the screen, just much, much larger so that you can see it from far away, across the whole room. 

c)  Would this be a difficult feature to add?  It's so, so very clean and simple.  Making this fill the screen would be amazing!

Thank you for all your hard work!  :-)

4
Thank you for writing.

The system tray is the hard part. 

He will sometimes click the "X" to close the window and it will go down to the tray.

* * *

I don't know if this is helpful or not, but, the Telegram website says the source code is open.

Does that help?

Link


* * *

Another thought:

Perhaps there is a way to make a small program that would disable the program minimizing to the system tray.
Then, when you click to close it, it would simply go down to the taskbar, where it would flash on a new incoming message until clicked on.  Additionally, if it is much easier to make a box pop up when it detects a change in a window title, then it could pop up a very large window, with very large font text, that flashes with text you customize, like "Check Your Telegram Messages Now!" and wouldn't go away until it was purposefully clicked. 

5
I am not a programmer but have a tremendous amount of respect for them.  I am wondering how hard this would be for someone to make, as I searched around on the web and could not find something to do quite what I wanted.

I use a program called Telegram to keep in touch with family; it seamlessly syncs between Windows, Android, iOS, etc.  When a new message comes in to my father's desktop computer, the little system tray icon changes to a "1" or a "2" or a "3" to indicate however many messages have arrived.  However, while he is decently computer savvy, he often forgets to look in the system tray. 

* * *

Broadly speaking, I was wondering if it would be possible to create a small utility where you select either:

a)  The title of a window

or,

b)  A system tray icon

Then, it would pop up a giant, flashing window, with text that you enter into a little box.  For example, it could say "Check Your Inbox!" or "Check Your Messages!"


When you start the program, it would have a little drop-down dialogue box where you would choose which window(s) you wish to monitor (title bar) or system tray icon.  For each one, you would select whether you wanted a medium or large text box/window with a large font to pop up, flashing, and you would enter text for what you wanted it to say.

1)  How hard would this be to make?

2)  Could a program be written to monitor *both* window titles and the appearance/change in a system tray icon?


6
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 25, 2012, 12:13 PM »
Thanks for clarifying. 

It took a lot of googling around and trial and error and copying and pasting and tweaking to make it do what I want.  I can only imagine getting a whole program together! 

AHK really is so versatile.  When I first heard about it, I really only thought about it with respect to sitting in the system tray and performing hotkey functions, shortcuts.  But it can do so much, and the fact that it is in plain English, and you can try it as you go...it's really neat. 


7
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 25, 2012, 09:58 AM »
Trivial, eh?  And here I was, thinking that after drinking a cup of vegetable juice I'd gained amazing powers of programming. 

 ;D

Thanks for the ping back.  I'm working on getting that gigabit switch for the garage to get this sensor outside in the yard where it belongs!

8
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 24, 2012, 04:55 PM »
I haven't had a chance to try the new version, but I've been tinkering, and I think I have some quick, useful code.  I made a few requests for additional features, and I see no reason why I shouldn't present those features in a way that will (hopefully?) be easy to integrate into the program as a whole.

Here are the two features I requested:

Feature One

A simple file which contains the current temperature, including decimal and degree symbol, and nothing more.  This file gets overwritten each time the temperature is checked.  This can be used in a variety of other programs.  Here is the code I cobbled together:

FileDelete, C:\current.temp.txt
FileAppend, 73.3°, C:\current.temp.txt
return


How it works:

a)  If a file named "current.temp.txt" exists it gets deleted.

b)  The current temperature gets inserted into a file named "current.temp.txt"


What it needs to work in the program:

1)  The temperature I used, 73.3°, will need to be replaced with whatever value the most recent temperature is, whatever that variable is.

2)  The path I used, "C:\" will need to be replaced with whatever directory the program is run from, i.e., same directory the settings file and executable reside in.  
-------------------------------------------------------------------------------------------------------------------

Feature Two

A log file which appends the date, time, and most recent temperature to a new line in a file.  Here is the code:

FormatTime, CurrentDateTime,, MMM-dd-yyyy h:mm tt
SendInput %CurrentDateTime%
FileAppend,%CurrentDateTime% 73.3°`n, C:\log.txt
return

What it needs to work in the program:

1)  The temperature I used, 73.3°, will need to be replaced with whatever value the most recent temperature is, whatever that variable is.

2)  The path I used, "C:\" will need to be replaced with whatever directory the program is run from, i.e., same directory the settings file and executable reside in.

This will add a new line with the date, time, and current temperature to a file called "log.txt"

I tried a number of different time and date formats, and chose the one I like best, the one I find most intuitive and easiest to read.

-------------------------------------------------------------------------------------------------------------------

Additional Requirements:

1)  A checkbox for each choice in the "Options" screen

2)  A name, such as

"Save most recent temperature to current.temp.txt"

and,

"Write log file to log.txt"

3)  Integrating into the rest of the code  

-------------------------------------------------------------------------------------------------------------------

I apologize for not knowing enough to integrate it myself, but I thought that if you desire something, you should make an effort to figure it out on your own.   :Thmbsup:

9
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 23, 2012, 03:03 PM »
When I hover my mouse over the trend indicator in the system tray, "S" pops up as the tooltip.

Could we have:

"Temperature Steady"

"Temperature Rising"

and

"Temperature Falling"

?

Also, although the new algorithm appears to be working on the trend indicator arrow in the display table, it doesn't seem to be working on the arrow in the system tray.

10
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 22, 2012, 09:03 PM »
Awesome!

11
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 22, 2012, 01:54 PM »
Here's one I thought up while vacuuming (anyone know any good tricks for the spelling on that one?)

-for the trend indicator, it sometimes fluctuates between two values, which may falsely give the impression that the temperature is rising or falling.  Perhaps there could be a check box, and when you check it, it performs a checking function like this:

1)  Look at current value (z)
2)  Look at previous value (y)
3)  Look at previous value (x)

Only show trend indicator rising if:

z > y > x

and,

Only show trend indicator falling if:

z < y < x

else show steady arrow

An example with numbers:

1)  Current value is 52.4°
2)  Previous value was 52.2°
3)  Previous value was 52.2°

Program will show steady arrow

1)  Current value is 52.4°
2)  Previous value was 52.2°
3)  Previous value was 52.0°

Program will show rising arrow

1)  Current value is 52.4°
2)  Previous value was 52.8°
3)  Previous value was 52.8°

Program will show steady arrow

1)  Current value is 52.4°
2)  Previous value was 52.8°
3)  Previous value was 60.1°

Program will show falling arrow

12
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 22, 2012, 11:15 AM »
Here are some suggestions humbly submitted for possible future incorporation:

-dump the current temperature with decimal point and degree symbol to simple text file at a specified interval, and overwrite at same interval.  There are programs out there which will work with a simple text file.  So if the temp is 54.3°, and you tell it to write the file in the program's current directory once a minute, then once a minute it writes a text file called "temp.txt" whose sole contents are "54.3°" and nothing else. 

The temperature rises to 55.2°.  After one minute elapses, it overwrites the temp.txt file so that its sole contents are "55.2°" and nothing else. 

-a simple log file with date, time, and current temp.  Each new reading gets inserted on a new line in the text file at an interval of your choosing, say, every 30 minutes:

1/22/12   12:10 P.M.  54.3°
1/22/12   12:40 P.M.  55.2°
1/22/12   1:10  P.M.   57.1°

-resizable, separate window with temperature, including decimal point and degree symbol.  You can choose white text on black background or black text on white background.  Whenever the program polls the temperature server, it updates the window.  When you drag the bottom right corner of the window, it dynamically adjusts the font to be larger or smaller, filling the window.   

I have no idea how hard it is to dump data to a text file or make a window.

13
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 21, 2012, 02:52 PM »
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)


14
Post New Requests Here / Re: IDEA: Simple Sensatronics Tray Tool...
« on: January 17, 2012, 01:16 PM »
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.  :-) 

15
Post New Requests Here / IDEA: Simple Sensatronics Tray Tool...
« on: January 17, 2012, 07:54 AM »
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.sensatron...s/manual_model_e.pdf






Pages: [1]