Python Plugin: Broadlink RM2 V3

Python and python framework

Moderator: leecollings

Post Reply
petzno
Posts: 21
Joined: Monday 19 October 2015 9:21
Target OS: Linux
Domoticz version:
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by petzno »

I have the rm pro but using different python script and command line to learn/play codes.


Sent from my iPhone using Tapatalk
kniazio
Posts: 198
Joined: Thursday 06 October 2016 8:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7243
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by kniazio »

After recent update I have a problem with the domotich broadlink plugin

Code: Select all

2017-08-01 08:39:01.882  (TV Volume+) Updating device from 1:'On-1' to have values 1:'On-3'.
2017-08-01 08:39:01.889  (Broadlink_Kuchnia) Update 1:'On-3' (TV Volume+)
2017-08-01 08:39:01.890  Error: Domoticz received fatal signal 11 !...
2017-08-01 08:39:01.890  Error: Domoticz received fatal signal 11 while backtracing !...
2017-08-01 08:39:01.893  Error:   /home/domoticz/domoticz() [0x1cd8e4]
2017-08-01 08:39:01.893  Error:   /home/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1cd99c]
2017-08-01 08:39:01.893  Error:   /lib/arm-linux-gnueabihf/libc.so.6(+0x26ae0) [0x76bedae0]
After a few clicks on the button the Domoticz stops responding
User avatar
moomey
Posts: 4
Joined: Monday 07 September 2015 21:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by moomey »

kniazio wrote:After recent update I have a problem with the domotich broadlink plugin
Me too. Reverted back to 3.8072
flogal
Posts: 2
Joined: Wednesday 02 August 2017 20:42
Target OS: Linux
Domoticz version:
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by flogal »

Hi,
I'm french so sorry if my english is not perfect :)
I'm using Domoticz, latest beta, on a Debian VM on ESXi, since i use the RM2 plugin (3 months, V2, now V3), my domoticz freezes everyday (no access to web UI, status : running (exited)), or even more often. I did every steps mentionned on the wiki, installed python 3.4.2-2 (latest on synaptics), python-dev, python3-dev, ...
I tried to disable the temperature sensor, but it's still freezing.

Here are my logs :
With temperature on :

Code: Select all

2017-08-02 04:10:30.754  (RM2 salon) Calling message handler 'onHeartbeat'.
2017-08-02 04:10:30.828  (Zstick) Usage (Conso Cumulus)
2017-08-02 04:10:30.828  (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 04:10:31.830  (Zstick) Usage (Conso Cumulus)
2017-08-02 04:10:31.831  Error: Domoticz received fatal signal 11 !...
2017-08-02 04:10:31.832  (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 04:10:31.878  Error:   /home/florent/domoticz/domoticz() [0x5d4388]
2017-08-02 04:10:31.878  Error:   /home/florent/domoticz/domoticz(_Z14signal_handleri+0x50) [0x5d4430]
2017-08-02 04:10:31.878  Error:   /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f77205858d0]
2017-08-02 04:10:31.878  Error:   /home/florent/domoticz/domoticz(_ZNSsC2ERKSs+0xb) [0xb377db]
2017-08-02 04:10:31.878  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x39) [0x5ff729]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x66) [0x5ff756]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem14_tDeviceStatusC2ERKS0_+0x2a6) [0x5ffe56]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0x39) [0x5fffc9]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0xdd) [0x60006d]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem14EvaluatePythonERKSsS1_S1_mS1_iPKcSsm+0x154) [0x5d9af4]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem13EvaluateEventERKSsmS1_iPKcSsm+0x1102) [0x5f3112]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem16EventQueueThreadEv+0x3d1) [0x5f3f01]
2017-08-02 04:10:31.879  Error:   /home/florent/domoticz/domoticz() [0xa1139a]
2017-08-02 04:10:31.879  Error:   /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f772057e0a4]
2017-08-02 04:10:31.879  Error:   /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f771f91f62d]
With temperature off :

Code: Select all

2017-08-02 19:41:10.312  (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 19:41:13.320  (Zstick) Usage (Conso Cumulus)
2017-08-02 19:41:13.321  (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 19:41:16.330  (Zstick) Usage (Conso Cumulus)
2017-08-02 19:41:16.331  Error: Domoticz received fatal signal 11 !...
2017-08-02 19:41:16.333  (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz() [0x5d53c8]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_Z14signal_handleri+0x50) [0x5d5470]
2017-08-02 19:41:16.342  Error:   /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890) [0x7fdc51916890]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZNSsC2ERKSs+0xb) [0xb37f3b]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x39) [0x600769]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x66) [0x600796]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem14_tDeviceStatusC2ERKS0_+0x2a6) [0x600e96]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0x39) [0x601009]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0xdd) [0x6010ad]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem14EvaluatePythonERKSsS1_S1_mS1_iPKcSsm+0x154) [0x5dab34]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem13EvaluateEventERKSsmS1_iPKcSsm+0x1102) [0x5f4152]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz(_ZN12CEventSystem16EventQueueThreadEv+0x3d1) [0x5f4f41]
2017-08-02 19:41:16.342  Error:   /home/florent/domoticz/domoticz() [0xa11afa]
2017-08-02 19:41:16.343  Error:   /lib/x86_64-linux-gnu/libpthread.so.0(+0x8064) [0x7fdc5190f064]
2017-08-02 19:41:16.343  Error:   /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fdc50cb062d]
Hope it can help
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by zak45 »

