Author Topic: Exporting Data From Ambient Weather Stations to Prometheus  (Read 195 times)

0 Members and 1 Guest are viewing this topic.

Offline digitalshane

  • Member
  • *
  • Posts: 4
Exporting Data From Ambient Weather Stations to Prometheus
« on: June 20, 2025, 09:38:59 PM »
I built an exporter that sends data broadcasted from Ambient Weather stations to Prometheus, allowing me to keep my weather monitoring local. It works with any AW station and supports all optional sensors. I also provide a Grafana dashboard to visualize the data.

The usage instruction are on the github. https://github.com/Digital-Shane/awp-exporter

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
« Last Edit: June 20, 2025, 09:45:42 PM by digitalshane »

Offline Rover1822

  • Forecaster
  • *****
  • Posts: 2527
    • Mini Wind and Solar Data project
Re: Exporting Data From Ambient Weather Stations to Prometheus
« Reply #1 on: Yesterday at 11:30:34 AM »
Kudos, many others have done similar things on different platforms, etc.

But, it is cool that you are another one. I have done similar for many years now (and lol, I'm using .Net, or JAVA, etc) , and there are many others.

Welcome to the club





« Last Edit: Yesterday at 11:32:13 AM by Rover1822 »
Equipment: (I no longer list all, lets just say a bunch)
Ambient: (Various)
EcoWitt: (Various)
Personal Sites: Weather Cam

Offline digitalshane

  • Member
  • *
  • Posts: 4
Re: Exporting Data From Ambient Weather Stations to Prometheus
« Reply #2 on: Yesterday at 12:21:57 PM »
Kudos, many others have done similar things on different platforms, etc.

But, it is cool that you are another one. I have done similar for many years now (and lol, I'm using .Net, or JAVA, etc) , and there are many others.

Welcome to the club

Hey thanks for taking a look! I used to be a professional Java/Python dev, but six years ago I started with Go and never looked back. You should check it out sometime!

Offline Rover1822

  • Forecaster
  • *****
  • Posts: 2527
    • Mini Wind and Solar Data project
Re: Exporting Data From Ambient Weather Stations to Prometheus
« Reply #3 on: Yesterday at 12:33:40 PM »
You know how it is, one codes in what they are comfortable with. I hate frameworks, but to each their own.
Equipment: (I no longer list all, lets just say a bunch)
Ambient: (Various)
EcoWitt: (Various)
Personal Sites: Weather Cam

Offline digitalshane

  • Member
  • *
  • Posts: 4
Re: Exporting Data From Ambient Weather Stations to Prometheus
« Reply #4 on: Yesterday at 02:24:57 PM »
You know how it is, one codes in what they are comfortable with. I hate frameworks, but to each their own.

Oh then you would love Go. Frameworks for Go exist, but are largely rejected by the community. You can do any APi work using the standard library and no framework. This projects API is only 120 lines of code I wrote in 30 minutes. Honestly, it was the dashboard that took most of the time.

It's funny you say you don't like frameworks but have stuck with .NET and Java. .NET is literally a framework, and Java constantly gets mocked for how heavy its frameworks and abstractions are lol. I still have nightmares about debugging endless transitive dependency issues in Spring Boot APIs.

Offline Rover1822

  • Forecaster
  • *****
  • Posts: 2527
    • Mini Wind and Solar Data project
Re: Exporting Data From Ambient Weather Stations to Prometheus
« Reply #5 on: Yesterday at 02:42:46 PM »
Just for a frame of reference, I am a retired coder, software  development manager, after 25 years (like I don't have to work for anyone ever again). I have seen frameworks come and go, I prefer coding from base code of whatever language, of which I know many.

I mean if you are referring to interpreted language vs framework, I agree. LOL, I'm not limited to the languages I stated

But, that is all irrelevant,   here is not the time or place for these discussions. End of the day , you did something, you are proud of it , and you should be. And I said it is cool, not something I am going to use, but others might.

Edit: This is why I responded to your post, because it is cool, and others should take notice.





« Last Edit: Yesterday at 02:48:34 PM by Rover1822 »
Equipment: (I no longer list all, lets just say a bunch)
Ambient: (Various)
EcoWitt: (Various)
Personal Sites: Weather Cam

Offline digitalshane

  • Member
  • *
  • Posts: 4
Re: Exporting Data From Ambient Weather Stations to Prometheus
« Reply #6 on: Yesterday at 02:57:35 PM »
Just for a frame of reference, I am a retired coder, software  development manager, after 25 years (like I don't have to work for anyone ever again). I have seen frameworks come and go, I prefer coding from base code of whatever language, of which I know many.

I mean if you are referring to interpreted language vs framework, I agree. LOL, I'm not limited to the languages I stated

But, that is all irrelevant,   here is not the time or place for these discussions. End of the day , you did something, you are proud of it , and you should be. And I said it is cool, not something I am going to use, but others might.

I've been a lead software engineer for ten years, and I think you leaned a lot more on the development manager side of table :lol: . No idea what you mean by "interpreted language vs framework, I agree.". Both interpreted and compiled languages can use or reject frameworks... Never once has anyone made the decision between using a framework or using an interpreted language?

 

anything