mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Zigbee startup event triggered after plugins are loaded (#21320)
This commit is contained in:
parent
f7e285ab11
commit
d08bf78e24
@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Changed
|
### Changed
|
||||||
- uDisplay fast drawing on RGB displays
|
- uDisplay fast drawing on RGB displays
|
||||||
- HDMI CEC synchronously sends messages
|
- HDMI CEC synchronously sends messages
|
||||||
|
- Zigbee startup event triggered after plugins are loaded
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- HASPmota `align` attribute and expand PNG cache
|
- HASPmota `align` attribute and expand PNG cache
|
||||||
|
@ -532,14 +532,14 @@ static const Zigbee_Instruction zb_prog[] PROGMEM = {
|
|||||||
// Correctly configured and running, enable all Tasmota features
|
// Correctly configured and running, enable all Tasmota features
|
||||||
// ======================================================================
|
// ======================================================================
|
||||||
ZI_LABEL(ZIGBEE_LABEL_READY)
|
ZI_LABEL(ZIGBEE_LABEL_READY)
|
||||||
ZI_MQTT_STATE(ZIGBEE_STATUS_OK, kStarted)
|
|
||||||
ZI_LOG(LOG_LEVEL_INFO, kZigbeeStarted)
|
|
||||||
ZI_CALL(&Z_State_Ready, 1) // Now accept incoming messages
|
|
||||||
ZI_CALL(&Z_Prepare_Storage, 0)
|
ZI_CALL(&Z_Prepare_Storage, 0)
|
||||||
ZI_CALL(&Z_Load_Devices, 0)
|
ZI_CALL(&Z_Load_Devices, 0)
|
||||||
ZI_CALL(&Z_Load_Data, 0)
|
ZI_CALL(&Z_Load_Data, 0)
|
||||||
ZI_CALL(&Z_Set_Save_Data_Timer, 0)
|
ZI_CALL(&Z_Set_Save_Data_Timer, 0)
|
||||||
ZI_CALL(&Z_ZbAutoload, 0)
|
ZI_CALL(&Z_ZbAutoload, 0)
|
||||||
|
ZI_MQTT_STATE(ZIGBEE_STATUS_OK, kStarted)
|
||||||
|
ZI_LOG(LOG_LEVEL_INFO, kZigbeeStarted)
|
||||||
|
ZI_CALL(&Z_State_Ready, 1) // Now accept incoming messages
|
||||||
ZI_CALL(&Z_Query_Bulbs, 0)
|
ZI_CALL(&Z_Query_Bulbs, 0)
|
||||||
|
|
||||||
ZI_LABEL(ZIGBEE_LABEL_MAIN_LOOP)
|
ZI_LABEL(ZIGBEE_LABEL_MAIN_LOOP)
|
||||||
@ -979,14 +979,14 @@ static const Zigbee_Instruction zb_prog[] PROGMEM = {
|
|||||||
ZI_SEND(ZBS_SET_MCAST_ENTRY) ZI_WAIT_RECV(2500, ZBR_SET_MCAST_ENTRY)
|
ZI_SEND(ZBS_SET_MCAST_ENTRY) ZI_WAIT_RECV(2500, ZBR_SET_MCAST_ENTRY)
|
||||||
|
|
||||||
// ZI_LABEL(ZIGBEE_LABEL_READY)
|
// ZI_LABEL(ZIGBEE_LABEL_READY)
|
||||||
ZI_MQTT_STATE(ZIGBEE_STATUS_OK, kStarted)
|
|
||||||
ZI_LOG(LOG_LEVEL_INFO, kZigbeeStarted)
|
|
||||||
ZI_CALL(&Z_State_Ready, 1) // Now accept incoming messages
|
|
||||||
ZI_CALL(&Z_Prepare_Storage, 0)
|
ZI_CALL(&Z_Prepare_Storage, 0)
|
||||||
ZI_CALL(&Z_Load_Devices, 0)
|
ZI_CALL(&Z_Load_Devices, 0)
|
||||||
ZI_CALL(&Z_Load_Data, 0)
|
ZI_CALL(&Z_Load_Data, 0)
|
||||||
ZI_CALL(&Z_Set_Save_Data_Timer, 0)
|
ZI_CALL(&Z_Set_Save_Data_Timer, 0)
|
||||||
ZI_CALL(&Z_ZbAutoload, 0)
|
ZI_CALL(&Z_ZbAutoload, 0)
|
||||||
|
ZI_MQTT_STATE(ZIGBEE_STATUS_OK, kStarted)
|
||||||
|
ZI_LOG(LOG_LEVEL_INFO, kZigbeeStarted)
|
||||||
|
ZI_CALL(&Z_State_Ready, 1) // Now accept incoming messages
|
||||||
ZI_CALL(&Z_Query_Bulbs, 0)
|
ZI_CALL(&Z_Query_Bulbs, 0)
|
||||||
|
|
||||||
ZI_LABEL(ZIGBEE_LABEL_MAIN_LOOP)
|
ZI_LABEL(ZIGBEE_LABEL_MAIN_LOOP)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user