openiotnetwork / ic880a-setup-scripts Goto Github PK
View Code? Open in Web Editor NEWTTN Gateway setup scripts (Raspi, iC880A)
License: MIT License
TTN Gateway setup scripts (Raspi, iC880A)
License: MIT License
Currently every single packet gets logged to syslog
and to daemon.log
creating multiple MB of logfiles per day.
For example:
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: ##### 2023-05-17 09:00:12 GMT #####
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: ### [UPSTREAM] ###
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # RF packets received by concentrator: 6
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # CRC_OK: 83.33%, CRC_FAIL: 16.67%, NO_CRC: 0.00%
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # RF packets forwarded: 5 (120 bytes)
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PUSH_DATA datagrams sent: 6 (1434 bytes)
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PUSH_DATA acknowledged: 100.00%
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: ### [DOWNSTREAM] ###
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PULL_DATA sent: 3 (100.00% acknowledged)
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # RF packets sent to concentrator: 0 (0 bytes)
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # TX errors: 0
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: ### [GPS] ###
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # Invalid gps time reference (age: 1684314012 sec)
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # Manual GPS coordinates: latitude <>, longitude <>, altitude 425 m
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: ##### END #####
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 13 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 11 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 13 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [down] for server mux.openiot.network PULL_ACK received in 12 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 16 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 12 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 10 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [down] for server mux.openiot.network PULL_ACK received in 12 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 17 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [down] for server mux.openiot.network PULL_ACK received in 18 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 13 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: ##### 2023-05-17 09:01:12 GMT #####
Is there any way to only log WARNINGs and ERRORs ?
Everything seems to work smoothly except for when I run the final script to check the gateway status and get the error
[ERROR]: There are not enough start.sh scripts running.
What does this mean? Can someone please help me with this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.