Page 1 of 1

Cloud and Auth

Posted: 21:53, 28 Jan 2016
by serseriyim
Hi,

Examples are good but they are working near the smart things. Please can you help me for esp8266 in a cloud and user auth? Cloud i mean; own server in heroku or ibm bluemix etc..
Thanks!

Re: Cloud and Auth

Posted: 22:46, 28 Jan 2016
by alex
We don't have a finalised solution for you, but we have some parts...for you to explore.
If you take the ESP code, you're likely to figure it out fast enough!

Parse IoT cloud
https://evothings.com/how-to-make-a-mob ... ata-cloud/
https://evothings.com/using-google-char ... iot-cloud/

Getting started with AWS Amazon
https://evothings.com/pushing-sensor-da ... 5-minutes/

Freddy's IBM IoT Foundation examples, proof-of-concepts using both MQTT and HTTP basic auth over HTTPS
https://github.com/fredrikeldh/evothing ... nt-history
https://github.com/fredrikeldh/evothing ... tt-painter
(@gokr has a more recent one, my bad, see commentary below)

And then I remember a working example for Sparkfun's Phant (phant.io) back-end, that we use a lot ourselves. Even
if its not one of the big guns, its stable and easy to set up. Tell me if that's your fancy, and I'll have something
assembled for you.

Re: Cloud and Auth

Posted: 23:03, 28 Jan 2016
by gokr
Just a small note, the MQTT example there is outdated, instead look at my article with the updated code:

https://evothings.com/evothings-does-mqtt-with-bluemix/

In general we are moving forward on the backend side of things now.

Re: Cloud and Auth

Posted: 23:20, 28 Jan 2016
by serseriyim
Hi Alex and Göran

I tried all the links before my last try was https://evothings.com/evothings-does-mqtt-with-bluemix/

It is very hard to merge them all, i am not high level like you.

I am focused on a Smart Home application which have user auth, can work locally when no internet connection, user can add new devices-rooms , push notifications, scenarios like when alarm is on close all lights...

Re: Cloud and Auth

Posted: 00:01, 29 Jan 2016
by alex
Let's see if we can do some homing in here. If you're up for it, tell us what you have though so far in terms of connected gadgets, protocols, formats and targets. Starting at the server-end, would you want the system to have a "home server" that runs something like Telldus:
http://www.telldus.se/thirdparty/show?id=3

Or would you fancy rolling your own, based on phant.io or similar, either local or cloud-side

Or are we talking about a more stand-alone app, that has a pouch.db inside and does most of the magic, while rsyncs whenever it can, to something on the net. I know that the Bluemix Dynamo does pouch.db syncing without too much hassle.

A.

Re: Cloud and Auth

Posted: 00:47, 29 Jan 2016
by serseriyim
I received an email a few minutes ago from parse ; We have a difficult announcement to make. Beginning today we're winding down the Parse service, and Parse will be fully retired after a year-long period ending on January 28, 2017.....

I am sure there will be more news like this so phant.io is not a long term solution.

Esp8266 as a gateway which manages wifi or bluetooth sensors-relays
I liked arest.io simplicity in local and also
https://github.com/vynci/esp8266-ionic which uses mqtt.
Google charts are good for sensors.

Telldus - not professional solution.

A more stand alone app which manages itself in local and user can connect when he is not in home.
NoSql database is good for iot, i didnt see punch.db before...

Re: Cloud and Auth

Posted: 01:04, 29 Jan 2016
by alex
Yes, we got that Parse one too, Facebook may have changed their mind afterwards, but I wouldn't like to speculate, anything could have happened I guess. We've seen a bit of couch/pouch with clients and partners, they go in tandem. http://pouchdb.com/guides/setup-couchdb.html

Thanks, now we understand a bit more where you're heading, and probably can point you in good directions. I'll ask around tomorrow and hear what ideas come up. We also have a Gitter channel at http://gitter.im/evothings/evothings just sign in with you github and you'll find more developers.

best regards

Alex

Re: Cloud and Auth

Posted: 10:29, 30 Jan 2016
by serseriyim
Hi Alex

I am in gitter.im and mikael helped for mobile side of finding Esp ip adress. Please join the room we can go faster.