PLUGIN: RGB Controller (UI5 & UI7) - V1.41

[quote=“sorliden, post:100, topic:187690”]Warning for Vera Firmware 1.7.1569!
I have a Aeotec LED Bulb ZW098. After upgrading my Vera Edge to Firmware 1.7.1569 doesn’t the RGB Controller find the Aeotec LED Bulb. :'([/quote]

Just a FYI…

UI7 7.0.12 has native support for color change bulbs (Device ID: urn:schemas-upnp-org:device:DimmableRGBLight:1) and the Aeotec bulbs (Device ID: urn:schemas-upnp-org:device:DimmableRGBLight:2) specifically. If you add the bulb with the “add device” wizard, it will properly set it up for you.

Native support, however, does not have all the fancy features of the RGB Controller plugin.

You will find a new version here :

The type of the Aeon device has changed to “urn:schemas-upnp-org:device:DimmableRGBLight:2

Just upload the file “J_RGBController1.js” without Luup reload and refresh your browser.[/quote]

It doesn?t work.

Control: RGBW device ID is not set
Settings: Error executing function RGBController.showSettings():
Color Wheel: Error executing function RGBController.showColorWheel():

It doesn?t work.

Control: RGBW device ID is not set
Settings: Error executing function RGBController.showSettings():
Color Wheel: Error executing function RGBController.showColorWheel():[/quote][/quote]
Hello,
if your current version is the 1.33 (from apps.mios.com), you should take all the files in “luup files” from Github.

I have taken all the files.

GET_LANG(system_error,System error) : Device: 72. Fail to load implementation file D_RGBController1.xml

[quote=“marsx79, post:104, topic:187690”]I have taken all the files.

GET_LANG(system_error,System error) : Device: 72. Fail to load implementation file D_RGBController1.xml[/quote]
I’ve never seen this error
Could you give your Vera type and the firmware version ? How have you installed the RGBController plugin ?

mine : VeraEdge 1.7.1569

[quote=“vosmont, post:105, topic:187690”][quote=“marsx79, post:104, topic:187690”]I have taken all the files.

GET_LANG(system_error,System error) : Device: 72. Fail to load implementation file D_RGBController1.xml[/quote]
I’ve never seen this error
Could you give your Vera type and the firmware version ? How have you installed the RGBController plugin ?

mine : VeraEdge 1.7.1569[/quote]

I installed the plugin from the web ui under apps.
Vera3 1.7.719

Looking at this post http://forum.micasaverde.com/index.php/topic,34486.msg257494.html#msg257494
it seems that your Vera doesn’t find the file “D_RGBController1.xml” or perhaps this file is malformed.

Can you you try with the file attached ?

[quote=“vosmont, post:107, topic:187690”]Looking at this post http://forum.micasaverde.com/index.php/topic,34486.msg257494.html#msg257494
it seems that your Vera doesn’t find the file “D_RGBController1.xml” or perhaps this file is malformed.

Can you you try with the file attached ?[/quote]

No sorry, it doesn?t work with this file.
RGB controller device[97] : Lua Engine Failed to Load

[quote=“marsx79, post:108, topic:187690”][quote=“vosmont, post:107, topic:187690”]Looking at this post http://forum.micasaverde.com/index.php/topic,34486.msg257494.html#msg257494
it seems that your Vera doesn’t find the file “D_RGBController1.xml” or perhaps this file is malformed.

Can you you try with the file attached ?[/quote]

No sorry, it doesn?t work with this file.
RGB controller device[97] : Lua Engine Failed to Load[/quote]

Can you test with these files ? (can not send them by PM)

[quote=“vosmont, post:109, topic:187690”][quote=“marsx79, post:108, topic:187690”][quote=“vosmont, post:107, topic:187690”]Looking at this post http://forum.micasaverde.com/index.php/topic,34486.msg257494.html#msg257494
it seems that your Vera doesn’t find the file “D_RGBController1.xml” or perhaps this file is malformed.

Can you you try with the file attached ?[/quote]

No sorry, it doesn?t work with this file.
RGB controller device[97] : Lua Engine Failed to Load[/quote]

Can you test with these files ? (can not send them by PM)[/quote]

Hi vosmont.

You are the best! :slight_smile: It works!

Pfiou !

