https://github.com/9d4/iot_presence
Presence machine that connects to database with web UI
https://github.com/9d4/iot_presence
Last synced: 9 months ago
JSON representation
Presence machine that connects to database with web UI
- Host: GitHub
- URL: https://github.com/9d4/iot_presence
- Owner: 9d4
- Created: 2021-09-05T09:27:14.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-15T23:01:22.000Z (over 4 years ago)
- Last Synced: 2025-03-24T18:14:28.270Z (about 1 year ago)
- Language: JavaScript
- Size: 4.93 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iot_presence
Presence machine that connects to database with web UI
## About Directories
### /board/presence
This directory contains codes for arduino (NodeMCU). You can open it in PIO(PlatformIO).
More about them here [PlatformIO](https://platformio.org/). It's better than using Arduino Ide
### /mosquitto
This directory contains configuration file for mosquitto. Learn more [here](https://mosquitto.org/).
We use mosquitto as message broker. You can use that configuration like this.
```
mosquitto -c mosquitto.conf
```
Then the username and password would be `admin`.
### /mqtt-trigger
Just a simple javascript helper that subscribe on topic and make a HTTP Request to web server
when new message is published.
### /web
The web UI and database processor.