A simple Flask server for displaying VartaStorage data via Modbus using the VartaStorage python module
- Fetches and displays data from Varta Storage devices
- Uses Modbus protocol for communication
- Built with Flask for a lightweight web interface that displays data in json format
- Python 3.x
- Flask
- VartaStorage pip module
-
Clone the repository:
git clone https://github.com/yourusername/vartastorage-server.git
-
Install dependencies:
pip install -r requirements.txt
Before running the server, make sure to update the IP address, username, and password in the script.
-
Start the Flask server:
python app.py
-
Open a web browser and navigate to
http://localhost:5000
to view the VartaStorage data.
- Ensure that the VartaStorage device is connected and accessible via the provided IP address.
- Modify the Flask route handlers as needed to customize data display.
-
VartaStorage Python module: This project uses the
VartaStorage
Python module created by Vip0r. You can find the module and its documentation on GitHub. -
Flask Framework: This server is built using the Flask framework for Python.
-
Modbus Protocol: Communication with the VartaStorage devices is handled using the Modbus protocol.
This project is licensed under MIT License