Help with Indigo RESTful

Posted on
Thu May 24, 2018 11:39 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Help with Indigo RESTful

Hi, I just got my hands on a Flic hub and trying to use the Flic app to send the command(s) below :?:

The allowed options are shown in the second photo (within the Flic app.)

Is this possible or should I be doing it some other way?
Attachments
2018-05-24_10-34-20.jpeg
2018-05-24_10-34-20.jpeg (20.28 KiB) Viewed 4570 times
2018-05-24_10-33-36.jpeg
2018-05-24_10-33-36.jpeg (52.23 KiB) Viewed 4570 times

_______
Norm

Posted on
Thu May 24, 2018 4:10 pm
DaveL17 offline
User avatar
Posts: 6743
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Help with Indigo RESTful

Looks like it should work, but I think a key question is whether the system supports authentication.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu May 24, 2018 7:05 pm
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Help with Indigo RESTful

Thanks Dave, this is what the screen looks like when I select POST - My problem is I don't even know what to read / look at to figure out how to do this...

I'm just not sure how to push the two parts (both lines) and how to get the curl statement before the http part to go over - talking about the curl -X EXECUTE part below?

curl -X EXECUTE http://192.168.1.16:8176/actions/Laundr ... rextension
Attachments
2018-05-24_18-00-22.jpeg
2018-05-24_18-00-22.jpeg (28.33 KiB) Viewed 4525 times

_______
Norm

Posted on
Thu May 24, 2018 7:23 pm
DaveL17 offline
User avatar
Posts: 6743
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Help with Indigo RESTful

You shouldn't have to do the curl part at all, you should only have to send the URL. But you'll need to somehow send username and password--or turn off digest authentication (which is not recommended). The username and password (if it's able to do digest authentication) is likely going to be necessary to do anything in a secure way.

Take a look at this thread and see if there's anything of use. You might recognize someone. :D

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue May 29, 2018 6:05 am
jaga01 offline
Posts: 54
Joined: Aug 24, 2017

Re: Help with Indigo RESTful

Hi - I have also received a Flic HUB and would like to controll my Fibaro plug with a flic button. Did you succeed with the function? Rgds Jacob

Posted on
Tue May 29, 2018 7:16 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Help with Indigo RESTful

No, I have not been able to make it work...... but I think it is possible, just beyond my skill level since I don't have a background in programming...

If you can figure it out pls let me know.

_______
Norm

Posted on
Tue May 29, 2018 9:59 am
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: Help with Indigo RESTful

I have a couple of Flic buttons, but no hub.

All my Flic button presses to Indigo happen via shell scripts. Is that an option with the hub? I'm using a program called Hack with Flic to receive them on the Indigo computer via Bluetooth.

That said, it's a bit balky because the buttons tend to become unpaired/disconnected over time.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Tue May 29, 2018 10:14 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Help with Indigo RESTful

The hub app is a bit different - I was also using the Hack app about a year ago but, agree -- it was not reliable enough - that is why I wanted to get the hub. I do not see a way to run a script on the new hub app. You can do something like that for android but it is not implemented on MAC OS.

Good list of what you can do with the hub here:

https://flic.io/applications

For the Mac OS I think the only option is HTTP but I cant figure out how to make it work....
Attachments
2018-05-29_09-11-11.jpeg
2018-05-29_09-11-11.jpeg (78.22 KiB) Viewed 4398 times

_______
Norm

Posted on
Tue Oct 02, 2018 3:53 pm
Frakke offline
Posts: 97
Joined: May 05, 2016

Re: Help with Indigo RESTful

norcoscia wrote:
The hub app is a bit different - I was also using the Hack app about a year ago but, agree -- it was not reliable enough - that is why I wanted to get the hub. I do not see a way to run a script on the new hub app. You can do something like that for android but it is not implemented on MAC OS.

Good list of what you can do with the hub here:

https://flic.io/applications

For the Mac OS I think the only option is HTTP but I cant figure out how to make it work....


Did you get it to work?

Posted on
Tue Oct 02, 2018 3:54 pm
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Help with Indigo RESTful

Nope - just sitting on my desk collecting dust - not even heavy enough to use as a paper weight - sigh....

_______
Norm

Posted on
Sat Mar 23, 2019 2:36 am
Frakke offline
Posts: 97
Joined: May 05, 2016

Re: Help with Indigo RESTful

If anyone is interested I got it to work with the HTTPd plugin

Posted on
Sat Mar 23, 2019 3:39 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Help with Indigo RESTful

I'm using mine connected to a pi that then changes a variable in inidgo that triggers actions. It didn't need a hub and means that I can put a pi zero close to the flics rather than having them connect to the Mac. Works really well (other than when you try to install piBeacon on the same pi and break everything! I don't recommend that!!)

Happy to send details of anyone wants to do that. I find them more reliable than the nodon zwave remotes.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests