DIYHUE : message Bad request version on pairing

Hello,

I am trying to pairing diyhue with hue essential, and the pairing automatique not working. when I look log in RPI : I show this message :

2 19:58:41 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:41,340 - flaskUI.restful - INFO - {'devicetype': 'Hue Essentials#SM-A750FN', 'generateclientkey': True}
Jan  2 19:58:41 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:41,343 - werkzeug - INFO - 192.168.1.11 - - [02/Jan/2024 19:58:41] "POST /api/ HTTP/1.1" 200 -
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:42,373 - werkzeug - ERROR - 192.168.1.11 - - [02/Jan/2024 19:58:42] code 400, message Bad request version ('\x13\x01\x13\x02\x13\x03À+À,Ì©À/À0̨À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x00\x8b\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:42,373 - werkzeug - INFO - 192.168.1.11 - - [02/Jan/2024 19:58:42] "#033[35m#033[1m#026#003#001
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: ö#001
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: ò#003#003ágø#035z#014Ù�te�Ú]fY87_º´c%�DÚ×û9t(�#025 1(�r#024>�h�üZXæY]·@vg!õï�L�s·pl��+
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: #036#023#001#023#002#023#003À+À,Ì©À/À0̨À#023À#024
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: �
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: �
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: /
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: 5#001
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: �
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: #027
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: ÿ#001
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: #001
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: #033[0m" HTTPStatus.BAD_REQUEST -
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:42,397 - flaskUI.restful - INFO - {'devicetype': 'Hue Essentials#SM-A750FN', 'generateclientkey': True}
Jan  2 19:58:42 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:42,401 - werkzeug - INFO - 192.168.1.11 - - [02/Jan/2024 19:58:42] "POST /api/ HTTP/1.1" 200 -
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:58,318 - werkzeug - ERROR - 192.168.1.11 - - [02/Jan/2024 19:58:58] code 400, message Bad request version ('\x13\x01\x13\x02\x13\x03À+À,Ì©À/À0̨À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x00\x8b\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: 2024-01-02 19:58:58,318 - werkzeug - INFO - 192.168.1.11 - - [02/Jan/2024 19:58:58] "#033[35m#033[1m#026#003#001
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: ö#001
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: ò#003#003��#025f'@N>þ^¯·¼ä#0036ìqé#026òlîÎÙ×Ú#011_%#010_ ÷n^W�Ä©ðêëömÒ$Ü,áî9^!C�qx]%|j#016¾ø
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: #036#023#001#023#002#023#003À+À,Ì©À/À0̨À#023À#024
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: �
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: �
Jan  2 19:58:58 jeedom HueEmulator3.py[6414]: /

I use Hue Essentail 2.4.4

I have try to pair with typing IP and Port and the paring work, but after the diyhue is disconnect, and it’s impossible to reconnect …

I have a missed configuration in diyhue ?

Are you an idea for correct this error ?

Thanks,
Jérôme

I have try to install the beta of diyhue, and the connection is ok…

The request made by Hue Essentials looks good, but diyHue returns a Bad request error, so it seems to be a diyHue issue.

I am not that familiar with the log output, but it seems a bit wrong (weird characters, so maybe corrupted?). I think something is wrong with your diyHue installation. If you run into this issue again I suggest you to open an issue with diyHue.

Thanks @Thomas, I have installed the beta version of diyhue, and now, it’s seem ok.