Aeotec Smart Home Hub/2018/2015 Model Hub Firmware Release Notes - 0.51.02

Hi @AlejandroPadilla,

An error occurs randomly in the driver that causes the driver to restart.

Until now that the code of the 51X libraries has been published, I was not able to see the details of the error since in the latest 49.x libraries published, those lines of code indicated by the error do not exist.

Now I see that the code of the files cosock.lua, st/thread.lua, st/driver.lua has changed in this firmware version 51.x

I have made a dump hub log at approximately 22:10 UTC
Also activate access to my account

Could this have something to do with the Hub’s memory management and the error occurs that restarts the driver?

I have had the same drivers and devices installed for a long time, with sofLimit in both memory fields of the Hub and this error had never happened to me with previous firmware

2023-12-10T21:39:11.857194617+00:00 TRACE Zigbee Light Multifunction Mc  Found CapabilityCommandDispatcher handler in zigbee_light_multifunctions
2023-12-10T21:39:11.868926284+00:00 PRINT Zigbee Light Multifunction Mc  <<< color_Changing_handler:    Inactive
2023-12-10T21:39:11.882791951+00:00 PRINT Zigbee Light Multifunction Mc  device:get_field(colorChanging)        Active
2023-12-10T21:39:11.890481951+00:00 INFO Zigbee Light Multifunction Mc  <ZigbeeChildDevice: 09c67265-e042-41dd-a907-59e5d55321f0 [0f922249-3c54-40fa-a217-ebe9eec40e53][main] (Mirror Group 
Control-Lámpara Sofás)> emitting event: {"attribute_id":"colorChanging","capability_id":"legendabsolute60149.colorChanging","component_id":"main","state":{"value":"Inactive"}}
2023-12-10T21:39:11.912416284+00:00 INFO Zigbee Light Multifunction Mc  <ZigbeeChildDevice: 09c67265-e042-41dd-a907-59e5d55321f0 [0f922249-3c54-40fa-a217-ebe9eec40e53][main] (Mirror Group 
Control-Lámpara Sofás)> emitting event: {"attribute_id":"progOn","capability_id":"legendabsolute60149.progressiveOn1","component_id":"main","state":{"value":"Inactive"}}
2023-12-10T21:39:11.928755617+00:00 INFO Zigbee Light Multifunction Mc  <ZigbeeChildDevice: 09c67265-e042-41dd-a907-59e5d55321f0 [0f922249-3c54-40fa-a217-ebe9eec40e53][main] (Mirror Group 
Control-Lámpara Sofás)> emitting event: {"attribute_id":"progOff","capability_id":"legendabsolute60149.progressiveOff1","component_id":"main","state":{"value":"Inactive"}}
2023-12-10T21:39:11.951865951+00:00 INFO Zigbee Light Multifunction Mc  <ZigbeeChildDevice: 09c67265-e042-41dd-a907-59e5d55321f0 [0f922249-3c54-40fa-a217-ebe9eec40e53][main] (Mirror Group 
Control-Lámpara Sofás)> emitting event: {"attribute_id":"randomOnOff","capability_id":"legendabsolute60149.randomOnOff1","component_id":"main","state":{"value":"Inactive"}}
2023-12-10T21:39:11.955428284+00:00 FATAL Zigbee Light Multifunction Mc  runtime error: [string "cosock.lua"]:313: [string "st/thread.lua"]:124: select returned unwatched socket
stack traceback:
        [C]: in function 'assert'
        [string "st/thread.lua"]:124: in function <[string "st/thread.lua"]:55>
stack traceback:
        [C]: in function 'error'
        [string "cosock.lua"]:313: in field 'run'
        [string "st/driver.lua"]:847: in method 'run'
        [string "init.lua"]:608: in main chunk
2023-12-10T21:39:11.973594951+00:00 INFO Zigbee Light Multifunction Mc  <ZigbeeChildDevice: 09c67265-e042-41dd-a907-59e5d55321f0 [0f922249-3c54-40fa-a217-ebe9eec40e53][main] (Mirror Group 
Control-Lámpara Sofás)> emitting event: {"attribute_id":"circadian","capability_id":"legendabsolute60149.circadian","component_id":"main","state":{"value":"Inactive"}}
2023-12-10T21:39:20.412010385+00:00 TRACE Zigbee Light Multifunction Mc  Setup driver zigbee_light_multifunctions with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_light_multifunctions
  default_handlers:
    added:
    infoChanged:
    removed:
    init:
    doConfigure:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_light_multifunctions -> XY Color Bulb
      default_handlers:
        added:
      child_dispatchers:
3 Likes