Page 1 of 1

FIbaro FGS double switch problems

Posted: Friday 19 August 2016 9:50
by jorgitold
It is normal this error message . ( See attachment )
Captura.JPG
Captura.JPG (113.7 KiB) Viewed 1503 times
I can activate the device from the switch and with a url api / json but when I try from blocky not work
blockly.JPG
blockly.JPG (22.15 KiB) Viewed 1503 times
Only swicth conected
Raspberry PI 3, Domoticz 4834 , Controller: AEOTEC Z-Stick Gen5 usb, Devices: Fibaro FGS-222

Re: FIbaro FGS double switch problems

Posted: Friday 19 August 2016 9:53
by Egregius
All my devices that have the test status field are indicated as failed, so I wouldn't mind about it much.
Probably something wrong in your blockly but I don't know anything about that.

Re: FIbaro FGS double switch problems

Posted: Friday 19 August 2016 10:12
by StanHD
Hi, you have used the wrong Control Block. If you do not have an "else If" then you should use the block without the Blue "+"
Then it should work :)

Re: FIbaro FGS double switch problems

Posted: Friday 19 August 2016 10:22
by jorgitold
my configuratio is:
controler.JPG
controler.JPG (31.52 KiB) Viewed 1492 times
nodes
nodes.JPG
nodes.JPG (72.05 KiB) Viewed 1492 times
FIbaro device configuration
fibaro configuration.JPG
fibaro configuration.JPG (164.87 KiB) Viewed 1492 times
Only I just want to turn Fibaro double switch from blocky

my blocky :
IF true
do set switch LUZ_ENTRADA = ON

I feel should be very easy but it does not work
thanks

Re: FIbaro FGS double switch problems

Posted: Friday 19 August 2016 10:26
by Egregius
Have you tried the reply from StanHD?
Now you use a if/else block without an else. If only one if is nescessary you must use a simple if block.

Re: FIbaro FGS double switch problems

Posted: Friday 19 August 2016 10:56
by jorgitold
It works right now , a beginner's mistake . thank you very much