macjeff Posted February 18, 2022 Posted February 18, 2022 Any chance I could beg you to do a holidays field with US Holidays? Jeff
macjeff Posted April 21, 2022 Author Posted April 21, 2022 Is Holidays not possible? Like you have Spring, Fall, etc. How about list the holiday if that day is a holiday. I can config most of them except easter with programs but so much easier to say if Easter then do this
glarsen Posted April 21, 2022 Posted April 21, 2022 Too many variations for Holidays to make it worth the effort for me. Canada is different from the US. But there are a couple of new Holiday node servers on the PG3 store that are free. Take a look at those.
Geddy Posted April 21, 2022 Posted April 21, 2022 @macjeff Not sure of holiday ones on PG3 (not currently able to access that store), but know there's one that worked on PG2 - https://github.com/firstone/holidays-google-poly I know @asbril uses it quite a bit.
DaveStLou Posted April 21, 2022 Posted April 21, 2022 (edited) 52 minutes ago, Geddy said: @macjeff Not sure of holiday ones on PG3 (not currently able to access that store), but know there's one that worked on PG2 - https://github.com/firstone/holidays-google-poly I know @asbril uses it quite a bit. I also use it but not as much as I used to since I retired. And the answer is yes, Holiday Google is in the PG3 store. I have a Google sub calendar that I use to make adjustment in program only on certain holidays. Most of the work is in setting up the calendar. One limitation, it DOES require the "holidays" to be all day events. Edited April 21, 2022 by DaveStLou 1
Geddy Posted April 21, 2022 Posted April 21, 2022 @macjeff just checked...seems to be PG3 option now indeed - https://github.com/UniversalDevicesInc-PG3/holidays-google-poly/blob/master/README.md
MrBill Posted April 21, 2022 Posted April 21, 2022 (edited) 1 hour ago, Geddy said: @macjeff Not sure of holiday ones on PG3 (not currently able to access that store), but know there's one that worked on PG2 - https://github.com/firstone/holidays-google-poly I know @asbril uses it quite a bit. There's actually 2 in PG2, I haven't looked to see if they are PG3 available or not. One is holidays, and the other is a google Calendar interface so that you can define your own. https://github.com/firstone/holidays-poly.git https://github.com/firstone/holidays-google-poly.git Edited April 21, 2022 by MrBill
asbril Posted April 21, 2022 Posted April 21, 2022 (edited) I make extensive use of Holidays Google and in fact I created 9 specific sub calendars that I use in ISY programs. As example, I have specific wake-up ISY programs for the days that my wife works, when I have morning meetings, and other programs such as for when the cleaning lady comes. My Chromecast devices play different radio stations depending on when my wife works or not . This is one of my favorite node servers and indeed yesterday I upgraded to the PG3 version. Regretfully, from time to time, something goes wrong and at midnight the calendar nodes in my ISY do not change to the following day. This happened this morning and the early wake-up program ran because the specific Holidays Google node was stuck on yesterday and therefore it took yesterday's calendar event as being for today. However the ISY Administrative Console itself was on the correct date. In other words, my Administrative Console showed today's date at the top left but yesterday's date in the various calendar nodes of the Holidays Google Node server in ISY. Very weird. The creator of the Node server, @firstone has been very nice and several times has reviewed my Node server logs which basically showed that the Node server was running properly. So clearly it is something in ISY or in the Administrative Console. I believed that maybe the error was that I left the AC open during the night, but that was not the case last night, so I am at a loss. As mentioned, it only happens infrequently and I just live with it. Right now I am only running the Node server on ISY and not yet on IoP. Maybe the issue disappears when I migrate everything to IoP. The issue may be specific to my setup, and I strongly recommend this Node server. Edited April 21, 2022 by asbril 1
DaveStLou Posted April 21, 2022 Posted April 21, 2022 Here are the Configuration Instructions for both: Holidays: holidays-poly/POLYGLOT_CONFIG.md at master · UniversalDevicesInc-PG3/holidays-poly · GitHub Holidays Google: holidays-google-poly/README.md at master · UniversalDevicesInc-PG3/holidays-google-poly · GitHub Both are in the PG3 store. Functionally they appear to be the same as the PG2 versions. 1
macjeff Posted April 21, 2022 Author Posted April 21, 2022 The problem is it will identify a holiday or a day off but unless there’s something wrong on my end it doesn’t tell you the actual name of the holiday which is what I want
DaveStLou Posted April 21, 2022 Posted April 21, 2022 4 minutes ago, macjeff said: The problem is it will identify a holiday or a day off but unless there’s something wrong on my end it doesn’t tell you the actual name of the holiday which is what I want That is correct. Only work around I can think of is to create a separate Google sub calendar for each holiday that you have need of. Granted, kind of unwieldy.
macjeff Posted April 23, 2022 Author Posted April 23, 2022 4 minutes ago, glarsen said: I believe that is one of the two that have been ported over to PG3. Yes tried them both. Neither can give me a field with holiday name Like Holiday today. Holiday name Yes. Christmas No. None
asbril Posted April 23, 2022 Posted April 23, 2022 On 4/21/2022 at 5:53 PM, DaveStLou said: create a separate Google sub calendar for each holiday that you have need of. Granted, kind of unwieldy. That is what I did with Google Holidays. I created a sub-calendar named Holidays in my Google calendar. On a particular holiday, let's say that I want Cinco de Mayo, I will create a all-day event on May 5 using the Holidays sub-calendar. After that in ISY's Administrative Console on May 4, the Tomorrow node for Holidays will be True and on May 5 the Today node will be True. This allows me to run programs using the relevant Tomorrow and/or Today node. I have some issues with the PG 3 version of Holidays Google, some are the same that I sometimes have with the PG 2 version but I also have some other issues. I have sent a pm to @firstone with the logs.
DaveStLou Posted April 23, 2022 Posted April 23, 2022 (edited) In order to do what @macjeff is asking for with the Holidays Google node server, I meant that each holiday would have to have its own calendar, like this: Unwieldy, like I said, but does have two advantages: Each holiday has its own node so it can be a condition for programs (day before and day of). Allows for placing the holidays on the day of choice - either legal or substitution (when it falls on a weekend). Depending on what you're trying to do, you may always want one or the other holiday. Extra bonus you can include the holidays you want. There are now 11 US Holidays now according to this site but those may or may not be days you want to include. In any case, it certainly would be difficult for @glarsen to interpret for everyone in the Timedate node server. Edited April 23, 2022 by DaveStLou
asbril Posted April 23, 2022 Posted April 23, 2022 11 minutes ago, DaveStLou said: each holiday would have to have its own calendar, like this: That would work for holidays that always have the same date (December 25), but not for 'floating' holidays. However you can create a floating calendar "holidays", and then manually create a whole day event in the calendar, using that calendar. I have done that for the coming five years and it took me probably 10 minutes. Then create a program in ISY using the respective node. It sounds more compliacted than it is.
macjeff Posted April 23, 2022 Author Posted April 23, 2022 3 minutes ago, asbril said: That would work for holidays that always have the same date (December 25), but not for 'floating' holidays. However you can create a floating calendar "holidays", and then manually create a whole day event in the calendar, using that calendar. I have done that for the coming five years and it took me probably 10 minutes. Then create a program in ISY using the respective node. It sounds more compliacted than it is. Its just as easy for me to make variables for the holiday dates which I have a reminder set in the ISY to remind me to do them the first of each year. but with all this said there are lots of US holiday feeds out there. It cant be that hard to have a Node server check the feed and import the name of the holiday can it? Probably dont have the programming knowledge to do it myself though.
asbril Posted April 23, 2022 Posted April 23, 2022 19 minutes ago, macjeff said: Its just as easy for me to make variables for the holiday dates which I have a reminder set in the ISY to remind me to do them the first of each year. but with all this said there are lots of US holiday feeds out there. It cant be that hard to have a Node server check the feed and import the name of the holiday can it? Probably dont have the programming knowledge to do it myself though. I understand and yes there are alternatives. For me the Holidays Google is the Node server that I use most. I have 9 sub calendars in my Google calendar with many programs managing my lights, curtains and music.
Recommended Posts