haywirecoder / homebridge-flobymoen

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

Initial setup - cannot login #13

Closed hepcat72 closed 3 months ago

hepcat72 commented 3 months ago

Describe Your Problem:

I Installed Moen Flo device (Sump pump monitor - [though it's default name was "Kitchen Faucet"?]) for the first time today. I installed your homebridge plugin, but the device wasn't showing up in the accessories list, so I looked in the log and there's an error that authentication failed, with a 400 error.

Logs:

[5/25/2024, 3:49:57 PM] [Config] Initializing config platform...
[5/25/2024, 3:49:57 PM] [Config] Running in Service Mode
...
[5/25/2024, 3:49:57 PM] [Flo-by-Moen] Initializing Flo-by-Moen platform...
[5/25/2024, 3:49:57 PM] [Flo-by-Moen] Starting communication with Flo portal
...
[5/25/2024, 3:49:58 PM] Homebridge v1.3.6 (HAP v0.9.7) (Homebridge B5F8) is running on port 51595.
...
[5/25/2024, 3:49:58 PM] [Flo-by-Moen] Flo Info: Using local cache Flo token.
[5/25/2024, 3:49:58 PM] [Flo-by-Moen] Flo Status: Refreshing Token...
...
[5/25/2024, 3:49:59 PM] [Flo-by-Moen] Flo Login Error: Request failed with status code 400
[5/25/2024, 3:49:59 PM] [Flo-by-Moen] Plug-in configuration error: Flo authentication error, please review your authentication information.'

Plugin Config:

{
    ...
    "platforms": [
        ...
        {
            "name": "Flo-by-Moen",
            "auth": {
                "username": "xxxxxxx",
                "password": "xxxxxxx"
            },
            "disableCache": false,
            "showTemperatureAndHumidity": true,
            "enableValveControl": false,
            "showHealthTestSwitch": false,
            "treatWarningAsCritical": false,
            "deviceRefresh": 90,
            "offlineTimeLimit": 2,
            "sleepRevertMinutes": 120,
            "retryErrorDisplay": 3,
            "platform": "Flo-by-Moen"
        }
    ]
}

Screenshots: non applicable

Environment:

hepcat72 commented 3 months ago

One thing I tried was to change my password. Thought maybe it could have been special characters or something. Same error.

haywirecoder commented 3 months ago

The Moen sump pump uses a different access method and APIs than the Flo water sensor and water monitor thus this plug-in will not work for your use case. As indicated in the plug-in readme the plug only supports the Smart Water Shutoff and Water sensors. I also have a Meon sump pump monitor so I would love to integrate however Moen hasn't officially or unofficially provided any method for this to be accomplished.

hepcat72 commented 3 months ago

Aw, crap. Sigh. Thanks for the response.

hepcat72 commented 3 months ago

Incidentally, I'd read the readme, but I didn't know if the sump pump monitor was or was not a "water sensor". It has a water sensors attached to it, and the app itself referred to it as a "kitchen faucet" after setup (even though it initially referred to it as a "sump pump monitor" during setup.

I guess this will be another automation that I Jerry rig via text message. Would have been nice to get the detailed temp, humidity, and water levels though.

I'm surprised the app doesn't show a gauge on its overview page for the water level in the pit.

I used to maintain a node-red node for Life360 before they broke the unofficial API authentication method, so I know how it goes.

haywirecoder commented 3 months ago

Update the readme to make it more specific. If any ever figure out how to access the sump pump will integrate it.