Jump to content


Photo
- - - - -

Shelly RGBW2 LED Controller


  • Please log in to reply
9 replies to this topic

#1 TonyNo

TonyNo

    Dedicated Cocooner

  • -=Gold Supporter=-
  • 986 posts
  • Location:Chicago Burbs
  • Experience:guru
  • Software:PowerHome
  • Tech:X10-PLC, X10-RF, INSTEON, Custom
  • Audio:Custom
  • Video:Custom
  • CCTV:analog

Posted 26 March 2019 - 11:29 AM

Looks very cool. MQTT support along with REST built-in. No reprogramming or cloud needed!

rgbw2_product.png
 
https://shelly.cloud...-shelly-rgbw-2/
 



#2 LarrylLix

LarrylLix

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1180 posts
  • Location:Northern SouthWestern Ontario
  • Experience:guru
  • Software:Custom
  • Hardware:ISY-99, Custom
  • Tech:INSTEON, 1-Wire, Custom
  • Audio:Custom
  • CCTV:ip
  • Phone:Ooma

Posted 26 March 2019 - 02:19 PM

Have they released the API so that people can actually use them with HA systems not depending on cloud servers?

On a quick look I didn't see any sign of it.


Edited by LarrylLix, 26 March 2019 - 02:20 PM.


#3 TonyNo

TonyNo

    Dedicated Cocooner

  • -=Gold Supporter=-
  • 986 posts
  • Location:Chicago Burbs
  • Experience:guru
  • Software:PowerHome
  • Tech:X10-PLC, X10-RF, INSTEON, Custom
  • Audio:Custom
  • Video:Custom
  • CCTV:analog

Posted 26 March 2019 - 02:58 PM

Yep. 

 

http://shelly-api-do...ly.cloud/#rgbw2



#4 LarrylLix

LarrylLix

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1180 posts
  • Location:Northern SouthWestern Ontario
  • Experience:guru
  • Software:Custom
  • Hardware:ISY-99, Custom
  • Tech:INSTEON, 1-Wire, Custom
  • Audio:Custom
  • CCTV:ip
  • Phone:Ooma

Posted 26 March 2019 - 10:08 PM

Appears cloud only via ther server, but I haven't spent enough time to understand their syntax completely.



#5 linuxha

linuxha

    Dedicated Cocooner

  • Registered
  • PipPipPip
  • 453 posts
  • Location:NJ, USA
  • Experience:average
  • Software:Mister House, Custom
  • Hardware:Elk M1, Custom
  • Tech:X10-RF, Z-Wave, ZigBee, 1-Wire, Custom
  • Audio:Custom
  • Video:Custom
  • CCTV:ip
  • Phone:Asterisk

Posted 27 March 2019 - 08:39 AM

I got the impression that, once setup, it could be local. I also see MQTT.



#6 TonyNo

TonyNo

    Dedicated Cocooner

  • -=Gold Supporter=-
  • 986 posts
  • Location:Chicago Burbs
  • Experience:guru
  • Software:PowerHome
  • Tech:X10-PLC, X10-RF, INSTEON, Custom
  • Audio:Custom
  • Video:Custom
  • CCTV:analog

Posted 27 March 2019 - 03:05 PM

Absolutely. I've been playing with them all day. Without authentication set up, setting a color is as simple as...

 

http://deviceIP/colo...&blue=0&white=0

 

...via REST.



#7 LarrylLix

LarrylLix

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1180 posts
  • Location:Northern SouthWestern Ontario
  • Experience:guru
  • Software:Custom
  • Hardware:ISY-99, Custom
  • Tech:INSTEON, 1-Wire, Custom
  • Audio:Custom
  • CCTV:ip
  • Phone:Ooma

Posted 27 March 2019 - 07:58 PM

Absolutely. I've been playing with them all day. Without authentication set up, setting a color is as simple as...

 

http://deviceIP/colo...&blue=0&white=0

 

...via REST.

Good news! Cloud control of lights is necessary ridiculous concept.

 

Do they offer any feedback or status reporting (other than the usual http 200 confirmation )?

 

Are you able to mix white and RGB to make pastels?

 

