[Config Support]: Using json Schema cannot get it working #13595
Unanswered
plug-it-in
asked this question in
Config Support
Replies: 1 comment 4 replies
-
|
it's easiest if you just use the built in config editor which has yaml validation / linting built in. You enable port 5000 in the addon settings under extra configuration if you are running as an addon |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
So this is about these instructions in your help document
VSCode Configuration Schema
VSCode supports JSON schemas for automatically validating configuration files. You can enable this feature by adding # yaml-language-server: $schema=http://frigate_host:5000/api/config/schema.json to the beginning of the configuration file. Replace frigate_host with the IP address or hostname of your Frigate server. If you're using both VSCode and Frigate as an add-on, you should use ccab4aaf-frigate instead. Make sure to expose the internal unauthenticated port 5000 when accessing the config from VSCode on another machine.
Being a newbie using both VSCode and Frigate as HA Addons I cannot get this to work because the instructions are unclear
When you say use ccab4aaf-frigate instead. Instead of what? The IP address ? Ive tried
$schema=http://ccab4aaf-frigate/api/config/schema.json it fails
When you say expose internal unathenticated port 5000 can you please include how to do this I have no idea what this means and where to do it. If its in the Frigate Configuration, can you please say this and which in the list I should open. For example is this the unauthenticated Web port should I set that to 5000
Getting this all working for a newbie is very hard and frustrating.
A simple example URL for my situation would save a huge amount of time
Version
0.14,1
Frigate config file
NARelevant Frigate log output
Relevant go2rtc log output
Frigate stats
NAOperating system
HassOS
Install method
HassOS Addon
Object Detector
CPU (no coral)
Screenshots of the Frigate UI's System metrics pages
NA
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions