29
submitted 1 day ago* (last edited 20 hours ago) by irmadlad@lemmy.world to c/selfhosted@lemmy.world

So, yes this is selfhosting related. I am working on an n8n flow to pull in weather data so that I can have this data on a dashboard. I can't find any dockerized weather forecasting apps. Most of them connect to a personal weather station, which might be an option in the future. For the time being, this is a little project I'm working on.

Partial JSON snippet:

spoiler

0	
json	
cod	"200"
message	0
cnt	40
list	
0	
dt	1780693200
main	
temp	29.4
feels_like	29.23
temp_min	29.4
temp_max	29.68
pressure	1019
sea_level	1019
grnd_level	984
humidity	42
temp_kf	-0.28
weather	

I would like to display something like this:

spoiler

Current temperature: 23.25 °C
Feels like: 24.09 °C
Low / High: 23.25 °C / 23.60 °C
Humidity: 94%
Atmospheric pressure: 1023 hPa (sea level: 1023 hPa, ground level: 988 hPa)
Temperature correction factor (temp_kf): -0.35

Weather: Light rain
Weather code: 500
Short condition: Rain
Icon: 10d

So, this is for you devs or coders out there. I can produce the JSON data. I'm just not sure how to parse it to something meaningful. I'm sure Python will have to be incorporated, but unsure of how to proceed.

Maybe someone could point me in a direction to tuts, articles, or your own experience. Sorry the JSON data doesn't format correctly. Lemmy formatting doesn't seem to allow that.

you are viewing a single comment's thread
view the rest of the comments
[-] curbstickle@anarchist.nexus 1 points 1 day ago

So I don't have the acreage right now, so I'm going to call this gardening level - but what I do with HA includes things like:

  • Soil monitoring, mostly moisture level but I'm experimenting a bit with some NPK sensors. I have a couple of solar battery banks that power them, brings all that back wireless.
  • Automated watering - rain barrel collection (with a sensor so I know how much is in there and so I don't run a pump dry), relay control to open up the line and auto cut off. Combines a bit with weather monitoring so I don't water heavily if rain is coming, waters in the evening to the morning to avoid evaporation
  • Flow sensor checks the water usage off the rain barrels so I know things are working right
  • Soil temp sensor is also on the list, not doing it right now just testing a few sensors still
  • Gate controls meant for a chicken coop, right now its just raising a flag for funsies, but when I get the right property it'll close off the coop at night to protect the chickens
  • Light sensors to make sure the plants are getting enough, purely informational
  • Barometric sensors (originally just to be alerted before a storm comes through, though I like it now so I know when my knee is going to hurt like hell so I can prep)

Inside I have sensors to check for moisture around my water heater, automation for my lighting (like when I get out of my bed, the led strip turns on, brightness determined by room light levels and time of day), etc. I work from home, so I also have a light above my door that acts like an on-air light - if I join a call my wife/kids know not to interrupt me (light works great, kids still need operational adjustment here and there).

If all you want is that weather dashboard though....

Magic Mirror + OneCallWeather module + rain map module and you've got a slick setup, maybe add in some camera streaming via rtsp for a bonus. And if you go homeassistant later, you can add a module for that too.

[-] irmadlad@lemmy.world 2 points 1 day ago

so I’m going to call this gardening level

Micro Farming. ;)

[-] curbstickle@anarchist.nexus 2 points 1 day ago

I feel like thats giving me too much credit haha

I am really into the idea of doing some hydroponics and microgreens too though - thats what I'm prepping for this winter at least!

this post was submitted on 09 Jun 2026
29 points (93.9% liked)

Selfhosted

59799 readers
470 users here now

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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS