0x2712 is the default device type, work with most of the RM2 devices, but as you know, exceptions always exist !!
Run the discovery from terminal, we need to find/know the device type.
Moderator: leecollings
0x2712 is the default device type, work with most of the RM2 devices, but as you know, exceptions always exist !!
I get nothing. When i run discovery from terminal it just says: Discovering... and nothing more.
pi@raspberrypi:~ $ sudo -H python -m pip install translatezak45 wrote: ↑Saturday 25 July 2020 12:49Can you do this :Romel wrote: ↑Friday 24 July 2020 20:33Code: Select all
Checking installation .... ---------------------------------------- Successfully imported googletrans Error importing translate
sudo -H python -m pip install translate
and
sudo pip list
ans show the output ?
hmm seems like problem with linking...
Code: Select all
pi@raspberrypi:~ $ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (18.1-5+rpt1).
The following packages were automatically installed and are no longer required:
attr flashrom ibverbs-providers libarchive13 libavahi-client3 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-regex1.67.0 libboost-system1.67.0
libboost-thread1.67.0 libcephfs2 libcups2 libftdi1-2 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgpgme11 libibverbs1 libjansson4 libldb1 libnspr4 libnss3
libpython-dev libpython-stdlib libpython2-dev libpython2.7-dev librados2 libtdb1 libtevent0 python2-dev python2.7-dev samba-common tdb-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code: Select all
sudo -H python3 -m pip install translate
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: translate in /usr/local/lib/python3.7/dist-packages (3.5.0)
Requirement already satisfied: pre-commit in /usr/local/lib/python3.7/dist-packages (from translate) (2.6.0)
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from translate) (6.7)
Requirement already satisfied: tox in /usr/local/lib/python3.7/dist-packages (from translate) (3.17.1)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from translate) (2.21.0)
Requirement already satisfied: lxml in /usr/local/lib/python3.7/dist-packages (from translate) (4.5.2)
Requirement already satisfied: toml in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (0.10.1)
Requirement already satisfied: identify>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (1.4.23)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (1.7.0)
Requirement already satisfied: cfgv>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (3.1.0)
Requirement already satisfied: nodeenv>=0.11.1 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (1.4.0)
Requirement already satisfied: virtualenv>=20.0.8 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (20.0.26)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.7/dist-packages (from pre-commit->translate) (5.3.1)
Requirement already satisfied: packaging>=14 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (20.4)
Requirement already satisfied: pluggy>=0.12.0 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (0.13.1)
Requirement already satisfied: py>=1.4.17 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (1.9.0)
Requirement already satisfied: six>=1.14.0 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (1.15.0)
Requirement already satisfied: filelock>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from tox->translate) (3.0.12)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata; python_version < "3.8"->pre-commit->translate) (3.1.0)
Requirement already satisfied: appdirs<2,>=1.4.3 in /usr/local/lib/python3.7/dist-packages (from virtualenv>=20.0.8->pre-commit->translate) (1.4.4)
Requirement already satisfied: distlib<1,>=0.3.1 in /usr/local/lib/python3.7/dist-packages (from virtualenv>=20.0.8->pre-commit->translate) (0.3.1)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/local/lib/python3.7/dist-packages (from packaging>=14->tox->translate) (2.4.7)
Well I don't have anything installed so I give this a rest now and come back when I got time for it, and You might have gotten some more development into it.
the broadlink_discovery.py had no relation with the plugin and is part of the broadlink module.
You need python to be able to use this plugin.
plugin use machine translation ... so fun things happenI have another button at my web admin page, that is chinese for me...
this has been already discussed, see some posts before ...2020-08-08 12:42:48.135 broadlink.exceptions.StorageError: The device storage is full
Probably due to browser cache (try to open domoticz in private mode), if you take a look to the label of your device in the Web admin page, just after the few menu buttons, you should see : 0x5f36The update to my device is not working at the admin pagem when i do this like you said above.
After the update with this dialog, and restarting Domoticz nothing changed in admin page.
hummm... this button should work and do the same thing (more or less) than the broadlink_discovery.py... I'm interested by more information.Instead of this button, i used the broadlink_discovery.py that gives me good information for the broadlink scripts/calls.
... this one is part of the exceptions (as you see, name mini 3 but use rm4 as type) !!!!!broadlink_cli --type 0x5f36 --host 192.168.xxx.xx --mac xxxxxxxxxx
Device file data (to be used with --device @filename in broadlink_cli) :
0x5f36 192.168.xxx.xx xxxxxxxxxx
hummmm.. no.. just click on 'create device' and you will have a Domoticz device created automatically for you with the corresponding ini file linked to !!To use the learned commands you have to make a executable file, and link this as a script in a dummy device at Domoticz.
Yep, that show now the right value.Probably due to browser cache (try to open domoticz in private mode), if you take a look to the label of your device in the Web admin page, just after the few menu buttons, you should see : 0x5f36
This de python error log when i use the network scan buttonclick on it, wait few seconds and show your Domoticz log and the content of the files under log folder,
I thought from start that there must be something like that, after reading the docs from the 'old' plugin.no.. just click on 'create device' and you will have a Domoticz device created automatically for you with the corresponding ini file linked to !!
here it is :marchutt wrote: ↑Saturday 08 August 2020 21:25I thought from start that there must be something like that, after reading the docs from the 'old' plugin.no.. just click on 'create device' and you will have a Domoticz device created automatically for you with the corresponding ini file linked to !!
My first expectation was that after saving the learned ini file, automaticly a device was added.
But nothing happend and no device added, so i did this linking manual after a lot of try and error...
I see also no button 'create device' at all, not in broadlink devices and not on admin page..
devices.png
Users browsing this forum: No registered users and 1 guest