Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Moderator: leecollings
-
- 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
Ok, merci.
Will try to see if I can do something from my side.
PS
Et non,
malheureusement pas du coin.
Will try to see if I can do something from my side.
PS
Et non,
malheureusement pas du coin.
-
- 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
thank you,
in fact, my need is to recover in a device type text, the appointments of the day to display them on a screen (type monitor) in addition to being able to do actions in Domoticz from my calendar.
in fact, my need is to recover in a device type text, the appointments of the day to display them on a screen (type monitor) in addition to being able to do actions in Domoticz from my calendar.
-
- 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
new iCal.py uploaded.
give it a try.
give it a try.
-
- 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
Whaou !
Seule erreur restante:
Error : <class 'FileNotFoundError'> [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/iCal/19iCal.ics.bkp' <traceback object at 0x75acf6c0>
Effectivement, le fichier n'existe pas. Est-ce à moi de le créer?
Seule erreur restante:
Error : <class 'FileNotFoundError'> [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/iCal/19iCal.ics.bkp' <traceback object at 0x75acf6c0>
Effectivement, le fichier n'existe pas. Est-ce à moi de le créer?
- Spoiler: show
-
- 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 try a command.
In my ics file:
BEGIN:VEVENT^M
UID:e54968ee-ed17-4d9d-ab08-a80d93256473^M
DTSTART;TZID=Europe/Paris:20190303T203000^M
DTEND;TZID=Europe/Paris:20190303T213000^M
CREATED:20190303T191113Z^M
DTSTAMP:20190303T191213Z^M
LAST-MODIFIED:20190303T191213Z^M
SUMMARY:#cmd#Test:switch:On:0^M
TRANSP:OPAQUE^M
END:VEVENT^M
Nothing in domoticz on switch Test, but "At Work"
In my ics file:
BEGIN:VEVENT^M
UID:e54968ee-ed17-4d9d-ab08-a80d93256473^M
DTSTART;TZID=Europe/Paris:20190303T203000^M
DTEND;TZID=Europe/Paris:20190303T213000^M
CREATED:20190303T191113Z^M
DTSTAMP:20190303T191213Z^M
LAST-MODIFIED:20190303T191213Z^M
SUMMARY:#cmd#Test:switch:On:0^M
TRANSP:OPAQUE^M
END:VEVENT^M
Nothing in domoticz on switch Test, but "At Work"
-
- 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
this should not be on Summary but on description:
e.g.
BEGIN:VEVENT
DTSTART:20180511T224500Z
DTEND:20180511T231500Z
DTSTAMP:20190303T221129Z
CREATED:20180511T095943Z
DESCRIPTION:#cmd#Z-LampeEXTRGBW:rgb:red
LAST-MODIFIED:20180511T225500Z
LOCATION:
SEQUENCE:18
STATUS:CONFIRMED
SUMMARY:Lampe RGB Flo
TRANSP:OPAQUE
END:VEVENT
e.g.
BEGIN:VEVENT
DTSTART:20180511T224500Z
DTEND:20180511T231500Z
DTSTAMP:20190303T221129Z
CREATED:20180511T095943Z
DESCRIPTION:#cmd#Z-LampeEXTRGBW:rgb:red
LAST-MODIFIED:20180511T225500Z
LOCATION:
SEQUENCE:18
STATUS:CONFIRMED
SUMMARY:Lampe RGB Flo
TRANSP:OPAQUE
END:VEVENT
-
- 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 !
It's OK.
A big thank !
Un grand merci pour le travail et votre disponibilité.
I just have to find how to feed either a variable or a text device with the elements of the calendar.
Encore merci
Martial
PS: vous êtes du Loiret ?
It's OK.
A big thank !
Un grand merci pour le travail et votre disponibilité.
I just have to find how to feed either a variable or a text device with the elements of the calendar.
Encore merci
Martial
PS: vous êtes du Loiret ?
-
- 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
Ok, that's great..
Et oui, à coté d’Orléans !
Bon courage.
Et oui, à coté d’Orléans !
Bon courage.
-
- 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
Belle région également.
Dommage, j'aurai pu vous payer une bière.
Cordialement
Dommage, j'aurai pu vous payer une bière.
Cordialement
-
- 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
For people that are using this plugin and living in nice country : France 
you can request by voice the rain prevision and Domoticz will use TTS to respond.
if you say "va-t-il pleuvoir", the magic appear...
This is part of the EZJarviz python plugin.

you can request by voice the rain prevision and Domoticz will use TTS to respond.
if you say "va-t-il pleuvoir", the magic appear...
This is part of the EZJarviz python plugin.
-
- 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
except those who, like me, live in the southeast quarter
http://www.meteofrance.com/previsions-m ... ions-pluie

http://www.meteofrance.com/previsions-m ... ions-pluie

-
- Posts: 19
- Joined: Tuesday 09 June 2015 21:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: The Nederlands
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Dear Zak45,
I am searching for a good Google Calendar integration with Domoticz. At this moment, your solution would be the best for our needs.
I did try come up with a solution myself, but it is too difficult for me. In the past we used the BakSeeDaa calendar.
Multiple people use the Calendar with different appointments with differents switches. Is it possible to use more than one #cmd# in one appointment? If so, what syntax should be used?
I hope you could help me, thank you in advance.
Best regards,
Aad R
I am searching for a good Google Calendar integration with Domoticz. At this moment, your solution would be the best for our needs.
I did try come up with a solution myself, but it is too difficult for me. In the past we used the BakSeeDaa calendar.
Multiple people use the Calendar with different appointments with differents switches. Is it possible to use more than one #cmd# in one appointment? If so, what syntax should be used?
I hope you could help me, thank you in advance.
Best regards,
Aad R
-
- 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
Hi,Aadr wrote: ↑Saturday 27 April 2019 11:57 I am searching for a good Google Calendar integration with Domoticz. At this moment, your solution would be the best for our needs.
I did try come up with a solution myself, but it is too difficult for me. In the past we used the BakSeeDaa calendar.
Multiple people use the Calendar with different appointments with differents switches. Is it possible to use more than one #cmd# in one appointment?
If so, what syntax should be used?
not in actual version... but this is something you can manage with Domoticz:
let suppose you want to activate dev1, dev2 & dev3
just create a dummy switch, call it for example dum1 and put dev1,dev2 & dev3 as slave device.
your appointement need to be set for dum1...
in case you need different actions, suppose put dev1 'on', dev2 'off', dev3 'on', in this case you can try to play with the scene/group feature of Domoticz
in case you want some other type of action you can even put script execution etc ...
Domoticz offer so much possibilities... but if you have some specific need not covered by Domoticz, let me know, I can maybe take some times to see what can be done.
regards.
-
- Posts: 19
- Joined: Tuesday 09 June 2015 21:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: The Nederlands
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Dear Zak45,
Thank you for your quick reply.
The dummy and scene solution you propose is not ideal, we would end up with to many dummy switches. The calender-user would not be able to remember them all.
We have in our clubhouse 4 heatingzones and 20 calendar-users. Depending on the planned activities, different combinations of the heatingzones are activated.
The calendar-user makes an appointment, and fills in a specific code for a heatingzone(s) he will need during his activity.
So I am looking for a solution whereby a short keyword will trigger one specific dummy-switch. From there a simple script will handle the task.
And I need at least 4 different keywords.
I hope my explanation is clear enough for you and that a small modification or extra feature is possible.
many thanks for your work so far, at the moment I am learning Python on YouTube. Maybe I will be able to contribute in the future myself a little bit.
best regards
Aad R
Thank you for your quick reply.
The dummy and scene solution you propose is not ideal, we would end up with to many dummy switches. The calender-user would not be able to remember them all.
We have in our clubhouse 4 heatingzones and 20 calendar-users. Depending on the planned activities, different combinations of the heatingzones are activated.
The calendar-user makes an appointment, and fills in a specific code for a heatingzone(s) he will need during his activity.
So I am looking for a solution whereby a short keyword will trigger one specific dummy-switch. From there a simple script will handle the task.
And I need at least 4 different keywords.
I hope my explanation is clear enough for you and that a small modification or extra feature is possible.
many thanks for your work so far, at the moment I am learning Python on YouTube. Maybe I will be able to contribute in the future myself a little bit.
best regards
Aad R
-
- 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
New feature added to iCal:
the cmd command now allow to put more than one Domoticz device.
this work in this way:
#cmd#dev1{,dev2,dev3,...}:switch:On|Off{:0}
the cmd command now allow to put more than one Domoticz device.
this work in this way:
#cmd#dev1{,dev2,dev3,...}:switch:On|Off{:0}
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Hello zak45 ,
I would love to use your icalendar plugin on my raspbian domoticz.
The installation succeeded without errors.
After installing the plugin I get the following in the log:
26output.err:
fatal error
and
26output.txt:
-----------------Main---------------------------
__Error sending command to Domoticz : type=command¶m=getuservariables__
Error : <class 'urllib.error.HTTPError'> HTTP Error 401: Unauthorized <traceback object at 0x76087580>
__Error retreive dict data from Domoticz : uservariables__
__error to generate uservariables dict__
Error : None None None
Do you perhaps have an idea what I am doing wrong?
I am using python 3.5.3 and domoticz 4.11020.
Kind regards,
Victor
I would love to use your icalendar plugin on my raspbian domoticz.
The installation succeeded without errors.
After installing the plugin I get the following in the log:
- Spoiler: show
26output.err:
fatal error
and
26output.txt:
-----------------Main---------------------------
__Error sending command to Domoticz : type=command¶m=getuservariables__
Error : <class 'urllib.error.HTTPError'> HTTP Error 401: Unauthorized <traceback object at 0x76087580>
__Error retreive dict data from Domoticz : uservariables__
__error to generate uservariables dict__
Error : None None None
Do you perhaps have an idea what I am doing wrong?
I am using python 3.5.3 and domoticz 4.11020.
Kind regards,
Victor
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Seems it had to do with the ip-address I used.
changed the default 127.0.0.1 to the external ip-adress that domoticz uses and now the devices do appear.
In my case the "external" ipaddress was 10.0.1.70

changed the default 127.0.0.1 to the external ip-adress that domoticz uses and now the devices do appear.
In my case the "external" ipaddress was 10.0.1.70

-
- Posts: 46
- Joined: Wednesday 07 October 2015 0:43
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Hello again!
In the summer I haven´t used this script, because it just heats my car when it is cold outside.
And now the autumn is coming with cold temperatures, and yesterday I tried to test the script again, if it was working.
To my surprise it was not!
Any idea why?
I did try to download new version of the files from dropbox link, and no success..
In the summer I haven´t used this script, because it just heats my car when it is cold outside.
And now the autumn is coming with cold temperatures, and yesterday I tried to test the script again, if it was working.
To my surprise it was not!
Any idea why?
I did try to download new version of the files from dropbox link, and no success..
- Spoiler: show
- Spoiler: show
-
- 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
hI, looks like problem is coming from recuring rules.
Can you send me your ics file ?
Who is online
Users browsing this forum: No registered users and 1 guest