Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Python and python framework

Moderator: leecollings

zak45
Posts: 952
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

Post by zak45 »

Number8 wrote: Monday 14 June 2021 10:19 @zak45: would you consider adding selector switch as a possible command?
Thank you
Will take a look.
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Number8 »

Thanks!
Debian buster on NUC and three RPi with buster.
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Number8 »

Meteo France Rain in next hour fails to retreive information.

Code: Select all

2021-06-26 05:45:44.814 Error: (Calendrier) __Error to execute query__
2021-06-26 05:45:44.814 Error: (Calendrier) __Not able to query data from Meteo France__
It seems there is an official API to retreive information from Meteo France: https://pypi.org/project/meteofrance-api/#files
Debian buster on NUC and three RPi with buster.
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Number8 »

zak45 wrote: Tuesday 15 June 2021 18:35
Number8 wrote: Monday 14 June 2021 10:19 @zak45: would you consider adding selector switch as a possible command?
Thank you
Will take a look.
Hello zak45. Are there any news related to the possible support of selector? Thank you
Debian buster on NUC and three RPi with buster.
zak45
Posts: 952
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

Post by zak45 »

Number8 wrote: Sunday 03 October 2021 20:11
zak45 wrote: Tuesday 15 June 2021 18:35
Number8 wrote: Monday 14 June 2021 10:19 @zak45: would you consider adding selector switch as a possible command?
Thank you
Will take a look.
Hello zak45. Are there any news related to the possible support of selector? Thank you
Let's try with level :
#cmd#DeviceName:level:999{:0}

999: selector switch number
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Number8 »

zak45 wrote: Monday 04 October 2021 11:13 Let's try with level :
#cmd#DeviceName:level:999{:0}

999: selector switch number
Bingo it works. Thank you.
Just for the sake of clarity switch level is needed (and not switch number)
Debian buster on NUC and three RPi with buster.
Number8
Posts: 374
Joined: Friday 23 May 2014 7:55
Target OS: Linux
Domoticz version: 2022.1
Location: Saint Pierre de Jards
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Number8 »

Any chance that it will work for scenes as well?
Thank you
Debian buster on NUC and three RPi with buster.
zak45
Posts: 952
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

Post by zak45 »

Number8 wrote: Monday 04 October 2021 13:59 Any chance that it will work for scenes as well?
Thank you
Sorry, don't think so.
ilkaskim
Posts: 19
Joined: Friday 20 August 2021 2:20
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Germany
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by ilkaskim »

zak45 wrote: Wednesday 17 March 2021 19:18
sgae1990 wrote: Tuesday 16 March 2021 21:00 Hi all,

I'm trying to install the ical plugin but the dropbox link seems to be offline. Is there anyone who has another link to find the needed files? Google gave me no luck ;)

Thanks in advance!
Here it is :
https://synnas.publicvm.com/s/kDTY8PbGdwLRAsR
Hello, unfortunately the link no longer works. Does anyone have a working link there??
zak45
Posts: 952
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

Post by zak45 »

ilkaskim
Posts: 19
Joined: Friday 20 August 2021 2:20
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Germany
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by ilkaskim »

zak45 wrote: Wednesday 13 October 2021 12:18 Here it is :
https://synnas.publicvm.com:4430/s/kDTY8PbGdwLRAsR
I've been trying to read my Google Calendar all the time.
Today it finally worked but only if I delete my access data for domoticz.

Does it only work if you have no access data?
zak45
Posts: 952
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

Post by zak45 »

ilkaskim wrote: Saturday 06 November 2021 12:52
zak45 wrote: Wednesday 13 October 2021 12:18 Here it is :
https://synnas.publicvm.com:4430/s/kDTY8PbGdwLRAsR
I've been trying to read my Google Calendar all the time.
Today it finally worked but only if I delete my access data for domoticz.

Does it only work if you have no access data?
Should work as long as you can provide one line URL, use curl for testing ....
e.g: ics data gather command : enter here the URL to download the ics file
ilkaskim
Posts: 19
Joined: Friday 20 August 2021 2:20
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Germany
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by ilkaskim »

zak45 wrote: Saturday 06 November 2021 18:44
ilkaskim wrote: Saturday 06 November 2021 12:52
zak45 wrote: Wednesday 13 October 2021 12:18 Here it is :
https://synnas.publicvm.com:4430/s/kDTY8PbGdwLRAsR
I've been trying to read my Google Calendar all the time.
Today it finally worked but only if I delete my access data for domoticz.

Does it only work if you have no access data?
Should work as long as you can provide one line URL, use curl for testing ....
e.g: ics data gather command : enter here the URL to download the ics file
Got it done. With username and password of domoticz I could not retrieve any data. I entered the IP of the raspberry under settings and then it could read data error-free.

I can use the external command to quickly make an entry Domoticz


h..p://xxxxxxx.spdns.de:8080/json.htm?type=command&param=addtimer&idx=95&active=true&timertype=5&date=2021-11-07&hour=05&min=49&randomness=false&command=0&days=0&level=-1&color=1&user=admin&password=1234567890

Without Unfortunately, access data did not work. 1&user=admin&password=1234567890

I still have a question, how can I delete this command if I no longer need it?
I use Tasker and the quick commands are a must


@Zak45 thank you very much for the plugin 😍
davecarters2013
Posts: 1
Joined: Thursday 25 November 2021 13:07
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by davecarters2013 »

hi,
installation works well.
But i do not get any switches. also the ics file is not downloaded to the folder..
can sameone help me out?
zak45
Posts: 952
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

Post by zak45 »

check if you have authorized new device creation in domoticz settings
Vulmix
Posts: 3
Joined: Tuesday 08 November 2022 11:24
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Vulmix »

Hello Zak45 ! (Sorry my english is no verry good, I'm Belgian)
I use your pluggin but I have a problem.
If I add a item in my calendar, nothing change in the planning. When I look the output.txt file, I read always : "rien de nouveau dans ical" (en français dans le texte ;) ) But in this ical.ics, the new item is it !
Help me please !
Thanks
zak45
Posts: 952
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

Post by zak45 »

Hi,
try by removing ics.bkp file.
Vulmix
Posts: 3
Joined: Tuesday 08 November 2022 11:24
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Vulmix »

hello !
Thanks but not... accept if I drop every 20 min this file ;)
zak45
Posts: 952
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

Post by zak45 »

Hummm???? ....:-|
Just try to provide some help to understand, the goal is not to do it every 20 minutes !!!

The message come from making a diff between ics and .bkp file.

But doesn't matter, your choice.
Vulmix
Posts: 3
Joined: Tuesday 08 November 2022 11:24
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz

Post by Vulmix »

Trouvé ! (enfin je pense)
Je donne la réponse en français car c'est justement en changeant le problème lié à la traduction que le problème a été solutionné.

Pour les saisons j'ai "printemps, été, l'automne et l'hiver" Avec le ' qui forcément pose problème. J'ai retiré les " l' " et maintenant les modifications sont prises en compte.

Alors est-ce que l'un implique l'autre ou il n'a aucun rapport avec la choucroute ;) Mais maintenant que j'ai corrigé cela, l'agenda fonctionne.

Merci pour ce superbe module qui va me faire de belle économie :idea:
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest