I need to clear out my doubts regarding my Home Automation project. I am working on project based on IoT Home Automation project. There are three entities in this project:
- Web Server
- Embedded Client
- Android App
Android App will send data to Web server to ON/OFF switch on Embedded Client. Server Receive data and decide to send to which client. Server send data to appropriate client and get feedback and send back to the Android APP.
Multiple Embedded Client can be controlled by Single Application.
Now I have decided to use the Websocket Protocol, As using WS I can make server-Client communication realtime and Avoid polling/Long polling.
But as I have studied about WS more, I found it is not secure and easy to hack. Please guide me which technology should I use for this project, and what should be server and client requirements to fulfill the objective of the project.