cgiesche/streamdeck-homeassistant

No longer working with HA 2023.11.2

kellyho67 opened this issue · 15 comments

I had this working on the prior version, but after upgrading, all webhook sends fail. Watching them in wireshark, you can see that they do not submit when pressing a button. They simply trigger an ACK back and forth, but there are no hook calls. I tested the HA app on the same machine, and it works as expected.

JzJad commented

Just set this up with the following.
Core: 2023.11.2
Supervisor: 2023.11.3

However I had to generate a token on an admin account, a normal account token would not work.

I will upgrade my HA and look what happens...

However I had to generate a token on an admin account, a normal account token would not work.

Ah, that may be the problem. I never tried to use a non-admin-token (yes i know, being admin is bad :D)

I am now on the current Home-Assistant version and the plugin is working as before.

Just set this up with the following. Core: 2023.11.2 Supervisor: 2023.11.3

However I had to generate a token on an admin account, a normal account token would not work.

I did the token with an admin also but it still not pushing any data. And the same token in postman works no problem. I also uninstalled the plugin and re-installed it but that did not help either.

JzJad commented

OK so now its being a little weird, after some time has passed they all stop working on the stream deck, if I got back into the software and press reconnect on any button, it works again for the time being.

OK so now its being a little weird, after some time has passed they all stop working on the stream deck, if I got back into the software and press reconnect on any button, it works again for the time being.

Ok I cannot get that to work and using wire shark it’s for sure not sending the web hook call over the wire.

Ok, so I have this working now. I had to add the Entity (Optional) in the key press. so to me it is weird I define domain and Entity in the top area then have to re-select it in the key press areas but to get it working, I have to now add the optional Entity in the Key press area.. but indeed it is working

Ah, yes. Defining the button display and the button action independently was a requested feature. The "Optional" hint is a bit missleasing, sorry for that. It is related to the fact that some services do not require an entity to be set in the request.

Ah, yes. Defining the button display and the button action independently was a requested feature. The "Optional" hint is a bit missleasing, sorry for that. It is related to the fact that some services do not require an entity to be set in the request.

Ah ok got it.. yeah that would make sense. I think I just took "Optional" as, you can do it if you want but we already know it from above!

JzJad commented

Its been roughly 24 hours and mine has managed to keep working so im happy 😄

I have experienced this issue too. After some time (or the pc being longer in standby) the connection to HA is closed and does not recover automatically. Somehow that feature got lost...
I will research why this happens.

Hi, I have experienced the same issue. It is required to click reconnect everytime when HA was restarted.

Tueska commented

I had the same issue. Since I updated to HASS 2023.11.3 two days ago and reconnected after the update was complete, the websocket updates again without having to click reconnect

https://github.com/cgiesche/streamdeck-homeassistant/releases/tag/2.4.1

(Coming soon(tm) to elgato store, download and install manually to get features now)

Thank You :)