[RELEASE] Fibaro button

dth_remotes

(Adam V) #1

current version: 0.9.1 - 22/01/2017

This is a device handler for the fibaro button device. The device is a simple button that can be used to control many things based on being clicked once, twice, three times, four times, five times or held down.

Install the device handler as normal in the IDE.

Registering Clicks
The device handler uses ST’s numberOfButtons attribute so should be recognised as a 5 button device in most ST made apps, if not it will default to 4… which isnt so bad. Just use each button number in place of the number of clicks that you want to use. For e.g. button 3 pressed = Fibaro button clicked 3 times

Special integration with CoRE
I have made a special integration with CoRE, so that you can use this device to it’s full potential. See below, it should be self explanatory:

device handler below, enjoy!:


Fibaro FGPB-101-1 US The Button, Z-Wave Scene Controller
Fibaro button
Australia - Tired of waiting
Fibaro button "Held" not available in Smart Lighting?
(Martin) #2

Brilliant advert for this button.

I have to get one now to review, a) because of the cool ad and b) because the ST community have already jumped on it and enabled an app. Great work.


(Martin) #3

Anyone know of a US online retailer selling these? Couldn’t find on Amazon??


#4

This is exactly what I am looking for. I wanted a simple large button to push for one specific reason. In the middle of the night press the button and for 10 minutes it would:

  1. disable back door sensor
  2. turn light level to 10%
  3. turn back porch light on
  4. after 10 minutes turn lights off, and re-enable back door sensor

All of this just we can let the dogs out in the middle of the night without stepping on toys setting off alarm, or tripping to our doom.
Can’t quite get wife to agree to the $450 autoslide door opener… go figure.
Just sitting here I can think of a million uses. Now if we can just find some to buy.


(Adam V) #5

There is also the bttn if you like big buttons!

can be integrated with IFTTT (slight delay)


(EinarS) #6

Great work on this one @AdamV
Have a question, do you get battery level on yours?
I have two buttons, and none of them is reporting battery.
Got an EU modell, if there is a difference.

Regards


(Adam V) #7

My Button’s stopped working altogether - and I havent been bothered to return it. However when it was working I was getting the battery


(EinarS) #8

Hehe, typical :slight_smile:
Thank you for answering anyways.

Regards


#9

Just got a couple of Fibaro Buttons (Smartesthouse), and thanks to AdamV, they now run great.


(Bryan Logan) #10

Not sure if I have a bad button or not, but I only get the click event maybe once out of 50 clicks. Every time I click though, I do get a WakeUp and Battery event.

 368cc644-6070-4eee-a28d-1a79a256031a 2:54:50 PM: debug Button Woke Up! v2
368cc644-6070-4eee-a28d-1a79a256031a 2:54:50 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:50 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:49 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:48 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:47 PM: debug Button Woke Up! v2
368cc644-6070-4eee-a28d-1a79a256031a 2:54:47 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:46 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:43 PM: debug Button Woke Up! v2
368cc644-6070-4eee-a28d-1a79a256031a 2:54:43 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:32 PM: debug Button Woke Up! v2
368cc644-6070-4eee-a28d-1a79a256031a 2:54:32 PM: debug Battery: 100
368cc644-6070-4eee-a28d-1a79a256031a 2:54:28 PM: debug Button Woke Up! v2
368cc644-6070-4eee-a28d-1a79a256031a 2:54:28 PM: debug Battery: 100 

But occasionally, I do get an actual click.

368cc644-6070-4eee-a28d-1a79a256031a 2:54:09 PM: debug Button was pushed once
368cc644-6070-4eee-a28d-1a79a256031a 2:54:08 PM: debug payload: [1, 128, 1]
368cc644-6070-4eee-a28d-1a79a256031a 2:54:08 PM: debug sequenceNumber: 1
368cc644-6070-4eee-a28d-1a79a256031a 2:54:08 PM: debug sceneNumber: 1
368cc644-6070-4eee-a28d-1a79a256031a 2:54:08 PM: debug keyAttributes: 0 

Long-press does always work.


(Adam V) #11

I have the exact same issue - if you contact fibaro they will replace them.

I couldn’t be bothered to send them back in the end but they must know about the issue


