question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for L920 LED Strip Light

See original GitHub issue

After installing the addon all I get is two sensors for overheat and signal level. These appear to work fine. There is no light entity.

Debug log

Output of python test script:

hassio@DESKTOP-52GDQOA:/mnt/c/users/desktop$ python3 main.py <ID> {'device_id': 'DEV-ID', 'fw_ver': '1.0.7 Build 220119 Rel.221439', 'hw_ver': '1.0', 'type': 'SMART.TAPOBULB', 'model': 'L920', 'mac': '5C-A6-E6-19-BD-C9', 'hw_id': '410A49E4E50D1DD5868EDDF2490083C4', 'fw_id': '7BECA9DC454565672FEC87D1104F9972', 'oem_id': '657AEF3473110D5D61531C4A8B32460F', 'color_temp_range': [9000, 9000], 'overheated': False, 'ip': '192.168.178.129', 'time_diff': 60, 'ssid': 'RlJJVFohIEJveCAyNA==', 'rssi': -40, 'signal_level': 3, 'latitude': <lat>, 'longitude': <long>, 'lang': 'en_US', 'avatar': 'light_strip', 'region': 'Europe/Luxembourg', 'specs': '', 'nickname': 'TG91bmdlIExpZ2h0IFN0cmlw', 'has_set_location_info': True, 'lighting_effect': {'enable': 0, 'id': 'TapoStrip_ID', 'name': 'Flicker', 'custom': 0, 'brightness': 29, 'display_colors': [[30, 81, 100], [40, 100, 100]]}, 'music_rhythm_enable': False, 'music_rhythm_mode': 'single_lamp', 'device_on': False, 'brightness': 33, 'hue': 22, 'saturation': 100, 'color_temp': 0, 'default_states': {'type': 'last_states', 'state': {'lighting_effect': {'type': 'random', 'id': 'TapoStrip_ID', 'name': 'Flicker', 'enable': 1, 'segments': [1], 'expansion_strategy': 1, 'transition': 0, 'transition_range': [375, 500], 'duration': 0, 'hue_range': [30, 40], 'saturation_range': [100, 100], 'brightness_range': [50, 100], 'brightness': 29, 'init_states': [[30, 81, 80]], 'custom': 0, 'display_colors': [[30, 81, 100], [40, 100, 100]]}}}} Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7ff153e8e520>

Addon installed via HACS is v1.2.9

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Thorvariumcommented, Sep 15, 2022

To support effects, I need some help. First install my plugp100 library pip install plugp100==2.1.18 and copy this python script

import asyncio
from plugp100 import TapoApiClient


async def main():
    # create generic tapo api
    sw = TapoApiClient("<ip>", "<email>", "<passwd>")
    await sw.login()
    state = await sw.get_state()
    print(state.state)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.run_until_complete(asyncio.sleep(0.1))
loop.close()

Now follow these steps:

  1. open tapo app and select and effect
  2. take an app screenshot
  3. execute my python script and take the output
  4. repeat these steps above 2 or 3 ti tapo.zip mes
  5. report everything here, to avoid confusion please upload a zip file or something else

Zip attached with 5 effects, thanks!

1reaction
petretiandreacommented, Sep 15, 2022

@Thorvarium Thanks I will work on it

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to connect more than one TP-Link Led Light Strips together
For the light strip whose whole length is 5 meters, it DOES NOT support connecting with the same model of another 5-meter-long light...
Read more >
Frequently asked questions about Tapo Smart Light strip
A: Tapo L920-5 supports 50 separate color zones, so the minimum length is 10cm for each part which consists of 3 LEDs.
Read more >
TP-Link Tapo Smart LED Light Strip, 50 Color Zones ...
Amazon's Choice in LED Strip Lights by TP-Link ... Tapo continues to innovate adding the “Smart” in smart home. ... Item model number,...
Read more >
Cannot add Tapo L900 Led Strip · Issue #151 - GitHub
EDIT: Actually L920 is not supported by this integration, but I can the support. If I am not wrong, L920 is an addressable...
Read more >
TP-Link Tapo L930-5 review: a smarter light strip - The Verge
Smart LED light strips are an easy, plug-and-play way to shed some light on a troublesome dark spot in your home or add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found