haywirecoder / homebridge-flobymoen

Homebridge Module for Flo by Moen Smart Water System
MIT License
14 stars 2 forks source link

Water shutoff valve not controllable through automations or siri #12

Closed sam011989 closed 3 months ago

sam011989 commented 5 months ago

Describe The Bug: The current configuration of the integration prohibits utilizing the shutoff value in any automations. I can open and close the valve manually but I cant use Siri nor scenes or automations to close the valve.

To Reproduce: Try to create any scene and notice that the shutoff valve (not the mode controller) is missing

Expected behavior: I should be able to use the shutoff valve like a “switch” allowing me to incorporate it into automations and Siri.

Logs:

N/A

Plugin Config:


{
    "name": "Flo-by-Moen",
    "auth": {
        "username": "username",
        "password": "supersecretpassword"
    },
    "disableCache": false,
    "showTemperatureAndHumidity": false,
    "enableValveControl": true,
    "showHealthTestSwitch": false,
    "treatWarningAsCritical": false,
    "deviceRefresh": 90,
    "offlineTimeLimit": 4,
    "sleepRevertMinutes": 120,
    "retryErrorDisplay": 3,
    "_bridge": {
        "username": "A Mac Address",
        "port": 41271
    },
    "platform": "Flo-by-Moen"
}

Screenshots:

Environment:

haywirecoder commented 5 months ago

This is an issue with the Home app, other Homekit application allows this functionality. I will look into an option to expose the valve as something the Home app can use as automation.

sam011989 commented 5 months ago

I attempted this in another HomeKit application and while I was able to program the closing of the valve, it did not actually respond to the scene calls/automation even though the icon indicated "shutting" and "running" respectively.

master-nevi commented 5 months ago

This is an issue with the Home app, other Homekit application allows this functionality. I will look into an option to expose the valve as something the Home app can use as automation.

Thanks, I would second this enhancement. A valid use-case would be to create an automation where the Eve Water Guard (for example) could trigger the closing of the Moen valve. This would be awesome!

haywirecoder commented 4 months ago

@master-nevi you can already do the use case you are discussing in the Eve application. It will allow you to control the Flo-valve based on Eve Water Guard event = Alert. This rule I have set today in my environment.

@sam011989, I posted a new version code and it now has the option to create a switch and valve control. It will be released as package something next week.

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

haywirecoder commented 3 months ago

Part of release 1.0.10