Page 1 of 1

HS3 Nationale Feestdagen script

Posted: Wed Jan 20, 2016 3:53 pm
by Karell
Beste mensen,




***UPDATE 04-06-2019
***WARNING THIS UPDATE WIL RECREATE THE NEW DEVICES AFTER DELETION OF THE ROOT!!!!***

*FULL REWRITE!
*hS3 script changes to last version.
*Ini file change - Please delete LOCATION 1 and 2
*Location 1 and 2 default name (look at Malosa-THE SCRIPT NAME)
*bugfixes










SCRIPT IS GEUPDATED ! Voor nationale dagen ! (wie andere feestdagen wilt toegevoegd hebben even een bericht achterlaten)

CHanges :

1. Hij maakt 4 devices aan (root , instance,vandaag,morgen)
2. de url van de kalender kun je plakken in de ini file
3. Spraak selecteerbaar in de ini file , en tevens (2 preconfigured instances kiezen)
4. text veranderd en status texten aangepast, geen engels meer. (devices zijn nederlands)
5. Images aangepast en ziet beter uit nu.


Installatie

Pak de bestanden uit en vervang ze

Verwijder Malosa-Holiday NL.vb uit /scripts in homeseer , het nieuwe bestand heet nu Malosa-Holiday NL.vben niet vergeten in events te veranderen.

PDF kun je verwijderen , alles is automatisch nu (check ini file voor opties)


veel plezier!!!



Download link ,

dropbox.com/s/02udumjqr3u6ls4/Malosa-Ho ... L.rar?dl=0

Re: HS3 Nationale Feestdagen script

Posted: Sat Apr 09, 2016 6:42 pm
by Karell
Script is geupdated! en is automatisch nu en nieuwe images !

Re: HS3 Nationale Feestdagen script

Posted: Wed Apr 20, 2016 9:23 pm
by mdecharon
Ik heb je script gedownload maar hoe krijg ik m aan de praat?

Re: HS3 Nationale Feestdagen script

Posted: Thu Apr 21, 2016 9:12 am
by bartbakels
Karel,

Ik heb het script ook geprobeert, maar ik lijk dependencies te missen. zie mijn log:

Code: Select all

apr-21 9:09:33	 	Error	Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\Malosa-Holiday NL.vben: Type 'Occurrence' is not defined.
apr-21 9:09:33	 	Error	Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\Malosa-Holiday NL.vben: 'iCalendar' is not declared. It may be inaccessible due to its protection level.
apr-21 9:09:33	 	Error	Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\Malosa-Holiday NL.vben: Type 'DDay.iCal.IRecurringComponent' is not defined.
apr-21 9:09:33	 	Error	Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\Malosa-Holiday NL.vben: Type 'DDay.iCal.Occurrence' is not defined.
apr-21 9:09:33	 	Error	Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\Malosa-Holiday NL.vben: Type 'IICalendarCollection' is not defined.
apr-21 9:09:33	 	Error	Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\Malosa-Holiday NL.vben: Namespace or type specified in the Imports 'DDay.iCal' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
apr-21 9:09:33	 	Error	Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\Malosa-Holiday NL.vben: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

ik vermoed dat ik iets moet toevoegen aan homeseer settings.ini

MVG

Bart

Re: HS3 Nationale Feestdagen script

Posted: Thu Apr 21, 2016 9:36 am
by bartbakels
you have to add:

DDay.iCal;DDay.iCal.dll

to homeseer settings .ini

and download the DDay.iCal.dl and dependencies and add this to you homeseer root DIR

This solved my issue.

HS3 Nationale Feestdagen script

Posted: Sun Apr 24, 2016 12:35 pm
by Karell
Sorry voor de late reactie , heb het erg druk op dit moment.
Ben ik helemaal de dll's vergeten toe te voegen ?
Thanks Bart voor het posten van de dll files , ik zal mijn zip file updaten zodra ik tijd heb.

Groeten,

Add this after this line here in homeseer settings.ini

