-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Running in Home Assistant as addon #15
Comments
I resolved both my issues
I would still be interested to hear what you think could be possible to display any arbitrary webpage to the screen. |
I am not familiar with the Home Assistant dashboard. However, you can gather any information you want and display it. You will just need to create your own 'sensor' to gather the desired information. Inside the sensor, you can call any API, including making HTTP requests. Alternatively, if you plan to render a webpage into an image, you can use that image as a wallpaper or create a custom 'widget' to display it. Either way, I made this to be very customizable. The only drawback I see with using an image is that the drawing can be painfully slow. Also you have to think about the screen burn in. This is the reason why I created ability to rotate through multiple info screens. |
that's really cool. |
@SBRK SBRK How did you find the display location on Home Assistant? I would like to install it on DSM but it gives me this type of error I think it can't find the route.. How do I find which bus device corresponds to the display? |
in addition to the kernel driver missing for usb serial, you also don't have libusb package:
you will need to install this package. |
@lcava000 in the add-on config you have to enable USB devices. Can't remember exactly the line, I will look it up later. @tjaworski are you working on a HA add-on yourself ? |
@SBRK no, I am not, been busy with other work. but seems like you have most of it working? |
"Hello, I have several of these machines running Home Assistant OS. One of them has already had its screen burned out because it was constantly displaying 'mini PC'. On others, I disconnected the screen to prevent it from burning out. I have no experience in creating add-ons, so if someone would be interested in making this interesting project available as an add-on, it would solve a major problem." |
Burn-in typically occurs when a static image remains on the screen for an extended period. To mitigate this, the s1panel app allows you to display multiple screens in a slideshow format, rotating images at 1-minute intervals. This ensures that no single image stays on the screen for too long. Additionally, avoiding the use of bright colors can further reduce the risk of burn-in. Currently, there doesn’t appear to be an option to turn off the LCD screen entirely. The best alternative is to set the display to black. |
"Yes, I understand, but as I mentioned, I can't install your application because I'm running Home Assistant OS. I’ve read that it can be run as an add-on, but I don’t have the knowledge to do that. If you could help me, I would really appreciate it. For me, it's not so important that the screen is off, I just want to be able |
It's really need to publish this addon for HA! @SBRK if you have smth - please share! |
If you are not going to use sensors from Home Assistant , then I recommend using a card "iframe" |
I'll try and publish an usable version as soon as I can |
How is the add-on coming along ? I would really love to have this |
Hey there, I am running Home Assistant on my S1, and I managed to get your script running inside an addon (if you're not familiar with how Home Assistant addons run, it's basically just running in a Docker container).
I have two issues (well, more, but two main issues):
/dev/ttyUSB0
device is forwarded to the Docker container and should be accessibleOne thing I would like to be able to do in the future is display a Home Assistant dashboard, but I don't know if it's easily doable with the current code using node-canvas.
I have experience with using CEF (Chromium Embedded Framework) to draw webpages and use them as bitmaps, and that would probably be the solution, but I don't know how hard it would be to implement this in Node.
The text was updated successfully, but these errors were encountered: