Re: [Plugin Tiers] KLF200 Velux : control local des périphériques IO Homecrontrol
Publié : 02 sept. 2019, 06:54
Cool ! Impatient de tester ça Merci
Forum sur Jeedom
https://www.jeedom.com/forum/
Fil a écrit : ↑02 sept. 2019, 09:49Lunarok,
J'ai installé la MAJ, super, j'ai bien mes pourcentage d'ouverture dans le log.
Par contre les positions sont toujours inversées.
Si je prend un volet avec un module Fibaro, lorsque celui-ci est ouvert, il m'envoie une position à 99 %.
Le plugin KLF envoie l'inverse, 0 %
D'où je pense, l'inversion dans Homekit...
Dans les commandes de module le Slider ne se met pas à jour. Serait-it possible d'avoir une info Etat ?
Mais je suppose que tu le sais !!!
En tout cas MERCI à toi pour ce plugin.
Code : Tout sélectionner
********************************************************
* Installation des dépendances *
********************************************************
Hit:1 http://www.deb-multimedia.org stretch InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://security.debian.org stretch/updates InRelease
Hit:5 http://repo.jeedom.com/odroid stable InRelease
Hit:6 http://ftp.debian.org/debian stretch-backports InRelease
Hit:7 http://ftp.debian.org/debian stretch-proposed-updates InRelease
Hit:8 http://ftp.debian.org/debian stretch Release
Hit:9 https://oph.mdrjr.net/meveric all InRelease
Hit:10 https://oph.mdrjr.net/meveric stretch InRelease
Reading package lists...
Installation des dépendances apt
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (9.0.1-2+deb9u1).
python3-dev is already the newest version (3.5.3-1).
The following packages were automatically installed and are no longer required:
libmemcached11 libmemcachedutil2 libmysqlclient18 libonig2 libpng12-0
libqdbm14 libvpx1 linux-image-3.14.29+ linux-image-arm64-odroid-c2
u-boot-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 185 not upgraded.
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
Installation du module pyvlx pour python
Collecting pyvlx
Using cached https://files.pythonhosted.org/packages/a0/aa/498982cec853dc315456adeb0af58440305f737aa8051a1fbfea6b4bcf85/pyvlx-0.2.12.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-79v7uz3o/pyvlx/
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
Installation du module aiohttp pour python
Collecting aiohttp
Using cached https://files.pythonhosted.org/packages/18/02/4b93461b42791a0021ebda53dedaf1cb76b7eafa652c1f025e77bba5951a/aiohttp-3.6.0-py3-none-any.whl
Collecting idna-ssl>=1.0; python_version < "3.7" (from aiohttp)
Using cached https://files.pythonhosted.org/packages/46/03/07c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4/idna-ssl-1.1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-azcn_abn/idna-ssl/
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
********************************************************
* Installation terminée *
********************************************************
Salut,mp-mathieu a écrit : ↑19 sept. 2019, 14:13Bonjour à tous,
Pour le moment, je ne parviens pas à installer les dépendances, sur une Jeedom Smart v3.3.31.
Code : Tout sélectionner
pip install --upgrade setuptools
Code : Tout sélectionner
sudo apt autoremove
Code : Tout sélectionner
apt-get install python3-setuptools
Code : Tout sélectionner
Collecting pyvlx
Using cached https://files.pythonhosted.org/packages/a0/aa/498982cec853dc315456adeb0af58440305f737aa8051a1fbfea6b4bcf85/pyvlx-0.2.12.tar.gz
Collecting PyYAML (from pyvlx)
Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
Building wheels for collected packages: pyvlx, PyYAML
Running setup.py bdist_wheel for pyvlx: started
Running setup.py bdist_wheel for pyvlx: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2c7r7mlu/pyvlx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp5k0i4rz9pip-wheel- --python-tag cp35:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for pyvlx
Running setup.py clean for pyvlx
Code : Tout sélectionner
Successfully installed aiohttp-3.6.1 async-timeout-3.0.1 attrs-19.1.0 chardet-3.0.4 idna-2.8 idna-ssl-1.1.0 multidict-4.5.2 typing-extensions-3.7.4 yarl-1.3.0
Code : Tout sélectionner
Connecting to KLF 200.
Connected to: KLF 200: Software version: 0.2.0.0.71.0, hardware version: 6, protocol version: 3.14
Exception in callback _SelectorSocketTransport._read_ready()
handle: <Handle _SelectorSocketTransport._read_ready()>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/events.py", line 126, in _run
self._callback(*self._args)
File "/usr/lib/python3.5/asyncio/selector_events.py", line 730, in _read_ready
self._protocol.data_received(data)
File "/usr/lib/python3.5/asyncio/sslproto.py", line 515, in data_received
self._app_protocol.data_received(chunk)
File "/usr/local/lib/python3.5/dist-packages/pyvlx/connection.py", line 52, in data_received
frame = frame_from_raw(raw)
File "/usr/local/lib/python3.5/dist-packages/pyvlx/frame_creation.py", line 40, in frame_from_raw
frame.from_payload(payload)
File "/usr/local/lib/python3.5/dist-packages/pyvlx/frames/frame_get_all_nodes_information.py", line 127, in from_payload
self.node_type = NodeTypeWithSubtype(payload[69] * 256 + payload[70])
File "/usr/lib/python3.5/enum.py", line 241, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python3.5/enum.py", line 476, in __new__
raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 3329 is not a valid NodeTypeWithSubtype
Number of received scenes does not match expected number