wutu / pimatic-mqtt

MQTT plugin for Pimatic
https://pimatic.org/plugins/pimatic-mqtt/
GNU Affero General Public License v3.0
9 stars 13 forks source link

RGB Support #23

Open ghost opened 7 years ago

ghost commented 7 years ago

Hello, First I want to say big thank you for this great plugin for pimatic which I have used for several months with my esp based boards. I want to ask you when do you plan to add rgb support? Nowadays I use buttons with predefined colors, but it will be great to add support for rgb, rgbw and rgbww strips. Something like this:

image

or this:

image

Thank you

ghost commented 7 years ago

Hello,

Is there something new?

Thank you for your answer.

wutu commented 7 years ago

Hey David, still waiting for the inclusion of RGB device to Pimatic. If it will not be soon (in the spring). I have ready the first variant of your proposal.

ghost commented 7 years ago

Hello,

Thank you for your answer. It will be great when RGB device will be included into Pimatic. I looked into another plugin for pimatic, that has already rgb support, which is available at: https://github.com/philip1986/pimatic-led-light . As I looked into code, it looks like, that author made his own implementation of rgb support. I hope, that this could help, if pimatic does not include native support of rgb.

Thank you.

0xFelix commented 7 years ago

Hey guys, any updates on this?

wutu commented 7 years ago

I'm done with a clone ready dummy led device, but I do not like the design of this element. :) I'm doing this by pimatic-milight-reloaded. It's going to be more time now. But if anyone has experience with pimatic frontend development, I can get help :)

0xFelix commented 7 years ago

You mean the code functionality is there but the design is unfinished? I have no experience with pimatic frontend development but maybe I can still be of help...

wutu commented 7 years ago

There's nothing left to learn. :)

I'm looking at the tradfri plugin now and I understand the code. So maybe I'm inspiring here. It just does not have an RGB device :) But the tradfri RGB is already being sold, so it will be early. I hope.

I have two devices in my plan to start with. One and three channel devices. A configurable payload (RGB, HSL, HSV). All values ​​can be used separately.

mwittig commented 7 years ago

@davidhrbaty The first sketch in your first post is just a scrrenshot taken from pimatic forum - or is there a real implementation behind it? The second is pimatic-hue-zll as far as I know.

ManuelW77 commented 6 years ago

Hey Guys, i'm looking for an implementation of RGB with MQTT too. I think it is easy to do. We only need the output of 4 values (now there only one).

I build a MQTT RGB LED controller with a ESP8266 (https://github.com/corbanmailloux/esp-mqtt-rgb-led) and it needs a JSon sting per MQTT like this:

{"state": "ON", "brightness": 120, "color": {"r": 255,"g": 100,"b": 100},"transition": 5} We need only values for brightness, r, g and b. The other could be hardcoded. I think this is for most controllers the same.

Maybe it helps and we can have this functionallity soon.

Wikibear commented 6 years ago

Are there news to support RGB LED Lights via MQTT? Would be great that this will implement soon.

ITTV-tools commented 6 years ago

I'm waiting for that feature too. Any news ?

ghost commented 6 years ago

Hello guys, I have moved from pimatic to home assistant, because there is a lot of pros:

and a lot more.

ITTV-tools commented 6 years ago

That means you will not implemet a RGB Device ?

Wikibear commented 6 years ago

Sounds be ...

wutu commented 6 years ago

Hello It looks like @iMarvinS is working on RGB devices. Unfortunately, I do not have time. https://github.com/iMarvinS/pimatic-mqtt/tree/6b89136bbc037d618b5d9b9af11d11d7ea0dde67

@davidhrbaty And program rules? No way :)

iMarvinS commented 6 years ago

I´m working on a RGB only and a RGBW device. It will be inspired by pimatic-led-light plugin. For anyone who can´t wait for it give this one this a try. It´s a temporary solution until I´ve implemented everything in pimatic-mqtt.