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.

LB120(US) lightbulb support

See original GitHub issue

I have 2 LB120(US) lightbulbs that work correctly in the Kasa app. When I run this demo code, it only finds 1 of them:

const Hs100Api = require('hs100-api')
const client = new Hs100Api.Client()
client.startDiscovery().on('plug-new', p => console.log(p.name))

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:23 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
plasticrakecommented, Sep 24, 2017

If anyone in this thread is interested: I created a TPLink device simulator so I could have automated testing of my code. It also allowed me to improve bulb support for hs100-api as I can test bulbs even though I don’t own any.

0reactions
DaveGutcommented, Apr 23, 2017

I have reloaded the program for any interested in the API aspects. The SmartThings integration is depreciated; however, i believe it still works. My new SmartThings integration is at https://github.com/DaveGut/TP-Link-to-SmartThings-Integration

Why: a. single Node.js file eliminating calls to the api files (and error potentials) b. more informative user interface with indications when command fail, or bulbs disconnect. c. has hooks to the bridge integration (SmartThing-PC-Bridge) which provided mechanism to reboot the bridge from SmartThings.

FYI - I am working on a ST Service Manager and associated Device Handlers that will discover the PC Bridge and then the TP-Link devices and install them automatically (after the user installs the service manager and related device handlers). I should also follow the bulbs so that static ports will not the necessary. Probably a couple of weeks until I am happy. Then back to the API with things I have learned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

LB120 | Kasa Smart Wi-Fi LED Light Bulb - Tunable White
Smart Wi-Fi bulbs can be controlled as a group, and your favorite settings can be saved as scenes accessible in Kasa. Reading. Set...
Read more >
Kasa Smart LB120 Dimmable LED WiFi Smart Light Bulb ...
Kasa Smart LB120 Dimmable LED WiFi Smart Light Bulb, 60W Equivalent, ... Google Assistant and Microsoft Cortana supported devices for a hands free ......
Read more >
TP-Link LB120 Tunable White Smart A19 Light Bulb, 60W ...
TP-Link LB120 Tunable White Smart A19 Light Bulb, 60W Equivalent, No Hub Required. USD$52.80. (5.0)5 stars out of 6 reviews6 reviews. USD$52.80. Add...
Read more >
TP-Link LB120 Smart LED Bulb Teardown | Since 1989
Someone may notice the Price in the Amazon Japan is near twice in the US/CA. You can buy 2 bulbs in North America...
Read more >
How to setup a TP-Link Smart Bulb - YouTube
... http://amzn.to/2AbXp0c TP-Link LB120 - http://amzn.to/2AdH6xh ... I may receive a small commission which will help to support the ...
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