davidashman / homebridge-cync-lights

Apache License 2.0
9 stars 5 forks source link

Error code #17

Open Bigb1347 opened 2 weeks ago

Bigb1347 commented 2 weeks ago

Describe The Bug:

To Reproduce:

Expected behavior:

Logs:

ng home information from https://api.gelig hting.com/v2/product/1607d2bf51b700011607d 2bf51b70002/device/1017372849/property. [10/09/2024, 20:30:59] [Cync Lights] Recei ved device response: {"error": {"msg": "devi ce property not exists", "code": 4041009}} [10/09/2024, 20:30:59] [Cync Lights] Loadi ng home information from https://api.gelig hting.com/v2/product/162afaba216b03e9162af aba216bb601/device/1958533050/property. [10/09/2024, 20:30:59] [Cync Lights] Recei ved device response: {"error": {"msg": "devi ce property not exists", "code": 4041009}} [10/09/2024, 20:30:59] [Cync Lights] Loadi ng home information from https://api.gelig hting.com/v2/product/1607d2bf51h700011607d 2bf51b70002/device/749356455/property• [10/09/2024, 20:30:59] [Cync Lights] Recei ved device response: {"error":1 "msg": "devi ce property not exists", "code": 4041009}} [10/09/2024, 20:30:591 [Cync Lights] Loadi ng home information from https: //api.gelig hting.com/v2/product/1607d2bf51b700011607d 2bf51b70002/device/1907956663/property. [10/09/2024, 20:30:59] [Cync Lights] Recei ved device response: {"error": {"msg": "devi ce property not exists", "code": 4041009}} [10/09/2024, 20:30:591 [Cync Lights] Loadi ng home information from https://api.gelig hting.com/v2/product/1607d2bf51b700011607d 2bf51b70002/device/1940413255/property. [10/09/2024, 20:30:59] [Cync Lights] Recei ved device response: {"error": {"msg": "devi ce property not exists", "code": 4041009}} [10/09/2024, 20:31:07] [Homebridge UI] Sta rting terminal session [10/09/2024, 20:31:131 [Homebridge UI]

Plugin Config:

{
    "bridge": {
        "name": "Homebridge BE9A",
        "username": "0E:8C:2A:4C:BE:9A",
        "port": 51943,
        "pin": "846-34-445",
        "advertiser": "ciao",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "sudo": true,
            "platform": "config"
        },
        {
            "platform": "CyncLights",
            "name": "Cync Lights",
            "emailAddress": "brianbonomo@gmail.com",
            "_bridge": {
                "username": "0E:A2:9A:BD:11:B2"
            }
        },
        {
            "name": "Govee",
            "username": 
            "password": 
            "_bridge": {
                "username": "
                "port": 33587
            },
            "platform": "Govee"
        },
        {
            "name": "iRobot",
            "email": "",
            "password": ",
            "roombas": [
                {
                    "blid": "4F72215FFE034A3A9EB71A24A65EF95C",
                    "password": ":,
                    "autoConfig": true,
                    "ip": ",
                    "model": "i7",
                    "info": {
                        "mac": "50:14:79:fb:5d:6f",
                        "ver": 2
                    }
                }
            ],
            "manualDiscovery": false,
            "lowBattery": 20,
            "offAction": "stop:dock",
            "status": "cycle:clean",
            "eveStatus": "inverted:cycle:clean",
            "bin": "filter:contact:motion",
            "ignoreMultiRoomBin": true,
            "hideStuckSensor": false,
            "disableMultiRoom": false,
            "platform": "iRobotPlatform",
            "_bridge": {
                "username": "0E:67:9B:78:9E:8C",
                "port": 38715
            }
        },
        {
            "devices": [
                {
                    "name": "Living Room Xbox",
                    "host": "",
                    "xboxLiveId": "F4000EEB4274B5D0",
                    "webApiControl": true,
                    "getInputsFromDevice": true,
                    "filterGames": false,
                    "filterApps": false,
                    "filterSystemApps": false,
                    "filterDlc": false,
                    "inputsDisplayOrder": 0,
                    "sensorPower": true,
                    "sensorInput": false,
                    "sensorScreenSaver": false,
                    "webApiPowerOnOff": true,
                    "webApiRcControl": false,
                    "webApiVolumeControl": false,
                    "webApiToken": "M.C503_BAY.2.U.dc4de1e4-7846-b59a-7644-f7f90183d976",
                    "infoButtonCommand": "nexus",
                    "volumeControl": 1,
                    "enableDebugMode": false,
                    "disableLogInfo": false,
                    "disableLogDeviceInfo": false,
                    "enableRestFul": false,
                    "restFulDebug": false,
                    "enableMqtt": false,
                    "mqttDebug": false,
                    "mqttAuth": false
                }
            ],
            "platform": "XboxTv",
            "_bridge": {
                "username": "0E:F6:40:58:5C:2D",
                "port": 45259
            }
        },
        {
            "name": "TplinkSmarthome",
            "addCustomCharacteristics": true,
            "switchModels": [
                "HS210"
            ],
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "devicesUseDiscoveryPort": false,
            "platform": "TplinkSmarthome"
        }
    ]
}.

Screenshots:

Environment:

System Information
OS | Raspbian GNU/Linux Bookworm (12) -- | -- 2605:a601:9180:4500::237 raspberrypi bigb1347 v20.17.0 /opt/homebridge/bin /var/lib/homebridge /var/lib/homebridge/config.json /var/lib/homebridge/node_modules GMT-0400
RapidRabbit-11485 commented 1 week ago

