mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 13:19:50 +03:00
platformio.ini OTA cleaned OTA(moved to ota target
This commit is contained in:
46
compiled/Mega2560-optiboot/mega2560-optiboot/config.json
Normal file
46
compiled/Mega2560-optiboot/mega2560-optiboot/config.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"syslog":["192.168.88.2"],
|
||||
"mqtt":["elev","192.168.88.22"],
|
||||
"dmx":[30],
|
||||
"items": {
|
||||
"relay1":[6,32],
|
||||
"relay2":[6,33],
|
||||
"relays":[7,["relay1","relay2"]],
|
||||
"sensair1":[44,[254,
|
||||
"sensair",
|
||||
{"co2":{"emit":"co2"}},
|
||||
{"mode":"auto"}
|
||||
]
|
||||
],
|
||||
"elevator":[15,{"baud":9600,"serial":"8N1"]
|
||||
},
|
||||
"modbus":
|
||||
{
|
||||
"sensair":{"baud":9600,
|
||||
"poll":{"irs":[[0,3],21,[25,30]],"regs":[0,1,31],"delay":1000},
|
||||
"par":{
|
||||
"co2":{"ir":3},
|
||||
"meterStat":{"ir":0},
|
||||
"alarmStat":{"ir":1},
|
||||
"outStat":{"ir":0},
|
||||
"pwm":{"ir":21},
|
||||
"typeid":{"ir":25,"type":"u32"},
|
||||
"mapver":{"ir":27},
|
||||
"fwver":{"ir":28},
|
||||
"sensorid":{"ir":29,"type":"u32"},
|
||||
"ack":{"reg":0},
|
||||
"command":{"reg":1},
|
||||
"abc":{"reg":31}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"in":{ "23":{"item":"relays","emit":"in1"},
|
||||
"25":{"item":"relays","emit":"in2"},
|
||||
"27":{"item":"relays","emit":"in3"},
|
||||
"29":{"item":"relays","emit":"in4"}
|
||||
}
|
||||
}
|
||||
BIN
compiled/Mega2560-optiboot/mega2560-optiboot/firmware.bin
Executable file
BIN
compiled/Mega2560-optiboot/mega2560-optiboot/firmware.bin
Executable file
Binary file not shown.
6762
compiled/Mega2560-optiboot/mega2560-optiboot/firmware.hex
Normal file
6762
compiled/Mega2560-optiboot/mega2560-optiboot/firmware.hex
Normal file
File diff suppressed because it is too large
Load Diff
1
compiled/Mega2560-optiboot/mega2560-optiboot/getCNF.sh
Executable file
1
compiled/Mega2560-optiboot/mega2560-optiboot/getCNF.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -d -address 192.168.88.70 -port 65280 -username arduino -password password -b /config
|
||||
1
compiled/Mega2560-optiboot/mega2560-optiboot/uploadCNF.sh
Executable file
1
compiled/Mega2560-optiboot/mega2560-optiboot/uploadCNF.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -address elev.local -port 65280 -username arduino -password password -sketch config.json -b -upload /config.json
|
||||
@@ -0,0 +1 @@
|
||||
..\tools\win\arduinoOTA.exe -address 192.168.88.21 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
1
compiled/Mega2560-optiboot/mega2560-optiboot/uploadOTA.sh
Executable file
1
compiled/Mega2560-optiboot/mega2560-optiboot/uploadOTA.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -address 192.168.11.213 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
Reference in New Issue
Block a user