The scripts are still working fine here but any updates couldn't hurt.
Announcement
Collapse
No announcement yet.
Check if date is a holiday
Collapse
X
-
Originally posted by Rupp View PostThe scripts are still working fine here but any updates couldn't hurt.
im going to get EVERYTHING working again.. and in time for XMAS!!!! wanted to automate halloween but not going to happen this year!!!!HW - i5 4570T @2.9ghz runs @11w | 8gb ram | 128gb ssd OS - Win10 x64
HS - HS3 Pro Edition 3.0.0.435
Plugins - BLRF 2.0.94.0 | Concord 4 3.1.13.10 | HSBuddy 3.9.605.5 | HSTouch Server 3.0.0.68 | RFXCOM 30.0.0.36 | X10 3.0.0.36 | Z-Wave 3.0.1.190
Hardware - EdgePort/4 DB9 Serial | RFXCOM 433MHz USB Transceiver | Superbus 2000 for Concord 4 | TI103 X-10 Interface | WGL Designs W800 RF | Z-Net Z-Wave Interface
Comment
-
Originally posted by outbackrob View PostI am interested! I could not seem to get the old scripts to work for me (propbably operator error...) If you have new scripts I would love to try them.
I need a way to determine if it is a holiday and then change how HS starts our day. Monday holidays where we can sleep in are regularly interrupted by regular Monday wakeup announcements! That pretty much kills WAF.....
Just have it run the event after midnight, and if today= a holiday, set a virtual device based on that. Have you alarm check that virtual device before it sets WAF=0
Comment
-
Virtual Device setting based on Holidays
Ok, I just put a quick script together. What it will do, is based on the IsHoliday.ini, set a Virtual Device to IsHoliday, IF today is a Holiday AND the holiday matches one in the script. If not, the Virtual Device will be set to NoHoliday (Both changeable in the script)
Based on this Virtual device, you can place a condition on your alarm clock script, wake-up routine ect, based on holidays stored in the IsHoliday.ini file.
There are examples in the script, such as Christmas Day, New Years Day ect, that will set the IsHoliday to true. Dates such as ground hog day, Secretary day and such will not set the virtual device to true (Unless of course you want to specify them).
Instructions are at the top of the script.Attached Files
Comment
-
Has anyone considered converting scripts to VB instead of txt or VBS ?-Larry
A member of "The HA Pioneer Group", MyWebSite
Plugins:
VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...
Hardware:
Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.
Comment
-
I thought that I had this running on my old HS machine and now I am trying to install it on my new PC. Is there install instructions that I missed? How did you guy end up running the script on a daily basis to figure out if it was a holiday or not? And what announces the holidays? Also is there another script that people are using seems like I had seen another thread somewhere and things were "ironed out". Thanks
Comment
-
The instructions are at the top of the script (txt) file.
' Instructions: Save in HomeSeer /scripts directory.
' Create a HomeSeer event to run the script just after midnight
' Set your House and unit code below for the Holiday Virtual Device
**EDIT**
I've zipped up my tweaks that may help out (hope John doesn't mind) as I was getting errors when running the script.
- Some of the instructions were misleading (didn't agree with layout in ZIP)
- "Includes" folder not needed
- VBS file should be in scripts folder rather than html
- Fixed created "status only" Holiday Virtual Device so that there aren't ON and OFF buttons
Regarding your other question, create any event you want when device string of the Holiday Virtual Device changes to "IsHoliday"Attached Files
Comment
-
Originally posted by pfloyd View PostDoes This Work On HS3?
I used it on HSPro.
Thanks, Drew
I have it on my to do list to convert it all to vb and also use a database rather than an INI file for the calendar and to allow sync'ing with Google Calendar, but both of those are probably a ways off.
Cheers
Al
PS to all those that posted in the thread in the past few years, my apologies for not responding. Somehow I got unsubscribed from the thread.HS 4.2.8.0: 2134 Devices 1252 Events
Z-Wave 3.0.10.0: 133 Nodes on one Z-Net
Comment
-
I was just looking for something like this. I'm also on HS3._______________________________________________
HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links
Comment
Comment