I would love to see a VNC Viewer component integrated to HA.
I would add this as regular tile (like a camera for example). In my case i would use this to control the central heating in my house which is running a VNC server.
I would love to see a VNC Viewer component integrated to HA.
I would add this as regular tile (like a camera for example). In my case i would use this to control the central heating in my house which is running a VNC server.
Well that is not really a home assistant function IMHO, but of course VNC will run in a browser, so add it in a panel.
Iâm not exactly sure what you mean with âadd it in a panelâ. VNC is not running native in any browser afaik, you have to rely on plugins⊠If using Plugins you also need a direct network connection to the server which is not really a useful approach.
Your post makes no sense.
Thats probably because you donât have an understanding about how a browser and VNC Viewer<>Server are able to interact together
In the normal method of operation a viewer connects to a port on the server (default port: 5900). Alternatively (depending on the implementation) a browser can connect to the server (default port: 5800).
From the vnc wikipedia page.
Correct - but it does say nothing about using a VNC Viewer inside a browser. If you want to do so you do need additional software. noVNC is a good example: https://github.com/novnc/noVNC
Itâs important that not the client is initiating the connection. For example: My VNC server is running internally and thatâs fine, it should not be possible to connect to it from a public network (internet). Hence, HA (whose frontend is reachable from the internet) needs to take care about the connection. It has to act as a kind of âVNC Viewer Proxyâ.
Did you have any progress here?
No,⊠I have implemented what I need with noVNC and it is working prefect for 2 years now. Just integrate it in HA as iframe and use nginx as revers proxy and you are done. I can control my heating now via the webgui from everywhere, but it is still protected behind the HA WebGUI
Hi there, I was also looking for an VNC Viewer to get the display of the central heating into HA.
I have already a working prototype as HA Addon. Iâm still working on the Ingress support and after that it will allow access to a VNC server of your choice through the side panel.
Just finished it: https://github.com/Poeschl/Hassio-Addons/tree/master/vnc-viewer
Hi Poeschl
Thanks so much for doing this, it is a huge benefit!!
I tried to install the addon using the repositories in the Add-on Store and got the following error
Any help would be greatly appreciated. I have 3 VNC servers that control my battery guages on a small Bahamian island, and being able to see these would be of immense benefit.
Thanks
Wayne
Did you add my repository in the addon store? If not use this link: Link to Supervisor: Add Repository â My Home Assistant
That worked!! Thanks for the amazingly quick response!!!
But my VNC server requires a user and password. I only see an option to provide a password.
Right now the addon only supports the âclassicâ authentication via an password.
To use the addon with other methods it needs to be adjusted to it (also made sure noVNC supports the authentication).
Or using an other authentication method on the VNC server side.
This is working amazingly, thanks! Any way to have 3 different servers? I have 3 RPis that I monitor via VNC Viewer, and if I could access them via 3 different nav items on Home Assistant, this would be a HUGE benefit.
Hi Markus.
Your VNC Home Assistant viewer looks exactly what I need (similar to some of the other posts - itâs to show my heating controls in HA).
Iâve got your Add-On working and from the Add-On controls I can select âOPEN WEB UIâ and I get the working VNC view.
However, when I try to enter the URL indicated in the logs into a âWebpageâ card in Lovelace it just displays a Firefox error (âWe Cant connect to the serverâ) .
In my example the URL Iâm aiming for is âhttp://68413af6-vnc-viewer:6080/vnc.html?host=68413af6-vnc-viewer&port=6080â
I must be doing something wrong as itâs obviously very nearly working.
Does anyone have any clues?
Many thanks (and well done for creating this in the first place!)
John