GitHub - netbymatt/ws4kp: WeatherStar 4000+
github.com
external-link
WeatherStar 4000+. Contribute to netbymatt/ws4kp development by creating an account on GitHub.

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

@node815@lemmy.world
link
fedilink
English
38M

Looks nice! I set mine up and have it as an Iframe in Home Assistant. The app is a fork from https://github.com/vbguyny/ws4kp with his demo site here: https://battaglia.ddns.net/twc That version has the music we all came to know and love from back then.

Admiral Patrick
creator
link
fedilink
English
2
edit-2
8M

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

LifeBandit666
link
fedilink
English
18M

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)

Admiral Patrick
creator
link
fedilink
English
28M

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
link
fedilink
English
28M

Oh, sorry I’m no help then

@node815@lemmy.world
link
fedilink
English
2
edit-2
8M

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
creator
link
fedilink
English
1
edit-2
8M

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.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 137 users / day
  • 357 users / week
  • 1.01K users / month
  • 3.75K users / 6 months
  • 1 subscriber
  • 3.92K Posts
  • 79.4K Comments
  • Modlog