Keyboard Shortcuts
Likes
- APRSISCE
- Messages
Search
Re: Sending Telemetry?
开云体育Hi Rob,The idea came up during a club breakfast conversation with another ham.? He was noting that he could bring up his home's solar production report on his cell phone, and I noted that I sometimes check the outside temperature by looking at my home weather station's APRSIS32-based reporting via aprs.fi.? I have a small off-grid solar system for when the power goes out, so, the thought went, why not tie my solar data into APRSIS32 as well? The first thought was that the weather station's computer interface (WeeWx) is a simple Python script, so perhaps I could modify it to hijack a couple of the weather station data fields and substitute the Solar data?? Nah... Your suggestion to replace the Arduino with a Pi-zero could definitely work, and would definitely have advantages.? The Arduino is pretty full, capturing, parsing, and displaying the Victron serial port's telemetry.? Two devices worth - the charge controller and a sine wave inverter - and it crashes every few days.? No idea why.? That said, its purpose was only to provide a visual display of system status, which Victron normally supplies through a much more expensive solution.? The other manufacturers of solar controllers and inverters tend to put displays directly on their devices, but I needed a product that was known to be RF-quiet and compact in size.? Making use of the serial port was just a way to be cheap and have some fun with the Arduino, while enabling me to use the Victron equipment.? I could use a Bluetooth app on my cell phone, but in a power outage situation, I didn't want to rely on it. The down-side of having a Pi generate the IS traffic was what I was hoping to avoid by using APRSIS32, that of formatting APRS packets.? I know and appreciate what Lynn had to go through in deciphering the APRS spec, and didn't relish the idea of repeating his experience.? Lynn's summary corrected some of my misgivings, besides that APRSIS32 doesn't offer the feature I was looking for.? I'm also guessing that by now there's probably a Python library somewhere that would do the heavy lifting.? Your idea is something to consider. To answer your question, yes there would need to be a small program or script that would periodically read from a serial port and write a string of numbers to the telem.txt file, something I've done before.? Just like with the weather station wxnow.txt interface, the data would be scooped up by APRSIS32, formatted for APRS, and forwarded to the active ports.? One thing I'd lose by not using something like APRSIS32 is that the RF world wouldn't see the data directly.? It's not a huge deal for me, but others wanting to use such a facility might appreciate the full APRS experience that a proper, modern APRS client would provide.? Having something easy to access could make APRS all that more useful by lowering the barrier to entry for general telemetry, and I figure we don't need everyone hacking their own programs to shovel data to the IS, with all the chaos that could (and has) caused.? There's a huge difference between logging data to a text file and properly interfacing with the world-wide APRS IS system.? But again, if there is a well-written Python library, perhaps this need has been answered already? {shrug} Greg? KO6TH Rob Giuliano via groups.io wrote:
|
Re: Sending Telemetry?
Greg,
I am curious what you would use to create the "telem.txt" file that APRSIS32 would read and send as a Telemetry packet?
?
From your description, you would need a terminal emulator (like TeraTerm) or a "home brew" application to read the serial stream and save it to a file.
If you swapped out your Arduino for a Pi (say Pi Zero W) and used a I2C Analog to Digital Converted (much better than the Arduino built in), then Pi could send the data to APRS-IS.
NOTE:? you could use an I2C LCD as well.?
?
Another option would be to send the data from the Arduino to "a Pi" (or other computer) over serial in something like a JSON format through the command line and feed it into a home brew application to parse it and send the packet.? It would look something like:
?? $ cat dev/ttyS0 | mytelem
where mytelem is a executable that takes command line data, parses it, generates a telemetry packet and sends it to APRS-IS (after login and passcode are sent).
?
Just some thoughts.
-------
Robert Giuliano
KB8RCO |
Re: Sending Telemetry?
Lynn Deffenbaugh
Believe it or not, the wxnow.txt file is already formatted for APRS transmission.?? I really don't see any value that APRSIS32 would add to telemetry unless it was actually sourcing the raw values.?? By the time the actual data collector formatted something for APRSIS32 to relay on through, said collector could just as easily have done the whole thing.?? Because to be complete, even the definitions would have to come from outside, so if it's all coming from outside, why not deliver it directly to the APRS-IS?
toggle quoted message
Show quoted text
Similar to the recent traffic of people polling the aprs.fi API to get near-real-time data for local displays when they could just as easily (and with fewer points of failure) make their own connection to the APRS-IS to get the original data in realtime. Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32 On 7/28/2024 10:13 PM, Greg D wrote:
Makes sense. |
Re: Sending Telemetry?
Makes sense.
toggle quoted message
Show quoted text
Any chance for an enhancement down the road?? It would make the software that much more useful, especially for folks who aren't into formatting APRS packets.? If nothing else, having APRSIS32 do the formatting would add value by sanitizing the traffic going out over the APRS network. Greg? KO6TH Lynn Deffenbaugh via groups.io wrote: The detailed explanation is to quell questions about the telemetry that APRSIS32 already sends.?? And my strange encoding of the actual values that show up in the aprs.fi graphs. |
Re: Sending Telemetry?
Lynn Deffenbaugh
The detailed explanation is to quell questions about the telemetry that APRSIS32 already sends.?? And my strange encoding of the actual values that show up in the aprs.fi graphs.
toggle quoted message
Show quoted text
Also, to avoid questions about why APRSIS32 is sending messages to itself when it is actually sending the messages that define the telemetry values. Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32 On 7/28/2024 9:23 PM, Greg D wrote:
Ha, ok. That explains why I can't find it.? Curious, then, why the detailed explanation about how the overall telemetry packet formatting and decoding in APRS-IS?? That seems to suggest there is a way for one to have APRSIS32 feed it. |
Re: Sending Telemetry?
Ha, ok.? That explains why I can't find it.? Curious, then, why the detailed explanation about how the overall telemetry packet formatting and decoding in APRS-IS?? That seems to suggest there is a way for one to have APRSIS32 feed it.
toggle quoted message
Show quoted text
Lynn, if you're looking for something else to enhance APRSIS32, this might be a good one.? Perhaps leverage the method used for reporting weather by having the data source periodically update a "telemetrynow.txt" file?? Knock that out in an afternoon, no? Greg? KO6TH Lynn Deffenbaugh via groups.io wrote: APRSIS32 only sends internal telemetry on battery charging and GPS statistics.?? It doesn't currently support an external telemetry source.? Remember the original roots of APRSIS32 was APRSISCE on Windows Mobile.?? I implemented telemetry of parameters interesting to the phone user. |
Re: Sending Telemetry?
Or feed it to APRSIS32 as an AGW or KISS over TCP/IP packet. It would "appear" to come from an RF portand so APRSIS32 would have to be configured to pass it onto APRS-IS. Robert Giuliano
On Sunday, July 28, 2024 at 05:51:06 PM EDT, Lynn Deffenbaugh <kj4erj@...> wrote:
And if you have sufficient coding talent to gather and format data from the charge controller into a data pipe, you've got enough expertise to read APRS101.PDF along with and roll your own direct APRS-IS-feeding telemetry station, no need for APRSIS32 capabilities. Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32 On 7/28/2024 2:02 PM, Greg D wrote:
> For some reason I'm not coming up with an answer after grazing the > usual sources...? How does one configure APRSIS32 to send telemetry > from an external source? > > I've got a solar / battery system in the Shack with an Arduino that > reads info from the Victron charge controller, driving a small LCD > display.? It occurs to me that it should be easy to pipe that data via > a serial connection to the PC.? It's already set up to output the data > from my weather station (via WeeWx to the WxNow.txt file). How does > one get similar data into the Telemetry feed of APRSIS? > > Looking at I see that there > are configuration packets that need to be sent for the IS to know how > to format the data, but I don't see how one configures APRSIS32 to > read and send the actual data.? The "Telemetry" box is checked on the > General configuration, yes, but where does it fetch the data from?? > I'm missing a key piece to the puzzle. > > Unusually baffled on this, > > Greg? KO6TH > > > > > > > |
Re: Sending Telemetry?
Lynn Deffenbaugh
And if you have sufficient coding talent to gather and format data from the charge controller into a data pipe, you've got enough expertise to read APRS101.PDF along with and roll your own direct APRS-IS-feeding telemetry station, no need for APRSIS32 capabilities.
toggle quoted message
Show quoted text
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32 On 7/28/2024 2:02 PM, Greg D wrote:
For some reason I'm not coming up with an answer after grazing the usual sources...? How does one configure APRSIS32 to send telemetry from an external source? |
Re: Sending Telemetry?
Lynn Deffenbaugh
APRSIS32 only sends internal telemetry on battery charging and GPS statistics.?? It doesn't currently support an external telemetry source.? Remember the original roots of APRSIS32 was APRSISCE on Windows Mobile.?? I implemented telemetry of parameters interesting to the phone user.
toggle quoted message
Show quoted text
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32 On 7/28/2024 2:02 PM, Greg D wrote:
For some reason I'm not coming up with an answer after grazing the usual sources...? How does one configure APRSIS32 to send telemetry from an external source? |
Sending Telemetry?
For some reason I'm not coming up with an answer after grazing the usual sources...? How does one configure APRSIS32 to send telemetry from an external source?
I've got a solar / battery system in the Shack with an Arduino that reads info from the Victron charge controller, driving a small LCD display.? It occurs to me that it should be easy to pipe that data via a serial connection to the PC.? It's already set up to output the data from my weather station (via WeeWx to the WxNow.txt file). How does one get similar data into the Telemetry feed of APRSIS? Looking at I see that there are configuration packets that need to be sent for the IS to know how to format the data, but I don't see how one configures APRSIS32 to read and send the actual data.? The "Telemetry" box is checked on the General configuration, yes, but where does it fetch the data from?? I'm missing a key piece to the puzzle. Unusually baffled on this, Greg? KO6TH |
Re: Station movement alarm like ui-view
Lynn Deffenbaugh
开云体育Nope, sorry, APRSIS32 doesn't currently support that. Lynn (D) - KJ4ERJ - Author of APRSISCE
for Windows Mobile and Win32
On 7/25/2024 11:58 AM, mbahicruz wrote:
|
Station movement alarm like ui-view
Hi:
One ham, has asked to me, how do with aprsis32 the function of station movement alarm that the old venerable ui-view do. ( and QTH for Mac too ).
?
The idea is define one circle area of x km o miles, and if one beacon of a mobile RF station is in the area, the application create an alert sound, and in this window, display de callsing, heard, last position, last move, and status messages.
.
Searching in the help manual I don't find how to do this with aprsis32, the most similar I find is frequency monitor. I don't know if it is a feature that aprsis32 don?t have.?
?
Thanks for the help in advance.
?
73s |
Re: Undefined NWS messages?
Yes, that seems to be the new development (little d). Currently working with the station that is gating the NWS traffic to resolve it (in Direwolf). Multiple clients in the area are responding to the ACK request, so there is a lot of QRM, especially with multiple alerts active. |
Re: Undefined NWS messages?
Lynn Deffenbaugh
开云体育Someone is directing messages FROM AKQFFS and AKQSMW directly TO K4VBX and your receive message buffer in the radio is full, so the radio is answering with a reject.?? Check the radio's messages list and you should see those NWS message sources listed. What is your IGate's callsign-SSID? Check your FilterTest log if you are using custom filters to gate
these weather packets from -IS to RF. Lynn (D) - KJ4ERJ - Author of APRSISCE
for Windows Mobile and Win32
PS.?? Nothing has changed in this area in
a LONG time so it likely has nothing to do with the latest
Development version.
On 7/20/2024 5:35 PM,
peter.anoia@... wrote:
|
Undefined NWS messages?
With the new Development version, I have noticed a peculiar problem. When I receive a NWS warning object over IS, APRSIS32 commands the D710 to transmit the respective messages as follows:
?
K4VBX>APK102,WIDE1-1,WIDE2-1::AKQFFS ? :rej0
K4VBX>APK102,WIDE1-1,WIDE2-1::AKQSMW ? :rej0
?
I have restarted the program without activating the IGate, and it still does this. I have tried disabling messages in the IS port and the RF port, but this makes no difference. I do not see the packets in the Igate Test Filter. Strangely they are not in the Transmit log either. However, the TOCALL tells me something is commanding the D710 to create the packet, and I am connected to the D710 in APRS mode. To be sure, I disabled all digipeat options on my D710. Running several logs actively to try to narrow this down. Any thoughts? |
Re: filter certain NWS objects
Glen,
?
Perhaps you have already figured out a solution, but here is mine. I configured my IGate filter to only transmit the multiline objects instead of the NWS message-formatted warnings (which don't contain any human text, only county and zone FIPS codes). The multiline objects are recognizable (at least on all my Kenwood radios that I tested) to any graphical APRS interface. The message-formatted warnings only highlight a county or zone on an interface configured to show those county/zone warnings. It also cuts down dupes since the messages are formatted as NWS-wrn and NWS_wrn. Not sure why.?
?
I would set mine up as follows to eliminate the flood warnings. The IGate filter is :
b/AKQ* +m/40 -o/AKQFF*
My NWS office is AKQ (Wakefield, VA). Using a radius filter passes only objects with a defined location to eliminate the message format warnings. Your mileage (err....kilometers) may vary. The negative o filters out flash flood warnings and statements. |
Re: Decode APRS packets in real time
Lynn Deffenbaugh
开云体育Try bringing up the Enables / View Logs /
Port(<YourPortName>) and enable it.? See what that might
show you.? Hopefully you're using a Simply(KISS) type port for
your KPC3??? The KISS type port is only for older Kenwood APRS
Radios initially in TNC mode. Lynn (D) - KJ4ERJ - Author of APRSISCE
for Windows Mobile and Win32
On 6/26/2024 4:31 PM, Rick N9ITW wrote:
I am still trying to find the ins and outs of the program.? Is there a way to actually monitor RF and decode packets in real time?? I am running a KPC3 (not plus) in KISS mode. |