summaryrefslogtreecommitdiff
path: root/platformio/relayctl/src/config.def.h.example
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-12-18 06:31:24 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-12-24 12:57:55 +0300
commit0a065f48be99d4ebae49de622a335f23e50c6ca0 (patch)
treeb591d91fac26e5bf7a4dd6d37178b978061ef060 /platformio/relayctl/src/config.def.h.example
parent022ec129bb8f511a7bf8cf537f165afce2303262 (diff)
pump-mqtt-bot: wip; relayctl: somewhat stable
Diffstat (limited to 'platformio/relayctl/src/config.def.h.example')
-rw-r--r--platformio/relayctl/src/config.def.h.example8
1 files changed, 4 insertions, 4 deletions
diff --git a/platformio/relayctl/src/config.def.h.example b/platformio/relayctl/src/config.def.h.example
index 13ddd46..dd3d89b 100644
--- a/platformio/relayctl/src/config.def.h.example
+++ b/platformio/relayctl/src/config.def.h.example
@@ -18,15 +18,15 @@
0x8a, 0xb0, 0xc9, 0x9c, 0xbb \
};
-#define DEFAULT_NODE_ID "relay-node"
+#define DEFAULT_HOME_ID "relay-node"
#define FLASH_BUTTON_PIN 0
#define ESP_LED_PIN 2
#define BOARD_LED_PIN 16
+#define RELAY_PIN 5
// 12 bytes string
-#define SECRET ""
-
-#define DEBUG
+#define HOME_SECRET_SIZE 12
+#define HOME_SECRET ""
#define ARRAY_SIZE(X) sizeof((X))/sizeof((X)[0]) \ No newline at end of file