Vost3 / hass-palazzetti

Manage your Palazzetti stove with home assistant
29 stars 16 forks source link

The start / stop button no longer works en core version 2023.12.3 #16

Open Topbullot opened 9 months ago

Topbullot commented 9 months ago

Hi, since i've upgraded my HASS server in core version 2023.12.3 the switch stove no longer works. For example when the stove is yet started and you want to stop it, when you push it to stop the stove the button move well and change in grey color for 1 second and go back to the initial position without doing anything. I don't have any error in log file with debug mode available. As i use a Hassio version of Home assistant i'm not able to use tcpdump to check the dialog between the server and the stove. When i use the service tab to test the service "palazzetti.set_parms" all works fine i can stop and start the stove. The problem is only when i use the switch trough the lovelace dashboard.

Restoring the core version 2023.11.3 fixe the problem.

Thanks if you can investigate on this problem.

djpostka commented 8 months ago

Hi, same problem here.

pouletmou commented 8 months ago

Hello, I'm facing the same issue, I rollbacked on 2023.11 for now. Have a nice day.

vetranolorenzo commented 8 months ago

Same problem for me too, has anyone found a solution?

jere19 commented 8 months ago

Beside rolling back to 2023.11, i haven't found a solution either... I spent a day trying to troubleshoot the issue, but couldn't even get error messages in the logs.

Could this be liked to the services now being able to have return values?

Vost3 commented 8 months ago

Tested on fresh install "2023.12.4" with fake server script. When input_boolean status change, the service that should be called, it is not

Downgrade on 2023.11.3 => ok Downgrade on 2023.11.4 => nok

service can be called by here image

service is not called when switch template is toggle. Issue seem's come from latest releases of hass

No alternative solution found in waiting bug fix Don't hesitate ;)

Vost3 commented 8 months ago

Issue report on Hass-core https://github.com/home-assistant/core/issues/106655

pouletmou commented 8 months ago

Issue report on Hass-core https://github.com/home-assistant/core/issues/106655

thanks a lot Vost3 ;)

Topbullot commented 8 months ago

OK thank you for your investigation.

Vost3 commented 8 months ago

Hello there Bug fix released. The value sent by "switch template" has change since release 2023.11.4

Waiting your feedbacks for close this issue ;)

++

djpostka commented 8 months ago

Hello there Bug fix released. The value sent by "switch template" has change since release 2023.11.4

Waiting your feedbacks for close this issue ;)

++

Hi,

I modified the updated files (manifest.json and init.py), updated hass to 2023.12.4 but it still doesn't work.

pouletmou commented 8 months ago

Hello, I'm on 2023.12.4 with Ines 9KW and everything is fine now after your fix ;)

Vost3 commented 8 months ago

Strange, that work now here in prod env. The only change is in the "set_status" method in file "init.py" Have you restart your install ? Have you this in the method "set_status"

image

Vost3 commented 8 months ago

Hello, I'm on 2023.12.4 with Ines 9KW and everything is fine now after your fix ;)

Thank for your feedback Bonne fête de fin d'année @ toi @pouletmou

djpostka commented 8 months ago

Je pense que tu est français, ça sera donc plus simple en français. Oui j'ai bien les même ligne et j'ai bien reboot entièrement mon hass.

pouletmou commented 8 months ago

Hello, I'm on 2023.12.4 with Ines 9KW and everything is fine now after your fix ;)

Thank for your feedback Bonne fête de fin d'année @ toi @pouletmou

Bonnes fêtes également !

djpostka commented 8 months ago
Cette erreur provient d'une intégration personnalisée

Logger: custom_components.palazzetti
Source: custom_components/palazzetti/__init__.py:229
Integration: Palazzetti Stove (documentation)
First occurred: 14:50:55 (8 occurrences)
Last logged: 15:01:02

Error returned by CBox - retry in 2 seconds (CMD)

J'ai cette erreur, et ma cbox (non officiel) est bien joignable, a son ip en http, pas en https.

Topbullot commented 8 months ago

Hi every body, Files modified, upgraded core in version 2023.12.4 and the button works fine again. Thanks to every body and Vost3 for fixing this problem.

djpostka commented 8 months ago

ok, it's ok fort me, thanks

Vost3 commented 8 months ago

ok, it's ok fort me, thanks

@djpostka : Perfect. What was the problem ( mail me if you prefere for french speaking ) @Topbullot : Perfect. Thank for your feedback

djpostka commented 8 months ago

i have a palacontrol from Domochip (it's a clone of CBOX). The CMD+OFF or CMD+ON is captital letters only, i just edit the init.py with capitals letters. Thank you for your job, it's realy useful.

vetranolorenzo commented 8 months ago

Solved, everything works normally, thanks for the work done.