Intégration GCE RFplayer

j’ai mis au dessus !
Pour info l’implémentation ne fonctionne pas bien dans l’addon, il faudrait que je revoies cette fonction, mais pour l’instant je ne m’en sert pas , bug au redémarrage de HA la Détection passe à 1, donc obligation de forcer à « 0 » !

Super merci à priori c’est bon. Je ne me sers que de cette partie de rfplayer n’ayant rien en rf.
Juste à créer les 2 input number et c’était ok.
Pour le Niveau tu as mis de 1 à 10 avec pas de 1 et idem celui du temps?

OUI


Le « 0 » en niveau sert à l’arrêt de la détection
Il faudrait faire un truc (automation) quand HA redémarre pour mettre l’entité détection à 0.
image
Surtout si l’on s’en sert comme alarme !

1 « J'aime »

Bonjour Doubledom,
Je suis nouveau chez Home Assistant
Version 2023.3.1 / Supervisor 2023.01.1 / Operating System 9.5 / Raspberry PI 3
Interface utilisateur : 20230302.0.
J’ai installé la version Béta de RF Player 16.0.3 via HACS.
L’intégration « GCE Beta_RFPlayer » apparaît correctement dans les integrations, en revanche 1 seul appareil avec 4 entités apparaît, ça semble être la clé USB ==> aucun des mes équipement blyssbox n’apparaît. Qu’est ce que j’ai loupé ?

Bonjour @Nico31
Est ce que tu as le log en mode debug STP dans le configuratio.yaml

logger:
  default: warning
  logs:
    custom_components.rfplayer: debug

Puis tu redémarre et laisse travailler 1 à 2 minutes et essaie de montrer le log…
Copie depuis /config/home-assistant.log avec insertion ici en te servant des balises </> dans le menu ici
image

je suis piupiu en HA :slight_smile:

comment dois je lancer le mode debug stp ?

Il faut bien commencer un jour !

Est-ce que tu as quelque chose pour éditer le fichier /config/configuration.yaml

oui
j’ai file editor.

Impec alors …
tu ajoutes les lignes que j’ai mis au-dessus

logger:
  default: warning
  logs:
    custom_components.rfplayer: debug

ok dans quel fichier ?

dans ce fichier ! comme dit plus avant

Ok, ça donne ceci pour moi :

J’ai lancé le redémarrage de HA

Ok tu laisses tourner 1 à 2 minutes et tu vas dans le log.
PS ne mets pas le log en photo mais en txt dans balises </>

J’ai 3 fichiers .log:

  1. home-assitant.log
  2. home-assitant.log.1
  3. home-assitant.log.fault

J’imagine que c’est le premier qui t’interresse ?

OUI le 2eme c’est avant que tu redémarre, on peut voir des choses aussi , mais si tu avais pas modifier le config !

Voici:

2023-03-07 14:44:58.349 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration google_photos which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.357 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.362 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration google_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.367 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration redback which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.372 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration meross_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.377 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration dwains_dashboard which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.382 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration meross_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.386 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration ipx800v4 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.390 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration rfplayer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:44:58.395 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration oralb_ble which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-03-07 14:45:22.506 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for rfplayer using this method at custom_components/rfplayer/__init__.py, line 234: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
2023-03-07 14:45:22.787 WARNING (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] dropping invalid data: 
ZIA--Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.39 F=433Mhz & 868Mhz EU)!
2023-03-07 14:45:35.726 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds.
2023-03-07 14:45:55.899 WARNING (SyncWorker_3) [homeassistant.components.rpi_power.binary_sensor] Under-voltage was detected. Consider getting a uninterruptible power supply for your Raspberry Pi.
2023-03-07 14:46:37.742 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: zha
2023-03-07 14:47:06.258 ERROR (MainThread) [homeassistant.components.ipp.coordinator] Error fetching ipp data: Invalid response from API: Timeout occurred while connecting to IPP server.
2023-03-07 14:47:06.280 ERROR (MainThread) [homeassistant.components.ipp.coordinator] Error fetching ipp data: Invalid response from API: Timeout occurred while connecting to IPP server.
2023-03-07 14:47:06.334 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 76, in update_all
    await self.update_device_trackers()
  File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 82, in update_device_trackers
    fbx_devices: list[dict[str, Any]] = await self._api.lan.get_hosts_list()
  File "/usr/local/lib/python3.10/site-packages/freebox_api/api/lan.py", line 64, in get_hosts_list
    return await self._access.get(f"lan/browser/{interface}")
  File "/usr/local/lib/python3.10/site-packages/freebox_api/access.py", line 122, in get
    return await self._perform_request(self.session.get, end_url)
  File "/usr/local/lib/python3.10/site-packages/freebox_api/access.py", line 94, in _perform_request
    r = await verb(url, **request_params)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 560, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 894, in start
    with self._timer:
  File "/usr/local/lib/python3.10/site-packages/aiohttp/helpers.py", line 721, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
2023-03-07 14:52:06.274 WARNING (SyncWorker_4) [homeassistant.components.rpi_power.binary_sensor] Under-voltage was detected. Consider getting a uninterruptible power supply for your Raspberry Pi.

tu es sur un RPI ? de quel type ?