more G-Labs products

Author Topic: Fibaro RGBW controller not fully functional  (Read 5208 times)

November 27, 2015, 01:58:11 PM
Read 5208 times

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
I don't know if it's a coincidence or not but since upgrading to r503 both my Figaro RGBW controllers are not working fully. They will turn on and turn off, but individual channel control is unresponsive when changed from a script and behave oddly if manually adjusted. Also the widget doesn't change colours of the led strip as it did but strangely the program buttons do perform.

Any ideas?


November 27, 2015, 02:03:08 PM
Reply #1

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
That's strange... I had problems with my Fibaro RGBW controller after upgrading from r500 to r501, so I rolled back to r501 r500.

This morning I upgraded from r500 to r503 and all seems OK, I'll keep my fingers crossed.
« Last Edit: November 27, 2015, 08:47:49 PM by mvdarend »

November 27, 2015, 03:34:33 PM
Reply #2

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
I also upgrade to r501 first. Will try the same roll back and upgrade and see if that sorts it out

November 27, 2015, 03:45:32 PM
Reply #3

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer

November 27, 2015, 04:45:44 PM
Reply #4

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
Thanks Gene. I don't quite follow that other post. In layman's terms what are you saying needs to be done?

November 27, 2015, 05:07:36 PM
Reply #5

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi roger,

I'm saying if you want help testing latest ZWaveLib that should fix all issues reported so far.
In order to test it the following steps are required:

- stop HG
- copy the new ZWaveLib.dll file to the homegenie/lib/mig folder
- ensure no other ZWaveLib.dll file is present in the main homegenie folder nor in the homegenie/lib folder
- start HG

the new file can be downloaded here:

https://sourceforge.net/projects/homegenie/files/testing/

g.

November 27, 2015, 05:17:15 PM
Reply #6

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
Aha, thanks, got it now, sorry to be so dim, but I really wasn't sure which part of that other thread was meant for me! I'll try it now.

November 27, 2015, 05:45:12 PM
Reply #7

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
Hi Gene,

I've replaced the dll file as instructed and checked it is not in the other directories. I'm afraid it has made no difference and the problems persist.

November 27, 2015, 06:07:14 PM
Reply #8

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi roger,

please post the logs.

g.

November 27, 2015, 06:37:19 PM
Reply #9

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
Here you go...

November 27, 2015, 07:27:08 PM
Reply #10

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
hi roger,

I don't see anything odd in the z-wave comm part. Everything is ok. What is odd is that some commands are "dumb". They are not issued at all and they don't produce any z-wave I/o:
For example:
Code: [Select]
2015-11-27;16:34:59.4337;Info;WebServiceGateway 192.168.1.65 HTTP GET 200;/api/HomeAutomation.FibaroRGBW/4/Control.ColorHsb/201,128,142;[OPEN];;;;;;;;;;;;;;;;
2015-11-27;16:34:59.4337;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.ColorHsb 201,128,142;;;;;;;;;;;;;;;;;
2015-11-27;16:34:59.4337;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.Level 1;;;;;;;;;;;;;;;;;
2015-11-27;16:34:59.4337;Info;WebServiceGateway 192.168.1.65 HTTP GET 200;/api/HomeAutomation.FibaroRGBW/4/Control.ColorHsb/201,128,142;[CLOSED;AFTER;0.003;seconds];;;;;;;;;;;;;
2015-11-27;16:35:01.3712;Info;HomeAutomation.PhilipsHue 1 - Meter.Watts 0.0;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:01.3869;Info;HomeAutomation.PhilipsHue 2 - Meter.Watts 11.94;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:01.3869;Info;WebServiceGateway 192.168.1.65 HTTP GET 200;/api/HomeAutomation.FibaroRGBW/4/Control.ColorHsb/248,21,66;[OPEN];;;;;;;;;;;;;;;;
2015-11-27;16:35:01.3869;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.ColorHsb 248,21,66;;;;;;;;;;;;;;;;;
2015-11-27;16:35:01.3869;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.Level 1;;;;;;;;;;;;;;;;;
2015-11-27;16:35:01.3869;Info;WebServiceGateway 192.168.1.65 HTTP GET 200;/api/HomeAutomation.FibaroRGBW/4/Control.ColorHsb/248,21,66;[CLOSED;AFTER;0.002;seconds];;;;;;;;;;;;;
2015-11-27;16:35:01.4025;Info;HomeAutomation.PhilipsHue 3 - Meter.Watts 12.12;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:02.4337;Info;WebServiceGateway 192.168.1.65 HTTP GET 200;/api/HomeAutomation.FibaroRGBW/4/Control.ColorHsb/255,0,54;[OPEN];;;;;;;;;;;;;;;;
2015-11-27;16:35:02.4337;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.ColorHsb 255,0,54;;;;;;;;;;;;;;;;;
2015-11-27;16:35:02.4337;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.Level 1;;;;;;;;;;;;;;;;;
2015-11-27;16:35:02.4494;Info;WebServiceGateway 192.168.1.65 HTTP GET 200;/api/HomeAutomation.FibaroRGBW/4/Control.ColorHsb/255,0,54;[CLOSED;AFTER;0.004;seconds];;;;;;;;;;;;;
2015-11-27;16:35:04.1212;Info;WebServiceGateway 192.168.1.65 HTTP GET 200;/api/HomeAutomation.FibaroRGBW/4/Control.ColorHsb/72,0,255;[OPEN];;;;;;;;;;;;;;;;
2015-11-27;16:35:04.1212;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.ColorHsb 72,0,255;;;;;;;;;;;;;;;;;
2015-11-27;16:35:04.1212;Info;HomeAutomation.FibaroRGBW 4 Virtual;Module Status.Level 1;;;;;;;;;;;;;;;;;

