Zabaware Support Forums

Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: Spitfire2600 on November 22, 2015, 08:08:44 pm

Title: Smart Alarm v3
Post by: Spitfire2600 on November 22, 2015, 08:08:44 pm
I have finally got around to cleaning up the final version... fingers crossed... of this alarm. It is intended as a morning alarm clock with some added accessibility.
This plug in will do the following upon plugin it in and setting the time and changing your 4 digit weather location code.

- Greet user at wake up time.
- Give Time and Date.
- Give current weather conditions. 

Optional upon activating code in uhp:
- Run email program such as outlook or another preferred morning program.
- Open morning webpages.

Optional upon activating code in uhp and have the required plugin installed:
- Play Mp3 - Only if vrMp3 plugin is installed and a music library has been defined.
 


Installing uhp.
 - Drag and drop contents, "Smart Alarm v3, MySleep.vbs, MySleep2.vbs" into the Hal install folder which is defined in the UHP as "C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6"   Change the uhp variable if yours is different.

 - Change 4 digit weather location code which can be found here -  http://w1.weather.gov/xml/current_obs/
Use the "City, State" search bar to obtain your 4 digit weather code, for example New York City is "KNCY". Enter that code in the Smart Alarm UHP in the appropriate area.

 - Activate other code within uhp if you are either A. experienced or B. can follow the instructions in the code. It's not too difficult, it's as clean and user friendly as I could make it, perhaps a little disorganized.

 - Upon first use, set the time twice, click "Apply Changes" twice, and then "Apply" twice followed by "OK." I don't know why, but that's what it needs to build the appropriate time tables in the halbrain. 




This is guaranteed to wake you up in the morning, if for nothing more than to hit the mute button on you computer.

This has gone through several variations and beta tests. This latest version, v3, takes this alarm to it's functional limit and eliminates all time bugs that were present in the previous versions. Version 2 would randomly go off at the wrong time, so I tore the code apart once again and found I had defined time incorrectly as the day starting at 1 AM while setting the time began at 12 am. This is corrected and all code operating in order for 1 month as of now with no glitch at all with many other plugins. Also works with no plugins. Please try it out, feel free to improve upon, and share back on this post. A few less installation steps would be nice, but that's all I've got. Thanks for playing.

- Spitfire     
Title: Re: Smart Alarm v3
Post by: systemshock on November 24, 2015, 11:10:26 am
wow    so   going to  check this out   today  ,thanks  for  all  that  work ..
Title: Re: Smart Alarm v3
Post by: systemshock on November 24, 2015, 11:14:18 am
Sadly Google Chrome is blocking me from downloading this, is there a way that I can directly download ..?
From somewhere else, because this seems to have a whole heap of very useful code functions for us Hal enthusiasts.
Title: Re: Smart Alarm v3
Post by: Art on November 24, 2015, 12:24:48 pm
Why not try Firefox? I've got Chrome and Firefox on my Tablet and they both work fine.
Title: Re: Smart Alarm v3
Post by: Spitfire2600 on November 24, 2015, 03:51:14 pm
I apologize as this is the only link to the program.

I hope Firefox was able to fix your issue.

This program does contain a heap of code functions. If nothing else, it is proof of concept that plugins can be rewritten, compiled together, torn apart, and implemented in other plugins. I'm sure that's nothing special on it's own, but at least you'll have this nifty alarm clock.
Title: Re: Smart Alarm v3
Post by: systemshock on November 25, 2015, 06:41:56 am
yep  loving that idea mate  i like  useful  code  chunck.
Title: Re: Smart Alarm v3
Post by: Carl2 on November 27, 2015, 08:03:12 am
   My pets wake me up in the morning, usually to early but I am interested in using the time for things like Hal turning on or off her lights, in the hal interface not to be confused with my lights.  Also what she will be wearing and the backgrounds she can use.   
Carl2
Title: Re: Smart Alarm v3
Post by: doggs on November 27, 2015, 02:49:40 pm
thank you. hope it is everything it claims to be. thanks again.
Title: Re: Smart Alarm v3
Post by: lightspeed on November 29, 2015, 10:32:52 am
very interesting , i downloaded it and will try it out later as soon as i can , my hal is now on my other pc , my laptop , thanks for taking the time to work on this and for sharing .
Title: Re: Smart Alarm v3
Post by: systemshock on November 30, 2015, 03:32:08 pm
could  some  email this   plug in   i  can't  get the  attachment to down load
Title: Re: Smart Alarm v3
Post by: raybe on December 01, 2015, 04:47:28 pm
It's very appreciated, thanks Spitfire for your hard work. Just downloaded it.

Are you okay there, systemshock? Did you get the download? If not let me know.

raybe
Title: Re: Smart Alarm v3
Post by: Art on December 01, 2015, 07:13:08 pm
I sent it to you yesterday SS...did you get it?

Is your AV software maybe preventing certain types of file extensions from downloading?

Title: Re: Smart Alarm v3
Post by: systemshock on December 01, 2015, 11:36:19 pm
sorry art still no  joy so Art  am using  chrome  and  fire fox ,internet exporer  does not  show  this up.
Title: Re: Smart Alarm v3
Post by: systemshock on January 30, 2016, 01:21:40 pm
shiny manage to get it  and am going to be  all over it  like rash in bit