Hmm strange version show 3.8
pi@raspberrypi:~ $ python --version
Python 3.8.0
Moderator: leecollings
Alright, i select the ini file by clicking « ini directory » i suppose and then there should be a create device button ? (which i don’t see on my ipad if I’m in the right place)zak45 wrote: ↑Thursday 20 August 2020 21:03No problem.DrMacabre wrote: ↑Thursday 20 August 2020 19:16 Sorry, i still mostly get it, i have now a bunch of ini files in /import/ and some broadlink ini files in /ini/ but i don’t remember how to turn this into devices. I recently lost my whole domoticz and had to start from scratch but with time i totally forgot the process to make this plugin works. All i can remember is having all my buttons from e-control showing up as devices in domoticz before i crashed
This is a new plugin with new logic.
Now, Domoticz device is not automatically created, you select the ini file you want and click on create device.
Nope..."ini directory" button browse only.
Can you double-check this link ( change system-wide):wizardnl wrote: ↑Friday 21 August 2020 0:38 found out under sudo 1 was running a 2.7 python and pi user 3.8 version so i change it. setup with sudo now also run but also the outcome was "Error importing translate"
d17d219988821a8bf1c810e9d6
Successfully built broadlink
Installing collected packages: broadlink
Found existing installation: broadlink 0.14.1
Uninstalling broadlink-0.14.1:
Successfully uninstalled broadlink-0.14.1
Successfully installed broadlink-0.14.1
We have installed : python-broadlink-master/.
________________________________________
# We do necessary modifications depend of Platform
----------------------------------------
put *.py files executable (+x) OK
put *.sh files executable (+x) OK
________________________________________
Checking installation ....
----------------------------------------
Successfully imported googletrans
Error importing translate
Do you have put the 3 required files under /home/pi/domoticz/plugins/Broadlink/ini/import/ ?pfloryann wrote: ↑Saturday 22 August 2020 18:17 Hi,
I tried to import codes from econtrol app but i have this error:
2020-08-22 18:59:54.462 Error: (Broadlink) Traceback (most recent call last):
2020-08-22 18:59:54.462 File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 1824, in create_ini_import
2020-08-22 18:59:54.462 with open(path + "jsonSubIr", encoding='utf-8') as remote_name:
2020-08-22 18:59:54.462 FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/Broadlink/ini/import/jsonSubIr'
2020-08-22 18:59:54.462
zak45 wrote: ↑Saturday 22 August 2020 21:43Do you have put the 3 required files under /home/pi/domoticz/plugins/Broadlink/ini/import/ ?pfloryann wrote: ↑Saturday 22 August 2020 18:17 Hi,
I tried to import codes from econtrol app but i have this error:
2020-08-22 18:59:54.462 Error: (Broadlink) Traceback (most recent call last):
2020-08-22 18:59:54.462 File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 1824, in create_ini_import
2020-08-22 18:59:54.462 with open(path + "jsonSubIr", encoding='utf-8') as remote_name:
2020-08-22 18:59:54.462 FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/Broadlink/ini/import/jsonSubIr'
2020-08-22 18:59:54.462
this path is strange : '/config/plugins/BroadlinkRM2/malliaso wrote: ↑Saturday 29 August 2020 7:17 Hi,
\\ (Broadlink) failed to load 'plugin.py', Python Path used was '/config/plugins/BroadlinkRM2/:/usr/lib/python36.zip:/usr/lib/python3.6:/usr/lib/python3.6:/usr/lib/python3.6/lib-dynload:/usr/lib/python3.6/site-packages'.
2020-08-29 08:06:26.660 Error: (Kitchen Remote) Module Import failed, exception: 'ModuleNotFoundError'
i am on Python 3.7 and i have set it as default. I also did a sudo apt-get install python3.6 libpython3.6 python3.6-dev, because i notices above that it is looking at python 3.6 folders which where not there before.
Any ideas what is the issue?
Thank you again
Users browsing this forum: Google [Bot] and 1 guest