Sitemap using Video

I have a sitemap with the following…

sitemap HAB label=“My openHAB” {
Frame label=“Cam1” {
Video url=“http://192.168.15.17:8083/video” encoding=“mjpeg” }
}

And, that works. I have a frame with the video.

I also tried…

sitemap HAB label=“My openHAB” {
Frame label=“Cam2” {
Video url=“http://192.168.15.9:8082/video” encoding=“mjpeg” }
}

This also works with the second camera.

However, if I code both together, it doesn’t work. I see the picture of the first cam but nothing for the second. Just the label. If I flip them, same thing, only first camera shows.

sitemap HAB label=“My openHAB” {
Frame label=“Cam1” {
Video url=“http://192.168.15.17:8083/video” encoding=“mjpeg” }
Frame label=“Cam2” {
Video url=“http://192.168.15.9:8082/video” encoding=“mjpeg” }
}

Is there a limit to only one Video in a Sitemap? I don’t see that documented.

I’ve successfully had two feeds on the sitemap at the same time. However, I find that Habdroid at least can be a little flakey sometimes, only showing the first feed.

1 Like