It was my last attempt ;D

I’ve converted the end of line in Unix format in all files going into the Vera.

But that reveals a problem : VeraEdge and Vera3 with UI7 don’t work exactly the same.
My VeraEdge didn’t complain with these files with different kinds of newline types.

Does anyone have a LUA script that will allow me to constantly change from Red to Green, then start the process all over again?

Right now all i can do is make it go from Red to Green, then it does nothing else but stay at green

I’ve got the plugin working on UI7 with my Fibaro RGBW but imperihome doesn’t see the plugin devices and the Vera app doesn’t let me use them. Any way to at least get imperihome?

Dear Vosmont,

Quick msg to let you know that I’m delighted with your plugin! Great work!!! I’m very pleased it it. Works great with my Vera Edge UI7 + Fibaro RGBW Controller.
Thanks again for your great work!

The only thing missing is being able to use it on iPhone/Android Vera apps - but I guess that’s not your fault! :slight_smile:

Keep up the great work!

I downloaded the json.lua and the RGB plugin is working. However you mention one can also use the dkjson.lua. I don’t care which one I used but now I get this error in my logs…

luup_log:436: (RGBController::initPluginInstance) Device #436 of type FGRGBWM-441 is correctly configured <0x2bf7f680>
06 12/06/15 9:12:20.745 Device_Variable::m_szValue_set device: 436 service: urn:upnp-org:serviceId:RGBController1 variable: Message was: now: #hooks: 0 upnp: 0 v:0x12854b8/NONE duplicate:1 <0x2bf7f680>
01 12/06/15 9:12:20.750 luup_require can’t find dkjson

So now how do I stop this error? Your dkjson.lua file is no longer in the Mios library otherwise I would have just used it instead.

[quote=“bucko, post:115, topic:187690”]01 12/06/15 9:12:20.750 luup_require can’t find dkjson

So now how do I stop this error? Your dkjson.lua file is no longer in the Mios library otherwise I would have just used it instead.[/quote]

Hello,
if you’re with UI5, there’s no problem. The plugin tries first to load the dkjson library and then the json library.
The next release will remove this error message.

[quote=“vosmont, post:116, topic:187690”][quote=“bucko, post:115, topic:187690”]01 12/06/15 9:12:20.750 luup_require can’t find dkjson

So now how do I stop this error? Your dkjson.lua file is no longer in the Mios library otherwise I would have just used it instead.[/quote]

Hello,
if you’re with UI5, there’s no problem. The plugin tries first to load the dkjson library and then the json library.
The next release will remove this error message.[/quote]

I’m on UI5 so I should just ignor this error. I downloaded the json.lua and it’s working, just getting the dkjson error.

[quote=“cybrmage, post:101, topic:187690”][quote=“sorliden, post:100, topic:187690”]Warning for Vera Firmware 1.7.1569!
I have a Aeotec LED Bulb ZW098. After upgrading my Vera Edge to Firmware 1.7.1569 doesn’t the RGB Controller find the Aeotec LED Bulb. :'([/quote]

Just a FYI…

UI7 7.0.12 has native support for color change bulbs (Device ID: urn:schemas-upnp-org:device:DimmableRGBLight:1) and the Aeotec bulbs (Device ID: urn:schemas-upnp-org:device:DimmableRGBLight:2) specifically. If you add the bulb with the “add device” wizard, it will properly set it up for you.

Native support, however, does not have all the fancy features of the RGB Controller plugin.[/quote]

Dear cybrmage

Thanks for the reply. Sorry for the delay in response.
I’m now running FW 1.7.1598.
I have just reinstalled my LED Bulb.
But it still don’t get the device type “urn:schemas-upnp-org:device:DimmableRGBLight:2”.
And I still can’t change colour in the LED device nor through the RGB controller device.
Can a switch to that type manually?
Where have you found the information about “urn:schemas-upnp-org:device:DimmableRGBLight:2”?

Nice work nice controller, works ok with the zipato rgbw
Does some has some examples of nice rgbw values voor some scenes such as, romantic, relax, reading

I have a problem. I choose the device type Zipato RGBW Bulb in settings, but I can’t choose device because there’s no devices in the list.
But I have Zipato RGBW Bulb connected to my controller. Why?

Vera Edge, UI7