How fast can multiple strings be activated on/off? I have 16 devices in one room (some bulbs, some strings) and the popcorn effect can be the worst looking. I have it down to less than 0.5 seconds to turn all on/off but the initial socket connect time gets int multiple seconds then. :(


Edited by LarrylLix, 27 March 2019 - 08:12 PM.


#8 pete_c

pete_c

    Cocoonut

  • -=Gold Supporter=-
  • 9137 posts
  • Location:House
  • Experience:average
  • Software:Main Lobby, Open Source Automation
  • Hardware:HAI OmniPro II, Mi Casa Verde Vera, Ocelot
  • Tech:X10-PLC, X10-RF, UPB, INSTEON, Z-Wave, ZigBee, 1-Wire, xAP, xPL, ALC
  • Audio:Russound
  • Video:MythTV
  • CCTV:analog, ip, dvr
  • Phone:Asterisk, FreePBX, Ooma, POTS, VoIP via ISP

Posted 28 March 2019 - 08:22 AM

I have read about Shelly.  Thinking they are the first to offer this methodology over the counter for sale.

 

Yeah here starting to use modified Espurna / ESPXXX firmware adding more controls / features via the GPIO stuff.  IE: combo RGB controller with the adds of a combo temperature and humidity sensor or the add of a remote control to it.  Here also added a manual on off and digital dimming knob (for WAF) such that you can control the RGB controller manually, via built in GUI and via the local lan.

 

The does make it a custom one off build.  I just replicated it here and used the same rules for controlling multiple RGB devices.  Response times are really fast considering it is via WiFi and using MQTT.

 

Only thing is that it involves soldering tiny wires and JTAGing the device which really is not user friendly.

 

For use with MQTT all you have to do is sniff the MQTT commands from the device to see what commands you need to use to control or read status of the device.

 

Espurna provides you with a simple command list in the built in OS web GUI for Home Assistant (or any controller using MQTT).

 

light:
  - name: ESPURNA_KitchenLED2
    platform: mqtt
    state_topic: Kitchen-LED2/relay/0
    command_topic: Kitchen-LED2/relay/0/set
    payload_on: 1
    payload_off: 0
    availability_topic: Kitchen-LED2/status
    payload_available: 1
    payload_not_available: 0
    brightness_state_topic: Kitchen-LED2/brightness
    brightness_command_topic: Kitchen-LED2/brightness/set
    rgb_state_topic: Kitchen-LED2/rgb
    rgb_command_topic: Kitchen-LED2/rgb/set
    color_temp_command_topic: Kitchen-LED2/mired/set
    white_value_state_topic: Kitchen-LED2/channel/3
    white_value_command_topic: Kitchen-LED2/channel/3/set

sensor:
  - name: ESPURNA_KitchenLED2_temperature
    platform: mqtt
    state_topic: Kitchen-LED2/temperature
    unit_of_measurement: °F


sensor:
  - name: ESPURNA_KitchenLED2_humidity
    platform: mqtt
    state_topic: Kitchen-LED2/humidity
    unit_of_measurement: '%'



#9 TonyNo

TonyNo

    Dedicated Cocooner

  • -=Gold Supporter=-
  • 986 posts
  • Location:Chicago Burbs
  • Experience:guru
  • Software:PowerHome
  • Tech:X10-PLC, X10-RF, INSTEON, Custom
  • Audio:Custom
  • Video:Custom
  • CCTV:analog

Posted 28 March 2019 - 10:30 AM

Good news! Cloud control of lights is necessary ridiculous concept.

 

Do they offer any feedback or status reporting (other than the usual http 200 confirmation )?

 

Are you able to mix white and RGB to make pastels?

 

How fast can multiple strings be activated on/off? I have 16 devices in one room (some bulbs, some strings) and the popcorn effect can be the worst looking. I have it down to less than 0.5 seconds to turn all on/off but the initial socket connect time gets int multiple seconds then. :(

 

Re: Feedback, the response is the 200 and a status string. Example:

{"ison":true,"mode":"color","red":127,"green":0,"blue":0,"white":0,"gain":2,"effect":0,"power":0.00,"overpower":false}
 

No restrictions on white and color outputs being on at the same time. Obviously, consider the power dissipation of the device you are driving. ;)

 

I only have two modules to play with, but it seems fairly quick. I can imagine a ripple-effect for 16, though, as it's not instant. Note that if you send commands too quickly, the lights don't change, but the status comes back indicating no change.



#10 LarrylLix

LarrylLix

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1180 posts
  • Location:Northern SouthWestern Ontario
  • Experience:guru
  • Software:Custom
  • Hardware:ISY-99, Custom
  • Tech:INSTEON, 1-Wire, Custom
  • Audio:Custom
  • CCTV:ip
  • Phone:Ooma

Posted 28 March 2019 - 09:02 PM

Re: Feedback, the response is the 200 and a status string. Example:

{"ison":true,"mode":"color","red":127,"green":0,"blue":0,"white":0,"gain":2,"effect":0,"power":0.00,"overpower":false}
 

No restrictions on white and color outputs being on at the same time. Obviously, consider the power dissipation of the device you are driving. ;)

 

I only have two modules to play with, but it seems fairly quick. I can imagine a ripple-effect for 16, though, as it's not instant. Note that if you send commands too quickly, the lights don't change, but the status comes back indicating no change.

I did a lot of experimenting with MiLight, LEDenet controllers and now, some China cloned MagicHome bulbs for under $10 each..
One thing I found was that the little CPUs inside the controllers were busy doing a slight ramp and couldn't see the Ethernet commands coming at them.  Once  I discovered a "Music" mode where they could respond very quickly I found it wasn't as much of a problem, thus the conclusion. The trouble with that was the popcorn effect became more noticeable without the slight ramping effect helping the them appear more synchronised.

 

In the end it is all about how it looks to the eye and sequencing them in the right order helps. Turn on the main lighting bulbs where your eye looks into the room, first. Then the ones behind you are not noticed as you walk into the room. Sometimes every second bulb works and then go back and hot the odd ones in between.

 

Have fun!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users