thomasloven / hass-plejd

🔹 Plejd BLE integration for Home Assistant
96 stars 9 forks source link

Lights unavailable #83

Open Wilbers007 opened 2 months ago

Wilbers007 commented 2 months ago

Hi, thanks for this integration - although, I have an issue. I can see all of the devices and entities but they are marked as unavailable in the status. What am I doing wrong?

Screenshot 2024-09-07 at 13 27 44
JJglind commented 2 months ago

Hier hetzelfde probleem, entiteit is meermaals niet beschikbaar. Screenshot_20240908_121622_Home Assistant

pissten commented 1 month ago

I have the same problem. This integration is by far the best plejd integration for HA, out there. And it has been working great for a long period of time now. Since upgrade to 2024.10.0-3, I'm experiencing that all light entities are unavailable. Sometimes it has worked out to just restart the integration or even reboot. But now i can't get them working anymore :/

image

Logs:

2024-10-19 10:46:59.061 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration plejd 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 2024-10-19 10:47:44.875 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'speedtestdotnet', 'scene', 'raspberry_pi', 'input_button', 'sun', 'met_next_6_hours_forecast', 'select', 'trace', 'analytics', 'diagnostics', 'input_boolean', 'hacs', 'input_number', 'stream', 'zwave_js', 'panel_custom', 'search', 'map', 'tag', 'dwains_dashboard', 'application_credentials', 'plejd', 'wake_word', 'media_source', 'radio_browser', 'nmap_tracker', 'config', 'cast', 'system_health', 'image_upload', 'panasonic_viera', 'input_text', 'spook', 'rest_command', 'amshan', 'priceanalyzer', 'ipp', 'homekit', 'file_upload', 'assist_pipeline', 'timer', 'dlna_dmr', 'min_renovasjon', 'upnp', 'ffmpeg', 'overkiz', 'default_config', 'my', 'blueprint', 'generic', 'bluetooth_adapters', 'counter', 'tplink_deco', 'schedule', 'onboarding', 'input_select', 'climate', 'met', 'history', 'stt', 'utility_meter', 'persistent_notification', 'zone', 'group', 'sensor', 'ingress', 'energy', 'automation', 'browser_mod', 'homeassistant', 'mqtt', 'lovelace', 'rpi_power', 'device_automation', 'logbook', 'homee', 'mobile_app', 'backup', 'homeassistant_alerts', 'min_max', 'light', 'person', 'nest', 'tts', 'oralb', 'hardware', 'intent', 'nodered', 'metnowcast', 'number', 'places', 'nordpool', 'yale', 'script', 'input_datetime', 'conversation'} 2024-10-19 10:47:54.398 INFO (SyncWorker_4) [homeassistant.util.package] Attempting install of pyplejd==0.13.0 2024-10-19 10:48:27.624 INFO (MainThread) [homeassistant.setup] Setting up plejd 2024-10-19 10:48:27.625 INFO (MainThread) [homeassistant.setup] Setup of domain plejd took 0.00 seconds 2024-10-19 10:48:30.116 INFO (MainThread) [homeassistant.components.light] Setting up plejd.light 2024-10-19 10:48:30.117 INFO (MainThread) [homeassistant.components.switch] Setting up plejd.switch 2024-10-19 10:48:30.117 INFO (MainThread) [homeassistant.components.scene] Setting up plejd.scene 2024-10-19 10:48:30.119 INFO (MainThread) [homeassistant.components.event] Setting up plejd.event 2024-10-19 10:48:30.120 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up plejd.binary_sensor 2024-10-19 10:48:30.891 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: scene plejd bb98ca17-d61d-44a6-957e-0f52e9dc3cca 2024-10-19 10:48:30.898 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: scene plejd d5d2edb5-d7da-4d4d-b98a-67dc17dd0e5b 2024-10-19 10:48:31.242 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 10:58:31.243 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 11:01:38.593 INFO (MainThread) [homeassistant.components.light] Setting up plejd.light 2024-10-19 11:01:38.594 INFO (MainThread) [homeassistant.components.switch] Setting up plejd.switch 2024-10-19 11:01:38.595 INFO (MainThread) [homeassistant.components.scene] Setting up plejd.scene 2024-10-19 11:01:38.595 INFO (MainThread) [homeassistant.components.event] Setting up plejd.event 2024-10-19 11:01:38.596 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up plejd.binary_sensor 2024-10-19 11:01:39.443 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.lysthus 2024-10-19 11:01:39.464 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.downlights_tv_stue 2024-10-19 11:01:39.485 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.downlights 2024-10-19 11:01:39.509 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.spot 2024-10-19 11:01:39.528 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.downlights_gruppe_1 2024-10-19 11:01:39.549 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.downlights_gruppe_2 2024-10-19 11:01:39.568 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.spotter 2024-10-19 11:01:39.588 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.downlight_hovedinngang 2024-10-19 11:01:39.615 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.gesims_garasjeporter 2024-10-19 11:01:39.637 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.taklys 2024-10-19 11:01:39.657 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.inngang_kjokken 2024-10-19 11:01:39.680 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.spisebord 2024-10-19 11:01:39.702 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.downlights_gruppe_1_2 2024-10-19 11:01:39.723 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.downlights_gruppe_3 2024-10-19 11:01:39.748 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.plejd entity: switch.gulvvarme_stikk_wc 2024-10-19 11:01:39.772 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.plejd entity: switch.alle_utelys 2024-10-19 11:01:39.795 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.lys_innredning 2024-10-19 11:01:39.820 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new event.plejd entity: event.ved_dor 2024-10-19 11:01:39.843 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new event.plejd entity: event.ved_dor_2 2024-10-19 11:01:39.862 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new event.plejd entity: event.ved_dor_3 2024-10-19 11:01:39.878 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new event.plejd entity: event.ved_dor_4 2024-10-19 11:01:39.894 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.taklampe 2024-10-19 11:01:39.911 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.taklys_2 2024-10-19 11:01:39.930 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.plejd entity: binary_sensor.postkasse 2024-10-19 11:01:39.951 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.plejd entity: binary_sensor.hjorne_tak 2024-10-19 11:01:39.970 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.utvendig_vegglampe 2024-10-19 11:01:39.993 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.plejd entity: binary_sensor.ved_bakdor 2024-10-19 11:01:40.012 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.plejd entity: light.taklys_3 2024-10-19 11:01:40.031 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.plejd entity: binary_sensor.vegg_garasje 2024-10-19 11:01:40.050 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new event.plejd entity: event.astrour_activated 2024-10-19 11:01:40.067 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new event.plejd entity: event.astrour_porter_activated 2024-10-19 11:01:40.094 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new event.plejd entity: event.ut_activated 2024-10-19 11:01:40.120 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new scene.plejd entity: scene.ut 2024-10-19 11:01:40.136 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 11:11:40.136 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 11:21:40.137 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 11:31:40.138 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 11:41:40.139 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 11:51:40.140 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed 2024-10-19 11:57:59.988 INFO (MainThread) [homeassistant.components.light] Setting up plejd.light 2024-10-19 11:57:59.988 INFO (MainThread) [homeassistant.components.switch] Setting up plejd.switch 2024-10-19 11:57:59.989 INFO (MainThread) [homeassistant.components.scene] Setting up plejd.scene 2024-10-19 11:57:59.989 INFO (MainThread) [homeassistant.components.event] Setting up plejd.event 2024-10-19 11:57:59.989 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up plejd.binary_sensor 2024-10-19 11:58:00.919 DEBUG (MainThread) [pyplejd.cloud] Site data loaded 2024-10-19 11:58:00.920 DEBUG (MainThread) [pyplejd.cloud] ('Mesh Devices:', {'F5BDC7440456', 'CAE68DC88709', 'C8AA1D559678', 'DF5C95E14A45', 'FB3EEE6E6756', 'CC6FD6312AEA', 'CE0BA21C0B69', 'DEBC31BC61C2', 'F444378FC406', 'D8EFFF69EA79', 'DB68EBA09C2E', 'F5D2B607F7AE', 'F661290913A9', 'CE834BB506AD', 'DD24F7DF5F9C', 'F8060669C25A', 'E3347AA5C07B', 'DCCEA339206D', 'C91763557EE9', 'E486D6830907', 'FD8B7577723A', 'FFA40BAC2B99', 'F01748B5D1AC', 'F3761B5C2BC6', 'CC7D6042EEBF', 'C36726862EDA'}) 2024-10-19 11:58:00.928 DEBUG (MainThread) [pyplejd] Devices: 2024-10-19 11:58:00.928 DEBUG (MainThread) [pyplejd] objectId='aiWW9BZLy6' address=11 rxaddress=None BLEaddress='D8EFFF69EA79' name='Lysthus' hardware='DIM-01' dimmable=True colortemp=False outputType='LIGHT' room='Lysthus' firmware='2.2.1' inputAddress=[11, 11, 11] hidden=False 2024-10-19 11:58:00.929 DEBUG (MainThread) [pyplejd] objectId='j1XW9VYnGq' address=13 rxaddress=None BLEaddress='F3761B5C2BC6' name='Downlights Tv-stue' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Tv-stue' firmware='1.1.3' inputAddress=[13, 13, 13] hidden=False 2024-10-19 11:58:00.929 DEBUG (MainThread) [pyplejd] objectId='ONWQahCed1' address=15 rxaddress=None BLEaddress='CE834BB506AD' name='Downlights' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Kjøkken' firmware='1.1.3' inputAddress=[15, 15, 15] hidden=False 2024-10-19 11:58:00.929 DEBUG (MainThread) [pyplejd] objectId='p1fFCZsf5R' address=16 rxaddress=None BLEaddress='FB3EEE6E6756' name='Spot' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Kjøkken' firmware='1.1.3' inputAddress=[16, 16, 16] hidden=False 2024-10-19 11:58:00.929 DEBUG (MainThread) [pyplejd] objectId='0E7es5dfDS' address=18 rxaddress=None BLEaddress='F8060669C25A' name='Downlights gruppe 1' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Stue' firmware='1.1.3' inputAddress=[18, 18, 18] hidden=False 2024-10-19 11:58:00.929 DEBUG (MainThread) [pyplejd] objectId='ayMy7WdojU' address=19 rxaddress=None BLEaddress='DF5C95E14A45' name='Downlights gruppe 2' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Stue' firmware='1.1.3' inputAddress=[19, 19, 19] hidden=False 2024-10-19 11:58:00.929 DEBUG (MainThread) [pyplejd] objectId='ZAEooDBYI9' address=21 rxaddress=None BLEaddress='F444378FC406' name='Spotter' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Gang' firmware='1.1.3' inputAddress=[21, 21, 21] hidden=False 2024-10-19 11:58:00.929 DEBUG (MainThread) [pyplejd] objectId='cTECCOjRz7' address=23 rxaddress=None BLEaddress='CAE68DC88709' name='Downlight hovedinngang' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Utebelysning' firmware='1.1.3' inputAddress=[23, 23, 23] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='mpnuO7LKEL' address=24 rxaddress=None BLEaddress='F5BDC7440456' name='Gesims garasjeporter' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Utebelysning' firmware='1.1.3' inputAddress=[24, 24, 24] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='S45fUnmrnk' address=25 rxaddress=None BLEaddress='F01748B5D1AC' name='Taklys' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Gang' firmware='1.2.4' inputAddress=[25, 25, 25] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='ocreNrXP0d' address=26 rxaddress=None BLEaddress='CC7D6042EEBF' name='Inngang-kjøkken' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Gang' firmware='1.1.3' inputAddress=[26, 26, 26] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='J6kv4FfUFV' address=27 rxaddress=None BLEaddress='C36726862EDA' name='Spisebord' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Tv-stue' firmware='1.2.4' inputAddress=[27, 27, 27] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='yDFNSiuspS' address=29 rxaddress=None BLEaddress='E3347AA5C07B' name='Downlights gruppe 1+2' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Bar' firmware='1.1.3' inputAddress=[29, 29, 29] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='Bc1dWQFvuH' address=30 rxaddress=None BLEaddress='DCCEA339206D' name='Downlights gruppe 3' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Bar' firmware='1.2.4' inputAddress=[30, 30, 30] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='40PVfO9UfT' address=32 rxaddress=None BLEaddress='CE0BA21C0B69' name='Gulvvarme (stikk wc)' hardware='SPR-01' dimmable=False colortemp=False outputType='RELAY' room='Wc' firmware='1.0.14' inputAddress=[32] hidden=False 2024-10-19 11:58:00.930 DEBUG (MainThread) [pyplejd] objectId='tf8vTMKNQv' address=33 rxaddress=None BLEaddress='F5D2B607F7AE' name='Alle Utelys' hardware='REL-01-2P' dimmable=False colortemp=False outputType='RELAY' room='Utebelysning' firmware='1.2.2' inputAddress=[33, 33] hidden=False 2024-10-19 11:58:00.931 DEBUG (MainThread) [pyplejd] objectId='x4pszA8mB0' address=35 rxaddress=None BLEaddress='DB68EBA09C2E' name='Lys innredning' hardware='REL-01-2P' dimmable=False colortemp=False outputType='LIGHT' room='Liten Garasje' firmware='1.2.2' inputAddress=[35, 35] hidden=False 2024-10-19 11:58:00.931 DEBUG (MainThread) [pyplejd] objectId='pzYVdS4phQ' address=36 rxaddress=None BLEaddress='DEBC31BC61C2' name='Ved dør' hardware='WPH-01' dimmable=False colortemp=False outputType='SENSOR' room='Liten Garasje' firmware='0.5.0' inputAddress=[36, 36, 36, 36] hidden=False 2024-10-19 11:58:00.931 DEBUG (MainThread) [pyplejd] objectId='ERY0uZgRc5' address=38 rxaddress=None BLEaddress='C8AA1D559678' name='Taklampe' hardware='DIM-01-2P' dimmable=True colortemp=False outputType='LIGHT' room='Utestue' firmware='1.3.8' inputAddress=[38, 38, 38] hidden=False 2024-10-19 11:58:00.931 DEBUG (MainThread) [pyplejd] objectId='mPPXTokaLl' address=40 rxaddress=None BLEaddress='FFA40BAC2B99' name='Taklys' hardware='REL-01-2P' dimmable=False colortemp=False outputType='LIGHT' room='Teknisk rom' firmware='1.3.4' inputAddress=[40, 40] hidden=False 2024-10-19 11:58:00.931 DEBUG (MainThread) [pyplejd] objectId='s0L11qK4F6' address=41 rxaddress=None BLEaddress='C91763557EE9' name='Postkasse' hardware='WMS-01' dimmable=False colortemp=False outputType='MOTION' room='Postkasse' firmware='1.4.4' inputAddress=[41] hidden=False 2024-10-19 11:58:00.931 DEBUG (MainThread) [pyplejd] objectId='bOMOLGDzmb' address=45 rxaddress=None BLEaddress='F661290913A9' name='Hjørne tak' hardware='WMS-01' dimmable=False colortemp=False outputType='MOTION' room='Teknisk rom' firmware='1.4.4' inputAddress=[45] hidden=False 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] objectId='B29GC5LPLs' address=47 rxaddress=None BLEaddress='FD8B7577723A' name='Utvendig vegglampe' hardware='REL-01-2P' dimmable=False colortemp=False outputType='LIGHT' room='Utebelysning bak garasje' firmware='1.3.4' inputAddress=[47, 47] hidden=False 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] objectId='bAj0R6ucQY' address=48 rxaddress=None BLEaddress='CC6FD6312AEA' name='Ved bakdør' hardware='WMS-01' dimmable=False colortemp=False outputType='MOTION' room='Utebelysning bak garasje' firmware='1.4.4' inputAddress=[48] hidden=False 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] objectId='Fpqa2pFwO9' address=50 rxaddress=None BLEaddress='DD24F7DF5F9C' name='Taklys' hardware='REL-01-2P' dimmable=False colortemp=False outputType='LIGHT' room='Stor garasje' firmware='1.3.4' inputAddress=[50, 50] hidden=False 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] objectId='wyoDh3b56v' address=51 rxaddress=None BLEaddress='E486D6830907' name='Vegg garasje' hardware='WMS-01' dimmable=False colortemp=False outputType='MOTION' room='Stor garasje' firmware='1.4.4' inputAddress=[51] hidden=False 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] Scenes: 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] sceneId='bb98ca17-d61d-44a6-957e-0f52e9dc3cca' index=1 title='Astrour' hidden=True 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] sceneId='d5d2edb5-d7da-4d4d-b98a-67dc17dd0e5b' index=2 title='Astrour porter' hidden=True 2024-10-19 11:58:00.932 DEBUG (MainThread) [pyplejd] sceneId='45ef0925-3123-4c56-ab5f-db300052fdb1' index=3 title='UT' hidden=False 2024-10-19 11:58:00.984 DEBUG (MainThread) [pyplejd.ble] Trying to connect to mesh 2024-10-19 11:58:00.984 DEBUG (MainThread) [pyplejd.ble] Failed to connect to plejd mesh - No valid devices: {} ({'F5BDC7440456', 'CAE68DC88709', 'C8AA1D559678', 'DF5C95E14A45', 'FB3EEE6E6756', 'CE0BA21C0B69', 'F444378FC406', 'D8EFFF69EA79', 'DB68EBA09C2E', 'F5D2B607F7AE', 'CE834BB506AD', 'DD24F7DF5F9C', 'F8060669C25A', 'E3347AA5C07B', 'DCCEA339206D', 'FD8B7577723A', 'FFA40BAC2B99', 'F01748B5D1AC', 'F3761B5C2BC6', 'CC7D6042EEBF', 'C36726862EDA'}) 2024-10-19 11:58:00.985 DEBUG (MainThread) [custom_components.plejd.plejd_site] Ping failed

Hardware: rpi4-64 Core 2024.10.3 Supervisor 2024.10.2 Operating System 13.1 Frontend 20241002.3

hass-plejd version: 0.13.1