Compare commits
2 Commits
v0.3.2
...
10b337d43f
Author | SHA1 | Date | |
---|---|---|---|
10b337d43f | |||
d19bd16561 |
BIN
.vscode/.BROWSE.C_CPP.DB
vendored
BIN
.vscode/.BROWSE.C_CPP.DB
vendored
Binary file not shown.
BIN
.vscode/.BROWSE.C_CPP.DB-shm
vendored
BIN
.vscode/.BROWSE.C_CPP.DB-shm
vendored
Binary file not shown.
BIN
.vscode/.BROWSE.C_CPP.DB-wal
vendored
BIN
.vscode/.BROWSE.C_CPP.DB-wal
vendored
Binary file not shown.
15
data/homie/config.example.json
Normal file
15
data/homie/config.example.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "deskcontrol",
|
||||||
|
"wifi": {
|
||||||
|
"ssid": "<SSID>",
|
||||||
|
"password": "<PASS>"
|
||||||
|
},
|
||||||
|
"mqtt": {
|
||||||
|
"host": "<Domain>",
|
||||||
|
"port": 1883,
|
||||||
|
"auth": false
|
||||||
|
},
|
||||||
|
"ota": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
@ -29,5 +29,3 @@ lib_deps = https://github.com/homieiot/homie-esp8266.git#develop-v3
|
|||||||
[env:nodemcu]
|
[env:nodemcu]
|
||||||
board = nodemcu
|
board = nodemcu
|
||||||
|
|
||||||
[env:nodemcuv2]
|
|
||||||
board = nodemcuv2
|
|
@ -70,7 +70,7 @@ void loopHandler() {
|
|||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
|
||||||
Homie_setFirmware("deskcontrol", "0.3.2");
|
Homie_setFirmware("deskcontrol", "1.1.0");
|
||||||
|
|
||||||
Homie.disableResetTrigger();
|
Homie.disableResetTrigger();
|
||||||
powerNode.advertise("state").settable(powerStateHandler);
|
powerNode.advertise("state").settable(powerStateHandler);
|
||||||
|
Reference in New Issue
Block a user