I'm experiencing a similar issue and can add some more data to this. I receive similar error codes in my console:

[9/20/2024, 8:44:32 PM] [Cync Lights] Received device response: {"error":{"msg":"device property not exists","code":4041009}}
[9/20/2024, 8:44:32 PM] [Cync Lights] Loading home information from https://api.gelighting.com/v2/product/<sanitizied>/device/<sanitized>/property.

When I inspect the devices the properties load in a few sections, but look like this:

[
  {
    "occupancyDeactivationPeriod": 0,
    "lightRingBrightness": 0,
    "displayName": "Game Room A",
    "showOnHome": false,
    "loadSelection": 1,
    "lightRingColor": 0,
    "ambientLightEnable": false,
    "occupancySensitivity": 0,
    "firmwareVersion": "1.3.160",
    "occupancyEnable": false,
    "followTheSun": false,
    "deviceType": 153,
    "fadeOff": 0,
    "wifiDisconnectIndicatorEnable": false,
    "switchID": "REDACTED",
    "allowOTAUpdates": false,
    "deviceID": "REDACTED",
    "commissionedDate": "2024-09-09T00:23:45Z",
    "fadeOn": 0,
    "defaultBrightness": 0,
    "lightRingMode": 0,
    "ambientLightSensitivity": 0,
    "simpleModeEnabled": false,
    "occupancyTimeoutPeriod": 0
  }
]
"lightShows": [
  {
    "icon": 35,
    "index": 10,
    "fadeGradientEnabled": false,
    "colors": ["0000FF", "3CFFE8"],
    "speed": [0],
    "fadeSpeed": [400, 2000],
    "illuminationType": 1,
    "brightness": [1, 100],
    "colorOrder": "random",
    "effect": 2,
    "name": "Aquatic"
  },
  {
    "icon": 41,
    "index": 11,
    "fadeGradientEnabled": false,
    "colors": ["0065FF", "00E9FF", "000000", "000000", "000000", "000000", "000000", "000000", "000000", "000000"],
    "speed": [30, 70],
    "fadeSpeed": [70, 2300],
    "illuminationType": 1,
    "brightness": [100],
    "effect": 8,
    "colorOrder": "random",
    "name": "Raindrops"
  },
  {
    "icon": 36,
    "index": 12,
    "fadeGradientEnabled": false,
    "speed": [1600, 3500],
    "colors": ["00FF00", "00FF00", "000000", "000000", "000000", "000000", "000000", "000000", "000000", "000000"],
    "fadeSpeed": [30, 500],
    "illuminationType": 0,
    "brightness": [100],
    "colorOrder": "random",
    "effect": 8,
    "name": "Frogger"
  },
  {
    "icon": 39,
    "index": 13,
    "fadeGradientEnabled": false,
    "speed": [0],
    "colors": ["012AFE", "00C1FF", "03FFEE", "FFFFFF"],
    "illuminationType": 1,
    "brightness": [100],
    "colorSmoothing": {
      "fadeWidth": 4,
      "colorWidth": 1
    },
    "effect": 3,
    "colorOrder": "inOrder",
    "name": "Ocean Waves Dynamic",
    "direction": 3
  },
  {
    "icon": 32,
    "index": 14,
    "fadeGradientEnabled": false,
    "colors": ["FF0000", "FF0000"],
    "speed": [0],
    "fadeSpeed": [800],
    "illuminationType": 0,
    "brightness": [100],
    "colorOrder": "inOrder",
    "effect": 6,
    "name": "Intruder Alert"
  },
  {
    "icon": 37,
    "index": 15,
    "fadeGradientEnabled": false,
    "colors": ["FF0000", "000000", "000000", "000000", "000000", "FF0000", "000000", "000000", "000000", "000000"],
    "speed": [0],
    "illuminationType": 1,
    "brightness": [100],
    "colorSmoothing": {
      "fadeWidth": 3,
      "colorWidth": 1
    },
    "effect": 3,
    "colorOrder": "inOrder",
    "name": "Laser Dynamic",
    "direction": 7
  },
  {
    "icon": 34,
    "index": 16,
    "fadeGradientEnabled": false,
    "speed": [0],
    "colors": ["0000FF", "FFFFFF", "FFFFFF", "FFFFFF", "FFFFFF", "0000FF", "FFFFFF", "FFFFFF", "FFFFFF", "FFFFFF"],
    "illuminationType": 1,
    "brightness": [100],
    "colorSmoothing": {
      "fadeWidth": 3,
      "colorWidth": 1
    },
    "colorOrder": "inOrder",
    "effect": 3,
    "name": "Blue Crawl Dynamic",
    "direction": 7
  }
]

The device in question is this one: https://www.gelighting.com/led-lights/bulbs/medium-base/ge-cync-smart-led-light-bulb-color-changing-matter-compatible GE Cync A19 Smart LED Light Bulb, Color Changing Smart WiFi Lights, Matter Compatible, Works with Alexa and Google Home

I'm assuming that this is an issue where new devices have been added to the lineup that support different features, or that the lightshows are not supported and not error-handled.

Bigb1347 commented 1 week ago

Yeah that is a good point. My plug was working for a while with the plug in then all of a sudden just stopped. Non matter device.