We have moved at community.getvera.com

Author Topic: Zipato RGBW Bulb  (Read 17370 times)

Offline vosmont

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 687
  • Karma: +60/-8
Re: Zipato RGBW Bulb
« Reply #15 on: February 04, 2015, 12:28:33 pm »
You could test

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = 58, Data = "0x33 0x05 0x06 0x02 0x00 0x03 0x00 0x04 0xFF"}, 1)

for set the 3 channels RGB at the same time (02:Red, 03:Green, 04:Blue)

Offline garrettfarmer

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Zipato RGBW Bulb
« Reply #16 on: February 07, 2015, 12:17:04 am »
I cannot get it to work I am trying this using luaTest 1.6, and I seem to get a valid response:
LuaTest 1.6

Lua file: /etc/cmh-ludl/luatest.lua

Results
No errors
Runtime: 1.4 ms
Code returned: nil

Print output
(none)

Code
   1   luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = 6, Data = "0x33 0x05 0x06 0x02 0x00 0x03 0x00 0x04 0xFF"}, 1)


where did you run the code from, within a scene or from the luaTest, and was the bulb already on when you ran the code?

Offline JS007

  • Sr. Member
  • ****
  • Posts: 319
  • Karma: +1/-3
Re: Zipato RGBW Bulb
« Reply #17 on: February 12, 2015, 12:51:06 pm »
You could test

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = 58, Data = "0x33 0x05 0x06 0x02 0x00 0x03 0x00 0x04 0xFF"}, 1)

for set the 3 channels RGB at the same time (02:Red, 03:Green, 04:Blue)

that made it a brighter white from what it was (dimed white)

I ran code for the apps\developer apps section
« Last Edit: February 12, 2015, 12:52:41 pm by JS007 »

Offline vitmar

  • Full Member
  • ***
  • Posts: 129
  • Karma: +0/-1
Re: Zipato RGBW Bulb
« Reply #18 on: February 24, 2015, 05:16:00 pm »
I have had no luck at getting a Zipato RGBW Bulb work properly with my Vera, that is to get the colors working.

I have tried everything Ive found on google, including http://www.vesternet.com/resources/application-notes/apnt-91 and nothing works (yes I changed the NodeID).

I contacted the Vera support and asked about that "Guaranteed compatibility" policy and they replied:
"By default the Zipato RGBW can only be used with the white colour and until someone manages to create a plugin for it..." and then they referred to the vesternet page above. I expected them to create the plugins needed for my devices to work.

If anyone have more input on how to make all colors work, please reply in this thread!

(btw, this forum have the worst captcha ive ever seen!)

Offline garrettfarmer

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Zipato RGBW Bulb
« Reply #19 on: February 25, 2015, 01:25:53 pm »
I agree I have tried for hours using the suggested work around with absolutely not luck.

Please can someone from Vera respond to this and give us a way to use the tech we have paid for!!!!!

(Yes and the captcha sucks!)

Offline tiaanv

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +2/-0
Re: Zipato RGBW Bulb
« Reply #20 on: March 26, 2015, 02:59:53 pm »
OK... just fyi.... I struggled with this, and was just about to write it off,  then I played aroung with the RGB controller Plugin... it's really designed to work with the Fibaro RGBW module, but it at least it made the zipato bulb change colors, albeit incorrectly... then when i looked at my upnp log, I saw that the NODE that it was sending the setcolour command data to was NOT the NODEID of the actual device.... it was the ALTID...  In my setup the normal ID for this node is 127, but the ALTID is 12..... when I changed the Luup code from
expected:

luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='127',Data='51 5 10 0 0 1 0 2 0 3 0 4 50'},1);
to:

luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='12',Data='51 5 10 0 0 1 0 2 0 3 0 4 50'},1);


BOOM!!! Presto it works charmingly!!!


My next objective it to modify the RGBcontroller plugin code to work with the Zipato RGBW Bulb... I'll have it done in a day or two, hectic schedule for the weekend permitting.


Hope this helps some of you!


EDIT:  No need to edit the existing RGB Controller plugin really.... if you set the deviceID in the variables to the Zipato Bulb's ID it just works...  Quite well :)



« Last Edit: March 26, 2015, 03:21:43 pm by tiaanv »
Vera Edge 1.7.961 - Follow me. I know exactly where I'm not going.
**CBUS Vera Interface plugin (creator),SmartSwitch (unofficial dev with permission)**

Offline vosmont

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 687
  • Karma: +60/-8
Re: Zipato RGBW Bulb
« Reply #21 on: March 27, 2015, 04:11:33 am »
@tiaanv

I was about to suggest you to just change this variable "deviceId"  :)

Delighted that the plugin also works with the Zipato.
I will change the panel to let the ability to set this device.

