0x5e / homebridge-tuya-platform

Make homebridge-tuya-platform great again.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cameras Started Showing Unsupported

h00pak opened this issue · comments

Prerequisite

  • Yes, I've read the readme completely.

Cache

  • Yes, I've cleaned accessory cache and the issue still exists.

Version

1.6.0

Device Infomation JSON File

[
  {
    "active_time": 1677611008,
    "biz_type": 0,
    "category": "sp",
    "create_time": 1677611008,
    "icon": "smart/icon/ay1480002761059me2zH/ca2680ee06fda15661fff89adf04e6b5.png",
    "id": "eba1079e4644d68e3bkgjy",
    "ip": "50.115.240.255",
    "lat": "36.0600",
    "local_key": "cd83a5e71fa0af95",
    "lon": "-90.4900",
    "model": "GN-CW036-199",
    "name": "Lounge Door",
    "online": true,
    "owner_id": "97868616",
    "product_id": "k1okbbubwccmdcaq",
    "product_name": "Geeni CW036 Smart Camera",
    "status": [
      {
        "code": "alarm_message",
        "value": ""
      },
      {
        "code": "basic_flip",
        "value": false
      },
      {
        "code": "basic_indicator",
        "value": true
      },
      {
        "code": "basic_nightvision",
        "value": "0"
      },
      {
        "code": "basic_osd",
        "value": true
      },
      {
        "code": "initiative_message",
        "value": ""
      },
      {
        "code": "motion_sensitivity",
        "value": "0"
      },
      {
        "code": "motion_switch",
        "value": true
      },
      {
        "code": "movement_detect_pic",
        "value": "eyJidWNrZXQiOiJ0eS11cy1zdG9yYWdlMzAtcGljIiwiZmlsZXMiOltbIi8zYzg0YWYtOTc4Njg2MTYtc3p4aDg1NTQ4Y2U1ZmQ2MDMwZDYvZGV0ZWN0LzE3MDU3ODY0NTMuanBlZz9wYXJhbT1Fd1FycnI1bU1Mb0Q5QlczbzZhVW14czVyQlU3T0RxeFNtamZCV3kyWlR3PSIsIiJdXSwidiI6IjMuMCJ9"
      },
      {
        "code": "record_mode",
        "value": "2"
      },
      {
        "code": "record_switch",
        "value": true
      },
      {
        "code": "sd_format",
        "value": true
      },
      {
        "code": "sd_format_state",
        "value": 0
      },
      {
        "code": "sd_status",
        "value": 2
      },
      {
        "code": "sd_storge",
        "value": "0|0|0"
      }
    ],
    "sub": false,
    "time_zone": "-06:00",
    "uid": "az1675530149697Wj9ry",
    "update_time": 1705737892,
    "uuid": "szxh85548ce5fd6030d6",
    "schema": [
      {
        "code": "alarm_message",
        "mode": "ro",
        "type": "String",
        "property": {}
      },
      {
        "code": "basic_flip",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "basic_indicator",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "basic_nightvision",
        "mode": "rw",
        "type": "Enum",
        "property": {
          "range": [
            "0",
            "1",
            "2"
          ]
        }
      },
      {
        "code": "basic_osd",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "initiative_message",
        "mode": "ro",
        "type": "Raw",
        "property": {}
      },
      {
        "code": "motion_sensitivity",
        "mode": "rw",
        "type": "Enum",
        "property": {
          "range": [
            "0",
            "1",
            "2"
          ]
        }
      },
      {
        "code": "motion_switch",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "movement_detect_pic",
        "mode": "ro",
        "type": "Raw",
        "property": {}
      },
      {
        "code": "record_mode",
        "mode": "rw",
        "type": "Enum",
        "property": {
          "range": [
            "1",
            "2"
          ]
        }
      },
      {
        "code": "record_switch",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "sd_format",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "sd_format_state",
        "mode": "ro",
        "type": "Integer",
        "property": {
          "min": -20000,
          "max": 200000,
          "scale": 0,
          "step": 1
        }
      },
      {
        "code": "sd_status",
        "mode": "ro",
        "type": "Integer",
        "property": {
          "min": 1,
          "max": 5,
          "scale": 0,
          "step": 1
        }
      },
      {
        "code": "sd_storge",
        "mode": "ro",
        "type": "String",
        "property": {
          "maxlen": 255
        }
      }
    ]
  },
  {
    "active_time": 1675537170,
    "biz_type": 0,
    "category": "sp",
    "create_time": 1675537170,
    "icon": "smart/icon/ay1480002761059me2zH/ca2680ee06fda15661fff89adf04e6b5.png",
    "id": "ebde17e023b65b30b1mnv0",
    "ip": "50.115.240.255",
    "lat": "36.0600",
    "local_key": "157e9b639fc3d776",
    "lon": "-90.4900",
    "model": "GN-CW036-199",
    "name": "Geeni CW036 Shed",
    "online": true,
    "owner_id": "97868616",
    "product_id": "k1okbbubwccmdcaq",
    "product_name": "Geeni CW036 Smart Camera",
    "status": [
      {
        "code": "alarm_message",
        "value": ""
      },
      {
        "code": "basic_flip",
        "value": false
      },
      {
        "code": "basic_indicator",
        "value": false
      },
      {
        "code": "basic_nightvision",
        "value": "0"
      },
      {
        "code": "basic_osd",
        "value": true
      },
      {
        "code": "initiative_message",
        "value": ""
      },
      {
        "code": "motion_sensitivity",
        "value": "1"
      },
      {
        "code": "motion_switch",
        "value": true
      },
      {
        "code": "movement_detect_pic",
        "value": "eyJidWNrZXQiOiJ0eS11cy1zdG9yYWdlMzAtcGljIiwiZmlsZXMiOltbIi8yZDc5MzMtOTc4Njg2MTYtc3pqc2IzM2VjNzFjODk0N2Q0NGEvZGV0ZWN0LzE3MDU3NzQzODQuanBlZz9wYXJhbT12Q0lwUzgxRm41MjdBUm9mS3o3MWFhekdNZ1kvMmo5ME04WHZHNEluRHVNPSIsIiJdXSwidiI6IjMuMCJ9"
      },
      {
        "code": "record_mode",
        "value": "1"
      },
      {
        "code": "record_switch",
        "value": true
      },
      {
        "code": "sd_format",
        "value": false
      },
      {
        "code": "sd_format_state",
        "value": 0
      },
      {
        "code": "sd_status",
        "value": 1
      },
      {
        "code": "sd_storge",
        "value": "0|0|0"
      }
    ],
    "sub": false,
    "time_zone": "-06:00",
    "uid": "az1675530149697Wj9ry",
    "update_time": 1705699078,
    "uuid": "szjsb33ec71c8947d44a",
    "schema": [
      {
        "code": "alarm_message",
        "mode": "ro",
        "type": "String",
        "property": {}
      },
      {
        "code": "basic_flip",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "basic_indicator",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "basic_nightvision",
        "mode": "rw",
        "type": "Enum",
        "property": {
          "range": [
            "0",
            "1",
            "2"
          ]
        }
      },
      {
        "code": "basic_osd",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "initiative_message",
        "mode": "ro",
        "type": "Raw",
        "property": {}
      },
      {
        "code": "motion_sensitivity",
        "mode": "rw",
        "type": "Enum",
        "property": {
          "range": [
            "0",
            "1",
            "2"
          ]
        }
      },
      {
        "code": "motion_switch",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "movement_detect_pic",
        "mode": "ro",
        "type": "Raw",
        "property": {}
      },
      {
        "code": "record_mode",
        "mode": "rw",
        "type": "Enum",
        "property": {
          "range": [
            "1",
            "2"
          ]
        }
      },
      {
        "code": "record_switch",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "sd_format",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "sd_format_state",
        "mode": "ro",
        "type": "Integer",
        "property": {
          "min": -20000,
          "max": 200000,
          "scale": 0,
          "step": 1
        }
      },
      {
        "code": "sd_status",
        "mode": "ro",
        "type": "Integer",
        "property": {
          "min": 1,
          "max": 5,
          "scale": 0,
          "step": 1
        }
      },
      {
        "code": "sd_storge",
        "mode": "ro",
        "type": "String",
        "property": {
          "maxlen": 255
        }
      }
    ]
  }
]

