sanlike0911 / node-red-contrib-tplink-tapo-connect-api

Apache License 2.0
48 stars 20 forks source link

Smartbulb tapo L520E (EU) ver: 1.0 #22

Open ossnoser opened 2 years ago

ossnoser commented 2 years ago

Hi sanlike0911, First of all, thank you for this useful node!

I have a light bulb Tapo L520E very similar to the L510E but with a color temperature of 4000K instead of 2700K.

Switch ON/OFF/TOGGLE/STATUS/COMMAND works as expected but the BRIGHTNESS gives me an error: {"result":false,"errorInf":"Error: Unexpected Error Code: -1008 (undefined)"}

The COLOR node, as expected, has no effect on this device (no color!) and returns: {"result":true}

The STATUS answer is:


{
  device_id: "",
  fw_ver: "1.0.13 Build 220704 Rel.102554",
  hw_ver: "1.0",
  type: "SMART.TAPOBULB",
  model: "L520",
  mac: "",
  hw_id: "",
  fw_id: "",
  oem_id: "",
  color_temp_range: [
    4000,
    4000
  ],
  overheated: false,
  ip: "192.168.1.21",
  time_diff: 60,
  ssid: "",
  rssi: -48,
  signal_level: 3,
  latitude: 46000,
  longitude: 129999,
  lang: "",
  avatar: "table_lamp_4",
  region: "Europe/Rome",
  specs: "",
  nickname: "",
  has_set_location_info: true,
  device_on: true,
  brightness: 100,
  dynamic_light_effect_enable: false,
  default_states: {
    type: "last_states",
    state: {
      brightness: 100
    }
  }
}```

Happy to help in debugging this device.

Massimo
sanlike0911 commented 2 years ago

Hi ossnoser, Thank you for using this node-red-contrib-tplink-tapo-connect-api.

This node-red-contrib-tplink-tapo-connect-api is a wrapper for "tp-link-tapo-connect". The "tp-link-tapo-connect".doesn't seem to support the Tapo L520E's Brightness Control. Also, I will check if it can be solved only with "node-red-contrib-tplink-tapo-connect-api".

sanlike0911

nunovivas commented 1 year ago

Hello Sanlike! Did you ever find a solution for this? Brightness in both L510 an L530E are both a no-no for me. Everything else flawless!