xled / xled-docs

📖 Unofficial documentation of API reference, protocol details and hardware of Twinkly - Smart Decoration LED lights for Christmas.

Home Page:https://xled-docs.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firmware Version 2.5.9 HowTo use MQTT

testit2020 opened this issue · comments

Hi,
I just use xled-docs-api-reference. There ist described howto change MQTT-data. But I don't get data on my own MQTT-Server. Do you have hint,, how to use?
I use it with:

broker_host: 192.168.178.89 ,broker_port: 1885
client_id: (mac-number) , user: twinkly32 (was default)

Where can I get the Password? Or how should it set?
Thank you.

I haven't adapted documentation for almost any API nor behavior for Generation II. I'm not sure what has changed yet so I'll have to look into that later.

Apparently Gen II hardware uses TLS to connect to MQTT. I'm not sure if a certificate is validated or even pinned in the firmware though.

SO thank you for your time, Merry Christmas.

commented

I'm not sure if a certificate is validated or even pinned in the firmware though.

The certificate is validated. When trying to connect to a self-hosted secure broker it fails with "unknown_ca".

The certificate is validated. When trying to connect to a self-hosted secure broker it fails with "unknown_ca".

Yep. Most likely pinned.