Fixed some config params

This commit is contained in:
2019-04-16 16:51:09 +02:00
parent 764d42095c
commit 32df3b9a2d
+7 -6
View File
@@ -1,6 +1,6 @@
{
"config": {
"mode-bootstrap": { "value": "false" },
"mode-bootstrap": { "value": false },
"tx-timer": { "value": 600000 },
"lora-radio": {
"help": "Which radio to use (options: SX1272,SX1276)",
@@ -25,20 +25,20 @@
"lora-ant-switch": { "value": "NC" },
"lora-pwr-amp-ctl": { "value": "NC" },
"lora-tcxo": { "value": "NC" },
"battery-enabled": { "value": "false" },
"battery-enabled": { "value": false },
"battery-lpp-id": { "value": 1 },
"battery-in-lpp": { "value": "false" },
"battery-in-lpp": { "value": false },
"battery-adc": { "value": "NC" },
"battery-min": { "value": "3.20f" },
"battery-max": { "value": "4.15f" },
"battery-ratio": { "value": "2.0f" },
"hx711-enabled": { "value": "false" },
"hx711-enabled": { "value": false },
"hx711-lpp-id": { "value": 2 },
"hx711-clk": { "value": "NC" },
"hx711-data": { "value": "NC" },
"hx711-scale": { "value": "1.0f" },
"hx711-offset": { "value": 0 },
"dht-enabled": { "value": "false" },
"dht-enabled": { "value": false },
"dht-temp-lpp-id": { "value": 3 },
"dht-hum-lpp-id": { "value": 4 },
"dht-type": { "value": "DHT::DHT22" },
@@ -46,11 +46,12 @@
},
"target_overrides": {
"*": {
"mode-bootstrap": false,
"tx-timer": 600000,
"platform.stdio-convert-newlines": true,
"platform.stdio-baud-rate": 115200,
"platform.default-serial-baud-rate": 115200,
"lora.app-port": 3,
"lora.over-the-air-activation": true,
"lora.duty-cycle-on": true,
"lora.phy": 0,
"lora.device-eui": "{ 0xAB, 0xBA, 0xAB, 0xBA, 0xAB, 0xBA, 0xAB, 0xBA }",