The Button by Fibaro

For Z-Wave related questions in Domoticz

Moderator: leecollings

cattoo
Posts: 60
Joined: Sunday 20 September 2015 17:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3072
Location: Sweden
Contact:

The Button by Fibaro

Post by cattoo »

Hi all,
Does anyone know if the "The Button" works in domoticz. Could not find any information about it.
http://www.vesternet.com/z-wave-fibaro-button
Glatzi
Posts: 13
Joined: Monday 19 September 2016 8:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by Glatzi »

Hi there, in the actual beta it is recognized but does not work. From what I've read there are changes in OZW necessary, because the Button needs support for central scenes which will be implemented with OZW 1.6
RPi3+UZB1,FIBARO FGMS001(9x),FIBARO FGD212,FIBARO FGRM222(6x),FIBARO FGSD002(1x),FIBARO FGWPE (3x),Neo CoolCam Power plug(5x),NodOn CRC-3-1 Remote(2x),Qubino ZMNHADx(1x),Qubino ZMNHDD1(2x),Z-Wave Weather Sensor(1x),Z-Wave ZME_WALLC-S,FIBARO System FGK10x
cattoo
Posts: 60
Joined: Sunday 20 September 2015 17:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3072
Location: Sweden
Contact:

Re: The Button by Fibaro

Post by cattoo »

Thanx for that :D So it just to wait and see then.
Logread
Posts: 228
Joined: Sunday 28 August 2016 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: The Button by Fibaro

Post by Logread »

In case this helps anyone, you can actually use the Fibaro FGPB101 Button with Domoticz through zwave associations, meaning you can associate one or more zwave devices with the Fibaro Button using association group 2 (for on/off) or 3 (for dimmers) for the buttons...

