more G-Labs products

Author Topic: Automatic addition of Virtual Modules for Fibaro Zwave 221 and Fibaro RGBW 441  (Read 2613 times)

February 09, 2014, 07:04:13 PM
Read 2613 times

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Hello,

After multiples tries, it's very difficult to automatically insert Virtual modules for multi instances  part as MultiLvel Switch or Dimming.
I join the log file.
In this log I don't play with Multiinstance Dimmer only with 2 Fibaro 221
We can see at the first Setup the line  SwitchBinayCount = 2 doesn't appear.
And It's a lot of Call Setup Get Node Info to have The virtual Node added in the list of modules ZWave.

I have made try with PC x86 linux in r327 and with RassBerry PI with the patches you have posted yesterday evening. The result is the same.

I am free for multiples tests if you need.

Best regards.
DaniMail

February 11, 2014, 12:07:39 PM
Reply #1

Gene

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

can you try by calling manually the api call:

http://hg_address/api/HomeAutomation.ZWave/2/NodeInfo.Get/

and see if it gets the instances count response regularly.
Pheraps the "node info get" is sent too early, when the node is still busy with the "manufacturer specific get" response.
I am not experiencing this problem with aeon dual switch.
Eventually I can put an extra delay between the two calls (manufacuter and nodeinfo get).

Cheers,
g.

February 11, 2014, 03:38:03 PM
Reply #2

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Hello Gene,

With NodeInfo.Get , I get always the answer. It takes around 5 to 6 seconds from a blank page of chromium :
[{ ResponseValue : '04 10 01 72 86 70 85 8E 60 25 27 7A 73 EF' }]

With ManufacturerSpecific.Get , I get always the answer. It takes around 1 to 2 seconds from a blank page of chromium :
[{ ResponseValue : '010F:0200:100A' }]

I think the delay to extend is for wait the answer of NodeInfo.Get

Cheers.
Dani
« Last Edit: February 11, 2014, 03:40:35 PM by dani »

February 11, 2014, 03:58:10 PM
Reply #3

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Hi Gene,

Some other indications :
I used now HomeGenie in Terminal Console :
$ mono HomeGenie.exe
 In this case  the 2 api functions return always :
[{ ResponseValue : '' }]

Cheers.
Dani

September 30, 2014, 10:09:03 PM
Reply #4

Bitcraze

  • ***
  • Information
  • Full Member
  • Posts: 73
Hi, all

Any news on the RGBW 441 and HomeGenie?


Thanks,

Eugene

October 13, 2014, 08:52:34 AM
Reply #5

Bitcraze

  • ***
  • Information
  • Full Member
  • Posts: 73
Hi,

I have also managed to get it working over the weekend.

I upgraded to R416, rebooted. Then I also picked up on what I think the reason was: I had 2 plug-ins for Fibaro RGBW, in 2 different places. I noted a refence from Gene re PID1000, so I disabled the one that was PID. I should have left PID503 running and removed the manually added PID1000.

I can now control colours and use manual switches.

Thanks, so much.

Kind regards,


Eugene