Nefit Easy connection for Home Assistant
Big thanks to marconfus for the aionefit library and his work on the ha-nefit-ng compontent!
- https://github.com/marconfus/aionefit
- https://github.com/marconfus/ha-nefit-ng
- Copy the folder
custom_components/nefiteasy/
to your homeassistant config directory. - Add the config to your configuration.yaml file as explained below.
- Restart Home Assistant or Hass.io.
- Add "https://github.com/ksya/ha-nefiteasy" to your custom repositories in the Settings tab of HACS.
- Choose "Integration".
- Press the "save" button.
- Go to the integrations tab and search for Nefit Easy.
- Click and install from there.
All configuration can be done from within Home Assistant:
- Go to Settings
- Go to Integrations
- At the bottom right, click Add Integration
- Search for "Nefit" -> Nefit Easy Bosch Thermostat
- Fill in your serial number, access key and password
- Save
Just disable the enitities from UI you dont want. Those will not be updated anymore.
- year_total
- status
- supply_temperature
- outdoor_temperature
- system_pressure
- active_program
- hot_water_operation
- hot_water
- holiday_mode
- fireplace_mode
- today_as_sunday
- tomorrow_as_sunday
- preheating
- home_entrance_detection
- weather_dependent
- lockui
Turn on debug for both aionefit as custom_components.nefiteasy:
logger:
default: info
logs:
custom_components.nefiteasy: debug
aionefit: debug
If you experience errors during the boot of HA regarding the connection to the Bosch cloud ie Timeout while connecting to Bosch cloud. Retrying in the background
, you may want to change the OpenSSL configuration.
The OpenSSL defaults for Buster are causing the problem, probably because Nefit/Bosch is using either an outdated TLS version or an outdated cipher.
Edit /etc/ssl/openssl.cnf
and change the system wide defaults back to their previous values(pre-Buster):
MinProtocol = None
CipherString = DEFAULT
https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#openssl-defaults