Hi all,
for people with Domoticz/plugin problem, try to install last stable 3.8153.
works for me.
User avatar
moomey
Posts: 4
Joined: Monday 07 September 2015 21:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by moomey »

zak45 wrote:Hi all,
for people with Domoticz/plugin problem, try to install last stable 3.8153.
works for me.
You're lucky ;) Rpi2 with latest stable 3.8153 works until first domoticz restart.
andi216
Posts: 46
Joined: Tuesday 14 March 2017 13:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7243
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by andi216 »

Hello
Is it possible to create a Broadlink SP2 plug-in plug-in?
We found https://github.com/NightRang3r/Broadlink-NodeSP2
It works very well. It would be nice to be integrated into Domoticz.
Andree
Posts: 74
Joined: Wednesday 07 June 2017 11:19
Target OS: Windows
Domoticz version:
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by Andree »

I have 2 RM Mini 3 working perfectly on Domoticz (thx Zack!)
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
User avatar
sisaenkov
Posts: 50
Joined: Friday 27 May 2016 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8
Location: Moscow, Russia
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by sisaenkov »

Andree wrote:But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
You can write bash-script like this and call it from Device On/Off action instead of python calling:

Code: Select all

python /broadlink/command1.ini
python /broadlink/command2.ini
python /broadlink/command3.ini
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by zak45 »

Andree wrote:I have 2 RM Mini 3 working perfectly on Domoticz (thx Zack!)
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
you can do that by using scene/group option in Domoticz, no need any script:

information about it:
https://www.domoticz.com/forum/viewtopic.php?t=14903
Andree
Posts: 74
Joined: Wednesday 07 June 2017 11:19
Target OS: Windows
Domoticz version:
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by Andree »

zak45 wrote:
Andree wrote:I have 2 RM Mini 3 working perfectly on Domoticz (thx Zack!)
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
you can do that by using scene/group option in Domoticz, no need any script:

information about it:
https://www.domoticz.com/forum/viewtopic.php?t=14903
Yep,work fine with Group!Thx Zak
flogal
Posts: 2
Joined: Wednesday 02 August 2017 20:42
Target OS: Linux
Domoticz version:
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by flogal »

zak45 wrote: Thursday 03 August 2017 23:05 Hi all,
for people with Domoticz/plugin problem, try to install last stable 3.8153.
works for me.
Thank you, it is working for me with the stable version :)
I hope the next stable will keep working
TigroEHOT
Posts: 14
Joined: Wednesday 03 August 2016 12:14
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by TigroEHOT »

Hello everybody!

I try to use this plugin (thanks Zak for the enormous bunch of work done!), but i had some trouble before, and now :)
I have installed python 3.5 from source, installed broadlink pip3 install broadlink, pip3 install pyaes pycrypto, copied plugin.py and other files, copied broadlink, Crypto and pyaes folders to python 3.5 directory.
I can add the hardware "Broadlink RM2 with kodi remote", i can see plugin system starting in the log, i get devices created in the switch section, but in the log i get this:

Code: Select all

