homie.constants
— Homie Constants¶
Node property¶
General¶
Contstants used for payload.
-
homie.constants.
ON
¶
-
homie.constants.
OFF
¶
-
homie.constants.
TRUE
¶
-
homie.constants.
FALSE
¶
-
homie.constants.
LOCKED
¶
-
homie.constants.
UNLOCKED
¶
-
homie.constants.
UTF8
¶
-
homie.constants.
SET
¶
-
homie.constants.
SLASH
¶
-
homie.constants.
UNDERSCORE
¶
Device¶
-
homie.constants.
QOS
¶ Homie convention specifies QOS to
1
.
-
homie.constants.
MAIN_DELAY
¶ This is the delay for the main coro.
-
homie.constants.
STATS_DELAY
¶ This is the delay for the stats coro set to
60000
.
-
homie.constants.
DEVICE_STATE
¶ Name for the subtobic for device state.
Device states¶
-
homie.constants.
STATE_OTA
¶
-
homie.constants.
STATE_INIT
¶
-
homie.constants.
STATE_READY
¶
-
homie.constants.
STATE_RECOVER
¶
-
homie.constants.
STATE_WEBREPL
¶