BenPru / luxtronik

Luxtronik integration for Home Assistant
MIT License
66 stars 23 forks source link

No entities after setup #162

Closed MichaelS1955 closed 8 months ago

MichaelS1955 commented 8 months ago

Hi, I use a Novelan heatpump. I have installed and configured the integration. According to the description there should be found entities. But I see no entity, it seems I have to add them all manually. What went wrong with the installation?

heatpump: Novelan SICV9,2 H3, MAC 04:D1:6E, Hostname ? (where can I find it)

Thanks Michael

ChrisMisker commented 8 months ago

Which version of the integration are you using? Have you tried the latest beta?

MichaelS1955 commented 8 months ago

Hi Chris, difficult question :-( In the debug file I found these information: "domain": "luxtronik2", "name": "Luxtronik", "version": "2023.02.02", "requirements": [ "luxtronik==0.3.14", "getmac>=0.8.2" ], But I also see that many of the entities are listed with the related values. Should I unistall the everything and install it new?

Thanks

BenPru commented 8 months ago

"version": "2023.02.02" Should I unistall the everything and install it new?

Which HA version are you using?

MichaelS1955 commented 8 months ago

I use HA 2023.10.3 Do you know when a stable version for HA >=2023.9.0 can be expected?

Thanks for your support

MichaelS1955 commented 8 months ago

do you really men to downgrade to 2023.9.0 ? Downgrade to 2023.9.3 would also make problems?

BenPru commented 8 months ago

I use HA 2023.10.3 Do you know when a stable version for HA >=2023.9.0 can be expected?

The last bigger issue seems to be fixed. #142 With more migration tests and release notes and so on I think 1-2 weeks. But if you just started with using this integration and you don't need historical sensor data, the migration is not needed for you. So you can use the lastest prerelease.

do you really men to downgrade to 2023.9.0 ?

No, I mean < 2023.9.0 --> e.g. 2023.8.4

Downgrade to 2023.9.3 would also make problems?

I have often made a downgrade. Always without problems with HA himself. But it was always only one major version back. And I don't know your integrations.

Kars-de-Jong commented 8 months ago

@MichaelS1955 I've been running version 2023.9.10 on HA release 2023.9.3 without any issues.

Haven't tried it on HA 2023.10 yet.

bserking commented 8 months ago

hey quick response,

just installed for the first time and I'm using your 2023.10.16 beta build Home Assistant 2023.10.5 Supervisor 2023.10.1 Operating System 11.1 Novelan Heatpump S/W WSV 12.2H3M Firmware: V3.85.6

works fine so far , everything is read correct and no errors are thrown...

Good job, Thanks a lot <3

MichaelS1955 commented 8 months ago

Hi beserking, where did you find the repository 2023.10.16 ? Did you delete the old installation and repository before installing the new?

Michael

BenPru commented 8 months ago

where did you find the repository 2023.10.16 ?

If you miss it in HACS, you have to activate "Show Beta versions".

bserking commented 8 months ago

@MichaelS1955 you go to HACS click on the 3 dots on the right in the Luxtronik tab than click on download again tick the switch show beta versions and now you can choose the beta version

here is the documentation: https://hacs.xyz/docs/faq/beta/#:~:text=Activate%20the%20checkbox%20to%20the,a%20beta%20version%20to%20download.&text=Not%20all%20repositories%20will%20have,the%20repository%20to%20use%20that.

cheers

MichaelS1955 commented 8 months ago

where did you find the repository 2023.10.16 ?

If you miss it in HACS, you have to activate "Show Beta versions".

Should I first uninstall the installed version? Do I have to delete the sensors in sensors.yaml?

Thanks

rhammen commented 8 months ago

Should I first uninstall the installed version?

The new version must overwrite the existing version (they cannot co-exist). If you install the integration via HACS (and enable Show Beta versions), a download of a new version will automatically overwrite the existing integration. Then there is no need to manually uninstalling the old version before installing the new one.

Do I have to delete the sensors in sensors.yaml?

The new Alpha/Beta versions do not support configurations via yaml anymore. It is recommended to at least disable/comment the sensors defined in your yaml files. Once the Alpha/Beta version works correctly in your setup, you can delete them from your yaml file.

MichaelS1955 commented 8 months ago

Thank you rhammen. I will comment the sensors in the yaml file

MichaelS1955 commented 8 months ago

Hi, I don't see repository 2023.10.16 image

BenPru commented 8 months ago

Hi, I don't see repository 2023.10.16 image

This is Bouni/Luxtronik You have to use BenPru/luxtronik

MichaelS1955 commented 8 months ago

ups, thank you

MichaelS1955 commented 8 months ago

Hi, I installed version version 23.10.16 but I get errors. Can you please help me what is wrong ?

2023-11-01 15:42:12.189 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.luxtronik2 File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in 2023-11-01 15:42:12.206 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration luxtronik2: Unable to import component: Exception importing custom_components.luxtronik2 File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in ImportError: Exception importing custom_components.luxtronik2 2023-11-01 15:42:57.103 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.luxtronik2.config_flow File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in 2023-11-01 15:42:57.132 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration luxtronik2: Exception importing custom_components.luxtronik2.config_flow File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in ImportError: Exception importing custom_components.luxtronik2.config_flow 2023-11-01 15:43:32.294 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.luxtronik2.config_flow File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in 2023-11-01 15:43:32.309 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration luxtronik2: Exception importing custom_components.luxtronik2.config_flow 2023-11-01 15:43:55.213 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.luxtronik2.config_flow File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in 2023-11-01 15:43:55.231 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration luxtronik2: Exception importing custom_components.luxtronik2.config_flow

rhammen commented 8 months ago

Try 2023.10.31-BetaIf that doesn't solve it, report back the errors you got with that version

MichaelS1955 commented 8 months ago

Hi,

I have installed the beta and restared HA. These are the errors Home Assistant Core 2023-11-01 17:06:32.135 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration luxtronik2 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-11-01 17:06:54.081 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'stt', 'hardkernel', 'hardware', 'input_select', 'ipp', 'timer', 'integration', 'hacs', 'fritzbox', 'person', 'sun', 'alexa_media', 'input_text', 'media_source', 'default_config', 'energy', 'upnp', 'wemo', 'input_number', 'assist_pipeline', 'input_button', 'mqtt', 'waste_collection_schedule', 'schedule', 'ffmpeg', 'repairs', 'luxtronik2', 'homeassistant_alerts', 'automation', 'dlna_dmr', 'my', 'lovelace', 'counter', 'stream', 'utility_meter', 'application_credentials', 'script', 'wake_word', 'image_upload', 'camera', 'zone', 'homematicip_cloud', 'template', 'solaredge', 'history', 'conversation', 'openweathermap', 'diagnostics', 'input_boolean', 'samsungtv', 'persistent_notification', 'file_upload', 'fritz', 'system_health', 'search', 'input_datetime', 'tuya', 'device_automation', 'rest', 'syncthru', 'tts', 'forecast_solar', 'dlna_dms', 'intent', 'github', 'powerwall', 'tag', 'influxdb', 'onboarding', 'mobile_alerts', 'logbook', 'kia_uvo', 'mobile_app', 'analytics', 'scene', 'auth', 'sensor', 'map', 'blueprint', 'config', 'trace'} 2023-11-01 17:07:02.504 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.luxtronik2 File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in 2023-11-01 17:07:02.524 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration luxtronik2: Unable to import component: Exception importing custom_components.luxtronik2 File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in ImportError: Exception importing custom_components.luxtronik2 2023-11-01 17:07:43.178 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.luxtronik2.config_flow File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in 2023-11-01 17:07:43.220 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration luxtronik2: Exception importing custom_components.luxtronik2.config_flow File "/config/custom_components/luxtronik2/init.py", line 13, in File "/config/custom_components/luxtronik2/const.py", line 62, in ImportError: Exception importing custom_components.luxtronik2.config_flow