Fibaro Smart Implant

I’m also waiting for DH :frowning:

I finished the initial release of the DH. You can find it here in the form of two device handlers, the main one and another for the second output of the device: https://github.com/ovidiupruteanu/SmartExpanse/tree/master/devicetypes/ovidiupruteanu

Supported features:

  • Two inputs that can act as monostable or bistable buttons for the outputs
  • Two inputs that work as SmartThings buttons, with single press, double press and hold events
  • Two outputs that work as switches and can be turned on/off from the inputs or from the app
  • Output Auto Off that works in both monostable and bistable modes
  • Inputs orientation (Allows reversing operation of IN1 and IN2 inputs
    without changing the wiring. Use in case of incorrect wiring.)
  • Outputs orientation (Allows reversing operation of OUT1 and OUT2 inputs without changing the wiring. Use in case of incorrect wiring.)

Unsupported features:

  • Connection with alarm line
  • Connection with DS18B20 sensor
  • Connection with DHT22 sensor
  • Connection with 2-wire 0-10V sensor
  • Connection with 3-wire 0-10V sensor
  • Connection with binary sensor

Notes:

  • You will need to add both device handlers to your account before adding the device to your network
  • When adding the device to your network two devices will be added (Fibaro Smart Implant and Fibaro Smart Implant 2). The first one handles the Button 1 and 2 and the Switch 1, the second one handles Switch 2
  • The button events will not work correctly in a bistable setup
  • The inputs are always connected to the outputs in both monostable and bistable modes. When you press button 1/2 it will always turn on/off output 1/2. I don’t think there is a way to press the buttons without affecting the outputs. Double pressing or holding the buttons will not affect the outputs.

EDIT:
I made a video demonstrating some of the features: https://www.youtube.com/watch?v=I6CEFmQZtUA

That’s great news thanks for putting in the work to get that done!
I bought the device back in July to use with an old house alarm system but have been waiting for a DH to be released. I thought it would never happen!
I want to connect the feeds from the alarm that will show:-
Alarm armed or disarmed (12v when armed and 0v when disarmed)
If the alarm is activated (12v when alarm is activated and 0v when not activated)
I also want to use one switch to full set/unset the alarm (12v switch open/close) and the other to activate the panic mode (12v switch normally closed, open to activate panic mode)

Will this be possible with your marvellous creation?

I am not familiar with alarm systems so I couldn’t implement that feature. I can do some research though.
Can you take a look at the manual and let me know if your alarm looks similar to one of the schematics at 4.2?

Sorry I’m not sure which schematic is closest to what I want to achieve.
What might help is a schematic of the same model alarm that I have with an aftermarket autodialler wired in. Here’s the link:-
Veritas 8 Autodialler
This shows pretty much what I want to do.
The SW terminal will show if the alarm is set or unset (0 or 12v).
The Bell terminal will show if the alarm is triggered (0v normal or 12v triggered).
I’m hoping to be able to send a notification in Smartthings for set/unset and alarm triggered events.
For the outputs I’d want to use one to trigger the NC&COM to set the alarm (which I assume is 0v unset and 12v set) and the other to trigger panic mode which is not shown on the schematic but I believe is 12v normal and 0v to trigger the bell (essentially like a tamper when circuit is broken). I’d like to be able to control the outputs either manually in Smartthings or by using some WebCoRE code.

I’m no expert in electronics so apologies in advance if any of the above is confusing!

Let me know your thoughts.

Thanks a lot @ovidiu.pruteanu for your great work and help.
I have the same scope of Howjames: i need to read the status of my alarm.
This works with a relais that is closed when the alarm is on, otherwise it opens the circuit.

Do you think that bistable option could be ok for my aim?
Last question: why in your code u commented the NC/NO options? shouldn’t be something similar to bistable input?

Thanks a lot for your help
M

@Marco_Raimondi Yes, I tested the NC/NO options and they act the same as bistable buttons. I commented it because they send different z-wave events (COMMAND_CLASS_NOTIFICATION), which I haven’t finished implementing.

I looked at the alarm line schematic in their manual and it looks to me that your use case is the same. The alarm system needs to have potential free relays that can be hooked to the implant’s inputs.

@Howjames I looked at the Veritas schematic and the Implant’s manual and here are a few things I noticed:

The implant does have a mode for detecting voltage on inputs, but it goes up to 10V. So this mode wouldn’t work for a connection with SW and Bell terminals. One option would be to connect a couple of 12V relays that would open / close based on voltage on those terminals, and connect the implant’s inputs to those relays.
I’m not an electronics expert either so I don’t know how much current a relay draws, and how much you are allowed to draw from those terminals, maybe you can find that in the alarm’s installation manual.

As for the outputs, they should work for your use case, with one observation. Per the implant’s manual the maximum current on outputs is 150mA, so you should measure it before hooking it up.

The next release will include:

  • normally closed / normally opened alarm inputs
  • a setting for disconnecting inputs from outputs
  • internal temperature sensor support

One thing that I’m not sure about is what capability to use for reporting the opened / closed circuit for the inputs. I think “Contact Sensor” fits best, what do you guys think?

@ovidiu.pruteanu thanks for the info!
I maybe wrong but I think the 0-10v inputs would be used for sensors that output a variable voltage. For my application would I be able to use the binary sensor input with 0v = open/off and 12v = closed/on? I’m sure I read somewhere that the maximum voltage on a binary input is 12v but I can’t find that reference anywhere.
Contact sensor sounds good to me.

Thanks, just to inform you that works as expected.
:slight_smile:

@Howjames you are correct, the 0-10V inputs are for sensors with variable voltage, but that looks to be the only one that allows input current, at least that’s how I understand those schematics. The binary sensor schematic shows two switches, which is why I was thinking relays might work.

Currently my implant is powered by a 12V power supply and I set it to normally open binary sensor. I measured the current between IN1 and GND and I have +9V on IN1. I’m not sure what would happen if we connect +12V on IN1 in this setup.

@Marco_Raimondi Awesome! I guess you can use the switch capability for now to see the status of the alarm, I will add the contact sensor capability in the next release.

Hi @ovidiu.pruteanu
Thanks for the info
I’ve logged a ticket with Fibaro to find out if the inputs will be ok for 12v. I’ll let you know when I get a response.
Plan B will have to be a couple of 12v as you recommend but let’s see what they say.

Thanks once again for your efforts!

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.