Gateway health monitoring #189
Replies: 6 comments 5 replies
-
Gateways have the ability to run user-defined functions at set intervals, and it's covered here in the readme. You set up routing for readings coming from inside the gateway by configuring I should really add an example to the repo itself, though. Sounds like a cool setup! Let me know how the internal DataReading stuff works out! |
Beta Was this translation helpful? Give feedback.
-
That solution looks perfect! My system is still not quite presentable enough to showcase here but this information will help. Living in this remote location means components take ages to procure, and progress is slow. I blew up a esp32 the other day through carelessness now i have to wait a month for a replacement. 8*( |
Beta Was this translation helpful? Give feedback.
-
The "toast rack" uart gateway with rpi zero node-red server. The battery is
one of these pieces of shit
https://wiki.geekworm.com/index.php/Raspi_UPS_HAT_Board
Whoever designed it has no idea how a ups is supposed to work. A few people
have hacked them but it gets messy. A WIP and currently bypassed.
Peter vk6fun
…On Wed, 29 Nov 2023, 4:18 am Timm Bogner, ***@***.***> wrote:
I found and added an example that I made a long time ago.
<https://github.com/timmbogner/Farm-Data-Relay-System/tree/main/examples/Gateway_Examples/Repeater_Voltage>
—
Reply to this email directly, view it on GitHub
<#189 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXVVB54NSJJKGNXPJOIVVQDYGZBKXAVCNFSM6AAAAAA743I37SVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMOJWHAYDS>
.
You are receiving this because you authored the thread.Message ID:
<timmbogner/Farm-Data-Relay-System/repo-discussions/189/comments/7696809@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
I still cannot properly debug anything because the serial monitor shows nothing. I have #define FDRS_DEBUG set but I see nothing. I have put Serial.begin(115200); followed by Serial.println("Here I am"); at the beginning of the setup function but nothing. I am despairing. Every other project I run initialises the serial port and I can read the messages in the serial monitor window. FDRS is the only project among the dozens I have which cannot produce any serial output whatever. It is not my cable. It is not my PC. I have tried two other PCs but nothing. Something ruins the serial port right at the beginning but what? |
Beta Was this translation helpful? Give feedback.
-
Usually I simply plug the thing into a USB port and I can watch the serial output on /dev/ttyUSB0. This does not happen with FDRS. I pressed the reset button. OH LOOK there's all the serial output! So simply plugging the unit into a port I get nothing but pressing the reset button makes the serial output appear. Baffling for this feeble brain. Anyway now I can see that radiolib cannot initialise my HopeRF RFM95 module with error message -2. I can make it work with this https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/ but radiolib seems to want pins this module does not have. In particular, LORA_BUSY which is set to pin 33 in the example. |
Beta Was this translation helpful? Give feedback.
-
Commenting out LORA_BUSY wouldn't compile but setting it to RADIOLIB_NC did the job. Thank you so much! I need to look closely at this radiolib. Hamradio protocols like APRS are particularly interesting. This protocol usually does GPS but I have made it conduct all sorts of telemetry |
Beta Was this translation helpful? Give feedback.
-
I set up a small system with a uart gateway a solar powered lora gateway and a solar powered lora repeater and a few sensor nodes but it is difficult to troubleshoot because none of the components (except the sensor nodes themselves at the far end of the system) send signals to indicate if they are up or not. So i want to read battery volts (easy with a simple voltage divider) and maybe even solar current (with a hall sensor or something) and have the g/w's and rptrs send those readings back to base regularly. That way i can watch my dashboard and quickly see where the weak links are
Beta Was this translation helpful? Give feedback.
All reactions