Ok,nice to see you have it working.
and sorry, no support for humidity.
Moderator: leecollings
Ok,nice to see you have it working.
After installation of "googletrans" separatly and 3 or 4 more installation it's fine.zak45 wrote: ↑Thursday 08 October 2020 23:58Be sure to have executed installation with sudo ... and that rigth python version has been set for your system not only for your user ...skywi13 wrote: ↑Thursday 08 October 2020 17:02 "Checking installation ....
----------------------------------------
Successfully imported googletrans
Error importing translate
2020-10-08 15:42:19.545 Error: (RM4-SAM) Module Import failed, exception: 'ModuleNotFoundError'
pi@raspberrypi:~ $ python --version
Python 3.5.4
Modulenotfounderror has been already discussed many time, check on this topic.
You need to see if you can have it on Pronto HEX. so you can import it. take a look also to the IR code DB:lamama1234 wrote: ↑Wednesday 14 October 2020 15:53 Hi,
Plugin is working great. Many thanks to all contributors.
I'm trying to manually enter an IR code which doesn't exist in my TV remote (from here https://gitlab.com/snippets/1690600)
How do I convert the IR codes listed in the attached link, e.g. 20DFA35C, to the codes generated in this plugin's ini files?
Thanks
Could you help me ? python version using is 3.7.3 (also on SU) and I've got a raspberry pi 4.*
================================================================================
*
Broadlink Plugin Installation
*
================================================================================
*
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
________________________________________
# We need Domoticz Net info
----------------------------------------
ENTER Domoticz IP address (e.g. 192.168.1.45): 192.168.1.xx
ENTER Domoticz Port Number (e.g. 8080): xxxx
IP/PORT OK
Installation initialized ......
________________________________________
# we retrieve Domoticz language
Traceback (most recent call last):
File "setup.py", line 73, in exe_domoticz
html = urllib.request.urlopen('http://' + str(Domoticz) + ':' + str(Port) + '/json.htm?' + params, timeout=20)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized
Error sending command to Domoticz :type=settings
see here : viewtopic.php?f=65&t=33223&start=60#p252626garycooper wrote: ↑Wednesday 14 October 2020 23:45 Hello, when I'm trying to install the plugin (using sudo), I've got this error :
urllib.error.HTTPError: HTTP Error 401: Unauthorized
Error sending command to Domoticz :type=settings
you can try this one also :lamama1234 wrote: ↑Wednesday 14 October 2020 15:53 Hi,
Plugin is working great. Many thanks to all contributors.
I'm trying to manually enter an IR code which doesn't exist in my TV remote (from here https://gitlab.com/snippets/1690600)
How do I convert the IR codes listed in the attached link, e.g. 20DFA35C, to the codes generated in this plugin's ini files?
Thanks
I don't understand and broadlinks devices work normaly2020-10-18 22:57:50.711 Error: (Multiprise TV etage) Traceback (most recent call last):
2020-10-18 22:57:50.711 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 369, in send_packet
2020-10-18 22:57:50.711 response = cs.recvfrom(2048)
2020-10-18 22:57:50.711 socket.timeout: timed out
2020-10-18 22:57:50.711
2020-10-18 22:57:50.711 During handling of the above exception, another exception occurred:
2020-10-18 22:57:50.711
2020-10-18 22:57:50.711 Traceback (most recent call last):
2020-10-18 22:57:50.711 File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 2258, in check_power_mp1
2020-10-18 22:57:50.711 STATEMP1 = DEVICE.check_power()
2020-10-18 22:57:50.711 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 431, in check_power
2020-10-18 22:57:50.711 state = self.check_power_raw()
2020-10-18 22:57:50.711 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 420, in check_power_raw
2020-10-18 22:57:50.711 response = self.send_packet(0x6a, packet)
2020-10-18 22:57:50.711 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 374, in send_packet
2020-10-18 22:57:50.711 raise exception(0xfffd)
2020-10-18 22:57:50.711 broadlink.exceptions.DeviceOfflineError: The device is offline
2020-10-18 22:57:50.711
2020-10-18 22:57:50.711 Error: (Multiprise TV etage) Erreur pour vérifier l état d alimentation du dispositif de MP1
2020-10-18 23:31:51.211 Error: (TV salon) No data received from TV, probably it has just been turned off (time data '' does not match format '%Y-%m-%dT%H:%M:%S')
2020-10-18 23:41:32.872 Error: (Multiprise TV etage) Traceback (most recent call last):
2020-10-18 23:41:32.872 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 369, in send_packet
2020-10-18 23:41:32.872 response = cs.recvfrom(2048)
2020-10-18 23:41:32.872 socket.timeout: timed out
2020-10-18 23:41:32.872
2020-10-18 23:41:32.872 During handling of the above exception, another exception occurred:
2020-10-18 23:41:32.872
2020-10-18 23:41:32.872 Traceback (most recent call last):
2020-10-18 23:41:32.872 File "/home/pi/domoticz/plugins/Broadlink/plugin.py", line 2258, in check_power_mp1
2020-10-18 23:41:32.872 STATEMP1 = DEVICE.check_power()
2020-10-18 23:41:32.872 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 431, in check_power
2020-10-18 23:41:32.872 state = self.check_power_raw()
2020-10-18 23:41:32.872 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 420, in check_power_raw
2020-10-18 23:41:32.872 response = self.send_packet(0x6a, packet)
2020-10-18 23:41:32.872 File "/usr/local/lib/python3.7/dist-packages/broadlink/__init__.py", line 374, in send_packet
2020-10-18 23:41:32.872 raise exception(0xfffd)
2020-10-18 23:41:32.872 broadlink.exceptions.DeviceOfflineError: The device is offline
2020-10-18 23:41:32.872
2020-10-18 23:41:32.872 Error: (Multiprise TV etage) Erreur pour vérifier l état d alimentation du dispositif de MP1
I do not own MP1 device and could not test...garycooper wrote: ↑Sunday 18 October 2020 23:54
I don't understand and broadlinks devices work normaly
Code: Select all
[DEFAULT]
unit = 73
customname = zgemma Power
hardwareid = 9
pluginkey = Broadlink
pluginfolder = /Users/tor/bld/domb/dom11804/plugins/Broadlink/
pluginname = mRM Pro+
[Device]
host = 192.168.1.97
mac = xxxxxxx (my real Mac masked out)
[LearnedCode]
73 = 2600480000012a921436133713371311151113381212141113371312143514381113121412361337131411121411141213121312131313121436123911371336133616361335143614000d05
You need to copy your old ini file to the new import folder of the new plugin location.
Thanks, now it works!zak45 wrote: ↑Tuesday 27 October 2020 16:45 You need to copy your old ini file to the new import folder of the new plugin location.
Clicking on import button should create the ini file for the new plugin.
if you want a Domoticz button, just click on the create device button once you have selected the ini from the manage web page.
Code: Select all
2020-10-29 09:31:22.384 Status: User: Admin initiated a switch command (231/Broadlink - Opdrachten/Set Level)
2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat
2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat
2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat
2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat
2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat
2020-10-29 09:31:26.078 (Broadlink) Pushing 'ProtocolDirective' on to queue
First, should have a problem with your lng file.jon205 wrote: ↑Thursday 29 October 2020 9:43 Dear Zak45,
I've got your plugin running, but no devices are being created when I want to save a command. I've set the debuglevel to all and found this after saving the command:
It's in Dutch, but 'Bestand bestaat' means 'File exists'. What file is this and how can I fix this error?Code: Select all
2020-10-29 09:31:22.384 Status: User: Admin initiated a switch command (231/Broadlink - Opdrachten/Set Level) 2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat 2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat 2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat 2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat 2020-10-29 09:31:22.424 Error: (Broadlink) Bestand bestaat 2020-10-29 09:31:26.078 (Broadlink) Pushing 'ProtocolDirective' on to queue
Thanks.
Code: Select all
2020-10-29 18:10:44.442 Error: (Broadlink) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Broadlink/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
Code: Select all
python --version
Code: Select all
python plugin.py
Traceback (most recent call last):
File "plugin.py", line 110, in <module>
import Domoticz
ModuleNotFoundError: No module named 'Domoticz'
Users browsing this forum: No registered users and 1 guest