(Patrick) #12

I want to thank you for taking the time with this Handler. I was curious how to configure it. I’m in core and I don’t see anything mentioned button clicks but just presses. I’m sure I have something wrong but I was wondering if you had any thoughts. Thank you!


(Tim) #13

Just installed my big red Fibaro button.
Big thanks to AdamV for writing the device handler. I Installed v0.9.0 of the DH
Created a Routine in the ST app.
I can configure the routine to run on 1-click, 2-clicks, 3-clicks, 4-click, 5-clicks and it works perfectly:grinning:

But no way of configuring the routine to run on a press&hold event.
Am I missing something?


(Robin) #14

Use CoRE for hold events


(Bobby Thompson) #15

I seem to be having an opposite problem of someone else who posted here.

I just installed 0.9.0 and setup the button to use this driver.

I go into CoRE and select the button I don’t get the screens shown above. I get an option for pressed or held, but no button 1, button 2, etc…

[edit]

OK, so I gather from the posts here that I’m supposed to hit Configure under the button entry itself…

Problem is, no matter how many times I click configure, NOTHING happens…

[edit]

If it helps, I checked the activity log and see this every time I click configure:

7:12:49 PM: debug Resetting Sensor Parameters to SmartThings Compatible Defaults
7:12:48 PM: debug Resetting Sensor Parameters to SmartThings Compatible Defaults
7:12:32 PM: debug Resetting Sensor Parameters to SmartThings Compatible Defaults
7:12:23 PM: debug Resetting Sensor Parameters to SmartThings Compatible Defaults


(Ac1416) #16

So I thought I was having the same problem as you in only one button showing up but its working fine its just confusing. The button will only show up as one device but when you set up a routine and then select the button as a trigger you will get a secondary selection that is labeled “Button Number”. I was originally thinking this device would show up as multiple devices but that is not the case. The configure button in the device page does not do anything other than set some default settings and print out that message to the log.


(Ron) #17

Just picked up a Blue Fibaro Button and it is working great with dh from @AdamV

Adam where did you get the configuration parameters from? Did you find the command class documentation for this device ?

I notice you are configuring param 1=127, 3=7, and 30=16 so I was curious what these are setting.

So far my battery level isn’t reporting but I just installed so perhaps it just hasn’t reported yet. I don’t see a battery get call in the config so it makes sense that I would have to wait for the Fibaro to report on it’s own.

Edit: I found the config param documentation here http://manuals.fibaro.com/button/

But I can’t figure out how the Wake up interval (battery mode) is set. I think the default of 0 is fine for never auto wake but the documentation starts with this config setting without listing the parameter number to set it so I was just wondering how it’s set in ST.
Honestly I don’t understand what “Wake Up” means since it says it can be done manually by pressing 4 times. Wouldn’t 1 press wake the device so it can send the button press?


(Adam V) #18

From memory I believe you have to put the button into a mode where it will accept the configuration. I think this is by pressing the button 6 times. Then hit configure. Then the configuration should be accepted


(Adam V) #19

FYI everyone - I’ve fixed the CoRE integration that broke after a platform update a while ago… not that anyone seemed to have noticed!! anyway if you are using your button with CoRE the custom events should now work if you update to 0.9.1


(Ben) #20

AdamV, Thankyou for putting this together but I am sure you knew this was coming… I am lost. This is my first device that I am adding that isn’t on the “approved List” and I have added the code to the IDE and have followed all the steps I can find online to try and set this up but for some reason I cant seem to get the screen shots above. ( I am new to all of this and any help would be appreciated)

I do have the device added and I went in and set it as the Fibaro button under the device list but now I am lost on how to select it to create scenes. I want to make 1 push goodnight mode and shut off all the lights and lock the door( Standard) and then add some other stuff to it as I will place the button by the bed.

Not sure where to go once I have the button added and how to create scenes In CoRE using the button.

EDIT::::
I figured out how to turn on all of my lights and turn them off using CoRE… but my question now is it supposed to be a few min in between the button presses before anything happens? I push the button and lights go off then I press and hold after the scene is complete and nothing… but if I wait 3-4min it will complete the activity… I am worried about using the 2 push thing in fear of freaking out the neighbors haha