Skip to content

Token encoding doesn't work with Loxone 9.0.9.26 #16

@bimcio

Description

@bimcio

Hi,
my Loxone is currently running firmware 9.0.9.26 and I am connecting using 'AES-256-CBC'. This works fine. But as this mode is no longer supported in the latest version, before upgrading I wanted to make sure the 'Token-Enc' works. Unfortunatelly I was not able to make it work. I always get 401 when trying to call jdev/sys/gettoken:

test_loxapi.js:20
2018-04-08T19:34:37.992Z DEBUG: Loxone text message: {"LL":{"control":"jdev/sys/gettoken/849284a2e6455148d253c8e2f4ff85bf4fc43202/admin/2/edfc5f9a-df3f-4cad-9dddcdc42c732be2/nodeloxWSAPI","value":{"lastE...(210)
test_loxapi.js:20
2018-04-08T19:34:37.993Z INFO : Loxone auth error: {"type":"control","data":{"LL":{"control":"jdev/sys/gettoken/849284a2e6455148d253c8e2f4ff85bf4fc43202/admin/2/edfc5f9a-df3f-4cad-9dddcdc42c732be2/nodeloxWSAPI","value":{"lastEdit":"2009-01-01 01:00:00","unix":1230768000},"code":"401"}},"control":"jdev/sys/gettoken/849284a2e6455148d253c8e2f4ff85bf4fc43202/admin/2/edfc5f9a-df3f-4cad-9dddcdc42c732be2/nodeloxWSAPI","value":{"lastEdit":"2009-01-01 01:00:00","unix":1230768000}}

Bartek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions