fhempy: eRelax Vaillant

Begonnen von dominik, 27 Juli 2021, 22:45:47

Vorheriges Thema - Nächstes Thema

wolger

Hallo dominik, gibt es etwas Neues zu meinem Problem? Konntest du das Logfile lesen?

dominik

Sorry, hatte vergessen zu antworten.

Probiert bitte das Command
lsb_release -a
in der Linux Console. Sollte so aussehen:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

wolger

Mein Raspi antwortet:

$ lsb_release -a
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 25, in <module>
    import lsb_release
ModuleNotFoundError: No module named 'lsb_release'


dominik

Was kommt bei dir wenn du python3 eingibst?

Hast du python manuell installiert?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

wolger

ja, ich habe Python 3.8.5 manuell installiert.
$ python3
Python 3.8.5 (default, Jul  6 2022, 22:18:10)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

dominik

Du kannst gerne versuchen mit Google das Problem zu beheben, aber ich empfehle unbedingt auf bullseye zu aktualisieren und damit Python 3.9 im Standard zu nutzen. Alles andere macht dir nur noch mehr Probleme auf lange Sicht.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

wolger

Hallo Dominik,
nach langer Zeit habe ich jetzt auf Bullseye aufgerüstet. Fhempy läuft jetzt. :D
Ich habe allerdings keine Gastherme, sondern eine Vaillant Brennwertheizung mit am EBUS angeschlossenem Funkregler eRELAX.

Bei Eingabe von zB. set my_vaillant away

Fehlermeldung:

Failed to execute function Set: Traceback (most recent call last):
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 385, in handle_function
    ret = await self.execute_function(hash, fhem_reply_done, nmInstance)
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 484, in execute_function
    ret = await asyncio.wait_for(
  File "/usr/lib/python3.9/asyncio/tasks.py", line 481, in wait_for
    return fut.result()
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/generic.py", line 208, in Set
    return await utils.handle_set(self._conf_set, self, hash, args, argsh)
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/utils.py", line 340, in handle_set
    return await fct_call(hash, final_params)
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/erelax_vaillant/erelax_vaillant.py", line 84, in set_away
    self.thermostat_client.async_set_minor_mode(
AttributeError: 'erelax_vaillant' object has no attribute 'thermostat_client'

Gibt es die Möglichkeit Dein Modul auf meinen Regler anzupassen?

LG Wolfgang