
Thursday, September 23, 2010
(09-23-2010) New Touchscreen Interface

Monday, September 20, 2010
(09-20-2010) GetData program

Wednesday, September 15, 2010
(09-15-2010) House Touchscreen

Saturday, May 29, 2010
Thursday, May 6, 2010
(05-06-2010) Chronos continues...

Last week, I worked on converting Chronos to a service (so no pictures of that...) and that went well. I continue to work on the application version, adding in new features all the time and then moving the completed and tested features into the service.
Currently, the application can respond to tweets with current weather and forecasts, using the zip code to identify location, also, it can communicate with other applications via TCP sockets, or get or post via HTTP request, or run an application. Also, I started making each of these actions into a separate thread, so the timer can run independently from the action calls.
Another new feature for the application was the ability to calculate sun rise, sun set and solar noon by using the longitude and latitude entered by the user. Currently, I don't trap events for sunset, sunrise or noon, but it's a simple addition. Next, I may add moon phases, but not sure if I have use for this feature.
So far, I'm very happy with my timer. For testing I set up a few events. It does a good job of reminding me to water my plants every night, as well as give me a quote of the day, as well as get any "tweets" sent to my home account and parse them and send back relevant data. Also, the twitter interface gives me the ability to create simple databases (CSV - comma delimited files) that I can import into various programs. So, when I fuel up my car, I can text a tweet to my home twitter account and my mileage and fuel is saved into a database for that vehicle. Very handy.
In the future I want to create a HTML/XML parser to deal with timed "gets" from HTTP/RSS/XML locations. So, for example, we can use this program to get a web page, parse out the needed information and send it on to the end user. Ideas for this include weather operations (like any warnings, watches or advisories that come along) or if a new episode of your favorite TV show is coming on tonight. I would like to create a simple, script based program, that can do this without reinventing the wheel every time a web page format is changed. I have an idea, but only time will tell if it works.
Wednesday, April 14, 2010
(04-14-2010) Chronos - Timer system

You can assign a holiday flag, or holiday exemption for each timer - for example my wake-up timer is Monday through Friday at 6AM, with a duration of 15 minutes, but if it's a holiday then it is holiday exempt and the alarm will not go off on that day. Also, you can dismiss a timer - so that once I wake up and dismiss the alarm, it won't continue to try to wake me up.
The Chronos system also has OnStart, OnActive and OnEnd events for each timer. In the future I would like to add socket communications as well as Sunset and Sunrise timers.
(04-14-2010) Twitter Unit for Delphi

I created a simple unit for using Twitter through Delphi. It requires the Indy Internet component suite to be installed, but then it allows the user to send and receive tweets very easily. I created a simple example program to show all the functions. If you're interested in the code, please drop me a line and I'll send it to you.
Subscribe to:
Posts (Atom)