kuestess / homebridge-platform-insteonlocal

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

Insteon i3 Outlet Issue #304

Open trhessel opened 9 months ago

trhessel commented 9 months ago

Hello, I am having issues with my i3 outlets where the log shows the following:

12/11/2023, 10:17:50 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge 0AC8@Foyer Ledge Outlet B@@On] characteristic value expected boolean and received undefined 12/11/2023, 10:17:50 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge 0AC8@Foyer Ledge Outlet A@@On] characteristic value expected boolean and received undefined

I am not able to get status or control them via plugin and homekit. Thoughts?

kuestess commented 9 months ago

@trhessel Can you post your config for the outlets?

trhessel commented 9 months ago

Sure, I pulled the two entries for top and bottom and just have this one in there but still getting the same error. Here is config and latest error:

    {
        "name": "Foyer Ledge Outlet",
        "deviceID": "604CD4",
        "dimmable": "no",
        "deviceType": "outlet",
        "position": "top"
    }

12/12/2023, 1:13:31 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge 0AC8@Foyer Ledge Outlet@@On] characteristic value expected boolean and received undefined

kuestess commented 9 months ago

@trhessel I did some testing with the config you provided above (changed to my device id) in my setup and everything works correctly with my i3 outlet. Can you confirm which version of the plugin you're running and whether you're able to control the outlet via the Insteon app?

trhessel commented 9 months ago

Thanks for testing, I am running version. 0.5.11 published September 19th 2023. I am able to use the insteon app but i just tried it and got a cannot communicate with it then tried again (via insteon app) and it worked. Let me know if there is a different version of the plugin I should use, if any and I am just going to re-add that i3 outlet to my insteon hub see if that helps.

kuestess commented 9 months ago

@trhessel That version of the plugin is the latest, so nothing to do there, and the protocol for the i3 outlets is the same as the non-i3 outlets, so it should work even with an older version of the plugin. Based upon the error message you're seeing, wondering if it's either a linking or Insteon traffic issue. As you suggested, might try removing and re-adding your outlets. You might also try running homebridge in debug mode (homebridge -D) and see if that provides any additional hints.