Using Domoticz 3.5942 I have been able to drive a Fibaro FGS223 Double Relay (new version notoriously difficult to handle for zwave controllers) with two Fibaro FGPB101 Button, using multichannel association from the openzawave control panel: my first button has a group 2 association with the FGS223 switch 1 using node x.1 and the second button also a group 2 association with the FGS223 switch 2 using node x.2 (where X is the zwave node number of the FGS223

Obviously I am however eagerly waiting for openzwave/domoticz to support zwave central scenes and use the Fibaro Button for more complex automation.
foogy
Posts: 6
Joined: Thursday 03 November 2016 20:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by foogy »

Logread wrote:In case this helps anyone, you can actually use the Fibaro FGPB101 Button with Domoticz through zwave associations, meaning you can associate one or more zwave devices with the Fibaro Button using association group 2 (for on/off) or 3 (for dimmers) for the buttons...

Using Domoticz 3.5942 I have been able to drive a Fibaro FGS223 Double Relay (new version notoriously difficult to handle for zwave controllers) with two Fibaro FGPB101 Button, using multichannel association from the openzawave control panel: my first button has a group 2 association with the FGS223 switch 1 using node x.1 and the second button also a group 2 association with the FGS223 switch 2 using node x.2 (where X is the zwave node number of the FGS223

Obviously I am however eagerly waiting for openzwave/domoticz to support zwave central scenes and use the Fibaro Button for more complex automation.
Have you been able to control S2 for scene activation via the FGPB101-button? I have only been able to control S1 (where my light is connected). I have nothing connected to S2, but I would like to be able to activate a scene by pushing the FGPB101 - button.
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

question... what is exactly a zwave central scene?

i use domoticz and I have the OCTAN Remote and i can execute actions, if i click button 1 then execute scene A ...

I mean, i can execute zwave scenes using the remote.. so, what am i missing related to the fibaro button?

thanks in advance for the explantaion,

nim
Logread
Posts: 228
Joined: Sunday 28 August 2016 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: The Button by Fibaro

Post by Logread »

foogy wrote:Have you been able to control S2 for scene activation via the FGPB101-button? I have only been able to control S1 (where my light is connected). I have nothing connected to S2, but I would like to be able to activate a scene by pushing the FGPB101 - button.
I actually have two Buttons, each associated with a channel on the FGS223... so one Button controls S1 and the other S2... it is kind of hard coded so to say... when scenes get supported by openzawave then the click sequences (eg 1click, 2 clicks, etc) could control different actions/devices by the controller with just one button... At least that's my understanding.
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

i am still confused. i see you control your fibaro via association, but I can activate scenes via the OCTAN Remote. I use the remote to control, for instance, one click executes scene a, double click scene b, and so on.

I go to domoticz scenes, set up my scene, then click on Activation Devices - add decives and i get a differente device base on the combination of button clicks (up to 16)

What is exactly then a Central Scene?
Logread
Posts: 228
Joined: Sunday 28 August 2016 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: The Button by Fibaro

Post by Logread »

nizaga wrote:i am still confused. i see you control your fibaro via association, but I can activate scenes via the OCTAN Remote. I use the remote to control, for instance, one click executes scene a, double click scene b, and so on.

I go to domoticz scenes, set up my scene, then click on Activation Devices - add decives and i get a differente device base on the combination of button clicks (up to 16)

What is exactly then a Central Scene?
Very interesting.. I do not know about the Octan remote but if it is a zwave device then it means we should be able to do same with the Fibaro Button... not consistent with what has generally been posted about the topic but this is to be investigated for sure. I am relatively new to Domoticz so expert advise is welcome
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

Hi, i have ordered a fibaro button... maybe you could try to add a domoticz scene and then click activation devices and then try a fibaro button combination.

The octan remote is a zwave device and i ensure i am launching different domoticz scenes.

Please try and let us know


Enviado desde mi iPhone utilizando Tapatalk Pro
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

further information.

from nodon octan user guide: http://www.vesternet.com/downloads/dl/f ... _guide.pdf

We strongly advise you to use « CENTRAL SCENE », which is more user friendly.
However, some home automation gateways don’t support « CENTRAL SCENE »
yet, then you can still use the previous standard « SCENE ACTIVATION ».
The user interface of your gateway will then allow you to set-up scenes

Parameter 3 in domoticz device config file:

<Value type="list" index="3" genre="config" label="Scene Type" min="0" max="1" size="1" value="0">
<Help>This parameter configures the type of command sent when the product is in "Gateway Centric Mode", with buttons profile configuration set in "Scene Behavior".</Help>
<Item label="Central Scene" value="0"/>
<Item label="Scene Activation" value="1"/>
</Value>

Still confused what Scene Activation is compared to Central Scene (i guess in Central Scene you manage scenes different in the gateway UI).

Could the fibaro button work on scene activation mode???

Regards,

nim
micha_pr
Posts: 82
Joined: Friday 24 October 2014 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany, near Berlin
Contact:

Re: The Button by Fibaro

Post by micha_pr »

As far as I know there will be needed a new OZW release - or a patch.

Central Scene Command Class was/is not full supported by OZW, that's why there are problems with some devices.

https://github.com/OpenZWave/open-zwave/issues/367
https://github.com/OpenZWave/open-zwave/pull/993

Michael
Michael Pruefer
----------------------------
http://www.zwave-review.com (German only)
http://www.SmartHome.Work (German only)
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

Well...i have a "dirty" workarround to use the button until OZW 1.6 is released...

You can run a script that is listening

sudo tail -f /home/pi/domoticz/Config/OZW_Log.txt | grep Node065- add here your expressions

for the number of times you push the button, where

0x80 is one time
0x83 is twice
0x84 is three times
0x85 is four times

I have checked it several times and the number is consistentin every test (others are not)

2017-01-17 20:11:29.248 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x4d, 0x80, 0x01, 0x20
2017-01-17 20:11:29.250 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7680 seconds. Sending event notification.
2017-01-17 20:11:29.250 Warning, Node065, No ValueID created for Scene 1

2017-01-17 20:11:31.798 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x4e, 0x83, 0x01, 0x20
2017-01-17 20:11:31.799 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7860 seconds. Sending event notification.
2017-01-17 20:11:31.800 Warning, Node065, No ValueID created for Scene 1

2017-01-17 20:11:33.778 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x4f, 0x84, 0x01, 0x26
2017-01-17 20:11:33.780 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7920 seconds. Sending event notification.
2017-01-17 20:11:33.781 Warning, Node065, No ValueID created for Scene 1

2017-01-17 20:11:36.028 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x50, 0x85, 0x01, 0x38
2017-01-17 20:11:36.029 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7980 seconds. Sending event notification.
2017-01-17 20:11:36.030 Warning, Node065, No ValueID created for Scene 1

You can use even monit and then execute an action based on the number of clicks and run a http command to turn on / of a scene.

I know, it is not a nice way but it works:)

Regards,

Nim
xeonpj
Posts: 10
Joined: Sunday 11 September 2016 13:00
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by xeonpj »

nizaga wrote:Well...i have a "dirty" workarround to use the button until OZW 1.6 is released...

You can run a script that is listening

sudo tail -f /home/pi/domoticz/Config/OZW_Log.txt | grep Node065- add here your expressions

for the number of times you push the button, where

0x80 is one time
0x83 is twice
0x84 is three times
0x85 is four times

I have checked it several times and the number is consistentin every test (others are not)

2017-01-17 20:11:29.248 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x4d, 0x80, 0x01, 0x20
2017-01-17 20:11:29.250 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7680 seconds. Sending event notification.
2017-01-17 20:11:29.250 Warning, Node065, No ValueID created for Scene 1

2017-01-17 20:11:31.798 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x4e, 0x83, 0x01, 0x20
2017-01-17 20:11:31.799 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7860 seconds. Sending event notification.
2017-01-17 20:11:31.800 Warning, Node065, No ValueID created for Scene 1

2017-01-17 20:11:33.778 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x4f, 0x84, 0x01, 0x26
2017-01-17 20:11:33.780 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7920 seconds. Sending event notification.
2017-01-17 20:11:33.781 Warning, Node065, No ValueID created for Scene 1

2017-01-17 20:11:36.028 Detail, Node065, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x41, 0x05, 0x5b, 0x03, 0x50, 0x85, 0x01, 0x38
2017-01-17 20:11:36.029 Info, Node065, Received Central Scene set from node 65: scene id=1 in 7980 seconds. Sending event notification.
2017-01-17 20:11:36.030 Warning, Node065, No ValueID created for Scene 1

You can use even monit and then execute an action based on the number of clicks and run a http command to turn on / of a scene.

I know, it is not a nice way but it works:)

