From 517785b648a7cf11a5377684f92334f09a281309 Mon Sep 17 00:00:00 2001
From: ParamDeshpande
+
+
+
+
+
+ Toggling appliances with less effort
+
+Home Automation
+
+
+ Explore the docs ยป
+
+
+ View Demo
+ ยท
+ home-automationrt Bug
+ ยท
+ Request Feature
+
+ +
+ +I'm not really an app developer, so spare me the unfancy GUI. + +while building new app from changes made in [main.py]() make sure to enable internet and set other parametrs like app icon and stuff in [buildozer.spec](https://github.com/ParamDeshpande/home-automation/blob/master/ti_IOT/buildozer.spec) file. + +See [kivy installation docs](https://kivy.org/doc/stable/guide/packaging-android.html) for detailed steps to pack the application either google play or ios. + +To get the code on the toolchain compiling for the MCU, just change your SSID and password and flash it on your respective board. + +``` +char ssid[] = "wifiname"; +char password[] = "secret-or-not"; +``` + +Since the board has 3 leds ( aint that nice ) , +I made the red led denote offline or unconnected. +Green LED connected to the wifi netowrk. +Orange LED to blip away when parsing a message. + +You may change the sleep freqeuncy `sleep(1000);` from 1Hz to whatever you like, if you find the response slow enough. + +See the [ti_chat.ino in ti_IOT](https://github.com/ParamDeshpande/home-automation/tree/master/ti_IOT/ti_chat). I have tweaked this file from the official examples that were provided for the chat server. + + + +## Roadmap + +See the [open issues](https://github.com/ParamDeshpande/home-automation/issues) for a list of proposed features (and known issues). + +Few enhacements or bug fixes I may / may not make might/coud be made are .. + +* Ping server before hand when the app opens and not when the button is pressed. +* Add timeout mechanisms for both MCU server and in app. +* a connection notification in the app to tell if the mcu server received the msg, and other debug msgs. +* Integrating motion sensors. +* Adding a widget for home screen instead of opening the app and permission and auto permisions and stuff. +* ... + + +## Contributing + +Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. + +1. Fork the Project +2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) +3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) +4. Push to the Branch (`git push origin feature/AmazingFeature`) +5. Open a Pull Request + + + + +## License + +Distributed under the MIT License. See `LICENSE` for more information. + + + + +## Contact + +Param Deshpande - [@https://twitter.com/ParamDeshpande](https://twitter.com/https://twitter.com/ParamDeshpande) - deshpandeparam10@gmail.com + +Project Link: [https://github.com/ParamDeshpande/home-automation](https://github.com/ParamDeshpande/home-automation) + + + + +## Acknowledgements + +* [Ti](https://www.ti.com/) , well I got the MCU free of cost. + + + + + +[contributors-shield]: https://img.shields.io/github/contributors/ParamDeshpande/home-automation.svg?style=flat-square +[contributors-url]: https://github.com/ParamDeshpande/home-automation/graphs/contributors +[forks-shield]: https://img.shields.io/github/forks/ParamDeshpande/home-automation.svg?style=flat-square +[forks-url]: https://github.com/ParamDeshpande/home-automation/network/members +[stars-shield]: https://img.shields.io/github/stars/ParamDeshpande/home-automation.svg?style=flat-square +[stars-url]: https://github.com/ParamDeshpande/home-automation/stargazers +[issues-shield]: https://img.shields.io/github/issues/ParamDeshpande/home-automation.svg?style=flat-square +[issues-url]: https://github.com/ParamDeshpande/home-automation/issues +[license-shield]: https://img.shields.io/github/license/ParamDeshpande/home-automation.svg?style=flat-square +[license-url]: https://github.com/ParamDeshpande/home-automation/blob/master/LICENSE.txt +[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555 +[linkedin-url]: https://linkedin.com/in/param-deshpande-743690148/ +[product-screenshot]: ti_IOT/proj-photo.jpg +[arduino-oldversion]: https://github.com/ParamDeshpande/home-automation/tree/master/arduinoversion_old +[pir-sensor]: https://www.electronicscomp.com/pir-motion-detector-sensor-module-india?gclid=Cj0KCQiA-rj9BRCAARIsANB_4AAF0HnG_aIdEzVV4I0W9vzDvzB7P0PeiM_GnL5jKBPPJgrUxdbE6TYaAi7LEALw_wcB