[aprssig] APRS POST HTTP

John Gorkos jgorkos at gmail.com
Sat Mar 7 02:03:43 EST 2020


Rafal –

I think I got this solved, mostly.

Instead of using HTTP submit, use UDP packets, on port 8080.

The format is

user CALL pass 00000<linefeed>

<properly formatted “on-air” packet><linefeed>

 

My status line, that you can see in the APRS-IS feed if you search for AB0OO on aprs.fi, shows up correctly.

The actual line I’m using is:

user AB0OO pass 19951%LF%AB0OO>APRX29:!3724.13NT12206.28W&ESP_Easy Test%LF%

 

I have a BMP-280 hooked up via I2C to a Wemos D1 mini, and I’m using this firmware:

ESP_Easy_mega-20200305_dev_ESP8266_4M1M.bin

I don’t THINK you need the “dev” firmware, I think the “normal” firmware will do.

When you have a ‘Environment - BMx280’ device set up, it pulls temp, humidity, and pressure off the device and tries to send THREE packets (one per value).   You can monkey with your status line of the packet to show ‘%vname1%=%val1% for temperature, and use val2 for humidity and val3 for pressure. 

 

For those of you following along at home, you can go to your favorite Jeff Bezos-owned online retailer and pick up a 5 pack of BME280 temp/pressure/humidity sensors for $22, and a 5 pack of Wemos D1 Mini ESP8266 dev boards for $12.  A little bit of solder and some wire, plus about 10 minutes of programming will get you an internet enabled (or APRS-over-TCPIP enabled) environmental sensor for under $7 a piece.  It took me about 4 hours of playing around with this to get it to work, but I also had to set up an aprsc daemon from source and get it configured correctly enough to test with.  I’m pretty impressed with ESPEasy firmware; the PlatformIO based firmwares are super easy to use, and although you have to flash it the first time using USB, after that all firmware upgrades are Over The Air (OTA).

 

Let me know if you have any more problems.  Looking forward to seeing you sensors on the network soon!

 

de AB0OO

John Gorkos

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20200306/a26c0abe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 46810 bytes
Desc: not available
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20200306/a26c0abe/attachment.jpg>


More information about the aprssig mailing list