Re: Add new device Fibaro FGR-223 Roller Version 3
Posted: Thursday 10 December 2020 20:09
Hi Warens, I tried your script but I get this error message in the logfile:
2020-12-10 19:52:27.963 Error: dzVents: Error: (3.0.2) method switchSelector not available for type Blinds Percentage Inverted
2020-12-10 19:52:27.963 Error: dzVents: Error: (3.0.2) An error occurred when calling event handler DzVents Fibaro Rollershutter 03
2020-12-10 19:52:27.963 Error: dzVents: Error: (3.0.2) ...ts/generated_scripts/DzVents Fibaro Rollershutter 03.lua:26: attempt to index a nil value
It has to do with this line of code from your script:
device.switchSelector(level).afterSec(20)
Do you know why it does not workj for me?
2020-12-10 19:52:27.963 Error: dzVents: Error: (3.0.2) method switchSelector not available for type Blinds Percentage Inverted
2020-12-10 19:52:27.963 Error: dzVents: Error: (3.0.2) An error occurred when calling event handler DzVents Fibaro Rollershutter 03
2020-12-10 19:52:27.963 Error: dzVents: Error: (3.0.2) ...ts/generated_scripts/DzVents Fibaro Rollershutter 03.lua:26: attempt to index a nil value
It has to do with this line of code from your script:
device.switchSelector(level).afterSec(20)
Do you know why it does not workj for me?