Use the Dropbox files as is. I also updated the manifest.json
Right now they do not have any benefit over the github version though.
And the init file should not be empty!
Ok same with init file from dropbox.
What do you update on manifest ? the domain to nefiteasy ?
My actual manifest:
{
"domain": "nefiteasy",
"name": "nefit Bosch Thermostat",
"documentation": "https://github.com/marconfus/ha-nefit-ng",
"dependencies": [],
"codeowners": [
"@marconfus"
],
"requirements": [
"aionefit==0.3"
]
}
I can’t understand what causing this SSL error. The is a way to bypass this SSL connection to aionefit ?
See response of thastealth. Someone said that upgrading to 0.98 also works.
I’m on 0.98.1.
I already checked the openssl.cnf file but I got no keys as mentioned, I think because i’m on Hass.io and not a docker image of HA like @thastealth mentioned
Ok guys, it seems like a ISP problem, I installed dnsmasq to make google dns my default and it installed the aionefit with no problems.
I’m using hassio on docker and cannot find the keys…
I’m fairly new to docker and searched in multiple docker images by portainer and on the Ubuntu system but didn’t succeed.
First version with switches and sensors of the new component.
The files can be found here: https://github.com/ksya/ha-nefiteasy
Please report any problems here, or (preferably) make an issue on Github.
What I want to do next:
- make configurable from GUI (Integrations page)
- see if I can make updates from the app and hardware directly present here, now it updates every minute
- integrate as component into HA
@marconfus, do you have any idea how to get #2 to work? Now it only sees responses to messages that have been send.
This is awesome, thank you so much!!
Could you also share that lovelace config?
This is all I ever dreamed of (Nefit-wise speaking )!
Thank you so much!
And I love to see that lovelace config too.
I used the monster card with an entity filter:
- card:
show_header_toggle: false
title: Nefit entities
type: entities
filter:
include:
- entity_id: '*nefit*'
type: 'custom:monster-card'
I think you hoped for a complete list? You can see all entities when you search for nefit in the “states” tab of the developer tools
Sometimes… it’s easier that you might think. I accidentally swapped key & password… Took me 2 week to find out It’s working. Thanks
You have been busy kysa!
This is looking very very good!
All the settings nice in HA.
Thank you thank you!
For anyone running into the "Invalid credentials while connecting to Bosch cloud"
issue that is not related to SSL (and are not looking at github);
It might be related to the default connection timeout (set to is 15 seconds), which you can change yourself in the __init__.py
file.
await asyncio.wait_for(self.nefit.xmppclient.connected_event.wait(), timeout=30.0)
I’ve found how to see updates send by the app and thermostat! So we will have instant temperature and status updates very soon!
For developers:
The communication works with XMPP. I have found out that to be able to see all trafic to and from the server, also from other users/devices, you need to have the xep-0280 plugin enabled:
At the time of original writing of this XEP, many XMPP servers handle message stanzas sent to a user@host (or “bare”) JID with no resource by delivering that message only to the resource with the highest priority for the target user. Some server implementations, however, have chosen to send these messages to all of the online resources for the target user. If the target user is online with multiple resources when the original message is sent, a conversation ensues on one of the user’s devices; if the user subsequently switches devices, parts of the conversation may end up on the alternate device, causing the user to be confused, misled, or annoyed.
This XEP defines an approach for ensuring that all of my devices get both sides of all conversations in order to avoid user confusion. As a pleasant side-effect, information about the current state of a conversation is shared between all of a user’s clients that implement this protocol.
I keep getting the “Timeout while connecting to Bosch cloud. Retrying in the background”-error. The Nefit plugin won’t work then, until I reboot. Sometimes I have to reboot a few times, to get it finally working…
Is there a way to fix this?
You can get the latest version from github, which has an increased timeout time.
I will fix this in the future if this keeps being a problem.
Going to try this version. I post my findings!
Tnx
I also have regular timeouts. Rebooting doesn’t help, it just works again after a few hours. I suspect the Bosch server is just slow, isn’t it? Kind of scary as winter is coming…
Update for switch.nefit_preheating fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 261, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 439, in async_device_update
await self.async_update()
File "/config/custom_components/ha-nefiteasy/switch.py", line 80, in async_update
await asyncio.gather(*tasks)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
@ksya: Would be great if you can add the project to HACS!!
https://hacs.netlify.com/developer/integration/
It’s working fine here.
Let’s see in time how it goes with the timeout warning…
One small thing thats nog as it should be.
Active program is 2, but the home assistant sensor says program 1 is active.
I prefer to add it as native HA component
First going to fix everything and add the features I want.