J’essaye de paramétrer un RM4 Pro en utilisant les explications de pagu mais cela ne fonctionne pas. Le plugin Broadlink trouve bien mon RM4 Pro mais aucun apprentissage de commande ne fonctionne.
En observant les logs, j’ai remarqué de multiples erreurs ERROR : invalid literal for int() with base 10: ‹ ›. Est-ce que cela peut expliquer que cela ne fonctionne pas ? Et savez-vous d’où peuvent provenir ces erreurs ?
J’ai trouvé d’autres topics qui parlent de cette erreur mais rien ne semble correspondre à mon problème.
En vous remerciant
Voici le log :
[2026-06-30 19:48:43.685] DEBUG : Client connected to [127.0.0.1:46352]
[2026-06-30 19:48:43.686] DEBUG : Message read from socket: b'{"apikey":"t9agohBQ0mtZK7VTiR8H7MqqvSAGnQaHixBeX0bwWDqgR9QENA5hFbtSdNwvn9Ax","cmd":"send","cmdType":"learn","device":{"mac":"9e07545616e8","ip":"192.168.1.51","name":"RM4 Pro","delay":300,"port":"","type":"rm4","mode":"normal"}}'
[2026-06-30 19:48:43.686] DEBUG : Client disconnected from [127.0.0.1:46352]
[2026-06-30 19:48:43.694] DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2026-06-30 19:48:43.695] DEBUG : Send command
[2026-06-30 19:48:43.695] ERROR : invalid literal for int() with base 10: ''
[2026-06-30 19:49:11.583] DEBUG : Client connected to [127.0.0.1:37816]
[2026-06-30 19:49:11.584] DEBUG : Message read from socket: b'{"apikey":"t9agohBQ0mtZK7VTiR8H7MqqvSAGnQaHixBeX0bwWDqgR9QENA5hFbtSdNwvn9Ax","cmd":"send","cmdType":"learn","device":{"mac":"9e07545616e8","ip":"192.168.1.51","name":"RM4 Pro","delay":300,"port":"","type":"rm4","mode":"rf"}}'
[2026-06-30 19:49:11.584] DEBUG : Client disconnected from [127.0.0.1:37816]
[2026-06-30 19:49:11.598] DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2026-06-30 19:49:11.598] DEBUG : Send command
[2026-06-30 19:49:11.598] ERROR : invalid literal for int() with base 10: ''
[2026-06-30 19:53:17.724] DEBUG : Handling RM4 for RM4 Pro
[2026-06-30 19:53:17.725] ERROR : invalid literal for int() with base 10: ''
[2026-06-30 19:58:17.726] DEBUG : Handling RM4 for RM4 Pro
[2026-06-30 19:58:17.727] ERROR : invalid literal for int() with base 10: ''
[2026-06-30 20:03:17.745] DEBUG : Handling RM4 for RM4 Pro
[2026-06-30 20:03:17.745] ERROR : invalid literal for int() with base 10: ''
[2026-06-30 20:08:17.757] DEBUG : Handling RM4 for RM4 Pro
[2026-06-30 20:08:17.757] ERROR : invalid literal for int() with base 10: ''
[2026-06-30 20:13:17.774] DEBUG : Handling RM4 for RM4 Pro
[2026-06-30 20:13:17.774] ERROR : invalid literal for int() with base 10: ''
Comme dit souvent ici pour toute demande d’aide et/ou d’analyse de dysfonctionnement, la fourniture de la page santé est quasiment un prérequis pour savoir de quoi on parle
Je pense avoir compris d’où venait cette erreur, j’avais oublié de saisir le numéro du port 80. Depuis je n’ai plus cette erreur par contre j’ai régulièrement des erreurs ERROR : The device is offline. Pourtant le device est bien connecté j’arrive à y accéder dans problèmes depuis l’appli Broadlink.
[2026-06-30 23:37:54.180] DEBUG : Client connected to [127.0.0.1:34984]
[2026-06-30 23:37:54.181] DEBUG : Message read from socket: b'{"apikey":"vHO7DAL0ARyhQtWJm7EnGKZs8eYqc7x3U0Ac990ckzeb6E8xnCsAkwxni3GiXYeI","cmd":"send","cmdType":"learn","device":{"mac":"9e07545616e8","ip":"192.168.1.51","name":"RM4","delay":300,"port":"80","type":"rm4","mode":"normal"}}'
[2026-06-30 23:37:54.181] DEBUG : Client disconnected from [127.0.0.1:34984]
[2026-06-30 23:37:54.188] DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2026-06-30 23:37:54.188] DEBUG : Send command
[2026-06-30 23:37:54.189] DEBUG : Connecting to Broadlink device with name RM4....
[2026-06-30 23:37:59.743] DEBUG : Client connected to [127.0.0.1:34986]
[2026-06-30 23:37:59.744] DEBUG : Message read from socket: b'{"apikey":"vHO7DAL0ARyhQtWJm7EnGKZs8eYqc7x3U0Ac990ckzeb6E8xnCsAkwxni3GiXYeI","cmd":"send","cmdType":"learn","device":{"mac":"9e07545616e8","ip":"192.168.1.51","name":"RM4","delay":300,"port":"80","type":"rm4","mode":"rf"}}'
[2026-06-30 23:37:59.744] DEBUG : Client disconnected from [127.0.0.1:34986]
[2026-06-30 23:38:04.201] ERROR : The device is offline
[2026-06-30 23:38:04.222] DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2026-06-30 23:38:04.223] DEBUG : Send command
[2026-06-30 23:38:04.224] DEBUG : Connecting to Broadlink device with name RM4....
[2026-06-30 23:38:14.236] ERROR : The device is offline
[2026-06-30 23:41:02.570] DEBUG : Handling RM4 for RM4
[2026-06-30 23:41:02.571] DEBUG : Connecting to Broadlink device with name RM4....
[2026-06-30 23:41:12.585] ERROR : The device is offline
Avez vous délié l’application ? De mon coté je n’ai plus l’application d’installée depuis longtemps mais dans mon souvenir il faut juste l’utiliser pour connecter le RM4 pro au wifi puis l’oublier, dans mon cas elle est désinstallée.