Skip to content

minermartijn/MyMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Monitor HTTP/Service

A Home Assistant custom integration (HACS compatible) to monitor HTTP endpoints or services, with a beautiful Lovelace card for service history visualization.

Features

  • Add and monitor multiple HTTP endpoints or services
  • View service history with green/red bars (up/down) in a custom Lovelace card
  • Easy configuration via Home Assistant UI

Screenshots

Single Monitor Example

Single Monitor

Multiple Monitors Example

Multiple Monitors

Example YAML Configuration

type: custom:monitor-http-card
name: My Monitors
entities:
	- entity: sensor.phpmyadmin
		name: PHP My Admin
	- entity: sensor.radarr_monitor
		name: Radarr
# Optional: history_length: 72 (for 3 days, default is 24)

Replace the entities and names with your own.

Manual Installation

  1. In Home Assistant, go to Settings → Dashboards → Resources, and add:
    • URL: https://cdn.jsdelivr.net/gh/minermartijn/MyMonitor@master/custom_components/mymonitor/www/monitor-http-card.js
    • Type: JavaScript Module
  2. Add the card to your dashboard using:
    type: custom:monitor-http-card
    name: My Monitors
    entities:
        - entity: sensor.phpmyadmin
       	 name: PHP My Admin
        - entity: sensor.radarr_monitor
       	 name: Radarr
    # Optional: history_length: 72 (for 3 days, default is 24)
    Replace the entities and names with your own.

Usage

1. Add the Integration

  • Go to Home Assistant Settings → Devices & Services → Add Integration
  • Search for "MyMonitor"
  • Add endpoints to monitor (name, URL, method, expected status)
  • Choose "Manual" if needed
  • Replace YOUR_MONITOR_NAME with the name you gave your monitor (lowercase, spaces replaced with underscores)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published