I resolved the problems somehow so to avoid same trial and error for otheres here is the thing:
1. download files from official link
https://www.dropbox.com/sh/htyghey9e402 ... 3H36a?dl=0
on upper right part of page there is download option that you can choose to download all files .
2. Create a Broadlink dir on your c drive.
3. Unzip downloaded files there
4.Create subfolders in that folderlike this: C:\Broadlink\Broadlink\python-broadlink-0.8\python-broadlink-0.8\
(Yes this is exactly right dir structure)
5. Unzip files that I attached to :\Broadlink\Broadlink\python-broadlink-0.8\python-broadlink-0.8\
6.Open CMD as administrator.
7.Go to c:\Broadlink
8. run SetupBroadlink.bat
Output should be like this:
C:\Broadlink>SetupBroadlink.cmd
"Broadlink RM2 python plugin install for Win"
" this need to be run with admin right "
" if pycrypto or pycryptodome are installed you need to remove them "
" this installation file is only for new install "
""
""
"Search python version"
Python 3.6.8
" main module used by the plugin"
"Python version : " 36
Requirement already satisfied: pyaes in c:\program files (x86)\python36-32\lib\site-packages (1.6.0)
Processing c:\broadlink\python-broadlink-0.8\python-broadlink-0.8
Requirement already satisfied: pyaes==1.6.0 in c:\program files (x86)\python36-32\lib\site-packages (from broadlink==0.8) (1.6.0)
Requirement already satisfied: PyCRC in c:\program files (x86)\python36-32\lib\site-packages (from broadlink==0.8) (1.21)
Installing collected packages: broadlink
Found existing installation: broadlink 0.8
Uninstalling broadlink-0.8:
Successfully uninstalled broadlink-0.8
Running setup.py install for broadlink ... done
Successfully installed broadlink-0.8
C:plugin.py
1 File(s) copied
C:plugin_send.py
1 File(s) copied
C:plugin_send.cmd
1 File(s) copied
C:plugin_http.cmd
1 File(s) copied
C:plugin_http.py
1 File(s) copied
Junction created for c:\Domoticz <<===>> c:Program Files (x86)\Domoticz
SERVICE_NAME: domoticz
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
"re start Domoticz service"
SERVICE_NAME: domoticz
TYPE : 10 WIN32_OWN_PROCESS
STATE : 3 STOP_PENDING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x1
WAIT_HINT : 0xdac
Waiting for 0 seconds, press a key to continue ...
SERVICE_NAME: domoticz
TYPE : 10 WIN32_OWN_PROCESS
STATE : 2 START_PENDING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x7d0
PID : 9296
FLAGS :
Waiting for 0 seconds, press a key to continue ...
""
"installation finished successfully"
P.S. This wont work with the latest version of Python for windows, The one i got it working with is 3.6.8
Cheers