Commit Graph

29 Commits

Author SHA1 Message Date
JP Meijers
992d6b6ce6 Enable logger with env var 2018-02-28 10:47:01 +02:00
Jac Kersing
2922f63a85 Two stage build to reduce image size and build improvements provided by @imrehg.
Add (optional) metering support for use with Prometheus.
2018-02-12 18:32:11 +01:00
jpmeijers
e40d71b4a8 Add the ability to manually configure server 0, which is normally used by TTN 2017-11-12 22:52:13 +02:00
jpmeijers
6893467ce9 Do not require ID and Key when using legacy 2017-11-12 21:52:08 +02:00
jpmeijers
8437d03864 Disabling TTN didn't work. 2017-11-12 21:29:05 +02:00
JP Meijers
d68c4b2904
Update run.py
Add ability to override the EUI.
Fix a bug where server 2 and server 3 are never used.
2017-11-09 10:12:03 +02:00
jpmeijers
16cf0bc3e0 Add default value for server ports, otherwise parsing int might crash. 2017-06-13 19:14:47 +02:00
jpmeijers
0d922b243b Make antenna_gain override value in global_conf 2017-06-13 18:45:24 +02:00
jpmeijers
b1216374d8 Better handling of environment variable strings. 2017-06-13 17:58:30 +02:00
jpmeijers
d1168a50f9 Fix port parameters
Forward crc errors too
2017-05-29 15:14:02 +02:00
jpmeijers
20144c87f8 TTN API changed to include protocol in url.
Only pass hostname to mp_kt_fwd.
2017-04-06 18:47:50 +02:00
jpmeijers
d665de8269 Used wrong variable name for reset pin. 2017-03-09 17:58:16 +01:00
jpmeijers
5b3ed25553 Update to follow today's TTN account server api update.
Added fallback servers.
New location format.
2017-03-09 17:21:25 +01:00
jpmeijers
dd71c64ab5 Fix a bug, and better error message when querying account server. 2017-03-09 01:33:25 +01:00
jpmeijers
2e719cf9ba Check if router key exist first.
Enable default values.
2017-03-09 01:25:17 +01:00
jpmeijers
e97dce7127 Update run script to support new router format in json from account server. 2017-03-09 01:21:43 +01:00
jpmeijers
a450a654a0 Remove check for empty string, as unset variable is None. 2017-03-05 01:04:25 +01:00
jpmeijers
205785cf81 Unset variable catch None value. 2017-03-05 01:03:22 +01:00
jpmeijers
78287fd890 Bugfix 2017-03-05 00:56:26 +01:00
jpmeijers
4ce4c62afe Don't force check for GW_TYPE 2017-03-05 00:30:06 +01:00
jpmeijers
8511a94b25 Change the gpio pins to use physical numbering.
Also allow the reset physical pin number to be set via environment variable.
2017-03-05 00:17:50 +01:00
JP Meijers
ec0fdf6a92 Update run.py
Fix gateway MAC to EUI conversion.
2017-02-28 01:16:26 +01:00
jpmeijers
dbe212df83 Added variable description to TODO.
Added more server configurability.
2017-02-26 20:28:09 +01:00
jpmeijers
9834e8bc46 Some more bugfixes 2017-02-26 19:41:43 +01:00
jpmeijers
f8ea6b5186 Strip port from URL
Fix print bugs
2017-02-26 18:58:09 +01:00
jpmeijers
8cf0b09efc More fixes to run.py 2017-02-26 18:45:18 +01:00
jpmeijers
a1ed75054c Fixes to run.py 2017-02-26 18:35:46 +01:00
jpmeijers
47a64b4a08 Make run.py executable 2017-02-26 18:30:07 +01:00
jpmeijers
e2789618cb Rewrite of startups script in python - UNTESTED!! 2017-02-26 18:28:58 +01:00