Inovelli programming question

I have setup an Inovelli red series switch with three custom notifications.

I have bound it to an app using:

input "sceneButtons", "capability.pushableButton", required: true, title: "Select scene switch (Inovelli)."

Is it possible to trigger the notifications through the parent device binding or do I need to setup an input for each child device?

That app is jsut looking for something that implements "Pushable Button." Inovelli's driver is a bit weird (I modified it to be less weird) in that it reports taps up as pushed and taps down as held, buttons 1-5. So you can kind of use it with the up paddle: 1-5 taps up are buttons 1-5 pushed. The driver or the app will require modification to make it work with the down paddle.

I’ve got the events working. Tap and held doesn’t bother me in this case. What I’m looking for is controlling the notification events from an app. They are decoupled from the tap events.

To clarify, I suppose I can setup five input types for each switch but that gets a bit cumbersome. I was hoping I can just use the parent input binding to switch the child devices.

What are you trying to do?

OK. So the way their stock driver works (I also modified mine to add a custom command to modify the notification LED) is that you configure a child device in the preferences and then turn on that child device to activate that LED configuration. These child devices are of type Switch (so on/off commands). I don't think their main/parent driver provides direct access to these child devices (though I also don't like this setup so never tried...), so as far as I can tell the only way your app can access them without other modifications is to allow the user to select switch devices. I'm not sure what you're looking for exactly, but maybe that helps?

Turn on and off the notification RGB based on conditions outside of the switch.

So it sounds like I’ll have to create an input for every child notification. There may be as many as six physical switches in my app so that’s a lot of inputs to have on the configuration screen (up to 30). :hot_face:

I was just hoping I could control them from the parent device.

They are virtual switches so you simply turn them on or off based on some event, you could use simple lighting or Rule Machine.

I use RM for mine here is the first part of it:

I use the off then on because I grouped all of my switches into a single group device and so I have and I want my LED to go back to green if the security system is armed after the garage door is no longer open and since their virtual switches are setup to only allow one on at a time I had to turn off and back on the arm group to get the green LED back on...

I just looked at their driver again. They provide a custom childOn method that takes the DNI as a parameter (not declared so not usable in the UI...guessing SmartThings doesn't care about this), but that's not user friendly even though I'm pretty sure it would work. But I thin the DNI is predictable based on the parent. Perhaps you could calculate it from the notification "number" and call childOn with that parameter? That could work with the stock driver. Otherwise it may make sense to customize the driver like I did and just modify the LED from the app with a custom command yourself and not worry about the child devices at all.

Thanks but this is a custom app. It was too big for Rule Machine from a maintenance perspective.

So? Call the command from your app. :slight_smile:

That sounds promising. Would that work something like this?

   sceneButtons.childOn("0C-ep2")

I’m not familiar with working with child elements.

I think so, but I'm on my phone and can't test for sure, so I might be missing something.

I’m going to give it a try in a min. I have to plug the switch back in. So far I’ve been running it in suicide mode. :wink:

That worked like a charm. Thanks!

Now I need to name everything a little more intelligently and get the first three switches in the wall.

1 Like

Thanks again for the assistance. I got the notifications working and finally have the Inovelli switches installed. The switch on the far left (Exterior) is the first one working with the app. Blinds switch is plumbed in and working.

Next step is to replace the three GE switches with Inovellis. Most of the switches won’t directly control a load directly but it gives visitors a system they can understand.

The house is getting smarter…

2 Likes

Please rotate the left switch housing 1 degree clockwise. Thanks.

/OCD off

:rofl:

Yes I noticed that in the picture. Luckily it isn’t as noticeable in person. Part of the joys of a house that was built in 1954 and expanded several times since then. There are several odd things to be found. Like the 10’ x 12’ Room that has nine duplex outlets - and two of the walls are mostly taken up with sliding glass doors.

There are lots of things that don’t quite line up. I added shades to the bay windows and the one on the left is 35" while the right is 34".

What gets me more is the switches not lining up with the art piece. But that’s due to the boxes. The art is centered on the wall.