DEbian 11 / Jeedomm 4.4 / La tâche plugin::cron n'arrive pas à finir à cause du plugin : harmonyhub

Bonjour

J’ai ce message apparu dernierement dans le centre de message sur le Core : La tâche plugin::cron n’arrive pas à finir à cause du plugin : harmonyhub nous vous conseillons de désactiver le plugin et de contacter l’auteur.
→ Dans le Cron je ne vois pas de tache avec le nom harmony
→ Aucun log dans le plugin HArmony en lien en mode debug
→ Dependance à jour du dernier plugin Beta

PLugin à jour en Beta sur Jeedom Alpha 4.4.0 Debian 11.7 Page Santé full vert.
Python 3 : Python 3.9.2

Bonjour,
même message depuis la mise à jour ce jour, je suis en stable sur une jeedom 4.3.17

Cest potentiellement lié à la modification qua été effectuée il y a deux jorus sur le plugin pour python 3 : Plus d'activités trouvées sur mes 2 hub Harmony avec le plugin sous Debian 11 - #8 par Mips

ca c’est pas vraiment possible, si tu fais un refresh c’est obligé d’avoir un log

Je pense que les dépendances ne sont pas correctes, mais c’était déjà le cas avant; et je n’ai pas remonté une machine vierge pour tester toutes les dépendances

peux-tu executer la commande suivante en ssh et me montrer l’output?

sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/3rdparty/PyHarmony/harmony/__main__.py --harmony_ip IP_HARMONY_HUB show_current_activity

bien mettre l’ip du hub à la place de IP_HARMONY_HUB

Bonjour Mips

Oui aucun Log en Lien avec ce message d’erreur dans le centre de message.
JE n’ai pas non plus de Log pour l’installation des dépendances.

Voici le log « harmonyHub »