Offline tiaanv

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +2/-0
Re: Zipato RGBW Bulb
« Reply #22 on: March 27, 2015, 04:23:04 am »
@tiaanv

I was about to suggest you to just change this variable "deviceId"  :)

Delighted that the plugin also works with the Zipato.
I will change the panel to let the ability to set this device.


Hey @vosmont


Awesome.  I might be slightly hijacking this thread, but I get some weird behavior when using the sliders.  The #RGBW don'ts always reflect the slider movements I made, but using the wheel seems to work better.  I think this might just be some UI7 fun!


Thx for the update!!


BTW... your plugin rocks!
Vera Edge 1.7.961 - Follow me. I know exactly where I'm not going.
**CBUS Vera Interface plugin (creator),SmartSwitch (unofficial dev with permission)**

Offline JS007

  • Sr. Member
  • ****
  • Posts: 319
  • Karma: +1/-3
Re: Zipato RGBW Bulb
« Reply #23 on: March 28, 2015, 03:56:42 am »
very cool, I was able to issue the command above with the altid

and was able to use the RGBW plugin adding the device id (not the altid) manually as well

Offline vosmont

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 687
  • Karma: +60/-8
Re: Zipato RGBW Bulb
« Reply #24 on: March 30, 2015, 05:21:37 am »
Hello,

could you test one by one these lines of code, and confirm that the good color appears ?

Code: [Select]
-- Red
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0xFF 0x03 0x00 0x04 0x00 0x00 0x00"}, 1)

-- Blue
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0x00 0x03 0xFF 0x04 0x00 0x00 0x00"}, 1)

-- Green
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0x00 0x03 0x00 0x04 0xFF 0x00 0x00"}, 1)

-- White
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0x00 0x03 0x00 0x04 0x00 0x00 0xFF"}, 1)

I've fixed a bug in the plugin for the Fibaro device and I would like to know if it still works with the Zipato.

It seems that the size of following data, in multiple colour channels, is the number of colors (1 byte for the color and  byte for the value) and not the number of bytes to send.

Offline JS007

  • Sr. Member
  • ****
  • Posts: 319
  • Karma: +1/-3
Re: Zipato RGBW Bulb
« Reply #25 on: March 31, 2015, 09:19:20 pm »
-- Red
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0xFF 0x03 0x00 0x04 0x00 0x00 0x00"}, 1)

the above was red very light red, probable by bulb design though, not sure

-- Blue
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0x00 0x03 0xFF 0x04 0x00 0x00 0x00"}, 1)

the above was green...

-- Green
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0x00 0x03 0x00 0x04 0xFF 0x00 0x00"}, 1)

the above was blue

-- White
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x04 0x02 0x00 0x03 0x00 0x04 0x00 0x00 0xFF"}, 1)

Yellow I think, looked yellow to me anyways :)

fyi - the color wheel on version  0.9 of the RGB Controller plugin is showing correct colors, same as see above
« Last Edit: March 31, 2015, 09:32:15 pm by JS007 »

Offline vosmont

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 687
  • Karma: +60/-8
Re: Zipato RGBW Bulb
« Reply #26 on: April 01, 2015, 03:26:14 am »
OK  :)
I was wrong, I reversed blue and green

Last thing, could you test this line ?
Code: [Select]
-- Cool white
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x05 0x02 0x00 0x03 0x00 0x04 0x00 0x00 0x00 0x01 0xFF"}, 1)

Offline JS007

  • Sr. Member
  • ****
  • Posts: 319
  • Karma: +1/-3
Re: Zipato RGBW Bulb
« Reply #27 on: April 01, 2015, 04:11:33 am »
OK  :)
I was wrong, I reversed blue and green

Last thing, could you test this line ?
Code: [Select]
-- Cool white
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node = <zwaveNodeId>, Data = "0x33 0x05 0x05 0x02 0x00 0x03 0x00 0x04 0x00 0x00 0x00 0x01 0xFF"}, 1)

was bright white

Offline vosmont

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 687
  • Karma: +60/-8
Re: Zipato RGBW Bulb
« Reply #28 on: April 01, 2015, 05:23:17 am »
ok thanks

I will release a new version of the RGB Controller compliant with the Zipato RGBW Bulb.

Offline JS007

  • Sr. Member
  • ****
  • Posts: 319
  • Karma: +1/-3
Re: Zipato RGBW Bulb
« Reply #29 on: April 01, 2015, 10:23:44 am »
ok thanks

I will release a new version of the RGB Controller compliant with the Zipato RGBW Bulb.

cool, thanks for your support on this, much appreciated, great plugin for the Zipato Bulb....


.
« Last Edit: April 01, 2015, 10:26:33 am by JS007 »