tikismoke / home-assistant-nespressoble

#deprecated see Readme to migrate to a better one. NESPRESSO ble Home Assistant custom componenets and also a 2MQTT script
GNU General Public License v3.0
38 stars 6 forks source link

Auth code to hex #15

Closed SilvanLaroo closed 1 year ago

SilvanLaroo commented 1 year ago

Hi Tikismoke,

Thanks for your great work. I'm trying to make the mqtt script work, there's an auth code needed in hex format. How do I go from my auth key (I already retrieved it) to the hex array format?

Regards, Silvan

tikismoke commented 1 year ago

Just sebarate each byte and add 0x before. In this example: 0x82, 0x87,0xee,0x82,0x59,0x3d,0x3c,0x4e The auth code is 8287ee82593d3c4e

tikismoke commented 1 year ago

Hope it helps.

SilvanLaroo commented 1 year ago

Ah great, thanks!