Keyboard Shortcuts
Likes
Search
Direwolf digipeater with weather data
Hi to all I built a digipeater with raspberry pi b+ and direwolf .? It work very fine, but I have a question . I have connected to raspberry pi a bmp085 sensor that acquire values like : Temperature, Pressure, altitude and so on , and I want to send these info through beacon when direwolf send it . Is it possible ? I read the documentations of direwolf to use the I2c bus data of raspberry pi but is not clear . Please could you help me ? regards Daniele ...# |
||
On the HamGate BBS project we use a "finger" command to collect a MetoGram?from a university in Norway. you might be able to fashion?this for your own purposes? finger ^philadelphia@...? ? ?The city you are interested in is preceded?by the hat (shift 6) symbol. NI2O:NI2O-7 Area: g7ltt Current msg# 0. BOFH,DX,GAMES,MUD,TIME,WX,JPL,?,A,B,C,CONV,D,E,F,H,I,IH,IP,J,K,L,M,N,NR,O,P,PI,R,S,T,U,V,W,X,Z > wx Trying...? The escape character is: CTRL-T *** connected to 178.255.144.27:finger ? ? ? ? ?-= Meteogram for Philadelphia, Pennsylvania, United States =- ?'F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Rain (in) ?74 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? =--=----- ?73 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^^^ ? ? ? ? --- ?72 ?71 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? === ?70 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ====== ? ? ? ? ? ? ? ? ?--- ?69 ?68 ?67 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?=== ?66====== ? ? ? ? ? ? ? ? ? ? ? ? ? === ?65 ? ? ?==|==| ?| ?| ?| ?| ?| ?|^^^ ? ? | ? ? 22 23 18/09 02 03 04 05 06_07_08_09_10_11_12_13_14_15_16_17_18_19 Hour ? ? ?S ?S ?S ?S SE ?S ?S ?S ?S ?W NW NW ?N ?N NW NW NW NW NW NW NW ?W Wind dir. ? ? ?3 ?2 ?2 ?2 ?1 ?1 ?1 ?1 ?1 ?1 ?1 ?2 ?3 ?3 ?3 ?4 ?4 ?4 ?5 ?5 ?4 ?4 Wind(mph) Legend left axis: ? - Sunny ? ^ Scattered ? = Clouded ? =V= Thunder ? # Fog Legend right axis: ?| Rain ? ?! Sleet ? ? ? * Snow [Peace, love, Linux.] *** reconnected to NI2O:NI2O-7 On Sun, Sep 17, 2023 at 9:59?PM ROBERT <om.f6gdl@...> wrote: Good morning, |
||
¿ªÔÆÌåÓýGood morning Thanks
Le 18/09/2023 ¨¤ 04:40, Mark Phillips a
¨¦crit?:
On the HamGate BBS project we use a "finger" command to collect a MetoGram?from a university in Norway. you might be able to fashion?this for your own purposes? |
||
Robert -
The answer is Yes - as far as I can tell. There is a "Telemetry Toolkit" which provides means of gathering information from sensors and formatting a APRS packet message with the data. This packet message will be sent out by Direwolf according to the configuration of the "SENDTO=" designation. This works quite well under Linux (so on the Pi), but you need to work with other langueages: Pearl There are examples in the APRS-Telemetry-Toolkit.pdf file included with Direwolf. Look through the PDF, and maybe a search on this Groups.io message board for "Telemetry" or "Telemetry Toolkit". Section 5 has specifics on using the I2C bus, including kernel support. What area are you having issues with: a) Reading the sensor(s) on the I2C bus? b) Scaling the data and formatted the APRS packet? c) Issues understanding the :PARM, :UNIT, :EQNS, and :BITS message(s)? d) Decoding the information on the other end? ------- Rob KB8RCO |
||
It's quite easy.? I do it like this, but this is NOT weather:
# compressed telemetry
PBEACON sendto=IG slot=9:59 every=30 symbol="igate" overlay=R lat=37^48.66N long=121^48.20W COMPRESS=1 commentcmd="telem-data91.pl `sudo python telem_mor_b91.py`"
?
I'm sending voltages and temperatures.
If you want to see my python code, just ask.? It's not the best, but it works including sequence number.
There is no reason to send telemetry parameters, the :PARM, :UNIT, :EQNS, and :BITS message(s), more than once a day.? I send them once a year, and it's all good.? After all, the data is for me, so I know what everything is...
?
Arnold, KQ6DI
?
?
|
||
¿ªÔÆÌåÓýOn 9/17/23 19:40, Mark Phillips wrote:
"finger help@..." indicates that the caret symbol prior to the municipal name returns imperial units. Many thanks for reminding me of the finger command. I used to use it extensively 1989-1991 to check the online status of a graduate astronomy friend at UNMLC, and then "talk" for realtime textual communications. There were several days when he wasn't online, and then I was informed that he didn't survive a private AC crash in TX. Maybe that's why I put the finger command out of mind, but again, thank you for reminding me of this very useful UNIX/Linux tool. |
||
I don't want to use an IG but just sent locally from a raspberry and a transmitter located at altitude, the temperature and humidity from a text file (data from a DHT22 probe and saved in a txt file) without this is visible on aprs.fi
Is it possible ? what is the format of telemetry frames? base 91 is it? THANKS |
||
as I wrote, I don't have a weather station. I use a DHT22 probe.
temperature and humidity are recorded in a text file using a python program. The question was how to use this text file in telemetry, I think that would be best. I had already read the tool kit documentation but without understanding everything for my case. |
||
You could append the .txt file to a beacon, like this, using the head, tail or cut commands. PBEACON LAT=42^37.14N LONG=71^20.83W SYMBOL="weather station" COMMENTCMD="tail -1 filename.txt" An even better solution would be to format your .txt file like a wxnow.txt file. PBEACON LAT=42^37.14N LONG=71^20.83W SYMBOL="weather station" COMMENTCMD="tail -1 wxnow.txt" (Found on page 115 of the Direwolf User Manual) Patrick (N3TSZ)
On Saturday, October 21, 2023 at 12:57:13 PM EDT, ROBERT <om.f6gdl@...> wrote:
as I wrote, I don't have a weather station. I use a DHT22 probe. temperature and humidity are recorded in a text file using a python program. The question was how to use this text file in telemetry, I think that would be best. I had already read the tool kit documentation but without understanding everything for my case. |
||
I send the data in Telemetry.? Just as an example, see WA6DOP-4.
I also have one sending temperature, humidity and calculated dew point.
?
P use Python to build my telemetry strings for direwolf to send
Arnold, KQ6DI
|
||
For some reason my original message never made it to the list, only this message with where the weather data is.
I have code I wrote that uses Direwolf to send my weather data via radio and there is also code in there to send that same data directly to APRS-IS. ?The code is probably more than you need and it¡¯s not all that clean but is here if you want to check it out:? The relevant routines are: sendToRadio() send_to_kiss_tnc() connectToDireWolf() The code that creates the weather packet: transmit_wx_frame() And then the code to send directly to APRS-IS: sendPacket_thread_entry() An example of the data is here: ? Please contact me off list if you have questions about the code, assuming it's useful to you. |