Skip to content

question - multiple widgets per service #4616

Closed Locked Answered by 76bugguy01
swinxx asked this question in Support
Discussion options

You must be logged in to vote

Here is how I have done it for Pi-Hole. My stumbling block was changing widget: to widgets:

- Pi-Hole:
    href: http://192.168.xx.xx/admin/ 
    siteMonitor: http://192.168.xx.xx/admin/
    description: Ad Blocker
    icon: pi-hole.png
    widgets:
      - type: customapi
        url: http://192.168.xx.xx/admin/api.php?status&auth=api_key
        refreshInterval: 30
        method: GET
        mappings:
            - field: status
              label: Status
              format: text
      - type: pihole
        url: http://192.168.xx.xx
        version: 5 # required if running v6 or higher, defaults to 5
        key: api_key

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by shamoon
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants