the V3 is here.oslalo wrote:Thank you kingoifsnake74 for you answerd.
It mean that nobody can use the Broadlink with Domoticz in this moment ???
Python Plugin: Broadlink RM2
Moderator: leecollings
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
-
- Posts: 3
- Joined: Tuesday 13 June 2017 19:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Python Plugin: Broadlink RM2
Hello zak45,
I have problems with the configuration of the Broadlink to Domoticz.
Could you send you my log file and json files ??
Thank you in advanced
I have problems with the configuration of the Broadlink to Domoticz.
Could you send you my log file and json files ??
Thank you in advanced
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
yeposlalo wrote:Hello zak45,
I have problems with the configuration of the Broadlink to Domoticz.
Could you send you my log file and json files ??
Thank you in advanced
-
- Posts: 31
- Joined: Sunday 23 July 2017 14:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Haarlemmermeer
- Contact:
Re: Python Plugin: Broadlink RM2
It seems that i am too simple to get broadlink working on my RP. with Domoticz and also the lack of knowledge does not help .
I even bought a new Sdcard and installed domoticz from scratc
New (Latest raspbian jessie lite img.) and domoticz version 3.8114. etc.
Then i typed below (to the letter. i Think/hope)
sudo apt-get install python3-pip libglib2.0-dev
sudo pip3 install Crypto
sudo pip3 install broadlink
sudo cp -r /usr/local/lib/python3.4/dist-packages/Crypto/ /usr/lib/python3.4/
sudo cp -r /usr/local/lib/python3.4/dist-packages/broadlink /usr/lib/python3.4/
sudo service domoticz restart
i hoped to see the broadlink in the hardware setup list. But nothing.
this is what i found in the Log. ( with other stuff in between)
2017-07-23 16:02:35.471 PluginSystem: Started, Python version '3.4.2
2017-07-23 16:02:37.945 PluginSystem: Entering work loop.
2017-07-23 16:02:38.004 Python EventSystem: Module not found - Trying to initialize.
2017-07-23 16:02:38.009 Python EventSystem: Initalizing event module.
2017-07-23 16:02:38.010 EventSystem: Started
If it is not to much to ask has plaaggeest or Zak45 has any idea or point me in a direction of "Broadlink installation in Domoticz for dummies"
thanks a lot
domoticz on two pies and HA bridge for Alexa
I even bought a new Sdcard and installed domoticz from scratc
New (Latest raspbian jessie lite img.) and domoticz version 3.8114. etc.
Then i typed below (to the letter. i Think/hope)
sudo apt-get install python3-pip libglib2.0-dev
sudo pip3 install Crypto
sudo pip3 install broadlink
sudo cp -r /usr/local/lib/python3.4/dist-packages/Crypto/ /usr/lib/python3.4/
sudo cp -r /usr/local/lib/python3.4/dist-packages/broadlink /usr/lib/python3.4/
sudo service domoticz restart
i hoped to see the broadlink in the hardware setup list. But nothing.
this is what i found in the Log. ( with other stuff in between)
2017-07-23 16:02:35.471 PluginSystem: Started, Python version '3.4.2
2017-07-23 16:02:37.945 PluginSystem: Entering work loop.
2017-07-23 16:02:38.004 Python EventSystem: Module not found - Trying to initialize.
2017-07-23 16:02:38.009 Python EventSystem: Initalizing event module.
2017-07-23 16:02:38.010 EventSystem: Started
If it is not to much to ask has plaaggeest or Zak45 has any idea or point me in a direction of "Broadlink installation in Domoticz for dummies"
thanks a lot
domoticz on two pies and HA bridge for Alexa
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
@goblin
Hi,
do you have downloaded plugin.py and put it under plugins/BroadlinkRM2 ??
Hi,
do you have downloaded plugin.py and put it under plugins/BroadlinkRM2 ??
-
- Posts: 31
- Joined: Sunday 23 July 2017 14:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Haarlemmermeer
- Contact:
Re: Python Plugin: Broadlink RM2
Thank zak45, for your reply:
i have only done what written in my last post.
i can not find the dir. plugins/broadlinkRM with WinSCP
the closest i could find is /usr/local/lib/python3.4/dist-packages/broadlink
Also no broadlinkRM.
BR
i have only done what written in my last post.
i can not find the dir. plugins/broadlinkRM with WinSCP
the closest i could find is /usr/local/lib/python3.4/dist-packages/broadlink
Also no broadlinkRM.
BR
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
you will find all information in Domoticz Wiki and/or Forum.goblin wrote:Thank zak45, for your reply:
i have only done what written in my last post.
i can not find the dir. plugins/broadlinkRM with WinSCP
the closest i could find is /usr/local/lib/python3.4/dist-packages/broadlink
Also no broadlinkRM.
BR
you need to create the directory by yourself and put the plugin.py under it.
see http://www.domoticz.com/wiki/Using_Python_plugins
-
- Posts: 31
- Joined: Sunday 23 July 2017 14:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Haarlemmermeer
- Contact:
Re: Python Plugin: Broadlink RM2
i just did :
# Obtain plugin from github
mkdir -p domoticz/plugins/denon/
curl -L https://raw.githubusercontent.com/domot ... non4306.py > domoticz/plugins/denon/plugin.py
# set execute permissions (default was 644 pi:pi)
chmod 755 domoticz/plugins/denon/plugin.py
# restart domoticz service
sudo systemctl restart domoticz.service
and got this in the log:
2017-07-25 17:46:42.649 Error: PluginList: Parsing '/home/pi/domoticz/plugins/denon/', 'Error document empty.' at line 0 column 0 in XML ''.
and found the plugin.py at ./proc/self/task/13041/cwd/domoticz/plugins/denon/ (and in /AwoxSMP/)
the plugin.py was empty so i replaced them with the downloaded one from you (2017 3.0.0)
One step closer: got the broadlink in the hardware setup but nothing happens when i push setup.
it differs also a lot with the screen on https://www.domoticz.com/wiki/Plugins/BroadlinkRM2.html
(i wish i understood a little bit more of linux)
regards
# Obtain plugin from github
mkdir -p domoticz/plugins/denon/
curl -L https://raw.githubusercontent.com/domot ... non4306.py > domoticz/plugins/denon/plugin.py
# set execute permissions (default was 644 pi:pi)
chmod 755 domoticz/plugins/denon/plugin.py
# restart domoticz service
sudo systemctl restart domoticz.service
and got this in the log:
2017-07-25 17:46:42.649 Error: PluginList: Parsing '/home/pi/domoticz/plugins/denon/', 'Error document empty.' at line 0 column 0 in XML ''.
and found the plugin.py at ./proc/self/task/13041/cwd/domoticz/plugins/denon/ (and in /AwoxSMP/)
the plugin.py was empty so i replaced them with the downloaded one from you (2017 3.0.0)
One step closer: got the broadlink in the hardware setup but nothing happens when i push setup.
it differs also a lot with the screen on https://www.domoticz.com/wiki/Plugins/BroadlinkRM2.html
(i wish i understood a little bit more of linux)
regards
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
goblin wrote:i just did :
# Obtain plugin from github
mkdir -p domoticz/plugins/denon/
curl -L https://raw.githubusercontent.com/domot ... non4306.py > domoticz/plugins/denon/plugin.py
# set execute permissions (default was 644 pi:pi)
chmod 755 domoticz/plugins/denon/plugin.py
# restart domoticz service
sudo systemctl restart domoticz.service
and got this in the log:
2017-07-25 17:46:42.649 Error: PluginList: Parsing '/home/pi/domoticz/plugins/denon/', 'Error document empty.' at line 0 column 0 in XML ''.
and found the plugin.py at ./proc/self/task/13041/cwd/domoticz/plugins/denon/ (and in /AwoxSMP/)
the plugin.py was empty so i replaced them with the downloaded one from you (2017 3.0.0)
One step closer: got the broadlink in the hardware setup but nothing happens when i push setup.
it differs also a lot with the screen on https://www.domoticz.com/wiki/Plugins/BroadlinkRM2.html
(i wish i understood a little bit more of linux)
regards
do not follow wiki explicitly, sometimes this show only example, this is the case for Denon, need to be adapted to what you want to implement.
-
- Posts: 31
- Joined: Sunday 23 July 2017 14:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: Haarlemmermeer
- Contact:
Re: Python Plugin: Broadlink RM2
thanks zak45,
that's what happens if your not familiar with linux
any hints to incorporate broadlink in Domoticz ?
BR
that's what happens if your not familiar with linux
any hints to incorporate broadlink in Domoticz ?
BR
Re: Python Plugin: Broadlink RM2
I thought I had set everything up correctly but I get the following error in the logs when I try to turn it on:
any ideas what I might of done wrong?
Thanks.
Code: Select all
2017-08-06 21:24:57.096 User: Admin initiated a switch command (8/Broadcom - Remote/On)
2017-08-06 21:24:57.116 (Broadcom) Calling message handler 'onCommand'.
2017-08-06 21:24:57.116 (Broadcom) onCommand called for Unit 254: Parameter 'On', Level: 0 , Connected : False
2017-08-06 21:24:57.116 (Broadcom) Generate on Command for learned code stored on unit/ini :254
2017-08-06 21:24:57.117 Error: (Broadcom) 'onCommand' failed 'NoSectionError'.
2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 217 in /home/moulders/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 314 in /home/moulders/domoticz/plugins/BroadlinkRM2/plugin.py, function genCommand
2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 781 in /usr/lib/python3.5/configparser.py, function get
2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 1138 in /usr/lib/python3.5/configparser.py, function _unify_values
2017-08-06 21:25:12.803 (Broadcom) Calling message handler 'onHeartbeat'.
2017-08-06 21:25:42.819 (Broadcom) Calling message handler 'onHeartbeat'.
Thanks.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
you have generated wrong ID value into the ini file for remote control. please see wiki.Moulders wrote:I thought I had set everything up correctly but I get the following error in the logs when I try to turn it on:
any ideas what I might of done wrong?Code: Select all
2017-08-06 21:24:57.096 User: Admin initiated a switch command (8/Broadcom - Remote/On) 2017-08-06 21:24:57.116 (Broadcom) Calling message handler 'onCommand'. 2017-08-06 21:24:57.116 (Broadcom) onCommand called for Unit [b]254[/b]: Parameter 'On', Level: 0 , Connected : False 2017-08-06 21:24:57.116 (Broadcom) Generate on Command for learned code stored on unit/ini :[b]254[/b] 2017-08-06 21:24:57.117 Error: (Broadcom) 'onCommand' failed 'NoSectionError'. 2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 217 in /home/moulders/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand 2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 314 in /home/moulders/domoticz/plugins/BroadlinkRM2/plugin.py, function genCommand 2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 781 in /usr/lib/python3.5/configparser.py, function get 2017-08-06 21:24:57.117 Error: (Broadcom) ----> Line 1138 in /usr/lib/python3.5/configparser.py, function _unify_values 2017-08-06 21:25:12.803 (Broadcom) Calling message handler 'onHeartbeat'. 2017-08-06 21:25:42.819 (Broadcom) Calling message handler 'onHeartbeat'.
Thanks.
Re: Python Plugin: Broadlink RM2
ah!
thanks for the input, I had assumed the ini file was automatically generated! I'll give it a try when I get home to night
Thanks
thanks for the input, I had assumed the ini file was automatically generated! I'll give it a try when I get home to night
Thanks
Re: Python Plugin: Broadlink RM2
I'm still struggling with the ini files.. can anyone provide an example of theirs so I can compare?
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
here is mine: this is an example of ini need to be created for remote customizationMoulders wrote:I'm still struggling with the ini files.. can anyone provide an example of theirs so I can compare?
Others ini files are created automatically during learn/import process.
-
- Posts: 5
- Joined: Tuesday 08 March 2016 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Amersfoort
- Contact:
Re: Python Plugin: Broadlink RM2
Hello, I am trying to install my Broadlink RM pro on my Domoticz which runs on a Synology. I am on:
Synology DSM: DSM 6.1.3-15152 Update 1
Domoticz: 3.0.8153-7
Python: 3.5.1-0105 (installed package, if I check the version with ‘python –version’ I get Python 2.7.12 as result)
During installation, I have tried to run the ‘pip3 install broadlink’ command under ssh, but this failed (response: ‘pip3: command not found’).
I have copied the plugin files in /usr/local/domoticz/var/plugins/Domoticz-Broadlink.
After adding the hardware for the Broadlink using IP 127.0.0.1 and mac ‘000..00’, an entry is added to the hardware list.
Then my Domoticz freezes. In my package list on my Synology I see that Domoticz has been stopped. After starting it again, I find the following error messages in my log:
2017-08-13 15:11:06.731 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/Domoticz-Broadlink/
:/volume2/@appstore/py3k/usr/local/lib/python35.zip:/volume2/@appstore/py3k/usr/local/lib/python3.5/
:/volume2/@appstore/py3k/usr/local/lib/python3.5/plat-linux :/volume2/@appstore/py3k/usr/local/lib/python3.5/lib-dynload'.
2017-08-13 15:11:06.731 Error: (Broadlink RM Pro) Module Import failed, exception: 'ImportError'
2017-08-13 15:11:06.731 Error: (Broadlink RM Pro) Module Import failed: ' Name: broadlink'
I still see the Broadlink in the hardware list, but no new device in the device list or under the switches tab (device My br – Discover has not been created). I have set the Broadlink to inactive to prevent Domoticz from freezing.
My guess is that the Broadlink plugin has not been installed properly as the pip3 command failed, but I am not sure. The discrepancy between the installed and reprted Python version is also strange.
Can anyone please help with a solution or ideas what to check. I am not a linux expert, so please spell it out for me.
Thanks in advance!!
Synology DSM: DSM 6.1.3-15152 Update 1
Domoticz: 3.0.8153-7
Python: 3.5.1-0105 (installed package, if I check the version with ‘python –version’ I get Python 2.7.12 as result)
During installation, I have tried to run the ‘pip3 install broadlink’ command under ssh, but this failed (response: ‘pip3: command not found’).
I have copied the plugin files in /usr/local/domoticz/var/plugins/Domoticz-Broadlink.
After adding the hardware for the Broadlink using IP 127.0.0.1 and mac ‘000..00’, an entry is added to the hardware list.
Then my Domoticz freezes. In my package list on my Synology I see that Domoticz has been stopped. After starting it again, I find the following error messages in my log:
2017-08-13 15:11:06.731 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/Domoticz-Broadlink/
:/volume2/@appstore/py3k/usr/local/lib/python35.zip:/volume2/@appstore/py3k/usr/local/lib/python3.5/
:/volume2/@appstore/py3k/usr/local/lib/python3.5/plat-linux :/volume2/@appstore/py3k/usr/local/lib/python3.5/lib-dynload'.
2017-08-13 15:11:06.731 Error: (Broadlink RM Pro) Module Import failed, exception: 'ImportError'
2017-08-13 15:11:06.731 Error: (Broadlink RM Pro) Module Import failed: ' Name: broadlink'
I still see the Broadlink in the hardware list, but no new device in the device list or under the switches tab (device My br – Discover has not been created). I have set the Broadlink to inactive to prevent Domoticz from freezing.
My guess is that the Broadlink plugin has not been installed properly as the pip3 command failed, but I am not sure. The discrepancy between the installed and reprted Python version is also strange.
Can anyone please help with a solution or ideas what to check. I am not a linux expert, so please spell it out for me.
Thanks in advance!!
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
@heureekma
"if I check the version with ‘python –version’ I get Python 2.7.12 as result"
for me this should be the main problem. Others users with synology have been able to install it so should work.
I'm sorry but not able to help, I'm on Windows. Just do some search on the forum, maybe you could found the solution.
"if I check the version with ‘python –version’ I get Python 2.7.12 as result"
for me this should be the main problem. Others users with synology have been able to install it so should work.
I'm sorry but not able to help, I'm on Windows. Just do some search on the forum, maybe you could found the solution.
-
- Posts: 5
- Joined: Tuesday 08 March 2016 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Amersfoort
- Contact:
Re: Python Plugin: Broadlink RM2
@zak45, thx
I have searched if could find info on how to install a pytho service in synology. I found this: https://primalcortex.wordpress.com/2016 ... nstaller/
It was clear that the installs had not run properply because PIP was not installed. After installing PIP, and adding te ip/mac manually, 4 devices appeared in domoticz: import, temp, remote, command.
This looked like progress, but the 'Command' device does not work. Pressing the 'Learn' button in the 'Command' device gives no result (status should change to 'On', I would expect a led on the receiver to blink or light up).
In the log, every 30s the following error appears:
Error: Broadlink Pro hardware (15) thread seems to have ended unexpectedly
I don't know what to check next. I would be gratefull for suggestions.
I have searched if could find info on how to install a pytho service in synology. I found this: https://primalcortex.wordpress.com/2016 ... nstaller/
It was clear that the installs had not run properply because PIP was not installed. After installing PIP, and adding te ip/mac manually, 4 devices appeared in domoticz: import, temp, remote, command.
This looked like progress, but the 'Command' device does not work. Pressing the 'Learn' button in the 'Command' device gives no result (status should change to 'On', I would expect a led on the receiver to blink or light up).
In the log, every 30s the following error appears:
Error: Broadlink Pro hardware (15) thread seems to have ended unexpectedly
I don't know what to check next. I would be gratefull for suggestions.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
For those on synology, take a look there:
https://zhougy0717.github.io/2017/07/31 ... on%20Echo/
https://zhougy0717.github.io/2017/07/31 ... on%20Echo/
-
- Posts: 4
- Joined: Thursday 26 October 2017 9:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Hello
I am desperate. I have been trying for 3 days to run my Broadlink with Domoticz.
I have :
Raspberry 1 4.4.50+ armv61
Domoticz V3.8153
pi@raspberrypi ~ $python3.5 --version
pi@raspberrypi ~ $ pip --version
pi@raspberrypi ~ $ ls /usr/local/lib/
pi@raspberrypi ~ $ ls /usr/local/lib/python3.5/
pi@raspberrypi ~/BroadlinkRM2 $ sudo pip3 install broadlink0.5/
pi@raspberrypi ~ $ ls -lrt domoticz/plugins/broadlink/
And I have always the error after a
sudo service domoticz.sh restart
2017-10-25 12:35:20.104 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/broadlink/:/usr/local/lib/python35.zip:/usr/local/lib/python3.5/:/usr/local/lib/python3.5/plat-linux:/usr/local/lib/python3.5/lib-dynload'.
2017-10-25 12:35:20.104 Error: (BroadlinkRM2) Module Import failed, exception: 'ImportError'
2017-10-25 12:35:20.104 Error: (BroadlinkRM2) Module Import failed: ' Name: broadlink'
I read all the posts, including those on Chinese domoticz.
Can you help me ?
Thx
I am desperate. I have been trying for 3 days to run my Broadlink with Domoticz.
I have :
Raspberry 1 4.4.50+ armv61
Domoticz V3.8153
pi@raspberrypi ~ $python3.5 --version
Code: Select all
Python 3.5.2
Code: Select all
pip 9.0.1 from /usr/local/lib/python3.5/site-packages (pyth
n 3.5)
Code: Select all
libpython3.5m.so libwiringPiDev.so.2.44 pkgconfig
libpython3.5m.so.1.0 libwiringPi.so python3.5
libpython3.so libwiringPi.so.2.44
libwiringPiDev.so perl
Code: Select all
abc.py hmac.py sched.py
aifc.py html selectors.py
antigravity.py http shelve.py
argparse.py idlelib shlex.py
ast.py imaplib.py shutil.py
asynchat.py imghdr.py signal.py
asyncio importlib _sitebuiltins.py
asyncore.py imp.py site-packages
base64.py inspect.py site.py
bdb.py io.py smtpd.py
binhex.py ipaddress.py smtplib.py
bisect.py json sndhdr.py
_bootlocale.py keyword.py socket.py
bz2.py lib2to3 socketserver.py
calendar.py lib-dynload sqlite3
cgi.py LICENSE.txt sre_compile.py
cgitb.py linecache.py sre_constants.py
chunk.py locale.py sre_parse.py
cmd.py logging ssl.py
codecs.py lzma.py statistics.py
codeop.py macpath.py stat.py
code.py macurl2path.py stringprep.py
collections mailbox.py string.py
_collections_abc.py mailcap.py _strptime.py
colorsys.py _markupbase.py struct.py
_compat_pickle.py mimetypes.py subprocess.py
compileall.py modulefinder.py sunau.py
_compression.py multiprocessing symbol.py
concurrent netrc.py symtable.py
config-3.5m nntplib.py _sysconfigdata.py
configparser.py ntpath.py sysconfig.py
contextlib.py nturl2path.py tabnanny.py
copy.py numbers.py tarfile.py
copyreg.py opcode.py telnetlib.py
cProfile.py operator.py tempfile.py
crypt.py optparse.py test
csv.py os.py textwrap.py
ctypes _osx_support.py this.py
curses pathlib.py _threading_local.py
datetime.py pdb.py threading.py
dbm __phello__.foo.py timeit.py
decimal.py pickle.py tkinter
difflib.py pickletools.py tokenize.py
dis.py pipes.py token.py
distutils pkgutil.py traceback.py
doctest.py platform.py tracemalloc.py
dummy_threading.py plat-linux trace.py
_dummy_thread.py plistlib.py tty.py
email poplib.py turtledemo
encodings posixpath.py turtle.py
ensurepip pprint.py types.py
enum.py profile.py typing.py
filecmp.py pstats.py unittest
fileinput.py pty.py urllib
fnmatch.py __pycache__ uuid.py
formatter.py pyclbr.py uu.py
fractions.py py_compile.py venv
ftplib.py _pydecimal.py warnings.py
functools.py pydoc_data wave.py
__future__.py pydoc.py weakref.py
genericpath.py _pyio.py _weakrefset.py
getopt.py queue.py webbrowser.py
getpass.py quopri.py wsgiref
gettext.py random.py xdrlib.py
glob.py reprlib.py xml
gzip.py re.py xmlrpc
hashlib.py rlcompleter.py zipapp.py
heapq.py runpy.py zipfile.py
Code: Select all
Processing ./broadlink-0.5
Requirement already satisfied (use --upgrade to upgrade):
broadlink==0.5 from file:///home/pi/BroadlinkRM2/broadlink-
.5 in /usr/local/lib/python3.5/site-packages
Requirement already satisfied: pycrypto==2.6.1 in /usr/loca
/lib/python3.5/site-packages (from broadlink==0.5)
Building wheels for collected packages: broadlink
Running setup.py bdist_wheel for broadlink ... done
Stored in directory: /root/.cache/pip/wheels/38/cc/a8/f73
d73c924b3fadd44f5a21f42b7fbeb1c37ec63be7a885d5
Successfully built broadlink
Code: Select all
total 52
-rwxrwxrwx 1 pi pi 11469 Oct 25 12:32 plugin_http.py
-rwxrwxrwx 1 pi pi 72 Oct 25 12:32 plugin_http.sh
-rwxrwxrwx 1 pi pi 1501 Oct 25 12:32 plugin_send.py
-rwxrwxrwx 1 pi pi 26034 Oct 25 13:55 plugin.py
drwxr-x--- 2 root root 4096 Oct 25 13:55 __pycache__
sudo service domoticz.sh restart
2017-10-25 12:35:20.104 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/broadlink/:/usr/local/lib/python35.zip:/usr/local/lib/python3.5/:/usr/local/lib/python3.5/plat-linux:/usr/local/lib/python3.5/lib-dynload'.
2017-10-25 12:35:20.104 Error: (BroadlinkRM2) Module Import failed, exception: 'ImportError'
2017-10-25 12:35:20.104 Error: (BroadlinkRM2) Module Import failed: ' Name: broadlink'
I read all the posts, including those on Chinese domoticz.
Can you help me ?
Thx
Who is online
Users browsing this forum: No registered users and 1 guest