Nefit easy client

I guess you’re right. Had a few reboots in the meantime and they all went well. Sorry for causing a false alarm.

Edit (after 10 days of testing): 9 out of 10 times it’s not working, so It really seems like the problems are back for me afterall. It’s just not stable.

Indeed I did, thanks for helping out! With your help I got it to work!

Even with “MinProtocol = None” and “CipherString = DEFAULT” on the top of my openssl.cnf file, it can’t connect anymore. I did a reboot or 10 now and it keeps on failing to connect to the Bosch cloud. Is there anything else I can try (except abandoning Nefit altogether?)

Hi,

I had also a problem connecting even with those settings in my file.
What i did was, i removed my openssl and reinstalled version 1.1.1b manually using this link:
https://cloudwafer.com/blog/installing-openssl-on-ubuntu-16-04-18-04/ (tutorial installs version 1.1.1c so change the url to 1.1.1b)

Now it is working again, i don’t know what caused the problem exactly, but it is worth trying.

thanks for all the hard work!
I have struggled for several months on this integration, now it looks nice and it is working.

Big thanks!!

I upgraded my RPi 3B to 4B (4GB). The connection problems are finally gone!

I freshly installed Nefit Easy using HACS, restarted, added the Nefit Integration, filled out the 3 keywords and it was installed. All sensors and stuff are visible I guess, 16 entitties in total.
Restarted HA once more but still get an error as follows;

Logger: custom_components.nefiteasy
Source: custom_components/nefiteasy/__init__.py:377
Integration: Nefit Easy Bosch Thermostat (documentation)
First occurred: 2:00:28 PM (2 occurrences)
Last logged: 2:00:28 PM

Unexpected error fetching nefiteasy data: 'switches'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 144, in async_refresh
    self.data = await self._async_update_data()
  File "/config/custom_components/nefiteasy/__init__.py", line 377, in _async_update_data
    if "home_entrance_detection" in self._config[CONF_SWITCHES]:
KeyError: 'switches'

Also the Logfile does register communciation succes with the thermostat.
Things go wrong with the creation of the switches it seems.
Any idea?

I am getting an error today, normally everything is ok…So I expect an error on nefit side today…

Same here.

Here as well! My first connection error 4 hours ago since I upgraded to RPI4.

I did not Upgrade

Hi, I also have the server connection problem.
When I try to modify /etc/ssl/openssl.cnf via ssh I get permission denied. I’m new to home assistant and I’m struggling for days with this problem, can anybody help me out?

Hi Frank,
I have my Nefit working fine. You need to fill in your own details for serial, accesskey & password
nefiteasy:
devices:
- serial: ‘123456789’
accesskey: abcdefghijklmnop
password: ‘abcdefgh’
name: Nefit Easy
min_temp: 15
max_temp: 21
temp_step: 0.5
sensors:
- year_total
- status
- supply_temperature
- outdoor_temperature
- system_pressure
- active_program
- hot_water_operation
switches:
- hot_water
- holiday_mode
- fireplace_mode
- today_as_sunday
- tomorrow_as_sunday
- preheating
- home_entrance_detection
- weather_dependent
- lockui

If you want to take a field trip with your Nefit take a look at this https://bbqkees-electronics.nl/product/gateway-standard/
This device is absolutely awesome and reads everything from your Nefit. Highly recommended. The picture below is parts of what the Nefit will show you.

Reply to self… I still haven’t been able to get steps of 0.1 degrees in the thermostat on home assistant. Even If I set:

temp_step: 0.1

Is there any other place to do so??

Since an unknown time period all of my switches (weather dependant mode, hot water, active program, etc.) started showing as unavailable.

Therefore I tried deleting the integration from HACS and starting over. But after that it only adds back the sensors.

Does anyone have an idea how to get the switches working again?
Thanks!

EDIT:
While digging through the log I found this error:

Source: custom_components/nefiteasy/switch.py:64
Integration: Schakelaar (documentation, issues)
First occurred: 22:37:45 (2 occurrences)
Last logged: 22:38:48

Error while setting up nefiteasy platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/nefiteasy/switch.py", line 40, in async_setup_entry
    await setup_home_entrance_detection(
  File "/config/custom_components/nefiteasy/switch.py", line 64, in setup_home_entrance_detection
    name=basetypeconf["name"].format(name),
TypeError: string indices must be integers```

Hi,

In the developer section it works with setting:

Blockquoteservice: climate.set_temperature
data:
temperature: 19
target:
entity_id: climate.nefit

But i can’t get it working in automation. Got errors. I tried several ways of setting the temp.

action:

  • service: climate.set_temperature
    data_template:
    entity_id: “climate.nefit”
    temperature: “19”

Or this:

- service: climate.set_temperature
  target:
    entity_id: climate.nefit
  data:
    temperature: 19
    hvac_mode: heat

All give me an error:
Invalid config for [automation]: required key not provided @ data[‘trigger’][0][‘platform’]. Got None. (See /config/configuration.yaml, line 1594).

Can anybody help me with the automation of the Nefit Easy Custom Component Set Temp?

Replying again to self.

On the nefit easy physical thermostat I have 0.1 degrees steps. On HA only 0.5.

Is there an option anywhere to set to 0.1 in HA?

Hi Marcel, this works for me:

alias: At 17:00 set Nefit to 20 degrees
triggers:
  - trigger: time
    at: "17:00:00"
conditions: []
action:
  - service: climate.set_temperature
    target: 
      entity_id: climate.nefit
    data:
      temperature: 20
mode: single