Skip to content

MQTT/Remote logs possible #17291

Closed Answered by matknowles
matknowles asked this question in Ask A Question
Mar 21, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

That's great thanks for that. For anyone else here's how I setup a rest sensor to get the frigate logs into home assistant (this goes in configuration.yaml and the logs are in the attributes of the created sensor):

sensor:
  - platform: rest
    name: "Frigate Raw Logs"
    resource: http://<frigate-IP>:5000/api/logs/frigate
    scan_interval: 300
    json_attributes:
      - lines
    value_template: "OK" # Simple state value

validate, reboot and the sensor appears as sensor.frigate_raw_logs

I have an automation that's supposed to notify by TTS when an error appears in the logs, but I haven't validated it yet. Below if anyone's interested:

alias: (Anytime but only Notify between 0630-2200) 

Replies: 2 comments 1 reply

Comment options

NickM-27
Mar 21, 2025
Collaborator Sponsor

You must be logged in to vote
1 reply
@matknowles
Comment options

Answer selected by NickM-27
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
3 participants