Page 1 of 2
The Button by Fibaro
Posted: Tuesday 13 September 2016 10:56
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
Re: The Button by Fibaro
Posted: Monday 19 September 2016 15:43
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
Re: The Button by Fibaro
Posted: Monday 19 September 2016 15:45
by cattoo
Thanx for that

So it just to wait and see then.
Re: The Button by Fibaro
Posted: Friday 18 November 2016 17:30
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.
Re: The Button by Fibaro
Posted: Thursday 05 January 2017 14:46
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.
Re: The Button by Fibaro
Posted: Thursday 05 January 2017 15:11
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
Re: The Button by Fibaro
Posted: Thursday 05 January 2017 18:34
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.
Re: The Button by Fibaro
Posted: Thursday 05 January 2017 19:30
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?
Re: The Button by Fibaro
Posted: Thursday 05 January 2017 22:24
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
Re: The Button by Fibaro
Posted: Friday 06 January 2017 8:40
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
Re: The Button by Fibaro
Posted: Friday 06 January 2017 22:30
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
Re: The Button by Fibaro
Posted: Tuesday 17 January 2017 17:06
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
Re: The Button by Fibaro
Posted: Tuesday 17 January 2017 20:17
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
Re: The Button by Fibaro
Posted: Tuesday 24 January 2017 8:55
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
Re: The Button by Fibaro
Posted: Tuesday 24 January 2017 9:10
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!
Re: The Button by Fibaro
Posted: Friday 27 January 2017 8:59
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¶m=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
Re: The Button by Fibaro
Posted: Friday 27 January 2017 9:25
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,
Re: The Button by Fibaro
Posted: Friday 27 January 2017 19:59
by xeonpj
thanks!! working!!!
Re: The Button by Fibaro
Posted: Wednesday 22 March 2017 11:12
by jacoblo
Any update on this issue since last post?
/Jacob
Re: The Button by Fibaro
Posted: Tuesday 11 July 2017 22:25
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