I thought iframes had been phased out in the latest release of HA? It’s webpages in views now isn’t it? Try updating and having another go (I updated yesterday and haven’t had a play yet but heard about it on the HA podcast btw)
Comment on WeatherStar 4000+ Emulator
ptz@dubvee.org 7 months agoI looked at that one, and the demo was cool. When I looked at the hosting steps, though, it mentioned IIS and I pretty much noped out. Lol
Lifebandit666@feddit.uk 7 months ago
ptz@dubvee.org 7 months ago
Oh, I’m not adding it to HA, just curious how to have just the weather panel is ws4kp to display for embedding without all the settings/controls.
Lifebandit666@feddit.uk 7 months ago
Oh, sorry I’m no help then
node815@lemmy.world 7 months ago
From their readme. I asked about that last night and he replied an pointed me to it. :)
Kiosk mode
Kiosk mode can be activated by a checkbox on the page. Note that there is no way out of kiosk mode (except refresh or closing the browser), and the play/pause and other controls will not be available. This is deliberate as a browser’s kiosk mode it intended not to be exited or significantly modified.
It’s also possible to enter kiosk mode using a permalink. First generate a Permalink, then to the end of it add &kiosk=true. Opening this link will load all of the selected displays included in the Permalink, enter kiosk mode immediately upon loading and start playing the forecast.
I didn’t see IIS mentioned, but I didn’t take a close look at the code. They give you a docker run command to set it up, so I converted it to a docker compose file so I can run it later. All of this is running on a Debian 12 system, so if IIS is needed, I’d wager that is if you are running a Windows setup.
I have mine embedded in Home Assistant now as an iframe using the Kiosk mode setting which works.
ptz@dubvee.org 7 months ago
Thanks!
Ah, Kiosk mode, I think, is literally brand new. There was an issue/request he was working on for that, and I did a build from that branch yesterday. As I was building my Docker image from that, it was literally getting new commits as I was building it. Talk about bleeding edge haha.
I’ll check that out again now that he may have merged it into main.
This one is in JS. I was referring to the parent project that required IIS and seems to be in C# (I didn’t dig too deep into it). That’s where I bailed out. If there were Docker instructions for that one, I wouldn’t have seen them as IIS is basically an instant deal breaker for me lol. Too much pain and misery in my past to ever want to deal with that again 😆