Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiser integration no longer works #523

Closed
V1nc3 opened this issue Nov 12, 2024 · 16 comments
Closed

Wiser integration no longer works #523

V1nc3 opened this issue Nov 12, 2024 · 16 comments
Labels
bug Something isn't working

Comments

@V1nc3
Copy link

V1nc3 commented Nov 12, 2024

Hello
Since last night, without having changed anything, the Wiser integration no longer works.
Here's the error message I got in the logs:
_Enregistreur: custom_components.wiser.coordinator
Source: custom_components/wiser/coordinator.py:198
intégration: Drayton Wiser Integration for Home Assistant (documentation, problèmes)
S'est produit pour la première fois: 20:34:51 (27 occurrences)
Dernier enregistrement: 20:47:10

Unknown error fetching wiser (wiser-WiserHeat043F1F) data. list index out of range. Please report this error to the integration owner_

I restart ,HA and the Wiser box and I forced the update to version 3.4.11 (I was in 3.4.10) but it didn't change anything.
Thanks for your help

Vince.

@V1nc3 V1nc3 changed the title Wiser intergration no longer works Wiser integration no longer works Nov 12, 2024
@asantaga
Copy link
Owner

can you check network connectivity between you HA host and the hub?

@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

I can ping the hub from the HA terminal

@msp1974
Copy link
Collaborator

msp1974 commented Nov 13, 2024

Seems like there is something funny with the data coming from your hub. I assume your Wiser app is working? If so, im going to need a download from it to see whats wrong.

As you wont be able to do through HA, are you able to use postman or something similar to get this if i tell you how?

@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

Yes, I can confirm that my Wiser application (on my cell phone) works fine.
Tell me what you need and how to get it and I'll do it :)

@msp1974
Copy link
Collaborator

msp1974 commented Nov 13, 2024

OK, in Advanced SSH & Web Terminal addon do this (install it if you haven't already) or if you are not running a supervised version of HA (ie cannot install addons), run from a linux terminal of some kind (but you may need to amend the output path from /config/[x].json):

curl -H "SECRET: [YOUR HUB SECRET]" http://[YOUR HUB IP]/data/v2/[LIST ITEM]/ > /config/[LIST ITEM].json

where

  • [YOUR HUB SECRET] is your hubs secret key that you used to setup the integration in the first place.
  • [YOUR HUB IP] is the IP address of your hub
  • [LIST ITEM] is each of the following
    • domain
    • schedules
    • network
    • status

So you should run 4 times like this.

curl -H "SECRET: [YOUR HUB SECRET]" http://[YOUR HUB IP]/data/v2/domain/ > /config/domain.json

curl -H "SECRET: [YOUR HUB SECRET]" http://[YOUR HUB IP]/data/v2/schedules/ > /config/schedules.json

curl -H "SECRET: [YOUR HUB SECRET]" http://[YOUR HUB IP]/data/v2/network/ > /config/network.json

curl -H "SECRET: [YOUR HUB SECRET]" http://[YOUR HUB IP]/data/v2/status/ > /config/status.json

Ensure the '/' is at the end of the url as the hub can be fussy about that,

This will then create 4 files in your config directory which you need to send me. I can then use this to run through my mock server and see what is wrong and hopefully provide you a fix.

Any questions or if this doesn't make sense, please ask.

@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

status.json
schedules.json
network.json
domain.json

Here are the requested files

@msp1974
Copy link
Collaborator

msp1974 commented Nov 13, 2024

Perfect. Have to go out this afternoon but will look at it tonight.

@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

No prob, I can manage my Wiser with my mobile cell ;)
Thank you again for you help.
See you

@msp1974
Copy link
Collaborator

msp1974 commented Nov 13, 2024

So this is a wierd one. It is to do with your BoilerInterface which is supported from 3.4.10 onwards, which is providing different information from the example data we have to originally support this. However, that hub and yours are on the same firmware! This software stuff never makes sense to me! :-)

If you go back to 3.4.8, it should fix the failing to load and I will work on a fix for the next update (should only be a few days as I have a couple of other issues pending).

Also, see you have some sort of button panel. Will open an issue to be able to support that. Can you tell me more about what it is and does.

@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

In fact, going back to version 3.4.8 works. 👍
So I've disabled automatic updates.

What do you mean by “button panel”? Did you see it in the list of devices connected to my Wiser?
In fact, my Wiser drives :

  • the heating control : Heating
  • the comfort box/panel, which gives temperatures and controls the heating : Thermostat
  • all the light switches in the house. : Wiser Odace for lights
  • entrance switch for programming scenarios (when you leave and return home) : Wiser Odace

@msp1974
Copy link
Collaborator

msp1974 commented Nov 13, 2024

Ah, yes I assume it is the Odace as it has some configured event actions, Pressing top button I guess is home and bottom button away mode? I'll add that so it at least shows in the devices with signal etc. Can't at this stage decifer if there are any control functions. But if we discover those later, we can also add.

@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

Yes that's it !! :)

@msp1974 msp1974 added the bug Something isn't working label Nov 13, 2024
@msp1974 msp1974 mentioned this issue Nov 13, 2024
@msp1974
Copy link
Collaborator

msp1974 commented Nov 13, 2024

If you want to download v3.4.12 - this should fix and also show you Odace signal etc (will also now show in zigbee card).

@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

I've installed V3.4.12: it works like a charm! 👍

As for the Odace box, I'm having trouble identifying it under HA . I can't see any of the items that have a state that changes when I activate it.

@msp1974
Copy link
Collaborator

msp1974 commented Nov 13, 2024

There is nothing on this device that shows any state, therefore no state changes. If you look in devices and services, Drayton Wiser devices, you will see it listed with a signal strength and device lock and identify options only. As we have to poll the hub, there is no way to get if it has been pressed as this is purely through the zigbee network to the hub, which then does an action on the hub.

As this issue is fixed, I'll close it but if there are other functions that could be explored, please open a seperate issue for it.

@msp1974 msp1974 closed this as completed Nov 13, 2024
@V1nc3
Copy link
Author

V1nc3 commented Nov 13, 2024

Thank you again for your help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants