FHEM - Anwendungen > Heizungssteuerung/Raumklima
fhempy: eRelax Vaillant
dominik:
Hallo zusammen,
nachdem ich seit ein paar Tagen eine eRelax Vaillant Gastherme besitze, habe ich dafür ein Modul geschrieben. Zumindest eine 1. Version mit der man die Temperatur setzen kann. Es werden auch jede Menge Readings ausgelsen. Geht alles über die Vaillant (eigentlich Netatmo) Cloud und erfordert nur einen Account. Keine Hardwareanpassung notwendig.
Installation
Zuerst fhempy installieren:
https://github.com/dominikkarall/fhempy
Danach:
define my_vaillant PythonModule erelax_vaillant USER PASSWORD
wolger:
Hallo dominik, gibt es ein update? Ich habe alles nach Deiner Anweisung installiert, bekomme aber beim Anlegen von my_vaillant die Fehlermeldung:
Module failed to load: erelax_vaillant
Maybe you need to update fhempy on this or remote peer.
Stacktrace:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 218, in handle_function
module_object = await self.import_module(hash)
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 403, in import_module
functools.partial(importlib.import_module, pymodule)
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/utils.py", line 34, in run_blocking
return await asyncio.get_event_loop().run_in_executor(pool, function)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/erelax_vaillant/erelax_vaillant.py", line 9, in <module>
from httpx import AsyncClient
ModuleNotFoundError: No module named 'httpx'
dominik:
Mach bitte mal
sudo -u fhem bash
pip3 install git+https://github.com/dominikkarall/vaillant-netatmo-api#vaillant-netatmo-api==0.8.2
Eigentlich sollte da das httpx Modul automatisch installiert werden.
wolger:
Hallo dominik,
bin erst jetzt nach Urlaub wieder aktiv. Nach Ausführung Deiner Anweisung wurde folgendes gemeldet:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting git+https://github.com/dominikkarall/vaillant-netatmo-api#vaillant-netatmo-api==0.8.2
Cloning https://github.com/dominikkarall/vaillant-netatmo-api to /tmp/pip-req-build-1bm958rs
Installing build dependencies ... done
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.7/tokenize.py", line 447, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-1bm958rs/setup.py'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-1bm958rs/
wolger:
Hallo dominik, gibt es etwas Neues zu meinem Problem???
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln