matthewfcarlson / homebridge-upsy-desk

A homebridge plugin for the upsy desk
Apache License 2.0
1 stars 0 forks source link

How did you get on with this plugin? #2

Open samwalshnz opened 11 months ago

samwalshnz commented 11 months ago

Describe Your Problem: I tried installing this plugin, but it doesn't seem to be setting up the accessories. Before I get too deep down the rabbit hole, I just wanted to check if you have completed this plugin and had it working?

Logs:

9/11/2023, 11:17:12 pmUpsy Desk starting
29/11/2023, 11:17:20 pmUpsy DeskLoaded plugin 'homebridge-upsy-desk'
29/11/2023, 11:17:20 pmUpsy DeskLoading 1 platforms...
29/11/2023, 11:17:20 pmUpsy DeskRegistering platform 'homebridge-upsy-desk.UpsyDeskHomebridge'
29/11/2023, 11:17:21 pmUpsy DeskBridge is running on port 52000.

Plugin Config:

{
    "platforms": [
        {
            "platform": "upsy-desk",
            "debug": true,
            "devices": [
                {
                    "host": "192.168.68.67",
                    "display_name": "Desk",
                    "presets": 4
                }
            ]
        }
    ]
}

Screenshots:

Environment:

matthewfcarlson commented 11 months ago

Oh yeah, this plugin is still very much a work in progress. I keep meaning to come back and fix it. Being forced to make it a window is also somewhat arbitrary and I might switch to a stateful switch rather than a window/blind.

matthewfcarlson commented 11 months ago

If you make any progress, feel free to fork or create a PR!

samwalshnz commented 11 months ago

I might switch to a stateful switch

That could also work. It could be a good intermediate solution, where each preset is a stateful switch. I like that. Would solve for the majority of use cases.

If I have a weekend spare, I'll see what I can do :)