Re: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Posted: Monday 16 September 2019 22:53
Open source Home Automation System
https://forum.domoticz.com/
Does it mean that if I reate an event in Google calendar, then it will be reflected by the plugin into Domoticz. But if I later modify the event (or delete it) in Google Calendar, it won't be modified/deleted in Domoticz and that such later change/deletion must be done manually in domoticz ?Caution: for #cmd# keyword: plugin create automatically all the timers, but if you change or remove any entry in Calendar, you need to do that manually in your Domoticz system.
The same except for push (see Wiki)ricorico94 wrote: ↑Sunday 20 October 2019 23:07 1- the wiki states that by adding :0 at end of calendar/event title, it will avoid assigning a RGB to OFF at end of event. But it's not described for SWitch. Is it the same for the SWitch ? Or any event with the :switch: setting will force the switch to OFF at end of event ? (I'd like to keep the freedom of initiating a command at beginning of an event without automatically putting to OFF at end of the event)
Right, for #cmd#, the plugin do not delete any created timers, but this can be customized if necessary...ricorico94 wrote: ↑Sunday 20 October 2019 23:07 2- the wiki mentions a sentence I don't understand:Does it mean that if I reate an event in Google calendar, then it will be reflected by the plugin into Domoticz. But if I later modify the event (or delete it) in Google Calendar, it won't be modified/deleted in Domoticz and that such later change/deletion must be done manually in domoticz ?Caution: for #cmd# keyword: plugin create automatically all the timers, but if you change or remove any entry in Calendar, you need to do that manually in your Domoticz system.
yes, but need some basic python knowledge of course...ricorico94 wrote: ↑Sunday 20 October 2019 23:07 3- do you think it would be easy (for someone else than you) to add some other syntax or keywords, so that entries in Google calendar can follow other structure or shorter syntax, etc.. ?
Plugin already create a structured file, It's a plain ascii text file, so you can do what you want with it.ricorico94 wrote: ↑Sunday 20 October 2019 23:07 4- would there be a way for a script in dzvents/lua to use your script to "scan" the various google calendar entries of a specific day and then analyse their content ? (like exporting a structured file which could be analysed by a lua script)
Code: Select all
root@raspberrypi:/home/pi/domoticz/plugins/iCal# cat 16output.err
Traceback (most recent call last):
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1197, in <module>
processiCal()
File "/home/pi/domoticz/plugins/iCal/iCal.py", line 1049, in processiCal
startdt = startdt.astimezone(TZ)
AttributeError: 'datetime.date' object has no attribute 'astimezone'
root@raspberrypi:/home/pi/domoticz/plugins/iCal#
I did a small trick to get it fixed. I "moved" my "domoticz" to the netherlands and restarted the plugin. Now all the devices are created in dutch. I also have appapted the "postalcode" to the correct one. The country code i have left on "nl"Lebo2d9 wrote: ↑Monday 01 June 2020 14:28 Hi zak45,
I have installed the iCal but i have a translation problem.
I live in Belgium (BE) dutch part.
In the iCal directory i have the translation file "en_be.lng" but in the file there are translations to Rusian.
Is there a way to get the nl translation?
be sure that no firewall is blocking.geertvercamer wrote: ↑Friday 03 July 2020 10:48 Hi,
I'm unable to get the devices created.
server is listening on 9003, IP is set to 192.xxx.xxx.xxx address, port is right.
Running on W10
Thanks for your help
I don't think so, just using Windows Firewall . It is an ip address in the local network.zak45 wrote: ↑Friday 03 July 2020 11:09be sure that no firewall is blocking.geertvercamer wrote: ↑Friday 03 July 2020 10:48 Hi,
I'm unable to get the devices created.
server is listening on 9003, IP is set to 192.xxx.xxx.xxx address, port is right.
Running on W10
Thanks for your help
I'm also using pihole, but nothing is blocked there.geertvercamer wrote: ↑Friday 03 July 2020 14:02I don't think so, just using Windows Firewall . It is an ip address in the local network.zak45 wrote: ↑Friday 03 July 2020 11:09be sure that no firewall is blocking.geertvercamer wrote: ↑Friday 03 July 2020 10:48 Hi,
I'm unable to get the devices created.
server is listening on 9003, IP is set to 192.xxx.xxx.xxx address, port is right.
Running on W10
Thanks for your help
check domoticz device (At work) , Verify if you have corresponding schedules created.peter68 wrote: ↑Monday 17 August 2020 14:56 Hi,
I have installed this plugin, webserver is running "iCal response OK!".
In the google agenda i made a appointment with the code #wrk#
However if the time is there nothing happens.
How can i see that the google agenda is loaded correctly?
The log in Domoticz shows no error
Please advise how to check where the probleme might be.
thank you!
Peter
No schedules are created. Not on the At Work switch and also not on the holiday switch.zak45 wrote: ↑Monday 17 August 2020 15:40check domoticz device (At work) , Verify if you have corresponding schedules created.peter68 wrote: ↑Monday 17 August 2020 14:56 Hi,
I have installed this plugin, webserver is running "iCal response OK!".
In the google agenda i made a appointment with the code #wrk#
However if the time is there nothing happens.
How can i see that the google agenda is loaded correctly?
The log in Domoticz shows no error
Please advise how to check where the probleme might be.
thank you!
Peter
I removed the plugin in hardware section of domoticz. this also removes the created devices.
If possible, send me your isc file for debugging.peter68 wrote: ↑Monday 17 August 2020 19:27
I removed the plugin in hardware section of domoticz. this also removes the created devices.
Added the plugin again under a different name. New devices are created.
Also the iCal from google is downloaded. But no schedules are created under the devices. only under the seasons device are 4 schedules.
Still there a no schedules.
where to look to solve this? All help is welcome!