I set up Meraki MQTT to send messages to my server's broker when a user clicks their badge button (either red or blue). The messages I receive look like this:
{ "bleType": "Kontakt", "mrMac": "CC:9C:3E:EF:23:F0", "clientMac": "00:FA:B6:0A:D0:91", "timestamp": "2024-05-09 14:51:55.17", "networkId": "N_3665367146726163258", "rawPayload": "02010618166afe0748fc261e0005e33c66f3ffff31326f7130433865", "rssi": "-72", "radio": "ble" }
I need help detecting when these messages arrive after a user clicks their badge and decoding the rawPayload to determine the button color. This information is crucial for taking actions in my system based on the button color. Can anyone assist me with this?