ScriptingReferences=

DDay.iCal;DDay.iCal.dll,DDay.Collections;DDay.Collections.dll

Sended from far far away

Re: HS3 Nationale Feestdagen script

Posted: Thu May 26, 2016 3:07 pm
by Karell
Nieuwe versie

changes:

1.Fixed typo's
2.Added ical files
3.fixed translation

Re: HS3 Nationale Feestdagen script

Posted: Fri May 27, 2016 11:09 pm
by Antoon
Bedankt voor de update!

Re: HS3 Nationale Feestdagen script

Posted: Wed May 08, 2019 12:41 pm
by Antoon
Hoi Karell,

Ik heb eigenlijk nog steeds het probleem dat er bij een feestdag geen icoontje komt.
Het standaard icoon blijft staan maar wel met de tekst erbij van de feestdag.

Re: HS3 Nationale Feestdagen script

Posted: Thu May 09, 2019 8:14 pm
by Karell
Antoon wrote:Hoi Karell,

Ik heb eigenlijk nog steeds het probleem dat er bij een feestdag geen icoontje komt.
Het standaard icoon blijft staan maar wel met de tekst erbij van de feestdag.
Hoi Antoon,

Ik zal eens kijken wat het probleem is, bij mij werkt die anders wel normaal.
met pasen nog gekeken.

groetjes

Re: HS3 Nationale Feestdagen script

Posted: Thu May 09, 2019 8:18 pm
by Karell
het kan zijn dat een van die dagen een typfout heeft in jou ics bestand of geen spatie er tussen.

gebruik deze url eens voor de nederlandse feestagen

https://calendar.google.com/calendar/ic ... /basic.ics

groetjes

Re: HS3 Nationale Feestdagen script

Posted: Tue May 14, 2019 11:51 am
by Antoon
Karell,

Ik zie nu in de log dat ik een foutmelding heb.
Dit is wel met de url die jij hierboven gepost had

Feestdag-Kalender Exception: System.UriFormatException: Ongeldige URI: de URI is leeg. bij System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) bij System.Uri..ctor(String uriString) bij scriptcode15.VBWrapper.Main(Object Parm)

Re: HS3 Nationale Feestdagen script

Posted: Tue May 14, 2019 12:04 pm
by Antoon
Ik was de url= vergeten.
Foutmelding is weg, nu even wachten tot Hemelvaart :D
Bedankt,
Antoon wrote:Karell,

Ik zie nu in de log dat ik een foutmelding heb.
Dit is wel met de url die jij hierboven gepost had

Feestdag-Kalender Exception: System.UriFormatException: Ongeldige URI: de URI is leeg. bij System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) bij System.Uri..ctor(String uriString) bij scriptcode15.VBWrapper.Main(Object Parm)

Re: HS3 Nationale Feestdagen script

Posted: Tue Jun 04, 2019 12:59 pm
by Karell
hoi Antoon,

en is het gelukt ?

Ik ga binnenkort al mijn scripts updaten op dit forum.
Moest wat aanpassingen doen voor de nieuwe versie van homeseer.

De updates, inclusief deze is het niet meer mogenlijk om de (function en Room) naam zelf aan te passen.

Antoon wrote:Ik was de url= vergeten.
Foutmelding is weg, nu even wachten tot Hemelvaart :D
Bedankt,
Antoon wrote:Karell,

Ik zie nu in de log dat ik een foutmelding heb.
Dit is wel met de url die jij hierboven gepost had

Feestdag-Kalender Exception: System.UriFormatException: Ongeldige URI: de URI is leeg. bij System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) bij System.Uri..ctor(String uriString) bij scriptcode15.VBWrapper.Main(Object Parm)

Re: HS3 Nationale Feestdagen script

Posted: Tue Jun 04, 2019 2:13 pm
by Karell
Heb het script herschreven.
en alles weer geupdated.

als je de .vben overschrijft gebeurd niks met je devices.. hij krijgt een andere naam als je de root verwijdert.