Has anyone successfully done the DTLS handshake with Philips Hue Bridge with Python? For those who don't know these are the requirements for the DTLS handshake:
UDP port 2100 is used for DTLS handshaking and streaming. Only DTLS mode version 1.2 with Pre-Shared Key (PSK) Key exchange method with TLS_PSK_WITH_AES_128_GCM_SHA256 set as Cipher Suite is supported
I plan to make an open-source framework in Python that will make everything easier to develop with Philips Hue but I'm stuck with making the handshake.
I've tried using a few libraries that should solve the problem with the DTLS since Python doesn't have a native solution:
If anyone is looking for a solution, I've made a library that solves the problem and should be easy to use: https://github.com/hrdasdominik/hue-entertainment-pykit It's on the PyPI repository so you can install it via pip.