There's api calling to Control.ColorHsb command on node 4, but no z-wave command is sent. So the problem is the Fibaro RGB app that I think mvdarend is fixing (probably already got it working).

Indeed I can see a series of "Basic Set" commands addressed to node 2 and node 3:

Code: [Select]
2015-11-27;16:35:21.6838;Trace;Sending;Message;(Node=2,;CallbackId=41,;Function=SendData,;CommandClass=Basic);;;;;;;;;;;;;
2015-11-27;16:35:21.6838;Debug;01-09-00-13-02-02-20-02-05-41-83;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.7619;Debug;06-01-04-01-13-01-E8;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.7619;Debug;6;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.7619;Trace;SendDataReady;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.8713;Debug;01-05-00-13-41-00-A8;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.8713;Debug;6;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.8713;Trace;Complete;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.8713;Trace;[[[;END;REQUEST;]]];took;188;ms;;;;;;;;;;;;
2015-11-27;16:35:21.9807;Debug;01-09-00-04-00-02-03-20-03-00-D0;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.9807;Debug;6;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.9807;Debug;2;Level;0;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.9807;Info;HomeAutomation.ZWave 2 ZWave;Node Status.Level 0;;;;;;;;;;;;;;;;;
2015-11-27;16:35:21.9807;Info;HomeAutomation.ZWave 2 ZWave;Node ZWaveNode.Basic 0;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.4963;Trace;[[[;BEGIN;REQUEST;]]];;;;;;;;;;;;;;;
2015-11-27;16:35:22.4963;Trace;WaitAck;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.4963;Trace;Sending;Message;(Node=3,;CallbackId=42,;Function=SendData,;CommandClass=Basic);;;;;;;;;;;;;
2015-11-27;16:35:22.4963;Debug;01-09-00-13-03-02-20-02-05-42-81;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.5275;Debug;06-01-04-01-13-01-E8;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.5275;Debug;6;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.5275;Trace;SendDataReady;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.7463;Debug;01-05-00-13-42-00-AB;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.7463;Debug;6;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.7463;Trace;Complete;;;;;;;;;;;;;;;;;;
2015-11-27;16:35:22.7463;Trace;[[[;END;REQUEST;]]];took;251;ms;;;;;;;;;;;;

Where are these coming from?

@mvdarend can you send me the fixed Fibaro.RGB program so I can update it in HG?

Cheers,
g.
« Last Edit: November 27, 2015, 07:31:44 PM by Gene »

November 27, 2015, 07:34:25 PM
Reply #11

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
Thanks Gene, glad you got some sense out of the log, frankly it was all double dutch to me!

I guess I'll roll back to r500 until the next update.

November 27, 2015, 08:11:03 PM
Reply #12

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
Hi Gene, I've been messing around with the modified Fibaro RGBW code so I'll need to give it a clean up first. I'll post it tomorrow. (Have to keep the baby occupied at the moment  :-\)

The problem Roger is seeing sounds exactly like what I was experiencing after upgrading to r501. Calling ColorHsb from a script or selecting a color in the widget was not working. (like the commands were being ignored)

Calling individual color channels from script was also not working at all (also as if the command was being ignored). But the value slider in the widgets for each channel seemed to be working, but they were also affecting the values of other channels. (if I recall correctly.)
« Last Edit: November 27, 2015, 08:26:13 PM by mvdarend »

November 27, 2015, 08:25:26 PM
Reply #13

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
I just checked and I'm still runnning exactly the same version as I posted here: (I had already rolled back to this version after rolling back to r500)
http://www.homegenie.it/forum/index.php?topic=1142.msg7441#msg7441

It's still working for me, Dani had problems with it, but I think that might have actually been due to the same problems Roger and I are also seeing in 501-503. I'm pretty sure my changes won't fix the issue for Roger.

November 27, 2015, 08:35:26 PM
Reply #14

roger.wills

  • ***
  • Information
  • Full Member
  • Posts: 53
Hi mvdarend,

Your description is exactly the issue I have and far more accurately described than me! I've rolled back to r500 and all is good again.