2017-08-14 13:35:18.211 (Broadlink RM2) Started.
2017-08-14 13:35:18.525 (Broadlink RM2) Entering work loop.
2017-08-14 13:35:18.525 (Broadlink RM2) Initialized version 3.0.0, author 'zak45'
2017-08-14 13:35:18.527 (Broadlink RM2) Debug log level set to: 'true'.
2017-08-14 13:35:18.528 (Broadlink RM2) Creating device 'Command'.
2017-08-14 13:35:18.529 (Broadlink RM2) Creating device 'Temp'.
2017-08-14 13:35:18.530 (Broadlink RM2) Creating device 'Remote'.
2017-08-14 13:35:18.531 (Broadlink RM2) Creating device 'Import'.
2017-08-14 13:35:18.532 (Broadlink RM2) 'Name':'Broadlink RM2'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode4':'yes'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Key':'BroadlinkRM2'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Author':'zak45'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Version':'3.0.0'
2017-08-14 13:35:18.532 (Broadlink RM2) 'HardwareID':'16'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode6':'Debug'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode5':'9000'
2017-08-14 13:35:18.532 (Broadlink RM2) 'HomeFolder':'/home/pi/domoticz/plugins/BroadlinkRM2/'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode1':'b4430de436fe'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Port':'0'
2017-08-14 13:35:18.533 (Broadlink RM2) 'Address':'192.168.0.39'
2017-08-14 13:35:18.533 (Broadlink RM2) 'Mode3':'yes'
2017-08-14 13:35:18.533 (Broadlink RM2) 'Mode2':'/home/pi/domoticz/plugins/BroadlinkRM2'
2017-08-14 13:35:18.533 (Broadlink RM2) Device count: 4
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 1 - ID: 228, Name: 'Broadlink RM2 - Command', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '228'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Command'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 2 - ID: 229, Name: 'Broadlink RM2 - Temp', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '229'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Temp'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 254 - ID: 230, Name: 'Broadlink RM2 - Remote', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '230'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Remote'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 255 - ID: 231, Name: 'Broadlink RM2 - Import', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '231'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Import'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2 - Import) Updating device from 0:'' to have values 0:'Off'.
2017-08-14 13:35:18.539 (Broadlink RM2) Update 0:'Off' (Broadlink RM2 - Import)
2017-08-14 13:35:18.539 (Broadlink RM2) Connecting to: 192.168.0.39:b4430de436fe
2017-08-14 13:35:18.546 Error: (Broadlink RM2) Error Connecting to Broadlink device....
2017-08-14 13:35:18.546 (Broadlink RM2 - Command) Updating device from 0:'' to have values 0:'Off'.
2017-08-14 13:35:18.552 (Broadlink RM2) Update 0:'Off' (Broadlink RM2 - Command)
2017-08-14 13:35:18.552 (Broadlink RM2) Device Number begin to : 2
2017-08-14 13:35:18.566 (Broadlink RM2) No ini file :/home/pi/domoticz/plugins/BroadlinkRM2/remote/plugin_remote_16.ini
2017-08-14 13:35:18.567 (Broadlink RM2) Custom Commands for Remote not managed
2017-08-14 13:35:18.569 (Broadlink RM2) Heartbeat interval set to: 30.
2017-08-14 13:35:18.725 Python: Changed: ID: 231 Name: Broadlink RM2 - Import, Type: 244, subType: 62, switchType: 18, s_value: Off, n_value: 0, n_value_string: Off, last_update_string:
I really need help, my head is blowing up now, I've tried to make it work almost all night :) Where should i look?
TigroEHOT
Posts: 14
Joined: Wednesday 03 August 2016 12:14
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by TigroEHOT »

If i delete the hardware and create new with 127.0.0.1 I get the discover device. If i turn it on i get this in the log:

Code: Select all

2017-08-14 13:56:05.018 User: Admin initiated a switch command (228/Broadlink RM2 - Discover/On)
2017-08-14 13:56:05.051 (Broadlink RM2) Calling message handler 'onCommand'.
2017-08-14 13:56:05.051 (Broadlink RM2) onCommand called for Unit 1: Parameter 'On', Level: 0 , Connected : False
2017-08-14 13:56:05.051 (Broadlink RM2) All plugin system is on pause for 5s...
2017-08-14 13:56:10.058 (Broadlink RM2) Found 1 broadlink devices
2017-08-14 13:56:10.071 Error: (Broadlink RM2) 'onCommand' failed 'TypeError':'sequence item 0: expected str instance, bytes found'.
2017-08-14 13:56:10.071 Error: (Broadlink RM2) ----> Line 210 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2017-08-14 13:56:10.071 Error: (Broadlink RM2) ----> Line 397 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function Discover
2017-08-14 13:56:10.072 Error: (Broadlink RM2) ----> Line 203 in /usr/lib/python3.5/broadlink/__init__.py, function auth
2017-08-14 13:56:10.072 Error: (Broadlink RM2) ----> Line 258 in /usr/lib/python3.5/broadlink/__init__.py, function send_packet
2017-08-14 13:56:10.072 Error: (Broadlink RM2) ----> Line 162 in /usr/lib/python3.5/broadlink/__init__.py, function encrypt_pyaes
2017-08-14 13:56:29.005 (Broadlink RM2) Calling message handler 'onHeartbeat'.
2017-08-14 13:56:29.019 Error: (Broadlink RM2) Error Connecting to Broadlink device....
I'm running domoticz 3.8288 on raspberri pi 3, python 3.5.2, broadlink 0.5

P.S. On the latest stable i get the same error.
Last edited by TigroEHOT on Monday 14 August 2017 6:04, edited 1 time in total.
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by zak45 »

@TigroEHOT
I suspect you have other python version installed also (2.x ?? !!!)
-->'onCommand' failed 'TypeError':'sequence item 0: expected str instance, bytes found'.

can you confirm no other python version is installed on your system ?
sennheiser
Posts: 11
Joined: Wednesday 16 August 2017 10:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by sennheiser »

ToneStrife wrote: Monday 03 July 2017 10:49
zak45 wrote:
ToneStrife wrote:I couldn't see in the wiki. Is it possible to have several remotes? MAybe adding several hardwares with the same broadlink.

And the most important, I've tried everything I read in the wiki for the remote, I have added the ini and everything. And still in Off. I have a raspi and the broadlink is workin. Any hint?
yes, multiple hw should works.
Have you clicked on the remote to put it 'On' ???
Off option is not possible. I have added a .ini file with the number (idx) of the remote control created by broadlink. Probably I made something worng, but I can't find what is it.
The ini file is plugin_remote_38.ini
( 38 Broadlink 000800FE 254 Broadlink - Remote)
The code inside is :

Code: Select all

[Custom]

command = 37,36
37 and 36 are the idx of broadlink switches.
Hi,

Is that work for you now ?

