Search found 534 matches

by zak45
Tuesday 20 November 2018 19:06
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 348
Views: 38307

Re: Python Plugin : Broadlink RM2 V4

@hose2001
need to check deeply... as workaround, you can use the application and import the code.
by zak45
Tuesday 20 November 2018 12:47
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

But I want this to execute 4 hours before, not after! If you think in different way, mean from start, this is why I said AFTER. working hour for today : start at 08:00 AM end 04:00 PM when switch Google-At work will be set to 'On', this will execute some other task 4 hours AFTER, which is 4 hours B...
by zak45
Monday 19 November 2018 13:18
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 348
Views: 38307

Re: Python Plugin : Broadlink RM2 V4

Tnx that work for me. I see broadlink (rm3 mini) in hardware and switches but when I try learn new IR code from IRcontrol I got very often this log: 2018-11-19 01:58:39.172 (Broadlink) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' 2018-11-19 01:58:39.172 (Broadlink) 000000000000000000000000 2...
by zak45
Sunday 18 November 2018 18:42
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 348
Views: 38307

Re: Python Plugin : Broadlink RM2 V4

Hi all, I'm new and trying to make this plugin work. Using Win 10 and latest stable app Im currently stuck with the message "Error: (BroadlinkRM2) failed to load ' plugin.py', Python Path used was ..." I tried to install and uninstall different Python versions, only 3.4 Let me install the plugin si...
by zak45
Saturday 17 November 2018 12:14
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

If I create a dummy switch as you said, it wouldn´t solve the problem that I have to think 4 hours ahead, or would it? this will not work in this case...Now, if your working time is more or less, always the same, you can create this scenario from your shift start. Let's suppose: working time is 8 h...
by zak45
Friday 16 November 2018 19:40
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

Do you think it would be possible for this script to, instead, write calendar event time to a user variable? Or maybe both? Hi, not sure to really had understood all.. but here are some possibilities: Create a switch in domoticz (dummy switch) On the On action you can put the script command to crea...
by zak45
Friday 16 November 2018 19:33
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 348
Views: 38307

Re: Import device

RueDesButtes wrote:
Tuesday 13 November 2018 21:21
Hello,
RPI3 + Raspbian Stretch + Domoticz stable V4.9700 + RM PRO+

It looks like I am close to use the Broadlink inside Domoticz,
I am stuck now with the import function, no button is active:
  • webstart
  • import
  • generate
Thanks
Can you put in debug mode and post the result ?
by zak45
Friday 16 November 2018 19:27
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

brucez wrote:
Thursday 15 November 2018 22:16
Hi all!

The download link is not working. :(
Can you please check it?

Thanks! ;)
checked and working.
by zak45
Tuesday 06 November 2018 19:17
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

tomdh76 wrote:
Tuesday 06 November 2018 14:17
Here is the generated ics file from the plugin. I have two test events entered with #wrk#. In the ics file this is in the description followed by \n
New iCal.py version uploaded. let's try.
thanks.
by zak45
Tuesday 06 November 2018 18:43
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

Installed requests module, and got a new error that I was missing "iCalendar" So, I guess those modules uninstalled when i was fixing my Python installation, i had to reinstall all modules again from the wiki page, now the devices are created right away! Time to look in to the calendar functions, i...
by zak45
Tuesday 06 November 2018 13:42
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

tomdh76 wrote:
Tuesday 06 November 2018 12:52
Outlook still not working for me. The google buttons look different though (see screenshot)? I really appreciate all your work!
Work at home ....??? !!!!

To be able to debug: need ics file
by zak45
Tuesday 06 November 2018 13:39
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

Here it comes! Looks OK. Now focus on the second process: iCal.sh you should have this inside: nohup python3 "$@" & connect on the same user as Domoticz is installed and try to see if you can execute python3 ?? iCal.sh will execute iCal.py, passing all parameters you can see into Domoticz log. you ...
by zak45
Monday 05 November 2018 21:41
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

Yes! That too. I did try it again just so I didn´t forgot after I changed out those files, but no difference. lets focus now on the communication part between processes. put plugin on debug mode, and execute this command from your OS (where domoticz is running): http://127.0.0.1:9003 you should rec...
by zak45
Monday 05 November 2018 20:32
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

TheeDude wrote:
Monday 05 November 2018 20:03
Yes it is!
do you have chmod +x on *.py & *.sh files ??
by zak45
Monday 05 November 2018 20:28
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

It is working as expected in google calendar, thanks a lot! I do not get it to work in outlook, it seems that the ics file generated by outlook always uses \n in the description line like this: DESCRIPTION:#wrk#\n. I think that it does not work in that way. Do you have an idea / suggestion? Will do...
by zak45
Monday 05 November 2018 19:55
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

It is working as expected in google calendar, thanks a lot! I do not get it to work in outlook, it seems that the ics file generated by outlook always uses \n in the description line like this: DESCRIPTION:#wrk#\n. I think that it does not work in that way. Do you have an idea / suggestion? Will do...
by zak45
Monday 05 November 2018 19:54
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

@TheeDude
Does domoticz is allowed to accept new HW/Devices ???
Capture.JPG
Capture.JPG (32.11 KiB) Viewed 235 times
by zak45
Monday 05 November 2018 19:04
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

TheeDude wrote:
Monday 05 November 2018 14:27
Any idea of what I should try next?
put debug mode and post the log (take care of any private information)
by zak45
Monday 05 November 2018 13:34
Forum: Python
Topic: Python Plugin : iCal Multi Purpose Python Plugin for Domoticz
Replies: 85
Views: 2388

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

tomdh76 wrote:
Monday 05 November 2018 8:54

__Command detected : #cmd#Vakantie:switch:On

The #cmd# was useful to do that.
Do you think it is possible to make that work somehow?
yes, you just need to put the #cmd# keyword on the description field of your calendar entry.. but nothing else.

e.g:#cmd#Vakantie:switch:On
by zak45
Monday 05 November 2018 0:43
Forum: Other questions and discussions
Topic: Can Domoticz be used as an interface between different makes
Replies: 8
Views: 619

Re: Can Domoticz be used as an interface between different makes

Not really...
And maybe you should try the 'scene' in your case.