-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing from cloud using aREST #684
Comments
Would this help? |
tried that but i guess that only allows you to access using local ip .. how do I access it from the internet ( like access it from my office.) like a websocket to remote server and then using a webpage switch it on & off ? am really not got at describing things :) . but i'll try my best to explain :)
|
A few months ago I wrote an article about this topic, how to access you local devices from the Internet in a secure way. You will need some kind of local server, like a Raspberry Pi. http://tinkerman.cat/secure-remote-access-to-your-iot-devices/ |
@xoseperez thank you xose pretty much helps.. :) still the setup is quite huge for a single switch.. however I was also thinking what if we could POST everytime a change occurs to a php server and use GET (every second) to poll for a change online using https .. and I can create a php script and MYSQL database that will store the state of the switches.. do you think thats safe ? |
@varungujjar It might be a huge setup but it makes sense on the long run. It frees the ESP8266 in your local network from doing heavy lifting using SSL themselves. POSTing to a known service might be easy to do, polling for new actions every second using GET might be a little overkill. |
Closing this since there has been no feedback. Please feel free to reopen if necessary. Also, check #937 as it could help to configure direct access from outside your network over HTTPS. |
Hey @xoseperez is there a way I can access & control the switch from cloud using something aRest apart from MQTT
ESP8266 <-> Cloud Server ( Hosting) -> HTML / PHP (JSON)
The text was updated successfully, but these errors were encountered: