Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naocoding/tptrs-mqtt

Taipei Public Transportation Recommendation Service PyQt GUI + Folium Map + MQTT Server
https://github.com/naocoding/tptrs-mqtt

folium mqtt pyqt5 python

Last synced: 3 days ago
JSON representation

Taipei Public Transportation Recommendation Service PyQt GUI + Folium Map + MQTT Server

Awesome Lists containing this project

README

        

# TPTRS-MQTT

[TPTRS-MQTT](https://github.com/NaoCoding/TPTRS-MQTT) is a project written with **PyQt5** and **MQTT** server,
the final project of [Data Science & Communication 2024](https://web.ntnu.edu.tw/~cw/icoil/) NTNU.

The default setting of the MQTT broker located at **NTNU**(National Taiwan Normal University),
however we can't assume that the MQTT broker will keep working after the course ended.

To run the server with your own MQTT broker, edit the IP address in **server.py** and **client_mqtt.py**.

---
### How to run the project

Execute **client.py** and **server.py** in **./src/**

You can modify IP address to your own broker.

---

### Functions

- [x] Check current (**real-time**) **UBike** parking space and available bikes.
- [x] Calculate nearest **UBike/Bus/MRT** stations in crow-flight distance.
- [x] Interactive Map for searching stations in **Taipei City** and **New Taipei City**
- [x] User-Friendly GUI

---

### PyQt5

- [x] **Web Engine** for interacting Folium Map
- [x] Graphic User Interface for better experience
- [x] Select Language options for different language users ( **English** , **Traditional Chinese** , **Japanese**(partial) )

### Folium

- [x] Support **OpenStreetMap** and other tiles.
- [x] automatically generate markers from real-time api data
- [x] MarkerCluster and markers for **MRT**, **bus**, and **Ubike** stations

### MQTT

- [x] MQTT server for clients to interact data
- [x] Support localhost and MQTT brokers

---

## Screenshots

![image](https://github.com/user-attachments/assets/41df070b-00a8-439c-a411-a16bf7575e75)
![image](https://github.com/user-attachments/assets/56658b24-2a7c-443e-9c37-8d789157fba1)
![image](https://github.com/user-attachments/assets/16acf66e-c2d6-431c-9e4e-8012b9cf9481)
![image](https://github.com/user-attachments/assets/122d134a-0cf4-4c13-a3e9-487b71884bbf)