This is my new favorite thing. I don’t have a CRT to display this on, but I’ll settle for an old 4:3 LCD monitor I have sitting on a shelf in the basement - it’s old and blurry enough to be a reasonable facsimile.

This project aims to bring back the feel of the 90’s with a weather forecast that has the look and feel of The Weather Channel at that time but available in a modern way.

Live demo: https://weatherstar.netbymatt.com/

docker run -p 8080:8080 ghcr.io/netbymatt/ws4kp

Access on http://localhost:8080

Screenshots

  • Admiral Patrick@dubvee.orgOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 months ago

    Dumb question, but how to do you get just the weather panel to display without the settings form below and such? Setting it up in an iframe is one of the things I wanted to do with it aside from a kiosk-style, fullscreen display.

    I 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

    • node815@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      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.

      • Admiral Patrick@dubvee.orgOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        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. Mine only has the configuration URL string to preset the options/location. You still have to click “fullscreen” on the weather window thing.

        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 😆

        Update: Yep, latest release works amazing, including Kiosk mode. No need for my custom build anymore.

    • LifeBandit666@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      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)