0191|[2023-09-20 16:49:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0192|[2023-09-20 16:58:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0193|[2023-09-20 16:58:32]DEBUG : result:TV SmartTV
0194|[2023-09-20 16:59:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0195|[2023-09-20 16:59:10]DEBUG : result:TV SmartTV
0196|[2023-09-20 17:00:26]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0197|[2023-09-20 17:04:07]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0198|[2023-09-20 17:07:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0199|[2023-09-20 17:10:12]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0200|[2023-09-20 17:14:10]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0201|[2023-09-20 17:18:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0202|[2023-09-20 17:21:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0203|[2023-09-20 17:24:05]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0204|[2023-09-20 17:28:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0205|[2023-09-20 17:31:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0206|[2023-09-20 17:35:12]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0207|[2023-09-20 17:38:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0208|[2023-09-20 17:41:07]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0209|[2023-09-20 17:44:10]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0210|[2023-09-20 17:48:11]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0211|[2023-09-20 17:51:09]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0212|[2023-09-20 17:55:18]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity

si il y a des entrées en mode debug dans le log qui correspondent au cron minute, c’est toutes celles qu’on voit

0194|[2023-09-20 16:59:06]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0195|[2023-09-20 16:59:10]DEBUG : result:TV SmartTV
0196|[2023-09-20 17:00:26]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity
0197|[2023-09-20 17:04:07]DEBUG : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.1.36 show_current_activity

donc tout fonctionne en fait, en tout cas ca a fonctionné à 16h59 pour la dernière fois càd 9min après la création de ton post sur community => donc le plugin a fonctionné sur ton jeedom dans sa nouvelle version

et effectivement après c’est ton hub qui ne répond plus assez rapidement;

jusqu’ici je n’ai pas assez d’info pour en dire plus

edit: je viens de réinstaller un jeedom 4.3 vierge (container docker), installation de ce seul plugin, dépendances, config et je confirme que ca fonctionne directement donc coté plugin tout est ok

il faut comprendre pq ca ne répond plus chez toi; redémarres le hub harmony p-e?

J’ai redémarré le HUB au cas ou il est bien en vert.

En lancant ta commande en ssh jai le retour :
CRITICAL: client XMPP timeout, reattempting
CRITICAL: client XMPP timeout, reattempting
INFO: client XMPP timeout, reattempting
TV SmartTV

Même problème chez moi. Depuis la MAJ, même erreur sur le cron.
Mémoire saturée sur Linux. VM qui ne répond plus. Hard reset pour que ça reparte.

Wait and See

Page santé jeedom ? Ca serait cool de fournir ce genre d’info directement :wink:
C’est quoi comme box? Vm? Pi? …?

Le hub et jeedom sont bien sur le même subnet?
Un ping passe sans problème?

J’ai jamais eu de probleme sur ce plugin ni de message d’erreurs jusqua maintenant. Tout est sur le meme réseau.
Il s’agit d’une VMM sur synology.

Le message est apparu juste apres avoir installé la nouvelle version en BETA et avoir fait la compilation des dépendances.

Ok et moi il fonctionne sur 2 vm debian 11 et une debian 10 ainsi qu’une install toute fraiche dans un container

Et je répète il a fonctionné chez toi jusque 16h59 chez toi donc « ca marche »

Du coup tu proposes quoi? On reste sur nos positions ou on cherche ce qu’il se passe?

Une piste: si tu as l’occasion d’installer un jeedom neuf et tester là

Les dépendances n’ont pas changée, le plugin installait déjà les libs pour python3 alors qu’il utilisait python2

Je ne te dis pas qu’il marche pas. Je dit que j’ai un message d’erreur dans le centre de message indiqué dans le titre de ce post. Apparement deux autres personnes ont répondus l’avoir aussi.

Le seul truc qui a changé sur ma configuration c’est ce plugin aujourdhui, et hier l’installation de dreame qui a peux etre cassé des choses sur python.

Je vais faire un rollback sur la version dhier et je te tiens au courant.

Oui le message dans le centre de message c’est a cause d’un timeout sur la commande « refresh des activités », c’est ca que le cron exécute chaque minute.

Et ce timeout on a vu l’origine avec la commande que je t’ai faite exécutée manuellement.
Le client xmpp c’est lui qui se connecte au hub et là il n’y arrive pas, le hub répond pas.

D’où ma demande de faire un ping sur l’ip du hub depuis ta vm jeedom.

Configures tu une ip ou un nom d’hôte? Ipv4?

oui IP fixe pour le Hub et j’arrive bien à le pinguer

Je viens de faire un rollback, plus de message de cron et ca reponds :

000|[2023-09-20 19:23:04]DEBUG : Sortie console : {"sequence": [], "global": {"locale": "en-US", "timeStampHash": "9b00f4b1-51af-4d43-95e3-92ad7a25ce9f36b48727-e9f7-4f3f-bf87-46adabb58d46/83f092eb-d5e8-4d89-92d5-711b9009d19bfdf53f33-896a-4ecc-80fc-d777e0cb1f7c6620247f-0704-4061-a7b5-5364d54ad1248838288hub+salonen-USmortyre@hotmail.comUSSilverlightWebClient02065866250False555192207europe%2fparisTrue8646247381;21b40876af3597fc483b281a5fb18fe4"}, "dataConsent": false, "content": {"contentServiceHost": "https://content.dhg.myharmony.com/1.0/Service/{providerId}", "contentUserHost": "https://content.dhg.myharmony.com/1.0/User;{userProfileUri}", "contentImageHost": "https://d1tk8oqnnsddt5.cloudfront.net/1.0/station/{stationId}/image;maxX=40;maxY=40", "householdUserProfileUri": "svcs.myharmony.com/res//household/4436063-8/daG36yqKagrr+P0ubxuU8WiWVDPBGO2OBQ7iiUMnU=/user/default", "contentDeviceHost": "https://content.dhg.myharmony.com/1.0/Device;{deviceProfileUri}"}, "activity": [{"activityOrder": 9, "enterActions": [], "baseImageUri": "https://rcbu-test-ssl-amr.s3.amazonaws.com/", "activityTypeDisplayName": "Default", "roles": {"ChannelChangingActivityRole": "36930490", "VolumeActivityRole": "71987077", "DisplayActivityRole": "63494863"}, "fixit": {"44575807": {"id": "44575807", "Power": "Off"}, "36930488": {"isRelativePower": true, "id": "36930488", "Power": "Off"}, "72747339": {"id": "72747339", "Power": "Off"}, "36930493": {"id": "36930493", "Power": "Off"}, "71987077": {"Input": "CBL/SAT", "id": "71987077", "Power": "On"}, "63494863": {"Input": "HDMI 3", "id": "63494863", "Power": "On"}, "45560926": {"isRelativeInput": true, "id": "45560926", "Power": "Off"}, "36930490": {"Input": "TV", "isRelativeInput": true, "isRelativePower": true, "id": "36930490", "Power": "On"}, "80151573": {"isRelativePower": true, "id": "80151573", "Power": "Off"}, "53551604": {"isRelativeInput": true, "id": "53551604", "Power": "Off"}}, "rules": [], "sequences": [], "isAVActivity": true, "label": "SATELLITE sur TV", "zones": null, "controlGroup": [{"function": [{"action": "{\"command\":\"0\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number0", "label": "0"}, {"action": "{\"command\":\"1\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number1", "label": "1"}, {"action": "{\"command\":\"2\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number2", "label": "2"}, {"action": "{\"command\":\"3\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number3", "label": "3"}, {"action": "{\"command\":\"4\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number4", "label": "4"}, {"action": "{\"command\":\"5\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number5", "label": "5"}, {"action": "{\"command\":\"6\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number6", "label": "6"}, {"action": "{\"command\":\"7\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number7", "label": "7"}, {"action": "{\"command\":\"8\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number8", "label": "8"}, {"action": "{\"command\":\"9\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number9", "label": "9"}], "name": "NumericBasic"}, {"function": [{"action": "{\"command\":\"Mute\",\"type\":\"IRCommand\",\"deviceId\":\"71987077\"}", "name": "Mute", "label": "Mute"}, {"action": "{\"command\":\"VolumeDown\",\"type\":\"IRCommand\",\"deviceId\":\"71987077\"}", "name": "VolumeDown", "label": "Volume Down"}, {"action": "{\"command\":\"VolumeUp\",\"type\":\"IRCommand\",\"deviceId\":\"71987077\"}", "name": "VolumeUp", "label": "Volume Up"}], "name": "Volume"}, {"function": [{"action": "{\"command\":\"ChannelPrev\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "PrevChannel", "label": "Prev Channel"}, {"action": "{\"command\":\"ChannelDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "ChannelDown", "label": "Channel Down"}, {"action": "{\"command\":\"ChannelUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "ChannelUp", "label": "Channel Up"}], "name": "Channel"}, {"function": [{"action": "{\"command\":\"DirectionDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionDown", "label": "Direction Down"}, {"action": "{\"command\":\"DirectionLeft\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionLeft", "label": "Direction Left"}, {"action": "{\"command\":\"DirectionRight\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionRight", "label": "Direction Right"}, {"action": "{\"command\":\"DirectionUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionUp", "label": "Direction Up"}, {"action": "{\"command\":\"OK\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Select", "label": "Select"}], "name": "NavigationBasic"}, {"function": [{"action": "{\"command\":\"Stop\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Stop", "label": "Stop"}, {"action": "{\"command\":\"Play\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Play", "label": "Play"}, {"action": "{\"command\":\"Rewind\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Rewind", "label": "Rewind"}, {"action": "{\"command\":\"Pause\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Pause", "label": "Pause"}, {"action": "{\"command\":\"FastForward\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "FastForward", "label": "Fast Forward"}], "name": "TransportBasic"}, {"function": [{"action": "{\"command\":\"Record\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Record", "label": "Record"}], "name": "TransportRecording"}, {"function": [{"action": "{\"command\":\"SkipBack\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "SkipBackward", "label": "Skip Backward"}, {"action": "{\"command\":\"SkipForward\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "SkipForward", "label": "Skip Forward"}], "name": "TransportExtended"}, {"function": [{"action": "{\"command\":\"Menu\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Menu", "label": "Menu"}, {"action": "{\"command\":\"Back\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Back", "label": "Back"}], "name": "NavigationDVD"}, {"function": [{"action": "{\"command\":\"Favorite\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Favorite", "label": "Favorite"}], "name": "NavigationDSTB"}, {"function": [{"action": "{\"command\":\"OK\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "SelectGame", "label": "Select"}], "name": "GameType3"}, {"function": [{"action": "{\"command\":\"Epg\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Guide", "label": "Guide"}, {"action": "{\"command\":\"Info\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Info", "label": "Info"}, {"action": "{\"command\":\"Exit\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Exit", "label": "Exit"}], "name": "NavigationExtended"}, {"function": [{"action": "{\"command\":\"Sleep\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Sleep", "label": "Sleep"}], "name": "Setup"}, {"function": [{"action": "{\"command\":\"Green\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Green", "label": "Green"}, {"action": "{\"command\":\"Red\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Red", "label": "Red"}, {"action": "{\"command\":\"Blue\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Blue", "label": "Blue"}, {"action": "{\"command\":\"Yellow\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Yellow", "label": "Yellow"}], "name": "ColoredButtons"}, {"function": [{"action": "{\"command\":\"Teletext\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Teletext", "label": "Teletext"}], "name": "Teletext"}], "imageKey": "Activity/A648AC27-8B04-4CAD-A2B2-82A83BCDB741.png", "suggestedDisplay": "WatchTV", "VolumeActivityRole": "71987077", "isTuningDefault": false, "type": "VirtualTelevisionN", "id": "20735269", "isMultiZone": false, "icon": "userdata: 0x4454c8"}, {"activityOrder": 8, "enterActions": [{"name": "SendCommand", "parameters": {"Modifier": "press", "Command": "directiondown", "DeviceId": "36930493"}}], "activityTypeDisplayName": "Default", "roles": {"PassThroughActivityRole": "36930493", "PlayMovieActivityRole": "36930490", "ChannelChangingActivityRole": "36930490", "VolumeActivityRole": "71987077", "DisplayActivityRole": "53551604", "PlayMediaActivityRole": "71987077"}, "fixit": {"44575807": {"id": "44575807", "Power": "Off"}, "36930488": {"isRelativePower": true, "id": "36930488", "Power": "Off"}, "72747339": {"id": "72747339", "Power": "Off"}, "36930493": {"id": "36930493", "Power": "On"}, "71987077": {"Input": "CBL/SAT", "id": "71987077", "Power": "On"}, "63494863": {"id": "63494863", "Power": "Off"}, "45560926": {"isRelativeInput": true, "id": "45560926", "Power": "Off"}, "36930490": {"Input": "TV", "isRelativeInput": true, "isRelativePower": true, "id": "36930490", "Power": "On"}, "80151573": {"isRelativePower": true, "id": "80151573", "Power": "Off"}, "53551604": {"Input": "HDMI 2", "isRelativeInput": true, "id": "53551604", "Power": "On"}}, "rules": [], "sequences": [], "isAVActivity": true, "label": "Satellite sur Projo", "zones": null, "controlGroup": [{"function": [{"action": "{\"command\":\"0\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number0", "label": "0"}, {"action": "{\"command\":\"1\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number1", "label": "1"}, {"action": "{\"command\":\"2\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number2", "label": "2"}, {"action": "{\"command\":\"3\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number3", "label": "3"}, {"action": "{\"command\":\"4\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number4", "label": "4"}, {"action": "{\"command\":\"5\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number5", "label": "5"}, {"action": "{\"command\":\"6\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number6", "label": "6"}, {"action": "{\"command\":\"7\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number7", "label": "7"}, {"action": "{\"command\":\"8\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number8", "label": "8"}, {"action": "{\"command\":\"9\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Number9", "label": "9"}], "name": "NumericBasic"}, {"function": [{"action": "{\"command\":\"Mute\",\"type\":\"IRCommand\",\"deviceId\":\"71987077\"}", "name": "Mute", "label": "Mute"}, {"action": "{\"command\":\"VolumeDown\",\"type\":\"IRCommand\",\"deviceId\":\"71987077\"}", "name": "VolumeDown", "label": "Volume Down"}, {"action": "{\"command\":\"VolumeUp\",\"type\":\"IRCommand\",\"deviceId\":\"71987077\"}", "name": "VolumeUp", "label": "Volume Up"}], "name": "Volume"}, {"function": [{"action": "{\"command\":\"ChannelPrev\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "PrevChannel", "label": "Prev Channel"}, {"action": "{\"command\":\"ChannelDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "ChannelDown", "label": "Channel Down"}, {"action": "{\"command\":\"ChannelUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "ChannelUp", "label": "Channel Up"}], "name": "Channel"}, {"function": [{"action": "{\"command\":\"DirectionDown\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionDown", "label": "Direction Down"}, {"action": "{\"command\":\"DirectionLeft\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionLeft", "label": "Direction Left"}, {"action": "{\"command\":\"DirectionRight\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionRight", "label": "Direction Right"}, {"action": "{\"command\":\"DirectionUp\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "DirectionUp", "label": "Direction Up"}, {"action": "{\"command\":\"OK\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Select", "label": "Select"}], "name": "NavigationBasic"}, {"function": [{"action": "{\"command\":\"Stop\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Stop", "label": "Stop"}, {"action": "{\"command\":\"Play\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Play", "label": "Play"}, {"action": "{\"command\":\"Rewind\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Rewind", "label": "Rewind"}, {"action": "{\"command\":\"Pause\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Pause", "label": "Pause"}, {"action": "{\"command\":\"FastForward\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "FastForward", "label": "Fast Forward"}], "name": "TransportBasic"}, {"function": [{"action": "{\"command\":\"Record\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Record", "label": "Record"}], "name": "TransportRecording"}, {"function": [{"action": "{\"command\":\"SkipBack\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "SkipBackward", "label": "Skip Backward"}, {"action": "{\"command\":\"SkipForward\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "SkipForward", "label": "Skip Forward"}], "name": "TransportExtended"}, {"function": [{"action": "{\"command\":\"Menu\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Menu", "label": "Menu"}, {"action": "{\"command\":\"Back\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Back", "label": "Back"}], "name": "NavigationDVD"}, {"function": [{"action": "{\"command\":\"Favorite\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Favorite", "label": "Favorite"}], "name": "NavigationDSTB"}, {"function": [{"action": "{\"command\":\"OK\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "SelectGame", "label": "Select"}], "name": "GameType3"}, {"function": [{"action": "{\"command\":\"Epg\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Guide", "label": "Guide"}, {"action": "{\"command\":\"Info\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Info", "label": "Info"}, {"action": "{\"command\":\"Exit\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Exit", "label": "Exit"}], "name": "NavigationExtended"}, {"function": [{"action": "{\"command\":\"Ratio\",\"type\":\"IRCommand\",\"deviceId\":\"53551604\"}", "name": "Aspect", "label": "Aspect"}], "name": "DisplayMode"}, {"function": [{"action": "{\"command\":\"Sleep\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Sleep", "label": "Sleep"}], "name": "Setup"}, {"function": [{"action": "{\"command\":\"Green\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Green", "label": "Green"}, {"action": "{\"command\":\"Red\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Red", "label": "Red"}, {"action": "{\"command\":\"Blue\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Blue", "label": "Blue"}, {"action": "{\"command\":\"Yellow\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Yellow", "label": "Yellow"}], "name": "ColoredButtons"}, {"function": [{"action": "{\"command\":\"Teletext\",\"type\":\"IRCommand\",\"deviceId\":\"36930490\"}", "name": "Teletext", "label": "Teletext"}], "name": "Teletext"}], "suggestedDisplay": "Custom", "baseImageUri": "https://rcbu-test-ssl-amr.s3.amazonaws.com/", "isTuningDefault": false, "icon": "userdata: 0x4454c8", "type": "VirtualGeneric", "id": "32836967", "isMultiZone": false, "VolumeActivityRole": "71987077"}, {"activityOrder": 7, "enterActions": [], "baseImageUri": "https://rcbu-test-ssl-amr.s3.amazonaws.com/", "activityTypeDisplayName": "Default", "roles": {"VolumeActivityRole": "72747339", "PlayMediaActivityRole": "72747339"}, "fixit": {"44575807": {"id": "44575807", "Power": "Off"}, "36930488": {"isRelativePower": true, "id": "36930488", "Power": "Off"}, "72747339": {"Input": "Spotify", "id": "72747339", "Power": "On"}, "36930493": {"id": "36930493", "Power": "Off"}, "71987077": {"id": "71987077", "Power": "Off"}, "63494863": {"id": "63494863", "Power": "Off"}, "45560926": {"isRelativeInput": true, "id": "45560926", "Power": "Off"}, "36930490": {"isRelativeInput": true, "isRelativePower": true, "id": "36930490", "Power": "Off"}, "80151573": {"isRelativePower": true, "id": "80151573", "Power": "Off"}, "53551604": {"isRelativeInput": true, "id": "53551604", "Power": "Off"}}, "rules": [], "sequences": [], "isAVActivity": true, "label": "v\u00e9randa", "zones": null, "controlGroup": [{"function": [{"action": "{\"command\":\"0\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number0", "label": "0"}, {"action": "{\"command\":\"1\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number1", "label": "1"}, {"action": "{\"command\":\"2\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number2", "label": "2"}, {"action": "{\"command\":\"3\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number3", "label": "3"}, {"action": "{\"command\":\"4\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number4", "label": "4"}, {"action": "{\"command\":\"5\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number5", "label": "5"}, {"action": "{\"command\":\"6\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number6", "label": "6"}, {"action": "{\"command\":\"7\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number7", "label": "7"}, {"action": "{\"command\":\"8\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number8", "label": "8"}, {"action": "{\"command\":\"9\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Number9", "label": "9"}], "name": "NumericBasic"}, {"function": [{"action": "{\"command\":\"Mute\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "Mute", "label": "Mute"}, {"action": "{\"command\":\"VolumeDown\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "VolumeDown", "label": "Volume Down"}, {"action": "{\"command\":\"VolumeUp\",\"type\":\"IRCommand\",\"deviceId\":\"72747339\"}", "name": "VolumeUp", "label": "Volume Up"}], "name": "Volume"}], "imageKey": "Activity/311D40B5-6CF9-4DA2-8820-E17012B852A1.png", "suggestedDisplay": "ListenToMusic", "VolumeActivityRole": "72747339", "isTuningDefault": false, "type": "VirtualCdMulti", "id": "21717930", "isMultiZone": false, "icon": "userdata: 0x4454c8"}, {"activityOrder": 11, "enterActions": [{"name": "SendCommand", "parameters": {"Modifier": "press", "Command": "directiondown", "DeviceId": "36930493"}}], "baseImageUri": "https://rcbu-test-ssl-amr.s3.amazonaws.com/", "activityTypeDisplayName": "Default", "roles": {"PassThroughActivityRole": "36930493", "VolumeActivityRole": "71987077", "PlayMovieActivityRole": "45560926", "DisplayActivityRole": "53551604"}, "fixit": {"44575807": {"id": "44575807", "Power": "Off"}, "36930488": {"isRelativePower": true, "id": "36930488", "Power": "Off"}, "72747339": {"id": "72747339", "Power": "Off"}, "36930493": {"id": "36930493", "Power": "On"}, "71987077": {"Input": "Blu-ray", "id": "71987077", "Power": "On"}, "63494863": {"Input": "SmartHub", "id": "63494863", "Power": "Off"}, "45560926": {"Input": "Bluray Player", "isRelativeInput": true, "id": "45560926", "Power": "On"}, "36930490": {"isRelativeInput": true, "isRelativePower": true, "id": "36930490", "Power": "Off"}, "80151573": {"isRelativePower": true, "id": "80151573", "Power": "Off"}, "53551604": {"Input": "HDMI 2", "isRelativeInput": true, "id": "53551604", "Power": "On"}}, "rules": [], "sequences": [], "isAVActivity": true, "label": "Oppo sur projo", "zones": null, "controlGroup": [{"function": [{"action": "{\"command\":\"0\",\"type\":\"IRCommand\",\"deviceId\":\"45560926\"}", "name": "Number0", "label": "0"}, {"action": "{\"command\":\"1\",\"type\":\"IRCommand\",\"deviceId\":\"45560926\"}", "name": "Number1", "label": "1"}, {"action": "

Salut par ici, j’ai moi aussi le même problème depuis la dernière maj. Debian Buster sur VM proxmox.

Les dépendances et la réinstallation de celle-ci est ok. Le Hub fonctionne parfaitement, aucune latences ou problème particulier sur le wifi (C’est ce que me dit Unifi).

Le plugin fonctionne aussi correctement.

Et ça ping correctement depuis le serveur Jeedom:

J’ai un peu de marge avant de voir la VM crasher mais je vais probablement désactiver le cron de ce plugin pour le moment ou faire une passerelle avec HA en attendant.

Pourquoi ca crasherait?
Aucune raison ni aucune preuve de causalité… c’est un timeout (pourquoi on ne sait pas encore) mais c’est pas une bombe pour autant. Ca ne répond juste pas.


Même symptôme lors de l’exécution manuelle de la commande ?

je viens de tester j’ai bien le retour de la dernière activité sur l’IP de mon hub (.225)
cependant dans les logs du plugin, je m’aperçois d’une IP qui ne correspond pas à mon hub, étrange.


[2023-09-20 22:49:02][DEBUG] : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.59.230 show_current_activity
[2023-09-20 22:52:02][DEBUG] : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.59.230 show_current_activity
[2023-09-20 22:55:57][DEBUG] : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.59.230 show_current_activity
[2023-09-20 22:59:03][DEBUG] : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.59.230 show_current_activity
[2023-09-20 23:03:02][DEBUG] : Exec:sudo /usr/bin/python3 /var/www/html/plugins/harmonyhub/core/class/../../3rdparty/PyHarmony/harmony/__main__.py --harmony_ip 192.168.59.230 show_current_activity

Dans ces log l’IP serait .230 alors que mon hub est en .225. dans la config du plugin j’ai bien .225, dans la table « config » j’ai bien l’IP .225 aussi.

pour le coup pour le moment le message du cron je ne sais pas si c’est un souci autre ou en lien avec cette IP étrange. Mais la vraie question d’ou peut venir cette IP .230 ?

j’ai vérifié que j’étais en .225 via un ping et reboot du hub :wink:

J’ai eu des ralentissement du système sur un problème similaire il y a quelques temps, je ne me souviens plus du plugin qui provoquait ça mais ça allait jusqu’au crash. Ne sachant pas et n’ayant pas vérifié le fonctionnement de ce plugin en particulier (Qui n’est pas frontal et pour lequel j’ai déjà un workaround), je suis donc méfiant suite au commentaire de @ArticKido sur ce sujet :wink:

EDIT: J’essaye de désactiver le plugin, ça mouline sans rien faire. On va lui faire la méthode forte je crois…

Je viens de contrôler chez moi, je constate la même chose. Me concernant, l’IP n’est pas inconnue, c’est l’ip du HUB sur mon ancien vlan IOT.

ce matin pas mal d’alerte sur des scénarios non exécutés.

tous ces scénarios sont déclenchés par des crons, le problème de base sur le cron du plugin influe sans doute sur le reste.

je tente la désactivation du plugin harmony pour observer le comportement de jeedom sur les prochaines heures et en attendant d’éventuels tests / corrections à mener

EDIT : bon je voudrai bien mais impossible de désactiver le plugin, ça tourne en rond puis un gros message « 504 gateway timeout »

EDIT2 :
quand j’ai le message de la tâche plugin::cron dans le centre des messages j’ai ceci dans le log « cron_execution » :

  PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /var/www/html/core/class/DB.class.php:40
Stack trace:
#0 /var/www/html/core/class/DB.class.php(40): PDO->__construct()
#1 /var/www/html/core/class/DB.class.php(50): DB::initConnection()
#2 /var/www/html/core/class/DB.class.php(82): DB::getConnection()
#3 /var/www/html/core/class/config.class.php(192): DB::Prepare()
#4 /var/www/html/core/class/translate.class.php(51): config::byKeys()
#5 /var/www/html/core/class/translate.class.php(207): translate::getConfig()
#6 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()
#7 /var/www/html/core/class/translate.class.php(81): translate::exec()
#8 /var/www/html/core/class/translate.class.php(220): translate::sentence()
#9 /var/www/html/core/config/jeedom.config.php(23): __()
#10 /var/www/html/core/php/utils.inc.php(79): require_once('/var/www/html/c...')
#11 /var/www/html/core/php/core.inc.php(27): include_file()
#12 /var/www/html/core/php/jeeCron.php(24): require_once('/var/www in /var/www/html/core/class/DB.class.php on line 40
 PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /var/www/html/core/class/DB.class.php:40
Stack trace:
#0 /var/www/html/core/class/DB.class.php(40): PDO->__construct()
#1 /var/www/html/core/class/DB.class.php(50): DB::initConnection()
#2 /var/www/html/core/class/DB.class.php(82): DB::getConnection()
#3 /var/www/html/core/class/config.class.php(192): DB::Prepare()
#4 /var/www/html/core/class/translate.class.php(51): config::byKeys()
#5 /var/www/html/core/class/translate.class.php(207): translate::getConfig()
#6 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()
#7 /var/www/html/core/class/translate.class.php(81): translate::exec()
#8 /var/www/html/core/class/translate.class.php(220): translate::sentence()
#9 /var/www/html/core/config/jeedom.config.php(23): __()
#10 /var/www/html/core/php/utils.inc.php(79): require_once('/var/www/html/c...')
#11 /var/www/html/core/php/core.inc.php(27): include_file()
#12 /var/www/html/core/php/jeeCron.php(24): require_once('/var/www in /var/www/html/core/class/DB.class.php on line 40
PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /var/www/html/core/class/DB.class.php:40
Stack trace:
#0 /var/www/html/core/class/DB.class.php(40): PDO->__construct()
#1 /var/www/html/core/class/DB.class.php(50): DB::initConnection()
#2 /var/www/html/core/class/DB.class.php(82): DB::getConnection()
#3 /var/www/html/core/class/config.class.php(192): DB::Prepare()
#4 /var/www/html/core/class/translate.class.php(51): config::byKeys()
#5 /var/www/html/core/class/translate.class.php(207): translate::getConfig()
#6 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()
#7 /var/www/html/core/class/translate.class.php(81): translate::exec()
#8 /var/www/html/core/class/translate.class.php(220): translate::sentence()
#9 /var/www/html/core/config/jeedom.config.php(23): __()
#10 /var/www/html/core/php/utils.inc.php(79): require_once('/var/www/html/c...')
#11 /var/www/html/core/php/core.inc.php(27): include_file()
#12 /var/www/html/core/php/jeeCron.php(24): require_once('/var/www in /var/www/html/core/class/DB.class.php on line 40