-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HomeAssistant Add-on setting the output path #86
Comments
Hi @alfwro13 the OUTPUT_PATH refers to the file system inside the docker container. It's sandboxed and thus separated from the home assistant file system, where the media folder is located. From a Docker perspective, you could theoretically mount a folder from the HA file system into the addon system, but the HA addon might need further configurations to allow this. By default, the security principles of HA addons don't allow this. Maybe I can help you more if you could give some insights into what you want to achieve in general? |
What I want to do is use this to addon to save a lovelace card and then display the saved card on an ESPHome display using this: esphome/esphome#4710 I am not using docker I am running the Home Assistant Add-on version and even without the OUTPUT_PATH I still get the no such file or directory error message? |
As far as I understand the linked PR, it should work without using the file system or mounting the The "OUTPUT_PATH" is just some internal thing and not meant to be used - except for debugging and manually checking the file for example. See it as some internal temp variable, which would allow you to say "please save the temporary file somewhere else on the file system". In the end, the whole project offers an HTTP endpoint which will deliver this image. Just find out your addon's URL and append the So by pointing ESPHome to that URL, it should directly fetch the image from the addon and should be ready to go. I don't see any need to put the image on the file system of HA first and then delivery it to ESPHome again somehow, when there's a direct possibility. |
I'm trying to access the HTTP endpoint from an Inkplate 6, which is not working. Browsers show the image under http://:5000/ fine, but the drawImage() method of the Inkplate library 1 cannot parse the output.
Hence, I tried to change the OUTPUT_PATH, but it doesn't change the URL where the image is being served. UPDATE: There are people with the same problem 2, working around it with a webserver which adds the file endings... |
Hi,
I have this installed as Home Assistant Addon, I have it running but I cannot figure out how to set the path correctly.
I added: OUTPUT_PATH: /media/output.png to the config thinking that this will save it to the home assistant media folder but it give me error message:
if I remove the OUTPUT_PATH line I still get the same error message. What am I doing wrong?
The text was updated successfully, but these errors were encountered: