Skip to content

jottavia/PrinterAlert-Richo7000

Repository files navigation

Ricoh IM 7000 Printer Dashboard

This Printer Dashboard application is designed to monitor the status of a Ricoh IM 7000 printer and provide real-time alerts through IFTTT when certain conditions are met. The application features a GUI interface and a system tray icon to keep you informed about the printer's status.

Features

  • Tracks and displays the status of the Ricoh IM 7000 printer
  • Provides instant alerts through IFTTT for non-OK printer statuses (e.g., cover open, low toner)
  • Customizable refresh interval and alert settings
  • Designed to be compiled as a standalone executable

Requirements

  • Python 3.x
  • Necessary packages: requests, tkinter, pystray, Pillow, beautifulsoup4, logging

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/ricoh-im7000-dashboard.git
    cd ricoh-im7000-dashboard
  2. Install the dependencies:

    pip install -r requirements.txt
  3. Update the configuration in printer_alert_config.json with your specific printer IP and IFTTT webhook details.

Usage

To start monitoring the Ricoh IM 7000, run:

python PrinterAlert.py

Compiling to Executable

To create a standalone executable:

  1. Install PyInstaller:

    pip install pyinstaller
  2. Run PyInstaller with the following command:

    pyinstaller --onefile --noconsole PrinterAlert.py

The executable will be found in the dist directory.

Configuration

The application configuration is stored in printer_alert_config.json, where you can customize the printer IP, alert frequency, and the IFTTT webhook URL.

Sample configuration:

{
    "printer_ip": "192.168.10.60",
    "printer_name": "Ricoh IM 7000",
    "refresh_interval": 10,
    "ifttt_webhook_url": "https://maker.ifttt.com/trigger/printer_status_change/with/key/YOUR_IFTTT_KEY",
    "max_alerts": 3,
    "window_width": 300,
    "window_height": 150,
    "stay_on_top": true
}

Contributing

Feel free to fork the repository, make improvements, and create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A script that runs in the windows taskbar and send failure alerts via ifttt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages