Problem with showing camera's from HA on Appdaemon Dashboard?

I’ve previously had it set up with authenticated IP’s. But with the latest updates, that is gone.
So how do I make my tablet use a ‘long lived token’ to show the camera feeds in Appdaemon Dashboard?

I’m struggling with this as well. I reverted back to 100.3 for now and have been checking on the forums hoping for someone to have a work around.

1 Like

The AppDaemon 4.0 beta has a fix for this in the camera widget.

Ok, so that is good news, I don’t see a way of using appdaemon beta in the hass.io interface, so I guess I just have to wait until it is released.

Yeah. The Hass.io add-on developer hasn’t updated the add-on for the beta. Hopefully, they will update when AD 4.0 is released.

I made a custom widget some time ago to fix this. You can find it here as the first widget on the page: https://github.com/tjntomas/HADashboard-widgets
I know that Rene Tode also posted a similar custom widget to fix this issue. I use appdaemon in a docker container so I haven’t verified that it works with hassio but you can give it a try if you like. I am on HA 0.101.2 and the widget works for me.

3 Likes

Those are some great widgets you have! Thank you for sharing!

Hi Tomas

That looks interesting, I’m looking into integrating it, but I don’t understand this instruction:

"copy the camerastream.yaml file from the custom_widgets folder to your custom_widgets folder. "
That seems like the same place?

Instructions might be confusing! You need to copy the files and folders from my repository to your corresponding folders.

Ok, I did that, but I get a message that it can find widget type camerastream?
I’ve placed the custom widget in the config/appdaemon folder, not the folder for dashboards, right?

Make a folder named custom_widgets in your appdaemon folder. Then make a folder named basecamerastream in the custom_widgets folder.

Then copy the basecamerastream.js, basecamerastream.html and basecamerastream.css files to that folder.

Then copy the camerastream.yaml file to the custom_widgets folder.

The error message means that the camerastream.yaml is not found in your custom_widgets folder.

I beleive that is what I did:


image

This looks fine. You also need to copy the camerastream.yaml (found here https://github.com/tjntomas/HADashboard-widgets/tree/master/custom_widgets
to your custom_widgets folder.

Yes, it looks ok now. You need to restart appdaemon so that it will recognize the new widget.

Darned, still the same message.

Please post your widget configuration from your dash file. You have everything in place so it should work.

Ahhaaaaa, there must’ve been a typo, I copied in the name of the yaml file, and then it worked :smiley:
Thankyou for your patience, it looks great now!

1 Like

Great!

I have a slightly modified version that I will upload later. It opens the camera stream in full screen when you click on the image/video. I have also fixed the title text which need some space at the bottom to look better.

I can’t seem to have multiple camera widgets on the same screen, is that correct?

I have 4 widgets on the same page. Do you see any errors in the browser console?