Autobahn Web socket IOT Home for Arduino Yun
Code includes JS, Arduino C, Python
#Descriptions:
- The websocket server is set on the Aruino Yun with python code.
- The Python code setup the client application and server at once which is a standalone server.
- The JavaScript connect to this server and use remote process calls to send the serial message to MCU 32u4.
- The Python code bypass the Yun bridge to communicate with CPU, Linino AR 9331.
- Arduino MCU side can send sensor data to the website (Temperature, humidity, etc)
- Arduino MCU side can receive control instructions from the website
#Applications: All the features below can be controled by a responsive web on the Phone / tablet / PC.
- Turn on the air conditioner
- Turn on the led light
- Use Buzzer to make sounds
- Collaberate with Pixy
- Collaberate with Pixy Pan/tilt
- Real time Smoothie Chart
#Below is the setup guide provided by Tobias Oberstein.
http://tavendo.com/blog/post/arduino-yun-with-autobahn/
Note : The autobahn version should be 0.9.1 or the standalone server will fail.
Note : The bridge function will be bypassed after commenting the last line of /etc/inittab
Note : The python will autostart after reboot after editing /etc/rc.local
Any question or advice, please mail me.