Device Control Mode

Standard Instruction

Logs

[1/20/2024, 3:58:40 PM] [@0x5e/homebridge-tuya-platform] Restarting Process...
[1/20/2024, 3:58:40 PM] [@0x5e/homebridge-tuya-platform] Launched child bridge with PID 21711
[1/20/2024, 3:58:40 PM] Registering platform '@0x5e/homebridge-tuya-platform.TuyaPlatform'
[1/20/2024, 3:58:40 PM] [@0x5e/homebridge-tuya-platform] Loaded @0x5e/homebridge-tuya-platform v1.6.0 child bridge successfully
[1/20/2024, 3:58:40 PM] Loaded 2 cached accessories from cachedAccessories.0ECC437FB7A8.
[1/20/2024, 3:58:40 PM] [@0x5e/homebridge-tuya-platform] Loading accessory from cache: Lounge Door
[1/20/2024, 3:58:40 PM] [@0x5e/homebridge-tuya-platform] Loading accessory from cache: Geeni CW036 Shed
[1/20/2024, 3:58:40 PM] [@0x5e/homebridge-tuya-platform] Log in to Tuya Cloud.
[1/20/2024, 3:58:40 PM] Homebridge v1.7.0 (HAP v0.11.1) (@0x5e/homebridge-tuya-platform) is running on port 33757.
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Start MQTT connection.
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Fetching home list.
[1/20/2024, 3:58:41 PM] [Blink] Blink Front Door - Refreshing snapshot
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Got home_id=97868616, name=My Home ..
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Fetching device list.
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Got 2 device(s).
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Device list saved at /Users/robby/.homebridge/persist/TuyaDeviceList.az1675530149697Wj9ry.json
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Restoring existing accessory from cache: Lounge Door
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Unsupported device: Lounge Door.
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Restoring existing accessory from cache: Geeni CW036 Shed
[1/20/2024, 3:58:41 PM] [@0x5e/homebridge-tuya-platform] Unsupported device: Geeni CW036 Shed.

Other Infomations

The camera feed would keep working in HomeKit.