Regards,

Nim

thanks!!

A practical example, please.

to understand better.

thanks for your time
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

Point to your OZW_Log.txt file (you need to enable debug, normaly the file is under /home/pi/domoticz/Config, mine is under /var/tmp (in memory, but this is not relevant now)

and then run a script, like this: in my case, the button is Node065 (change the node number to yours), i call the script with different paramenters, $1 is the number of the button clicks (0x80, 0x83..), $2 is the idx of the switch, $3 is the command (on /of... ) etc...

call the script (command line) like _(samble) myscript.sh 0x80 120 on >/dev/null &

this will execute ON in the device IDX 120 in domoticz whenever you click one in the button (0x80)

tail -fn0 /var/tmp/OZW_Log.txt | \
while read line ; do
echo "$line" | grep Node065.*"$1"
if [ $? = 0 ]
then
sudo curl -s -i -H "Accept: application/json" "http://127.0.0.1:8080/json.htm?type=com ... &passcode="
fi
done

enjoy!
xeonpj
Posts: 10
Joined: Sunday 11 September 2016 13:00
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by xeonpj »

First of all thanks!

I do not understand English well.

first step:

Code: Select all

To activate debug mode in domoticz from config file.
second step:

Code: Select all

Press the button once and see the log file that is generated, get data.( NodeXXX )
third step:

I create a file that I call "myscript.sh" (for example), with the code:

Code: Select all

Tail -fn0 /var/tmp/OZW_Log.txt | \
While read line; do
Echo "$ line" | Grep NodeXXX. * "$ 1"
If [$? = 0]
Then
Sudo curl -s -i -H "Accept: application / json" "http://127.0.0.1:8080/json.htm?type=command&param=switchlight&idx=$2&switchcmd=$3&level=0&passcode="
Fi
Done 
fourth step:

Code: Select all

I copy the script.sh into the domoticz script folder
fifth step:

I call the script from a scene with:

Code: Select all

Script://myscript.sh 0x80 120 on> / dev / null &


Would it be all correct? Or I misunderstood it.

thanks for your time.

PD: I have installed domoticz in a synology

PD2: File path synology:

Code: Select all

/volume1/@appstore/domoticz/var/OZW_Log.txt
Last edited by xeonpj on Friday 27 January 2017 12:13, edited 2 times in total.
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

you need to run the script in background, so you don't need a scene. Just copy the script on your folder under for instance /home/pi/scripts, assign the right permissions using chmod and then execute "sudo bash myscript.sh 0x80 120 on> /dev/null &

Remember: my script is pointing to /var/tmp/OZW_Log.txt ... probably your OZW_Log.txt is running in another location.

regards,
xeonpj
Posts: 10
Joined: Sunday 11 September 2016 13:00
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by xeonpj »

thanks!! working!!!
jacoblo
Posts: 1
Joined: Wednesday 22 March 2017 11:08
Target OS: Windows
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by jacoblo »

Any update on this issue since last post? :-)

/Jacob
nizaga
Posts: 69
Joined: Monday 30 November 2015 11:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: The Button by Fibaro

Post by nizaga »

I installed jeedom in another rpi, added a USB zwave stick and the button is recognized. I have not migrated to jeedom, I just use a virtual switch in jeedom to call a domoticz url switch and it works great


Enviado desde mi iPhone utilizando Tapatalk Pro
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests