Compare commits
2 commits
750cbdf443
...
d900bc3844
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d900bc3844 | ||
![]() |
9bcdfcf56c |
2 changed files with 24 additions and 7 deletions
15
.drone.yml
15
.drone.yml
|
@ -26,6 +26,13 @@ steps:
|
|||
- platformio run --environment d1_mini
|
||||
# Build file system image
|
||||
- platformio run --target buildfs --environment d1_mini
|
||||
environment:
|
||||
hostname:
|
||||
from_secret: hostname
|
||||
IOTSSID:
|
||||
from_secret: iotssid
|
||||
iotpwd:
|
||||
from_secret: iotpwd
|
||||
- name: upload
|
||||
image: python:3.10
|
||||
commands:
|
||||
|
@ -37,13 +44,7 @@ steps:
|
|||
# (Build if necessary and) Upload Filesystem Image (here: OTA)
|
||||
# - platformio run --target uploadfs --environment d1_mini
|
||||
|
||||
environment:
|
||||
hostname:
|
||||
from_secret: hostname
|
||||
IOTSSID:
|
||||
from_secret: iotssid
|
||||
iotpwd:
|
||||
from_secret: iotpwd
|
||||
|
||||
#- name: release
|
||||
# image: python:3.10 # eclipse/platformio #
|
||||
# commands:
|
||||
|
|
16
data/homie/config.json.sample
Normal file
16
data/homie/config.json.sample
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "HOSTNAME",
|
||||
"device_id": "HOSTNAME",
|
||||
"wifi": {
|
||||
"ssid": "WIFISSID",
|
||||
"password": "WIFIPASS"
|
||||
},
|
||||
"mqtt": {
|
||||
"host": "mqtt.ctdo.de",
|
||||
"port": 1883,
|
||||
"auth": false
|
||||
},
|
||||
"ota": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue