program 1 = 0
program 2 = 1
A general question for everyone: What features are you really missing? Maybe you miss a switch or particular sensor?
program 1 = 0
program 2 = 1
A general question for everyone: What features are you really missing? Maybe you miss a switch or particular sensor?
Ahhh, that makes sense :).
Maybe the settings to edit the different programs.
I don’t like the Nefit app, so if we never have to use it again would be great
If you have connectivity problems you could add a ping binary sensor for the thermostat device. I learned that the wifi on my device is total crap, despite it sitting two meters away from my Ubiquity AC Pro access point. For me this makes the integration more or less useless, because most of the time there is no connection if I want to control it. But this is nothing we can fix in Home Assistant.
Yeah that would be too much work haha. I don’t even use the programs myself, I only have a program to turn the heating off at 23:00 every day.
I’m not really suffering from connection problems here. Maybe you have a faulty device?
This is all the known information that can be retrieved from the API: https://github.com/marcelrv/nefit_easy_protocol/blob/fa339e56528bf60794315046e42ed737236308db/Endpoints.md
Maybe someone sees some interesting stuff? Most stuff I don’t know what it is…
Hi All,
I’ve had this component working on Nefit Easy without problems.
I then recently switched to a new thermostat, the Bosch Easy Control.
Can someone confirm that this component should also work with that thermostat?
I’ve having issues setting it up, these are the messages in my log:
2019-10-15 09:30:00 INFO (MainThread) [homeassistant.setup] Setting up nefiteasy
2019-10-15 09:30:00 DEBUG (MainThread) [aionefit] Initializing XMPP client
2019-10-15 09:30:02 INFO (MainThread) [homeassistant.setup] Setup of domain nefiteasy took 2.0 seconds.
2019-10-15 09:30:02 DEBUG (MainThread) [aionefit.provider.slixmpp_impl] Connection was closed
2019-10-15 09:30:02 INFO (MainThread) [homeassistant.components.climate] Setting up climate.nefiteasy
2019-10-15 09:30:02 INFO (MainThread) [homeassistant.components.switch] Setting up switch.nefiteasy
2019-10-15 09:30:02 DEBUG (MainThread) [aionefit] Sending msg...GET /ecus/rrc/uiStatus HTTP/1.1\rUser-Agent: NefitEasy\r\r
2019-10-15 09:30:02 ERROR (MainThread) [homeassistant.components.climate] nefiteasy: Error on device update!
File "/config/custom_components/nefiteasy/climate.py", line 89, in async_update
self._client.nefit.get(self._url)
File "/usr/local/lib/python3.7/site-packages/aionefit/__init__.py", line 98, in get
File "/usr/local/lib/python3.7/site-packages/aionefit/provider/slixmpp_impl.py", line 91, in send_message
2019-10-15 09:30:02 DEBUG (MainThread) [aionefit] Sending msg...GET /heatingCircuits/hc1/holidayMode/status HTTP/1.1\rUser-Agent: NefitEasy\r\r
2019-10-15 09:30:02 ERROR (MainThread) [homeassistant.components.switch] nefiteasy: Error on device update!
File "/config/custom_components/nefiteasy/nefit_device.py", line 58, in async_update
self._client.nefit.get(self.get_endpoint())
Does anyone have a clue on what’s happening?
Thanks in advance!
Hi unfortunately this is a different product with a different backend. Since I do not have this device, I cannot check if it is completely different, but my guess is: yes
Hi there,
Is it possible to control two boiler with this component?
i have an appartment and a house, both have Nefit boilers i would like to control them from one home assistant instance.
I tried making an “nefiteasy” directory and a " nefiteasy1" directory in the custom_component directory.
but my log shows a lot of these errors:
Entity id already exists: sensor.nefit_status. Platform nefiteasy does not generate unique IDs
Is it somehow possible to generate a unique sensor maybee with a bit of manual intervention?
Thanks in advance!
It should be possible, but I can not test it. In some future release, it will be possible and configurable from the UI, but I do not have much time to work on this.
Are you using the latest Github release? This adds unique id’s… Otherwise you have to copy the whole error including stack trace.
First of all, thank you for taking the time and effort for anwsering my question and maintaning this peace of software.
As I said before I have two folders in my custom_components folder “nefiteasy” and “nefiteasy1”
My configuration.yaml looks like this:
serial: 'secret'
accesskey: 'secret'
password: 'secret'
sensors:
- status
- supply_temperature
- hot_water_operation
- year_total
- system_pressure
switches:
- hot_water
- holiday_mode
- preheating
- tomorrow_as_sunday
nefiteasy1:
serial: 'secret'
accesskey: 'secret'
password: 'secret'
sensors:
- system_pressure
The log shows these errors:
2019-11-23 09:57:12 INFO (MainThread) [slixmpp.features.feature_bind.bind] JID set to: [email protected]/##########(secret?)
2019-11-23 09:57:12 INFO (MainThread) [slixmpp.features.feature_bind.bind] JID set to: [email protected]/##########(secret?)
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setup of domain nefiteasy1 took 6.4 seconds.
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setup of domain nefiteasy took 5.6 seconds.
2019-11-23 09:57:12 INFO (SyncWorker_17) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2019-11-23 09:57:12 INFO (SyncWorker_19) [homeassistant.loader] Loaded climate from homeassistant.components.climate
2019-11-23 09:57:12 INFO (SyncWorker_8) [homeassistant.loader] Loaded switch from homeassistant.components.switch
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setting up sensor
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds.
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setting up climate
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.0 seconds.
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.nefiteasy
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.nefiteasy
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.components.climate] Setting up climate.nefiteasy
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.components.climate] Setting up climate.nefiteasy
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setting up switch
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.components.switch] Setting up switch.nefiteasy
2019-11-23 09:57:12 INFO (MainThread) [homeassistant.components.switch] Setting up switch.nefiteasy
2019-11-23 09:57:12 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.nefit_year_total_2. Platform nefiteasy does not generate unique IDs
2019-11-23 09:57:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.nefit_supply_temperature_2. Platform nefiteasy does not generate unique IDs
2019-11-23 09:57:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.nefit_hot_water_operation_2. Platform nefiteasy does not generate unique IDs
2019-11-23 09:57:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.nefit_status_2. Platform nefiteasy does not generate unique IDs
2019-11-23 09:57:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: climate.nefit_easy_2. Platform nefiteasy does not generate unique IDs
2019-11-23 09:57:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: switch.nefit_preheating_2. Platform nefiteasy does not generate unique IDs
2019-11-23 09:57:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: switch.nefit_hot_water_2. Platform nefiteasy does not generate unique IDs
2019-11-23 09:57:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 399, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: switch.nefit_holiday_mode_2. Platform nefiteasy does not generate unique IDs
At the moment I can only control one climate device and the sensors are only from one boiler…
I am not sure what you mean with stack trace?
Can you confirm that the 2 serials are different and you are using the latest version from Github?
Can you copy the contents of manifest.json here?
hello,
I am trying to see my nefit easy in hassio.
I reed the whole story in this thread and tried some solutions but not one is working for me.
So I read some are working while it by others don’t work.
Can some body write a tutorial from start to displaying the tool wich work and how to do this ?
I am hopefully somebody can do this. A lot people has this problem.
I am not very experienced with hassio.
Thx
I have uploaded a new version to github with support for multiple devices. The implication is that the configuration is changed a little and also the naming of the entities are changed based on the value of the name you choose in the configuration.
Next step is to integrate this as standard Home Assistant plugin. I will skip the config flow for now, since it only adds convenience and takes a lot of effort for me to implement.
You should check the example configs on github. Does that help?
Hello ksya,
I have put all the files from https://github.com/ksya/ha-nefiteasy
in folder custom_components/nefiteasy/…
I think I must something in my configuration.yml but don’t no what exactly.
nefiteasy:
devices:
- serial: 'XXXXXXXXX'
accesskey: 'xxxxxxxxx'
password: 'xxxxxxxxx'
name: Nefit Easy #below here all optional settings
min_temp: 15
max_temp: 27
sensors:
- #list of sensors to be exposed
switches:
- list of switches to be exposed
but after adding serial ,accesskey and password
hassio dont start in webbrowser anymore.
when I remove the last part hassio is working again.
grtz.
@adve
I am no expert but you could try to only put the bare minimal in your config file, like this:
nefiteasy:
devices:
- serial: 'XXXXXXXXX'
accesskey: 'xxxxxxxxx'
password: 'xxxxxxxxx'
name: Nefit Easy #below here all optional settings
Hello,
Thx marcel74 its working now .
hi,
just added the new files, don’t have any errors but can not see the nefit sensors or switches
They might have changed entity ID. Please check in the entity register
where can i find the id ?
and how do i update it
i see them in the entity register but as not available