[v4] Dev service Yeelight

Hi,

I’ve started developing the backend of the Yeelight service (PR #715).
Unfortunately, I’m a bit of a noob when it comes to front-end and don’t really know where to start…

If someone could give me a hand, or point me to some code examples… :wink:

Thanks in advance

PS: I’m planning to develop a service for « Sonoff native » modules (via the eWeLink API) and another one for « Tuya » (if the library becomes stable enough).

Hello! I think @link39 also wants to start a Yeelight service, you could share resources to go faster :slight_smile:

@link39 has done the front end of the Milight service (I promise I’ll merge it soon!) which is really great! :slight_smile:

Hello,

Indeed, I started with Yeelight. I was going to leave a small message on the forum, but with this sun, I must admit I spent quite a bit of time in the garden rather than on the PC :smiley:

On the server side, I only coded the part for searching for bulbs on the network. And on the front end, as far as I remember, I had added the image in the integration part and the search page.

I get the impression that you’ve already gone much further than me on the subject, judging by your PR.

For the front end part, you can take a look at what I did with Milight (https://github.com/GladysAssistant/Gladys/pull/647), which is based on Philips Hue.

Hello,

Well, I’ve made good progress on this service, it’s working fine at my place…

@pierre-gilles, thanks for the info, I was really inspired by the front of the Milight service.

@link39, I think I’ve finished the service, if you want to take a look, I’m waiting for your feedback :wink:

@pierre-gilles won’t have time to code with all the PRs to review ^^

@Pti_Nico I’m testing tonight!

All the better, each PR is development time saved :slight_smile:

I can’t wait to see this service live!!

Hi!

Sorry @Pti_Nico I couldn’t test the other night, but with today’s gloomy weather I have some time. :smiley:

I just tested the yeelight service. Everything works fine for me:

  • Discovery works well, I find all my bulbs (the same model)
  • On/Off functional

A suggestion for improvement:

  • There is no feedback message when no device is recognized. It would be interesting to add a status return at that moment, for example:
  • Suggest to the user to check that the bulbs are properly plugged in
  • Check that LAN discovery is enabled. Maybe with a mini tutorial or a link to the documentation to do it, because it is not enabled by default.

Otherwise, nothing to say, everything works, great!

Hello,

@link39, thank you for your feedback.
Happy to hear that it works for you too :wink:

By the way, cool suggestions, I’ll look into adding these points as soon as possible.

@pierre-gilles, I created the PR #7 for the documentation.

For everyone who finds this topic, the discussion has moved here: Comptabilité ampoule yeelight - #4 par pierre-gilles