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

Hot Water Scene not working from Controller for HomeKit #180

Open
5xPa opened this issue Jan 2, 2025 · 15 comments
Open

Hot Water Scene not working from Controller for HomeKit #180

5xPa opened this issue Jan 2, 2025 · 15 comments

Comments

@5xPa
Copy link

5xPa commented Jan 2, 2025

I created a scene to turn Evohome Hot Water to On
Scene runs and Evohome Hot water switched to On. Verified by checking the Evohome App and Homekit. Which both display the correct status ie On.

I use Controller for HomeKit when I run the scene from this app. The switch changes status. After about 15 seconds receive "Error Action Set Failed" In Homekit and Evohome the app changes status.

Another issue or I am being a wee bit dumb. I expected the scene to show up in Homekit. I can't find it!

I created a room called "Heating" the Hot Water switch shows up and can be operated from the switch. Yet I cant find the scene.

Thanks for all the great work. Have a happy and prosperous New Year

@luc-ass
Copy link
Owner

luc-ass commented Jan 2, 2025

🎉 Happy New Year

If I understand you correctly:

  • Scene created in "Controller for HomeKit" does not appear in the Apple Home App
  • Actions performed by Switch and Scene look like they fail in "Controller for HomeKit", but actually work in Home and Evohome App?

Sounds like a problem within the "Controller for HomeKit" App...?

@5xPa
Copy link
Author

5xPa commented Jan 2, 2025 via email

@luc-ass
Copy link
Owner

luc-ass commented Jan 2, 2025

Interesting question. I have never thought about that. I have no "Hot Water" device, so I can only test it with another switch. Let me have a look and report back.

@luc-ass
Copy link
Owner

luc-ass commented Jan 2, 2025

I created a Scene in the Apple Home App that turns on "MacMini Server". It is visible in the Eve App and works correctly.

Home App > Room (Abstellkammer) Eve App > Automation > Scenes Controller for HomeKit > Rooms
IMG_8587 IMG_8588 IMG_B4B8F283D06F-1

I suspect the Controller for HomeKit expects a shorter timeout? Did you get an Error message for this? Perhaps we can narrow it down that way...

@5xPa
Copy link
Author

5xPa commented Jan 2, 2025 via email

@luc-ass
Copy link
Owner

luc-ass commented Jan 2, 2025

Any errors in the Homebridge console?

@5xPa
Copy link
Author

5xPa commented Jan 2, 2025 via email

@5xPa
Copy link
Author

5xPa commented Jan 2, 2025 via email

@luc-ass
Copy link
Owner

luc-ass commented Jan 2, 2025

Seems like "Controller for HomeKit" is impatient 😉. Nothing we can do about that.

You could try to decrease the time until the update is done. Try reducing 3 → 2 on line 1343...

homebridge-evohome/index.js

Lines 1334 to 1343 in 4445b3f

.setSystemMode(that.systemId, systemMode, false)
.then(function (taskId) {
if (taskId.id != null) {
that.log("System mode is set to: " + systemMode);
that.log(taskId);
// force update to get newest values from Honeywell with delay of 3 seconds (else it's too fast)
setTimeout(function () {
that.platform.periodicUpdate();
}, 3 * 1000);

@5xPa
Copy link
Author

5xPa commented Jan 2, 2025 via email

@luc-ass
Copy link
Owner

luc-ass commented Jan 2, 2025

Correct. The best way to do that is via the web interface:

  • Menu > Terminal
  • cd node_modules/homebridge-evohome to navigate to the correct folder
  • nano index.js to open the file.
  • edit the file
  • exit and save via ctrl+xyreturn

let me know how it goes

@5xPa
Copy link
Author

5xPa commented Jan 2, 2025 via email

@luc-ass
Copy link
Owner

luc-ass commented Jan 2, 2025

Hm, strange. I'm afraid I can't help any further, as I don't have that device... anyone else?

@5xPa
Copy link
Author

5xPa commented Jan 3, 2025

Good Morning Lucas, If you would be willing to work on the problem if you had the hot water controls. I would be happy to fund that, by purchasing the device and send to you. Or I make a donation to you. In the UK the cost of the Hot water kit is around £112 circa 121 euros.

@luc-ass
Copy link
Owner

luc-ass commented Jan 5, 2025

Your offer is very flattering, but my main constraint is time at the moment. I will certainly consider it once I get to rewriting this as TypeScript, but there is no ETA.

@luc-ass luc-ass changed the title Hot Water Scene Hot Water Scene not working from Controller for HomeKit Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants