Page 1 of 2

PINK HTTPS

Posted: Sat Dec 31, 2016 6:27 am
by Mike2545
Any chance to upgrade the firmware to be able to allow a secure connection to the PINK? Would love to get the Amazon Alexa to interface with it.

Re: PINK HTTPS

Posted: Sun Jan 01, 2017 3:31 pm
by TomNB
We do not have anything currently in place for that. Is there a specification for Alexa to communicate with devices though HTTPS? Exactly what protocol/functionality would you need to implement? Do you need to manage certificates?

Re: PINK HTTPS

Posted: Wed Jan 04, 2017 12:05 pm
by Mike2545
Tom, I am still trying to sort some of that out. There is IFTTT (If This Then That), which supports Alexa spoken word to do what I am attempting. This guy http://www.theghostbit.com/2015/06/cont ... ifttt.html is on to the right track, as far as the certificate, https://www.cheapsslshop.com/domain-val ... rtificates has a year for less than $10 USD

Re: PINK HTTPS

Posted: Thu Jan 05, 2017 9:45 am
by TomNB
Hello Mike,

It is certainly possible to do. Adding HTTPS would not be too difficult, but adding the user interface and file system to handle certificates would be more work than we have time for with our current schedule. Our standard application for serial to Ethernet does do all these things, and it is something that can be loaded on the board instead of the PINK application. Would that work for you?

Another alternative is that if you know how to write embedded software, you could use the development kit to modify the PINK application or write any other type of application you wish.

Re: PINK HTTPS

Posted: Thu Jan 05, 2017 11:13 am
by Mike2545
Hey Tom, thanks for the response. I don't think I have the skills at this time to write my own embedded software. We were just looking at how to get the Alexa to integrate with the PINK. We use Insteon isy and are looking at http://forum.universal-devices.com/topi ... sion-v073/
Just looking for leads on how to do this.

edit, I should say, Alexa can alter variables in the Insteon Hub and the link above might work to shuttle data between the PINK and Alexa


Mike

Re: PINK HTTPS

Posted: Thu Jan 05, 2017 1:41 pm
by TomNB
The ISY is a pretty amazing device. I'm sure it supports the security you need, but not sure it is a no-effort port. What features of the PINK do you need?

Re: PINK HTTPS

Posted: Fri Jan 06, 2017 6:46 am
by Mike2545
I have a pretty extensive HVAC automation system running on the PINK. Shown in part here: http://forum.embeddedethernet.com/viewt ... f=8&t=2344
I would like to get and set room temperatures/humidity (NB_varxx values) with Alexa. Possibly through the PINK itself or another port like ISY.

Re: PINK HTTPS

Posted: Fri Jan 06, 2017 1:55 pm
by TomNB
Hi Mike,

Attached is the PINK app that supports HTTP and HTTPS. I tested it with chrome. The cert needs to match your name or ip address, so you may need to click on the advanced tab in the browser and allow permission to load the page. Hopefully that gets you what you need. Any updates on the project would be greatly appreciated. It sounds very interesting.

Re: PINK HTTPS

Posted: Sun Jan 08, 2017 6:39 pm
by Mike2545
Tom, thank you for the file, I ran into obstacles with the ssl certificate and went a different way.

I can get Amazon Alexa to change a Nb_Varxx in the PINK by using the ISY Network Resources tab. If you are interested I can outline how I did it.

Thanks a bunch


Mike 2545

Re: PINK HTTPS

Posted: Wed Jan 11, 2017 8:42 am
by TomNB
Thanks Mike, yes, I am very interested in anything you come up with. Sounds like a great app.