Bonjour,
Arrivez-vous à faire fonctionner les commandes actions depuis ce plugin ?
Les commandes infos sont bien MAJ mais les actions ne fonctionne pas.
Action éteindre
Log plugin
[2025-11-15 11:36:17] DEBUG : Envoi de la commande turn_off depuis Jeedom
Log daemon :
[2025-11-15 11:33:05] DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2025-11-15 11:33:05] INFO : SOCKET-READ------Received command from jeedom : action
[2025-11-15 11:33:05] DEBUG : SOCKET-READ------Attempt an action on a device
[2025-11-15 11:33:05] DEBUG : SOCKET-READ------Action Thread Launched
[2025-11-15 11:33:05] DEBUG : SONYBRAVIA------TVINFO : BRAVIA K-75XR70
Exception ignored in thread started by: <function action_handler at 0x7fd1730dc040>
Traceback (most recent call last):
File "/var/www/html/plugins/sonybravia/resources/sonybravia.py", line 203, in action_handler
globals.SONYBRAVIA_COM.turn_off()
File "/var/www/html/plugins/sonybravia/resources/bravia.py", line 330, in turn_off
self.send_req_ircc(self.get_command_code('PowerOff'))
File "/var/www/html/plugins/sonybravia/resources/bravia.py", line 133, in send_req_ircc
data = ("<?xml version=\"1.0\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org" +
TypeError: can only concatenate str (not "NoneType") to str
Action Mute
Log plugin
[2025-11-15 11:45:32] DEBUG : Envoi de la commande mute_volume depuis Jeedom
Log Daemon :
[2025-11-15 11:43:00] DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2025-11-15 11:43:00] INFO : SOCKET-READ------Received command from jeedom : action
[2025-11-15 11:43:00] DEBUG : SOCKET-READ------Attempt an action on a device
[2025-11-15 11:43:00] DEBUG : SOCKET-READ------Action Thread Launched
Exception ignored in thread started by: <function action_handler at 0x7ff23d052040>
Traceback (most recent call last):
File "/var/www/html/plugins/sonybravia/resources/sonybravia.py", line 215, in action_handler
globals.SONYBRAVIA_COM.mute_volume(message['commandparam'])
TypeError: mute_volume() takes 1 positional argument but 2 were given
Certaines génère des erreurs python d’autres rien de spécial mais ne fonctionne pas
Version de python : Python 3.9.2



