kuestess / homebridge-platform-insteonlocal

Homebridge platform plugin for local Insteon control
Other
76 stars 26 forks source link

6 button keypad mapping on scenes #262

Open JimCSaratoga opened 2 years ago

JimCSaratoga commented 2 years ago

@kuestess I think I might have found a mapping issue on the 6-button which is hopefully a quick fix.

When turning on a scene that uses the D button on a 6-button keypad the D light does not come on. (BTW this is the 6-button keypad that I swapped out because it was giving us issues in the past but the D button behavior on that keypad was exactly the same).

I'm wondering if scenes specifically using this button might be mapped to another letter. The other buttons C, E, and F and their associated scenes work perfectly (in the example below with the F light for the Garage Lanterns).

Here's the scene that is mapped to the D button that doesn't articulate the light:

               {
                    "name": "Driveway Lanterns",
                    "deviceID": "2YYYYY",
                    "deviceType": "scene",
                    "keypadbtn": "D",
                    "six_btn": "true",
                    "groupID": "58"
                }

where as this scene (same 6-button keypad) does articulate the F light:

                {
                    "name": "Garage Lanterns",
                    "deviceID": "2YYYYY",
                    "deviceType": "scene",
                    "keypadbtn": "F",
                    "six_btn": "true",
                    "groupID": "57"
                }

To add to the mystery here, using the express server (homebridge.local:3000/scene/58/on) to turn on & off the scene DOES properly light the D keypad button on that 6-button keypad.