Search found 28 matches

by Jufo
Saturday 02 May 2020 16:56
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

This option (html) has been withdrawn, must be added manually :cry:
by Jufo
Saturday 15 February 2020 15:21
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

Ok, this is the problem with the new beta version domoticz and plugin ? Works correctly in version 4.11494 (I have restored from my old virtual machine backup) Works with python 3.7 I found the same problems in other threads, it looks like from version 4.11595: https://github.com/domoticz/domoticz ...
by Jufo
Friday 14 February 2020 18:44
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

I have a problem with the new installation, please help :) Without plugin, Domoticz works correctly. System: Debian Buster Domoticz: 4.11690 2020-02-14 18:13:56.036 Status: PluginSystem: Entering work loop. 2020-02-14 18:13:56.138 Error: Domoticz(pid:535, tid:539('PluginMgr')) received fatal signal ...
by Jufo
Saturday 05 May 2018 19:57
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

I have one question I'd like to make a toggle button (on / off), but what should be the syntax on Linux?, under Windows it looks like this: https://www.domoticz.com/wiki/images/b/bb/BroadlinkRM2_selector.JPG I do not want to work the following version: script:///home/robert/domoticz/plugins ...
by Jufo
Saturday 05 May 2018 16:28
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

@zak45

I analyzed the problem deeper (I did tests on a clean copy of a virtual machine).
You would have to add to the domoticz's manual to uninstall (only) pycryptodome-3.4.11. This package is installed by default with the broadlink.

Best Regards,
Robert
by Jufo
Saturday 05 May 2018 15:57
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

@zak45

It works!
Are these packages needed (pycrypto & pycryptodome)?
by Jufo
Saturday 05 May 2018 12:41
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

give output of this command: sudo pip3 list broadlink (0.9) cryptography (1.7.1) idna (2.2) keyring (10.1) keyrings.alt (1.3) pip (9.0.1) pyaes (1.6.1) pyasn1 (0.1.9) PyCRC (1.21) pycrypto (2.6.1) pycryptodome (3.4.11) pygobject (3.22.0) pyserial (3.2.1) pyxdg (0.25) SecretStorage (2.3.1 ...
by Jufo
Saturday 05 May 2018 10:09
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

@zak45

I made a new Domoticz compilation + new database did not help :(
by Jufo
Friday 04 May 2018 9:13
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

zak45 wrote: Thursday 03 May 2018 23:17 Another way to investigate: try to compile from source and not use the pre-build version, you should found all information on wiki.
Compile Brodlink module or Domoticz ? I use clean Debian 9 Stretch x86_64.
by Jufo
Thursday 03 May 2018 18:39
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

OK, now just remove this HW, modify the plugin.py by removing # in front of #import one by one.. we need to found which module made trouble in your system ( i would begin by the end, this mean #import broadlink) and create a new HW Problem is with broadlink module, others are working. I found a ...
by Jufo
Thursday 03 May 2018 18:10
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

@zak45 It's better, I modified the code. 1. Discovery version, in logs: 2018-05-03 17:40:49.713 (RM mini 3) Initialized version 4.1.0, author 'zak45' 2018-05-03 17:40:49.713 (RM mini 3) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL 2018-05-03 17:40:49.713 (RM ...
by Jufo
Thursday 03 May 2018 15:58
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

@zak45 I did a simple test. It looks like the discover works: robert@domoticz:~$ sudo python3 Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170118] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import broadlink >>> broadlink.discover(timeout=5 ...
by Jufo
Thursday 03 May 2018 13:37
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

HarleyZard wrote: Thursday 03 May 2018 11:12 I tried to install Python 3.6, but when I start domoticz, it only load library 3.5 in the log ; I don't understand to load library 3.6 in Domoticz... perhaps it's the solution...
Hi HarleyZard,

I also installed python 3.6 the same symptom as yours. Domoticz could not load python plugins.
by Jufo
Thursday 03 May 2018 9:46
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

What you need to do: Do not use the plugin until you do not have been able to connect to your RM Mini 3 manually. You will found all information on Github. Once you have been able to connect manually, lets reconfigure the plugin, this should work.. this work for others. Can you give a link to ...
by Jufo
Wednesday 02 May 2018 20:39
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

Just configure another HW in Domoticz for this plugin and select type as 'Discovery', see Wiki Made a discovery to show us the broadlink devices detected on your network. The logs are the same. But when I dropped the hardware, I noticed it in the logs: 2018-05-02 18:38:36.856 (RM mini 3) Stop ...
by Jufo
Wednesday 02 May 2018 18:26
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

I only see this :( Filter: X 2018-05-02 17:10:40.668 Domoticz V3.9389 (c)2012-2018 GizMoCuz 2018-05-02 17:10:40.669 Build Hash: 28d24885, Date: 2018-05-01 00:17:26 2018-05-02 17:10:40.669 Startup Path: /home/robert/domoticz/ 2018-05-02 17:10:40.744 Sunrise: 05:03:00 SunSet: 20:03:00 2018-05-02 17:10 ...
by Jufo
Wednesday 02 May 2018 18:10
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

zak45 wrote: Wednesday 02 May 2018 18:05 Great! put the plugin on debug mode, restart Domoticz and provide the log.
I set debug mode, but that's all I have in domoticz logs ?. Are there any other logs somewhere ?
by Jufo
Wednesday 02 May 2018 16:38
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

@zak45

Version 3.9389 is working reasonably stable. But I do not see any virtual devices.
How to check why this is happening? In log:

Code: Select all

2018-05-02 15:07:24.995 (RM mini 3) Entering work loop.
2018-05-02 15:07:24.995 (RM mini 3) Initialized version 4.1.0, author 'zak45' 
Best Regards,
Robert
by Jufo
Monday 30 April 2018 13:40
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

Unfortunately, no choice.. you need to be on version 3.90xx or > to have it running. There is some problem with last beta, so you can wait for a more stable one or take a look here : https://www.domoticz.com/forum/viewtopic.php?f=6&t=23225&start=20#p179258 I am now using beta, newer version 3.9381 ...
by Jufo
Monday 30 April 2018 10:21
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 125646

Re: Python Plugin : Broadlink RM2 V4

Hi, I'm using stable version 3.8153 on Debian Stretch (virtual machine). Device: RM mini3. I installed according to the following steps: sudo apt-get install python3-pip sudo pip3 install broadlink sudo pip3 install pyaes mkdir -p /home/robert/domoticz/plugins/BroadlinkRM2 copy file plugin: plugin ...