question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PLUS_API_KEY not set but is in config

See original GitHub issue

Describe the problem you are having

Getting error in logs when trying to upload an image to Frigate+

[2022-06-14 16:35:01] frigate.http ERROR : PLUS_API_KEY environment variable is not set

Version

0.11.0 beta4

Frigate config file

# frigate.yml
detectors:
  coral:
    type: edgetpu
    device: usb
mqtt:
  # Required: host name
  host: 192.168.86.25
  # Optional: port (default: shown below)
  port: 1883
  # Optional: topic prefix (default: shown below)
  # WARNING: must be unique if you are running multiple instances
  topic_prefix: frigate
  # Optional: client id (default: shown below)
  # WARNING: must be unique if you are running multiple instances
  client_id: frigate
  # Optional: user
  user: homeassistant
  # Optional: password
  # NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
  #       eg. password: '{FRIGATE_MQTT_PASSWORD}'
  password: 7
  # Optional: interval in seconds for publishing stats (default: shown below)
  stats_interval: 60
cameras:
  # Name of your camera
  Garage_East:
    ffmpeg:
      inputs:
        - path: rtsp://admin:*@192.168.86.239:554/h264Preview_01_sub
          roles:
            - detect
            - record
        - path: rtsp://admin:@192.168.86.239:554/h264Preview_01_main
          roles:
            - rtmp
    record:
      enabled: True
      events:
        retain:
          default: 2
    detect:
      width: 640
      height: 480
      fps: 5
    objects:
      track:
        - person
        - dog
        - cat
      filters:
        person:
          mask:
            - >-
              274,319,421,458,574,300,445,191
  Garage_West:
    ffmpeg:
      inputs:
        - path: rtsp://admin:Z@192.168.86.48:554/h264Preview_01_sub
          roles:
            - detect
            - record
        - path: rtsp://admin:@192.168.86.48:554/h264Preview_01_main
          roles:
            - rtmp
    record:
      enabled: True
      events:
        retain:
          default: 2
    detect:
      width: 640
      height: 480
      fps: 5
    objects:
      track:
        - person
        - dog
        - cat
  # Name of your camera
  Lounge:
    ffmpeg:
      inputs:
        - path: rtsp://admin:Z@192.168.86.235:554/h264Preview_01_sub
          roles:
            - detect
            - record
        - path: rtsp://admin:@192.168.86.235:554/h264Preview_01_main
          roles:
            - rtmp
    record:
      enabled: True
      events:
        retain:
          default: 2
    detect:
      width: 640
      height: 480
      fps: 5
    objects:
      track:
        - person
        - dog
        - cat
  # Name of your camera
  Front_Porch:
    ffmpeg:
      inputs:
        - path: rtsp://admin:@192.168.86.40:554/h264Preview_01_sub
          roles@192.168.86.40:554/h264Preview_01_sub
          roles:
            - detect
            - record
        - path: rtsp://admin:@192.168.86.40:554/h264Preview_01_main
          roles:
            - rtmp
    record:
      enabled: True
      events:
        retain:
          default: 2
    detect:
      width: 640
      height: 480
      fps: 5
    objects:
      track:
        - person
        - dog
        - cat
              
snapshots:
  enabled: True
  timestamp: True
  bounding_box: True
  crop: False
  required_zones: []
  retain:
    default: 2

environment_vars:
  PLUS_API_KEY: my-api-key

Relevant log output

[2022-06-14 16:34:57] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50366]
[2022-06-14 16:35:01] frigate.http                   ERROR   : PLUS_API_KEY environment variable is not set
[2022-06-14 16:35:09] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50366]

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
NickM-27commented, Jun 14, 2022
0reactions
stale[bot]commented, Aug 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploying NGINX as an API Gateway, Part 1
In this blog post we describe a number of common API gateway use cases and show how to configure NGINX to handle them...
Read more >
How do I publish a package using NuGet API? - Stack Overflow
I attempted to copy SetDefaultCredentialProvider() but CredentialService is not available. I simply mimicked "CoreV2.NuGet.HttpClient.
Read more >
Configuration File - Frigate Docs
For Home Assistant Addon installations, the config file needs to be in the root of your ... do not set user and password...
Read more >
I'm the maintainer of AwesomeTTS and I wrote a new addon ...
Another behaviour - if all voice filters are set to all, so that you choose voice from the dropdown list under voice, add...
Read more >
Development: Devices, Inputs and Feeds in emoncms - Labs
Using the GUI everything works, and I can configure a template, ... my original url (plus apikey) is 4134 chars and not truncated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found