mattmattmatt / node-red-contrib-yeelight-compat-hue

💡 A Node-RED node for controlling Yeelight devices, compatible with node-red-contrib-node-hue flows.
https://flows.nodered.org/node/node-red-contrib-yeelight-compat-hue
MIT License
10 stars 12 forks source link

Moon support for Yeelight ceiling lights #24

Open S474N opened 4 years ago

S474N commented 4 years ago

There is property active_mode with values0: daylight mode / 1: moonlight mode (ceiling light only)

Is it possible to add this feature?

Is also in Yeelight API on page 21: https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf

asm0dey commented 4 years ago

Library 'yeelight2' have also supported it

S474N commented 4 years ago

@asm0dey what do you mean exactly please? Another plugin?

asm0dey commented 4 years ago

I mean this plugin depends on yeelight2 library (https://github.com/mattmattmatt/node-red-contrib-yeelight-compat-hue/blob/master/package.json#L101), which already supports this functionality:

S474N commented 4 years ago

@asm0dey and how can I used it?

asm0dey commented 4 years ago

I believe @mattmattmatt can :)

S474N commented 4 years ago

@asm0dey yes, I hope so :D

S474N commented 4 years ago

@asm0dey do you know about another plugin, which works with moon support?

asm0dey commented 4 years ago

@S474N nop. And you?

S474N commented 4 years ago

Nope. I'm using also next instance of Homebridge with Yeelighter, but there are problems with it. :(

jpg06 commented 4 years ago

The development of the plugin seems to be stopped and "mattmattmatt" does not respond to "pullrequest". If I have some time I'll see if I can make the modification in the version I forked. This possibility interests me too ;)

asm0dey commented 4 years ago

@jpg06 that's very interesting! Can't wait

S474N commented 4 years ago

@jpg06 go go go :)

jpg06 commented 4 years ago

I made a first functional version (local for now). But there is a bug with the latest version of Yeelight2 (1.3.7) I think I have found a way to resolve it and I will propose the fix to the author of the module. It is also necessary to implement a missing parameter in a function of the Yeelight2 module: I made a pullrequest for it. See you soon.

S474N commented 4 years ago

Excellent! Will you fork this plugin?

S474N commented 3 years ago

Can you send your local version for testing please?

S474N commented 3 years ago

Problem with 1.3.7 is solved, right? Progress with your fork? Thanks for reply.

asm0dey commented 3 years ago

@jpg06 ?

S474N commented 3 years ago

@jpg06 some progress?

BTW do somebody knows telnet command to Moon mode?

S474N commented 3 years ago

@jpg06 progress?

GinBook commented 2 years ago

Is there any progress? The MOON feature is really missing from the settings and it's sad that there is no update to this plug-in all the time.