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.
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?)
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.
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?
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.
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```
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?