richonguzman / LoRa_APRS_iGate

LoRa APRS iGATE for ESP32 Based Board with Rx + Tx capabilities
MIT License
196 stars 62 forks source link

[Feature Request] Option to send battery voltage as telemetry data #146

Open m1geo opened 1 month ago

m1geo commented 1 month ago

For adding an iGate in a remote-ish location, would it be possible to send the battery voltage as telemetry? This means that services like APRS.fi will graph the data over time, I understand it is sent in the comment field at present, but a telemetry packet would be great.

Thanks, George, M1GEO.

richonguzman commented 1 month ago

Hi George,

we've been talking about it for a while:

it will need a second packet Tx for just sending the Battery Data, are you aware of it?

wb2osz commented 1 month ago

There is another form of telemetry data which is embedded in a comment. See https://github.com/wb2osz/aprsspec/blob/main/APRS12b.pdf near bottom of page 68.

73, John WB2OSZ

richonguzman commented 1 month ago

Hi John , thanks for the info: but the example is pretty confusing:

could I write you over telegram or signal to do some test and try to test it?

wb2osz commented 1 month ago

Apparently telegram and signal are some sort of chat systems. I don't know anything about them. I'm still stuck in the e-mail age. I will send e-mail with clarifications.

m1geo commented 1 month ago

Hi @richonguzman

Sorry, I'm quite new to the project. I'll be honest, I haven't looked in detail at the code, so I'm not sure what else would need to be added. Telemetry packets aren't any more complex than the location/comment packets you already have, they just carry a different payload. Some notes here.

I have access to some interesting towers but will need to run the iGates via Solar (no easy power on tower). I'm quite versed in solar power systems, but a way to monitor battery voltage (inferring battery health) from that is very useful. Having the ability to easily see a graph on APRS.fi is super helpful.

No worries if it's out of scope for the current development; just thought it would be a nice-to-have and wasn't aware that it was a popular topic! :)

Best wishes from Cambridge, George M1GEO.

g3cwi commented 2 weeks ago

+1 for battery via telemetry. Very useful to monitor the performance of solar igates/digipeaters.

richonguzman commented 2 weeks ago

hi @g3cwi and @m1geo , @wb2osz pointed me the way to add this to the same single gps packet of igate/digi but I havent done the testing as im finishing a personal job idea and next week I will endeavor into the web installer for the tracker

but sure enough I will return to this ;)

m1geo commented 2 weeks ago

Thanks @richonguzman - it would be awesome to have it on the iGate as well as the tracker.

Keep up the awesome work! It's truly appreciated!

George. M1GEO.

m1geo commented 2 weeks ago

Just to add, @richonguzman - it would be nice to be able to send the internal and external voltages. For me, I use an MPPT LiPo charger and use the external sense to observe the solar MPPT input and the external sense to observe the battery voltage. Thanks again!

IU5HKU commented 2 days ago

Good idea, a graph can be useful in controlling what happens to battery/solar panels...ok, it's another packet and more energy consumption, but you don't need to send telemetry every minute, a packet every 5 or 10 minutes is enough, and you can use a switch in the gui to choose to send it or not... Anyway, great piece of code, thank you so much!

richonguzman commented 1 day ago

@wb2osz finally got it working and I'm testing it

sending packets at 10min rate got 2 ok and the somehow the next ones were ignored and only preocessed a 30min packet (and the rest at 10 min rate somehow got not processed)