TCPLightingWebInterface icon indicating copy to clipboard operation
TCPLightingWebInterface copied to clipboard

Adding bulbs without factory remote

Open driessamyn opened this issue 5 years ago • 5 comments

Is there a way to add bulbs without the factory remote? Some of my bulbs seem to have "de-registered" and now that the app has disappeared I am a bit stuffed. If anybody knows anything about the adding bulb protocol, I'm happy to try to add this to the code.

Thanks.

driessamyn avatar Dec 13 '19 13:12 driessamyn

Right at the bottom of the web interface for this project there is the option to add bulbs. It says beta but only I think because it just never got updated to not say so. I've added many many bulbs using that function

sktaylortrash avatar Dec 13 '19 13:12 sktaylortrash

As Paul indicated - he beat me to replying - Yes you can add bulbs without issue once you put them into discovery mode ( essentially powering them on / off a few times until they fade up/down ) then hit the sync button on the bridge and click the "Search for Bulbs. (Beta)" link at the bottom of the interface.

I do have it labelled as beta because I haven't cleaned up the interface but it seems to work well. If it says it has found X bulbs and when the page finishes the discovery and shows a different number, then it has found and added the bulbs.

Cheers,

Bren

On Fri, Dec 13, 2019, 8:58 AM Dries Samyn [email protected] wrote:

Is there a way to add bulbs without the factory remote? Some of my bulbs seem to have "de-registered" and now that the app has disappeared I am a bit stuffed. If anybody knows anything about the adding bulb protocol, I'm happy to try to add this to the code.

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bren1818/TCPLightingWebInterface/issues/16?email_source=notifications&email_token=AAQMEH235M2WTWUX3O227GLQYOIGZA5CNFSM4J2NLTH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAKSTIQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEH5DJLZZ5NUXFHQHOKDQYOIGZANCNFSM4J2NLTHQ .0

bren1818 avatar Dec 13 '19 14:12 bren1818

Awesome. Thanks!

Thanks for putting this together as well. I may try to reverse engineer and build a REST API around this.

driessamyn avatar Dec 19 '19 20:12 driessamyn

Go for it! Should be pretty easy to do so. The majority of the commands are contained within api.php in the project with some wrappers around the calls to the bridge. Some of the other commands you may have to pull out of the pages like the scheduler though

On Thu, Dec 19, 2019, 3:55 PM Dries Samyn [email protected] wrote:

Awesome. Thanks!

Thanks for putting this together as well. I may try to reverse engineer and build a REST API around this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bren1818/TCPLightingWebInterface/issues/16?email_source=notifications&email_token=AAQMEH7GJIL2ZWJ2MUZAD3TQZPNVZA5CNFSM4J2NLTH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHLAEAY#issuecomment-567673347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEHYOCH7WDOYYGBJW3ULQZPNVZANCNFSM4J2NLTHQ .

bren1818 avatar Dec 19 '19 22:12 bren1818

Also I have a fork with MQTT pub/sub and Home Assistant Auto Discovery if you are using that in your environment. https://github.com/sktaylortrash/TCPLightingWebInterface-MQTT

sktaylortrash avatar Dec 19 '19 22:12 sktaylortrash