How phodal/iot works
This repository is a learning-oriented minimum IoT system: a user or device reads and updates IoT state through a REST API, while Python examples connect that state to serial hardware and Raspberry Pi GPIO. The README also identifies Android and a Dashing dashboard as client capabilities. The REST, Android, dashboard, and Arduino implementation details are not sampled here; their links reflect README documentation, while source-backed calls cite the Python files.
Main entry points: rest REST API · iot.py Serial controller · raspberrypi.py Pi controller · get.py GET example
Components 9
Hardware
- Arduino board
hardware/arduino
Device scripts
- GET example
python/get.py - PUT example
python/post.py - Serial controller
python/iot.py - Pi controller
python/raspberrypi.py
REST service
- REST API
rest
User interfaces
- Dashboard
dashboard - Android app
android
Other components
- Operator
Connections 12
- Operator → GET example: runs example
README.md - Operator → PUT example: updates state
README.md - GET example → REST API: GETs state
python/get.py - PUT example → REST API: PUTs state
python/post.py - Pi controller → REST API: reads state
python/raspberrypi.py - Serial controller → REST API: reads state
python/iot.py - Pi controller → Arduino board: writes serial
python/raspberrypi.py - Serial controller → Arduino board: writes serial
python/iot.py - Operator → Dashboard: views dashboard
README.md - Operator → Android app: uses app
README.md - Dashboard → REST API: visualizes state
- Android app → REST API: communicates