I have found it: iCal.ics ... lolOK, but how i give the ics file to the plugin?
Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Moderator: leecollings
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
-
- Posts: 953
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
1:Ok, this confirm and will adapt the plugin for new Domoticz version...
2: just create the ics file by follow this naming convention :
HWID + iCal.ics
where HWID = Hardware ID that Domoticz had give to your plugin installation.
In your case should be 19:
this give:
/somehome/someusr/somedom/plugins/iCal/19iCal.ics
2: just create the ics file by follow this naming convention :
HWID + iCal.ics
where HWID = Hardware ID that Domoticz had give to your plugin installation.
In your case should be 19:
this give:
/somehome/someusr/somedom/plugins/iCal/19iCal.ics
-
- Posts: 953
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
iCal.py : New version uploaded to take care of adduservariable modification.
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
I have try with a shell: getIcal.sh
In 19ouput.err, i found:
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1207, in <module>
processiCal()
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 984, in processiCal
tz=domvars[str(hwid) + '|iCal|' + 'tz']['Value']
KeyError: '19|iCal|tz'
EDIT: I HAVE NOT DOWNLOADED THE LAST VERSION.
In 19ouput.err, i found:
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1207, in <module>
processiCal()
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 984, in processiCal
tz=domvars[str(hwid) + '|iCal|' + 'tz']['Value']
KeyError: '19|iCal|tz'
EDIT: I HAVE NOT DOWNLOADED THE LAST VERSION.
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
It's OK for variables !
But I lost the devices !
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1157, in <module>
initVar()
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 311, in initVar
if creVar(varname,value):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 363, in creVar
url = 'http://www.meteofrance.com/mf3-rpc-port ... rch/input=' + postcr['address']['village']
KeyError: 'village'
But I lost the devices !
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1157, in <module>
initVar()
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 311, in initVar
if creVar(varname,value):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 363, in creVar
url = 'http://www.meteofrance.com/mf3-rpc-port ... rch/input=' + postcr['address']['village']
KeyError: 'village'
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Help !
I can not create the devices by the plugin.
I have:
- deleted the hardware
- deleted the variables
- verified inside the bd: there is no device corresponding
- stopped domoticz
- cleaned .../domoticz/plugins/iCal (reinstall all from your zip)
- started domoticz
- created harware (without external iCal)
and ... no devices !
variables seems OK
What can I do now ?
I can not create the devices by the plugin.
I have:
- deleted the hardware
- deleted the variables
- verified inside the bd: there is no device corresponding
- stopped domoticz
- cleaned .../domoticz/plugins/iCal (reinstall all from your zip)
- started domoticz
- created harware (without external iCal)
and ... no devices !
variables seems OK
Code: Select all
15 19|iCal|country Chaîne fr 2019-03-02 17:17:11
14 19|iCal|village Chaîne *unknown* 2019-03-02 17:17:11
13 19|iCal|postalcode Chaîne 83700 2019-03-02 17:17:11
12 19|iCal|tz Chaîne CET 2019-03-02 17:17:11
11 19|iCal|cmd Chaîne switch,push,level,rgb 2019-03-02 17:17:08
10 19|iCal|sync Chaîne 60 2019-03-02 17:17:08
-
- Posts: 953
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Yep...
You live in nice area
but not covered by meteo france for rain prevision
new version of iCal.py uploaded to cover this case.
You live in nice area

but not covered by meteo france for rain prevision

new version of iCal.py uploaded to cover this case.
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
yes, Saint-Raphaël !
where can i find new iCal.py ?
where can i find new iCal.py ?
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
I am confused ...
Ok, i have download it
but now:
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1210, in <module>
processiCal()
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1043, in processiCal
datetomanage=getRecurrences(rulename, startdt, today, addtonow, excludedate)
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 937, in getRecurrences
first_rule = rrulestr(rulename, dtstart=start)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 1731, in __call__
return self._parse_rfc(s, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 1653, in _parse_rfc
tzinfos=tzinfos)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 1560, in _parse_rfc_rrule
return rrule(dtstart=dtstart, cache=cache, **rrkwargs)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 470, in __init__
'RRULE UNTIL values must be specified in UTC when DTSTART '
ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is timezone-aware
Ok, i have download it
but now:
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1210, in <module>
processiCal()
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1043, in processiCal
datetomanage=getRecurrences(rulename, startdt, today, addtonow, excludedate)
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 937, in getRecurrences
first_rule = rrulestr(rulename, dtstart=start)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 1731, in __call__
return self._parse_rfc(s, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 1653, in _parse_rfc
tzinfos=tzinfos)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 1560, in _parse_rfc_rrule
return rrule(dtstart=dtstart, cache=cache, **rrkwargs)
File "/usr/local/lib/python3.5/dist-packages/dateutil/rrule.py", line 470, in __init__
'RRULE UNTIL values must be specified in UTC when DTSTART '
ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is timezone-aware
-
- Posts: 953
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
So.. looks like device have been created and the ics file readen but :
RRULE UNTIL values must be specified in UTC when DTSTART '
ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is
you have a recurrent rule defined that maybe do not follow standard...
try without any recurrent rule just to validate;
after let see with Radicale how they generate RRULE in the ics file
RRULE UNTIL values must be specified in UTC when DTSTART '
ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is
you have a recurrent rule defined that maybe do not follow standard...
try without any recurrent rule just to validate;
after let see with Radicale how they generate RRULE in the ics file
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Peut-être, mais comment ????you have a recurrent rule defined that maybe do not follow standard...
try without any recurrent rule just to validate;
-
- Posts: 953
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Humm.. no idea.
First time I heard about radicale...
RRULE = recurrent rule, this mean every entries you have set in your calendar that occur more than once (every day, every week etc and until certain amount of time...or even always)
Now, I suppose that you have option to create another calendar entry, on this one just create some appointement , but not recurrent, and use this one for ics file generation...
How to do that.. no idea with Radicale but shoudl be possible (I guess)
At the end, create a recurrent entry and le see what's happend.
If possible, share this ics file, could be interesting to see how it looks.
First time I heard about radicale...
RRULE = recurrent rule, this mean every entries you have set in your calendar that occur more than once (every day, every week etc and until certain amount of time...or even always)
Now, I suppose that you have option to create another calendar entry, on this one just create some appointement , but not recurrent, and use this one for ics file generation...
How to do that.. no idea with Radicale but shoudl be possible (I guess)
At the end, create a recurrent entry and le see what's happend.
If possible, share this ics file, could be interesting to see how it looks.
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Ok !!!
Radicale is a small but powerful CalDAV (calendars, todo-lists) and CardDAV (contacts) server.
https://radicale.org/
I use it to synchronize a calendar with my PC, the one of may wife and our android phones and others ipad ...
and yes, i have a reccurent rule ...
I look at this ...
Thank you for this job and your help.
Vous êtes du coin ?
Cordialement
Martial
Radicale is a small but powerful CalDAV (calendars, todo-lists) and CardDAV (contacts) server.
https://radicale.org/
I use it to synchronize a calendar with my PC, the one of may wife and our android phones and others ipad ...
and yes, i have a reccurent rule ...
I look at this ...
Thank you for this job and your help.
Vous êtes du coin ?
Cordialement
Martial
-
- Posts: 31
- Joined: Saturday 11 March 2017 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
My ics file for test.
I don,t understand the firsts RRULE but the last one is really a reccurent rule.
RRULE is discribe in RFC 5545
I don,t understand the firsts RRULE but the last one is really a reccurent rule.
RRULE is discribe in RFC 5545
- Spoiler: show
Who is online
Users browsing this forum: No registered users and 1 guest