Problem using cmd:all using Websockets

  • Dear all,

    I try to use the cmd:all command using Websocket to retrieve all values at connexion in my custom UI.

    After digging into the source code, I managed to understand that there is a problem in the current master code on the Github:

    In, the line 113:

    result += map(lambda dev: dev.full(), Devices.by_int(dev))

    returns this exception when cmd:all command is fired:

    Exc: unsupported operand type(s) for +=: 'dict' and 'list'

    Could you please help me to correct this, as I really need this functionnality ? I would like not to have to use the REST API to do that, as I do everything using Websockets.

    Best regards.


  • administrators

    Hi Olivier,

    The issue should now be fixed in the latest commit. Please see if it works for you, thank you for reporting the bug.

    Kind regards,

  • Hi Tom,

    great ! Problem fixed !

    Thanks for your fast answer and support.



Log in to reply

Looks like your connection to Forum was lost, please wait while we try to reconnect.