How do I activate the Else-if part ?

Moderator: leecollings

Post Reply
User avatar
perwei
Posts: 16
Joined: Monday 13 February 2017 13:22
Target OS: Linux
Domoticz version: 2020.2
Location: Hønefoss, Norway
Contact:

How do I activate the Else-if part ?

Post by perwei »

Hi

I'm quite new to Blockly and I'm completely unable to activate the else-if part of the if-then-else control. I'm clicking on the blue wheel and click on else-if but nothing happens. Dragging the if-else block doesn't help either. Any hints please ?
Raspberry Pi 3/Raspbian GNU/Linux
Z-Wave.Me Razberry2 Z-Wave controller
3 x Aeotec ZW100 Multisensor 6
1 x Aeotec Smart Dimmer 6
2 x FIBARO System FGWPE Wall Plug
2 x FIBARO Dimmer 2 FGD-212
1 x FIBARO System FGK10x Door Sensor
1 x Popp Wall Controller
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How do I activate the Else-if part ?

Post by htilburgs »

Hi there,

You have to drag the Else UNDER the first IF (or second, or...) in the new windows you see, when you click the blue wheel.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
Abbadon
Posts: 40
Joined: Thursday 01 October 2015 8:25
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland, Wrocław
Contact:

Re: How do I activate the Else-if part ?

Post by Abbadon »

drag it under if statment ;)
User avatar
perwei
Posts: 16
Joined: Monday 13 February 2017 13:22
Target OS: Linux
Domoticz version: 2020.2
Location: Hønefoss, Norway
Contact:

Re: How do I activate the Else-if part ?

Post by perwei »

Ok, thanks, works ok now. I didn't catch I had to drag it WITHIN the new window.
Raspberry Pi 3/Raspbian GNU/Linux
Z-Wave.Me Razberry2 Z-Wave controller
3 x Aeotec ZW100 Multisensor 6
1 x Aeotec Smart Dimmer 6
2 x FIBARO System FGWPE Wall Plug
2 x FIBARO Dimmer 2 FGD-212
1 x FIBARO System FGK10x Door Sensor
1 x Popp Wall Controller
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: How do I activate the Else-if part ?

Post by blauwebuis »

This design is so weird, I think everyone has had this problem :-)
robgeisink
Posts: 7
Joined: Wednesday 27 May 2020 13:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How do I activate the Else-if part ?

Post by robgeisink »

I'm having a problem. I can't drag it out of the box where it appears....not even under a "IF"
Jus't won't leave the selectionbox :-(
wouterlet
Posts: 109
Joined: Tuesday 02 October 2018 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How do I activate the Else-if part ?

Post by wouterlet »

Search for "else if" on this page and you'll find how:

https://www.domoticz.com/wiki/Blockly
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest