Dummy serial port for Pi Air Quality Monitor
Find a file
2023-11-29 05:47:10 +03:00
.github/workflows CI: make build CI 2023-11-29 05:47:10 +03:00
.gitignore add Makefile 2023-11-29 05:44:49 +03:00
LICENSE initial commit 2023-11-29 04:56:07 +03:00
main.c verbose logging & --quiet command 2023-11-29 05:37:54 +03:00
Makefile add Makefile 2023-11-29 05:44:49 +03:00
README.md initial commit 2023-11-29 04:56:07 +03:00

Dummy Serial

Simulates a serial port that continuously sends dummy data for PM2.5 and PM10. It uses a pseudoterminal (pty) to simulate the serial port. Designed to provide dummy data in the absence of a sensor for air-quality-monitor

Usage

  1. Compile & start the program.
gcc -o dummy_serial main.c
./dummy_serial
  1. Start air-quality-monitor.
  2. Navigate to http://localhost:8080 and observe the chart.

License

This project is licensed under the GPL3 License. See LICENSE for more details.

Contributing

PRs welcome.