Toast Notification For ZKTeco Access Controller is a .NET application designed to manage access controllers, providing real-time status updates and error handling via toast notifications.
This application simplifies the monitoring and management of access panel events by establishing continuous connections, processing real-time logs, and alerting users of important events or connection issues.
-
Real-Time Event Monitoring:
- Captures and displays access panel events like door status, card authentication, and alarm triggers.
-
Toast Notifications:
- Displays categorized notifications such as Success, Error, and Warning, ensuring users are promptly informed of critical events.
-
Robust Connection Handling:
- Implements retry mechanisms for connection attempts with configurable delays and maximum retries.
-
Configurable IP Address:
- Reads the access controller IP from an external configuration file.
Location:
- The
config.txt
file must be placed in theConfig
folder within the project directory. - The file will be copied to the output directory (e.g.,
bin/Debug/Config/
).
Content Format:
192.168.1.1
- Replace
192.168.1.1
with the IP address of your access controller.
-
Setup the Configuration File:
- Add the IP of your access controller to
Config/config.txt
.
- Add the IP of your access controller to
-
Run the Application:
- Launch the application. It will attempt to connect to the access controller using the IP specified in the configuration file.
-
Monitor Events:
- Receive toast notifications for connection status, door events, and alarms.
-
MainForm
:- Handles connection attempts, periodic retries, and event log processing.
-
ShowToast
:- Displays categorized notifications for user feedback.
-
config.txt
:- Provides flexibility to configure the access controller's IP address without modifying code.
Initializes the application, loads the configuration file, and starts connection attempts.
Implements a loop to retry connections with delays between cycles.
Attempts multiple connection retries within a single cycle and displays appropriate notifications.
Creates and displays a notification form for user messages.
- Build the project in Visual Studio.
- Ensure the
Config
folder (withconfig.txt
) is included in the output directory. - Deploy the application folder to the target environment.
- Add support for multiple IP configurations.
- Enhance UI for better event visualization.
- Introduce detailed logs and report export functionality.
This project is licensed under the MIT License. See the LICENSE
file for details.
Contributions are welcome! Please submit a pull request or open an issue to suggest improvements or report bugs.
For questions or support, please contact:
- Email: [email protected]