I have the same problem :(

I have create the plugin remote ini but in the log, it says I need to create an other ini but I can't find which information to put on ?

>>ini file not found: /home/pi/domoticz/plugins/TEST/BroadlinkRM2-4-254.ini

If someone can help me please ?

Thx
TigroEHOT
Posts: 14
Joined: Wednesday 03 August 2016 12:14
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by TigroEHOT »

zak45 wrote:@TigroEHOT
I suspect you have other python version installed also (2.x ?? !!!)
-->'onCommand' failed 'TypeError':'sequence item 0: expected str instance, bytes found'.

can you confirm no other python version is installed on your system ?
Yes, I do have 3.4 and 2.7.9 installed.
If I run python I see 2.7.9, and if I run python3 I see 3.5.2.
What should I do?
TigroEHOT
Posts: 14
Joined: Wednesday 03 August 2016 12:14
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by TigroEHOT »

I've done alias python=python3 but lm not sure it's a good idea...
Anyway, as soon as I anable broadlink hardware plugin domoticz crushes.
kalinkamaen
Posts: 52
Joined: Sunday 04 January 2015 15:57
Target OS: Windows
Domoticz version: 2022.2
Location: Norway
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by kalinkamaen »

Hello guys, tring to install this plugin, but I am getting red screen.

My setup:
Version: 3.8153
Build Hash: 494fff71
Compile Date: 2017-07-30 12:19:41
Windows 10 pro

Python 3.4

Have installed: visualcppbuildtools_full
Spoiler: show
Downloading/unpacking broadlink
Getting page https://pypi.python.org/simple/broadlink/
URLs to search for versions for broadlink:
* https://pypi.python.org/simple/broadlink/
Analyzing links from page https://pypi.python.org/simple/broadlink/
Found link https://pypi.python.org/packages/0b/b9/ ... 94c2c6a5a3 (from https://pypi.python.org/simple/broadlink/), version: 0.5
Found link https://pypi.python.org/packages/7a/fb/ ... 879e997123 (from https://pypi.python.org/simple/broadlink/), version: 0.3
Found link https://pypi.python.org/packages/96/0d/ ... a014904f6c (from https://pypi.python.org/simple/broadlink/), version: 0.2
Found link https://pypi.python.org/packages/c1/ac/ ... 0327d2d925 (from https://pypi.python.org/simple/broadlink/), version: 0.4
Found link https://pypi.python.org/packages/f2/88/ ... fd58fdeefb (from https://pypi.python.org/simple/broadlink/), version: 0.1
Using version 0.5 (newest of versions: 0.5, 0.4, 0.3, 0.2, 0.1)
Downloading broadlink-0.5.tar.gz
Downloading from URL https://pypi.python.org/packages/0b/b9/ ... 94c2c6a5a3 (from https://pypi.python.org/simple/broadlink/)
Running setup.py (path:C:\Users\ServerPC\AppData\Local\Temp\pip_build_ServerPC\broadlink\setup.py) egg_info for package broadlink
running egg_info
creating pip-egg-info\broadlink.egg-info
writing pip-egg-info\broadlink.egg-info\PKG-INFO
writing top-level names to pip-egg-info\broadlink.egg-info\top_level.txt
writing dependency_links to pip-egg-info\broadlink.egg-info\dependency_links.txt
writing requirements to pip-egg-info\broadlink.egg-info\requires.txt
writing manifest file 'pip-egg-info\broadlink.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found

reading manifest file 'pip-egg-info\broadlink.egg-info\SOURCES.txt'
writing manifest file 'pip-egg-info\broadlink.egg-info\SOURCES.txt'
Source in c:\users\serverpc\appdata\local\temp\pip_build_serverpc\broadlink has version 0.5, which satisfies requirement broadlink
Downloading/unpacking pycrypto==2.6.1 (from broadlink)
Getting page https://pypi.python.org/simple/pycrypto/
URLs to search for versions for pycrypto==2.6.1 (from broadlink):
* https://pypi.python.org/simple/pycrypto/2.6.1
* https://pypi.python.org/simple/pycrypto/
Getting page https://pypi.python.org/simple/pycrypto/2.6.1
Could not fetch URL https://pypi.python.org/simple/pycrypto/2.6.1: 404 Client Error: Not Found (pycrypto/2.6.1)
Will skip URL https://pypi.python.org/simple/pycrypto/2.6.1 when looking for download links for pycrypto==2.6.1 (from broadlink)
Analyzing links from page https://pypi.python.org/simple/pycrypto/
Found link https://pypi.python.org/packages/45/2f/ ... 97effb8101 (from https://pypi.python.org/simple/pycrypto/), version: 2.3
Found link https://pypi.python.org/packages/45/2f/ ... 3fdd95e702 (from https://pypi.python.org/simple/pycrypto/), version: 2.4
Found link https://pypi.python.org/packages/51/94/ ... e11c29ef15 (from https://pypi.python.org/simple/pycrypto/), version: 2.4.1
Found link https://pypi.python.org/packages/53/fb/ ... 35e8d749cd (from https://pypi.python.org/simple/pycrypto/), version: 2.0.1
Found link https://pypi.python.org/packages/59/bc/ ... 7fb019f9bf (from https://pypi.python.org/simple/pycrypto/), version: 2.1.0
Found link https://pypi.python.org/packages/60/db/ ... 1a0d5d7eda (from https://pypi.python.org/simple/pycrypto/), version: 2.6.1
Found link https://pypi.python.org/packages/6a/cb/ ... 67a66a22bb (from https://pypi.python.org/simple/pycrypto/), version: 2.6
Found link https://pypi.python.org/packages/a7/d5/ ... 2ec461ec98 (from https://pypi.python.org/simple/pycrypto/), version: 2.2
Found link https://pypi.python.org/packages/eb/0d/ ... b00f97b291 (from https://pypi.python.org/simple/pycrypto/), version: 2.5
Ignoring link https://pypi.python.org/packages/45/2f/ ... 97effb8101 (from https://pypi.python.org/simple/pycrypto/), version 2.3 doesn't match ==2.6.1
Ignoring link https://pypi.python.org/packages/45/2f/ ... 3fdd95e702 (from https://pypi.python.org/simple/pycrypto/), version 2.4 doesn't match ==2.6.1
Ignoring link https://pypi.python.org/packages/51/94/ ... e11c29ef15 (from https://pypi.python.org/simple/pycrypto/), version 2.4.1 doesn't match ==2.6.1
Ignoring link https://pypi.python.org/packages/53/fb/ ... 35e8d749cd (from https://pypi.python.org/simple/pycrypto/), version 2.0.1 doesn't match ==2.6.1
Ignoring link https://pypi.python.org/packages/59/bc/ ... 7fb019f9bf (from https://pypi.python.org/simple/pycrypto/), version 2.1.0 doesn't match ==2.6.1
Ignoring link https://pypi.python.org/packages/6a/cb/ ... 67a66a22bb (from https://pypi.python.org/simple/pycrypto/), version 2.6 doesn't match ==2.6.1
Ignoring link https://pypi.python.org/packages/a7/d5/ ... 2ec461ec98 (from https://pypi.python.org/simple/pycrypto/), version 2.2 doesn't match ==2.6.1
Ignoring link https://pypi.python.org/packages/eb/0d/ ... b00f97b291 (from https://pypi.python.org/simple/pycrypto/), version 2.5 doesn't match ==2.6.1
Downloading from URL https://pypi.python.org/packages/60/db/ ... 1a0d5d7eda (from https://pypi.python.org/simple/pycrypto/)
Running setup.py (path:C:\Users\ServerPC\AppData\Local\Temp\pip_build_ServerPC\pycrypto\setup.py) egg_info for package pycrypto
running egg_info
creating pip-egg-info\pycrypto.egg-info
writing pip-egg-info\pycrypto.egg-info\PKG-INFO
writing dependency_links to pip-egg-info\pycrypto.egg-info\dependency_links.txt
writing top-level names to pip-egg-info\pycrypto.egg-info\top_level.txt
writing manifest file 'pip-egg-info\pycrypto.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found

reading manifest file 'pip-egg-info\pycrypto.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info\pycrypto.egg-info\SOURCES.txt'
Source in c:\users\serverpc\appdata\local\temp\pip_build_serverpc\pycrypto has version 2.6.1, which satisfies requirement pycrypto==2.6.1 (from broadlink)
Installing collected packages: broadlink, pycrypto
Running setup.py install for broadlink
Running command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ServerPC\\AppData\\Local\\Temp\\pip_build_ServerPC\\broadlink\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ServerPC\AppData\Local\Temp\pip-7bcv86oz-record\install-record.txt --single-version-externally-managed --compile
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\broadlink
copying broadlink\__init__.py -> build\lib\broadlink
running egg_info
writing dependency_links to broadlink.egg-info\dependency_links.txt
writing top-level names to broadlink.egg-info\top_level.txt
writing requirements to broadlink.egg-info\requires.txt
writing broadlink.egg-info\PKG-INFO
warning: manifest_maker: standard file '-c' not found

reading manifest file 'broadlink.egg-info\SOURCES.txt'
writing manifest file 'broadlink.egg-info\SOURCES.txt'
running install_lib
creating C:\Python34\Lib\site-packages\broadlink
copying build\lib\broadlink\__init__.py -> C:\Python34\Lib\site-packages\broadlink
byte-compiling C:\Python34\Lib\site-packages\broadlink\__init__.py to __init__.cpython-34.pyc
running install_egg_info
Copying broadlink.egg-info to C:\Python34\Lib\site-packages\broadlink-0.5-py3.4.egg-info
running install_scripts
writing list of installed files to 'C:\Users\ServerPC\AppData\Local\Temp\pip-7bcv86oz-record\install-record.txt'
Running setup.py install for pycrypto
Running command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ServerPC\\AppData\\Local\\Temp\\pip_build_ServerPC\\pycrypto\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ServerPC\AppData\Local\Temp\pip-d29w0go2-record\install-record.txt --single-version-externally-managed --compile
running install
running build
running build_py
creating build
creating build\lib.win32-3.4
creating build\lib.win32-3.4\Crypto
copying lib\Crypto\pct_warnings.py -> build\lib.win32-3.4\Crypto
copying lib\Crypto\__init__.py -> build\lib.win32-3.4\Crypto
creating build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\hashalgo.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\HMAC.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\MD2.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\MD4.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\MD5.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\RIPEMD.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\SHA.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\SHA224.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\SHA256.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\SHA384.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\SHA512.py -> build\lib.win32-3.4\Crypto\Hash
copying lib\Crypto\Hash\__init__.py -> build\lib.win32-3.4\Crypto\Hash
creating build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\AES.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\ARC2.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\ARC4.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\blockalgo.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\Blowfish.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\CAST.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\DES.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\DES3.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_OAEP.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_v1_5.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\XOR.py -> build\lib.win32-3.4\Crypto\Cipher
copying lib\Crypto\Cipher\__init__.py -> build\lib.win32-3.4\Crypto\Cipher
creating build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\asn1.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\Counter.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\number.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\py3compat.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\randpool.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\RFC1751.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\winrandom.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\_number_new.py -> build\lib.win32-3.4\Crypto\Util
copying lib\Crypto\Util\__init__.py -> build\lib.win32-3.4\Crypto\Util
creating build\lib.win32-3.4\Crypto\Random
copying lib\Crypto\Random\random.py -> build\lib.win32-3.4\Crypto\Random
copying lib\Crypto\Random\_UserFriendlyRNG.py -> build\lib.win32-3.4\Crypto\Random
copying lib\Crypto\Random\__init__.py -> build\lib.win32-3.4\Crypto\Random
creating build\lib.win32-3.4\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaAccumulator.py -> build\lib.win32-3.4\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaGenerator.py -> build\lib.win32-3.4\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\SHAd256.py -> build\lib.win32-3.4\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\__init__.py -> build\lib.win32-3.4\Crypto\Random\Fortuna
creating build\lib.win32-3.4\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\fallback.py -> build\lib.win32-3.4\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\nt.py -> build\lib.win32-3.4\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\posix.py -> build\lib.win32-3.4\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\rng_base.py -> build\lib.win32-3.4\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\__init__.py -> build\lib.win32-3.4\Crypto\Random\OSRNG
creating build\lib.win32-3.4\Crypto\SelfTest
copying lib\Crypto\SelfTest\st_common.py -> build\lib.win32-3.4\Crypto\SelfTest
copying lib\Crypto\SelfTest\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest
creating build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\common.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_AES.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC2.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC4.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_Blowfish.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_CAST.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES3.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_15.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_oaep.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_XOR.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher
creating build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\common.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_HMAC.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD2.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD4.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD5.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_RIPEMD.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA224.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA256.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA384.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA512.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash
creating build\lib.win32-3.4\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_AllOrNothing.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_chaffing.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_KDF.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_rfc1751.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol
creating build\lib.win32-3.4\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_DSA.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_ElGamal.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_importKey.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_RSA.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey
creating build\lib.win32-3.4\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_random.py -> build\lib.win32-3.4\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_rpoolcompat.py -> build\lib.win32-3.4\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test__UserFriendlyRNG.py -> build\lib.win32-3.4\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Random
creating build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaAccumulator.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaGenerator.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_SHAd256.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna
creating build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_fallback.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_generic.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_nt.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_posix.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_winrandom.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG
creating build\lib.win32-3.4\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_asn1.py -> build\lib.win32-3.4\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_Counter.py -> build\lib.win32-3.4\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_number.py -> build\lib.win32-3.4\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_winrandom.py -> build\lib.win32-3.4\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Util
creating build\lib.win32-3.4\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_15.py -> build\lib.win32-3.4\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_pss.py -> build\lib.win32-3.4\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Signature
creating build\lib.win32-3.4\Crypto\Protocol
copying lib\Crypto\Protocol\AllOrNothing.py -> build\lib.win32-3.4\Crypto\Protocol
copying lib\Crypto\Protocol\Chaffing.py -> build\lib.win32-3.4\Crypto\Protocol
copying lib\Crypto\Protocol\KDF.py -> build\lib.win32-3.4\Crypto\Protocol
copying lib\Crypto\Protocol\__init__.py -> build\lib.win32-3.4\Crypto\Protocol
creating build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\DSA.py -> build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\ElGamal.py -> build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\pubkey.py -> build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\RSA.py -> build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\_DSA.py -> build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\_RSA.py -> build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\_slowmath.py -> build\lib.win32-3.4\Crypto\PublicKey
copying lib\Crypto\PublicKey\__init__.py -> build\lib.win32-3.4\Crypto\PublicKey
creating build\lib.win32-3.4\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_PSS.py -> build\lib.win32-3.4\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_v1_5.py -> build\lib.win32-3.4\Crypto\Signature
copying lib\Crypto\Signature\__init__.py -> build\lib.win32-3.4\Crypto\Signature
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
running build_ext
building 'Crypto.Random.OSRNG.winrandom' extension
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
error: Unable to find vcvarsall.bat
Complete output from command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ServerPC\\AppData\\Local\\Temp\\pip_build_ServerPC\\pycrypto\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ServerPC\AppData\Local\Temp\pip-d29w0go2-record\install-record.txt --single-version-externally-managed --compile:
running install

running build

running build_py

creating build

creating build\lib.win32-3.4

creating build\lib.win32-3.4\Crypto

copying lib\Crypto\pct_warnings.py -> build\lib.win32-3.4\Crypto

copying lib\Crypto\__init__.py -> build\lib.win32-3.4\Crypto

creating build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\hashalgo.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\HMAC.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\MD2.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\MD4.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\MD5.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\RIPEMD.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\SHA.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\SHA224.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\SHA256.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\SHA384.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\SHA512.py -> build\lib.win32-3.4\Crypto\Hash

copying lib\Crypto\Hash\__init__.py -> build\lib.win32-3.4\Crypto\Hash

creating build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\AES.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\ARC2.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\ARC4.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\blockalgo.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\Blowfish.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\CAST.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\DES.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\DES3.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\PKCS1_OAEP.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\PKCS1_v1_5.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\XOR.py -> build\lib.win32-3.4\Crypto\Cipher

copying lib\Crypto\Cipher\__init__.py -> build\lib.win32-3.4\Crypto\Cipher

creating build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\asn1.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\Counter.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\number.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\py3compat.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\randpool.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\RFC1751.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\winrandom.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\_number_new.py -> build\lib.win32-3.4\Crypto\Util

copying lib\Crypto\Util\__init__.py -> build\lib.win32-3.4\Crypto\Util

creating build\lib.win32-3.4\Crypto\Random

copying lib\Crypto\Random\random.py -> build\lib.win32-3.4\Crypto\Random

copying lib\Crypto\Random\_UserFriendlyRNG.py -> build\lib.win32-3.4\Crypto\Random

copying lib\Crypto\Random\__init__.py -> build\lib.win32-3.4\Crypto\Random

creating build\lib.win32-3.4\Crypto\Random\Fortuna

copying lib\Crypto\Random\Fortuna\FortunaAccumulator.py -> build\lib.win32-3.4\Crypto\Random\Fortuna

copying lib\Crypto\Random\Fortuna\FortunaGenerator.py -> build\lib.win32-3.4\Crypto\Random\Fortuna

copying lib\Crypto\Random\Fortuna\SHAd256.py -> build\lib.win32-3.4\Crypto\Random\Fortuna

copying lib\Crypto\Random\Fortuna\__init__.py -> build\lib.win32-3.4\Crypto\Random\Fortuna

creating build\lib.win32-3.4\Crypto\Random\OSRNG

copying lib\Crypto\Random\OSRNG\fallback.py -> build\lib.win32-3.4\Crypto\Random\OSRNG

copying lib\Crypto\Random\OSRNG\nt.py -> build\lib.win32-3.4\Crypto\Random\OSRNG

copying lib\Crypto\Random\OSRNG\posix.py -> build\lib.win32-3.4\Crypto\Random\OSRNG

copying lib\Crypto\Random\OSRNG\rng_base.py -> build\lib.win32-3.4\Crypto\Random\OSRNG

copying lib\Crypto\Random\OSRNG\__init__.py -> build\lib.win32-3.4\Crypto\Random\OSRNG

creating build\lib.win32-3.4\Crypto\SelfTest

copying lib\Crypto\SelfTest\st_common.py -> build\lib.win32-3.4\Crypto\SelfTest

copying lib\Crypto\SelfTest\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest

creating build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\common.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_AES.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_ARC2.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_ARC4.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_Blowfish.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_CAST.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_DES.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_DES3.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_pkcs1_15.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_pkcs1_oaep.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\test_XOR.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

copying lib\Crypto\SelfTest\Cipher\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Cipher

creating build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\common.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_HMAC.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_MD2.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_MD4.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_MD5.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_RIPEMD.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_SHA.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_SHA224.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_SHA256.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_SHA384.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\test_SHA512.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

copying lib\Crypto\SelfTest\Hash\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Hash

creating build\lib.win32-3.4\Crypto\SelfTest\Protocol

copying lib\Crypto\SelfTest\Protocol\test_AllOrNothing.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol

copying lib\Crypto\SelfTest\Protocol\test_chaffing.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol

copying lib\Crypto\SelfTest\Protocol\test_KDF.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol

copying lib\Crypto\SelfTest\Protocol\test_rfc1751.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol

copying lib\Crypto\SelfTest\Protocol\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Protocol

creating build\lib.win32-3.4\Crypto\SelfTest\PublicKey

copying lib\Crypto\SelfTest\PublicKey\test_DSA.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey

copying lib\Crypto\SelfTest\PublicKey\test_ElGamal.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey

copying lib\Crypto\SelfTest\PublicKey\test_importKey.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey

copying lib\Crypto\SelfTest\PublicKey\test_RSA.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey

copying lib\Crypto\SelfTest\PublicKey\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\PublicKey

creating build\lib.win32-3.4\Crypto\SelfTest\Random

copying lib\Crypto\SelfTest\Random\test_random.py -> build\lib.win32-3.4\Crypto\SelfTest\Random

copying lib\Crypto\SelfTest\Random\test_rpoolcompat.py -> build\lib.win32-3.4\Crypto\SelfTest\Random

copying lib\Crypto\SelfTest\Random\test__UserFriendlyRNG.py -> build\lib.win32-3.4\Crypto\SelfTest\Random

copying lib\Crypto\SelfTest\Random\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Random

creating build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna

copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaAccumulator.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna

copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaGenerator.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna

copying lib\Crypto\SelfTest\Random\Fortuna\test_SHAd256.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna

copying lib\Crypto\SelfTest\Random\Fortuna\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\Fortuna

creating build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG

copying lib\Crypto\SelfTest\Random\OSRNG\test_fallback.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG

copying lib\Crypto\SelfTest\Random\OSRNG\test_generic.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG

copying lib\Crypto\SelfTest\Random\OSRNG\test_nt.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG

copying lib\Crypto\SelfTest\Random\OSRNG\test_posix.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG

copying lib\Crypto\SelfTest\Random\OSRNG\test_winrandom.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG

copying lib\Crypto\SelfTest\Random\OSRNG\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Random\OSRNG

creating build\lib.win32-3.4\Crypto\SelfTest\Util

copying lib\Crypto\SelfTest\Util\test_asn1.py -> build\lib.win32-3.4\Crypto\SelfTest\Util

copying lib\Crypto\SelfTest\Util\test_Counter.py -> build\lib.win32-3.4\Crypto\SelfTest\Util

copying lib\Crypto\SelfTest\Util\test_number.py -> build\lib.win32-3.4\Crypto\SelfTest\Util

copying lib\Crypto\SelfTest\Util\test_winrandom.py -> build\lib.win32-3.4\Crypto\SelfTest\Util

copying lib\Crypto\SelfTest\Util\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Util

creating build\lib.win32-3.4\Crypto\SelfTest\Signature

copying lib\Crypto\SelfTest\Signature\test_pkcs1_15.py -> build\lib.win32-3.4\Crypto\SelfTest\Signature

copying lib\Crypto\SelfTest\Signature\test_pkcs1_pss.py -> build\lib.win32-3.4\Crypto\SelfTest\Signature

copying lib\Crypto\SelfTest\Signature\__init__.py -> build\lib.win32-3.4\Crypto\SelfTest\Signature

creating build\lib.win32-3.4\Crypto\Protocol

copying lib\Crypto\Protocol\AllOrNothing.py -> build\lib.win32-3.4\Crypto\Protocol

copying lib\Crypto\Protocol\Chaffing.py -> build\lib.win32-3.4\Crypto\Protocol

copying lib\Crypto\Protocol\KDF.py -> build\lib.win32-3.4\Crypto\Protocol

copying lib\Crypto\Protocol\__init__.py -> build\lib.win32-3.4\Crypto\Protocol

creating build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\DSA.py -> build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\ElGamal.py -> build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\pubkey.py -> build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\RSA.py -> build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\_DSA.py -> build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\_RSA.py -> build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\_slowmath.py -> build\lib.win32-3.4\Crypto\PublicKey

copying lib\Crypto\PublicKey\__init__.py -> build\lib.win32-3.4\Crypto\PublicKey

creating build\lib.win32-3.4\Crypto\Signature

copying lib\Crypto\Signature\PKCS1_PSS.py -> build\lib.win32-3.4\Crypto\Signature

copying lib\Crypto\Signature\PKCS1_v1_5.py -> build\lib.win32-3.4\Crypto\Signature

copying lib\Crypto\Signature\__init__.py -> build\lib.win32-3.4\Crypto\Signature

Skipping implicit fixer: buffer

Skipping implicit fixer: idioms

Skipping implicit fixer: set_literal

Skipping implicit fixer: ws_comma

running build_ext

building 'Crypto.Random.OSRNG.winrandom' extension

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

error: Unable to find vcvarsall.bat

----------------------------------------
Cleaning up...
Removing temporary dir C:\Users\ServerPC\AppData\Local\Temp\pip_build_ServerPC...
Command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ServerPC\\AppData\\Local\\Temp\\pip_build_ServerPC\\pycrypto\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ServerPC\AppData\Local\Temp\pip-d29w0go2-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\ServerPC\AppData\Local\Temp\pip_build_ServerPC\pycrypto
Exception information:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python34\lib\site-packages\pip\commands\install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:\Python34\lib\site-packages\pip\req.py", line 1435, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "C:\Python34\lib\site-packages\pip\req.py", line 706, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:\Python34\lib\site-packages\pip\util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\ServerPC\\AppData\\Local\\Temp\\pip_build_ServerPC\\pycrypto\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ServerPC\AppData\Local\Temp\pip-d29w0go2-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\ServerPC\AppData\Local\Temp\pip_build_ServerPC\pycrypto
Windows 10, Domoticz 14784
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin: Broadlink RM2 V3

Post by zak45 »

@kalinkamaen
Strange ... but Try yo install pycrypto manually:

pycrypto-2.6.1.win32-py3.4.exe can be found into dropbox
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest