Hello, màj faite, je vois encore quelques trucs dans le http.error :
sh: 1: /var/www/html/plugins/MerosSync/core/class/../../resources/.venvs/merosssync/bin/pip: not found
sh: 1: /var/www/html/plugins/MerosSync/core/class/../../resources/.venvs/merosssync/bin/pip: not found
sh: 1: /var/www/html/plugins/MerosSync/core/class/../../resources/.venvs/merosssync/bin/pip: not found
sh: 1: /var/www/html/plugins/MerosSync/core/class/../../resources/.venvs/merosssync/bin/pip: not found
sh: 1: /var/www/html/plugins/MerosSync/core/class/../../resources/.venvs/merosssync/bin/pip: not found
sh: 1: /var/www/html/plugins/MerosSync/core/class/../../resources/.venvs/merosssync/bin/pip: not found
sh: 1: /var/www/html/plugins/MerosSync/core/class/../../resources/.venvs/merosssync/bin/pip: not found
warning: commands will be executed using /bin/sh
Je note aussi des problèmes quand on active/désactiver la gestion automatique du daemon et que ça prend beaucoup de temps pour le relancer voire ça ne se termine jamais et ça tourne :
Enfin dans le log de sync en mode debug, je me demande si c’est bien normal qu’il redécouvre à chaque minute le device ?
(j’ai coupé des fins de ligne)
[2025-01-16 17:44:05] INFO : Synchronisation des équipements depuis le Cloud Meross
[2025-01-16 17:44:05] DEBUG : callMeross syncMeross
[2025-01-16 17:44:05] DEBUG : Socket unix:///tmp/jeedom/MerosSync/daemon.sock
[2025-01-16 17:44:05] DEBUG [DemonPython] : Message received in socket
[2025-01-16 17:44:05] DEBUG [DemonPython] : {'action': 'syncMeross', 'args': ''}
[2025-01-16 17:44:05] DEBUG [DemonPython] : syncMeross called
[2025-01-16 17:44:05] DEBUG [DemonPython] : aSyncMeross called[2025-01-16 17:44:05][DEBUG][DemonPython] : Connecting with user ***@gmail.com - **** => ***
[2025-01-16 17:44:05][DEBUG][meross_iot.http_api] : Logging in with email: ***@gmail.com, password: XXXXX
[2025-01-16 17:44:05][DEBUG][meross_iot.http_api] : Performing HTTP request against https://iotx-eu.meross.com/v1/Auth/signIn
[2025-01-16 17:44:05][DEBUG][meross_iot.http_api] : Response Status Code: 200
[2025-01-16 17:44:05][DEBUG][meross_iot.http_api] : Performing HTTP request against https://iotx-eu.meross.com/v1/log/user
[2025-01-16 17:44:06][DEBUG][meross_iot.http_api] : Response Status Code: 200
[2025-01-16 17:44:06][DEBUG][meross_iot.http_api] : Login successful!
[2025-01-16 17:44:06][DEBUG][DemonPython] : Connected with user ***@gmail.com
[2025-01-16 17:44:06][INFO][meross_iot.manager] :
------- Triggering Manager Discovery, filter_device: [None] -------
[2025-01-16 17:44:06][DEBUG][meross_iot.http_api] : Performing HTTP request against https://iotx-eu.meross.com/v1/Device/devList
[2025-01-16 17:44:06][DEBUG][meross_iot.http_api] : Response Status Code: 200
[2025-01-16 17:44:06][DEBUG][meross_iot.manager] : The following devices were already known to me: {}
[2025-01-16 17:44:06][DEBUG][meross_iot.manager] : The following devices are new to me: [{"uuid": "***", "online_status": "ONLINE", "dev_name": "Matelas"
[2025-01-16 17:44:06][DEBUG][meross_iot.manager] : Sending GET-Namespace.SYSTEM_ABILITY command via MQTT to *** via mqtt-eu-4.meross.com:443
[2025-01-16 17:44:06][INFO][meross_iot.manager] : Allocating new mqtt client for mqtt-eu-4.meross.com:443...
[2025-01-16 17:44:06][DEBUG][meross_iot.manager] : MQTT client connecting to mqtt-eu-4.meross.com:443
[2025-01-16 17:44:06][DEBUG][meross_iot.manager] : Connected with result code {'session present': 0}
[2025-01-16 17:44:06][DEBUG][meross_iot.manager] : Subscribing to topics...
[2025-01-16 17:44:06][DEBUG][meross_iot.manager] : Successfully subscribed to topics.
[2025-01-16 17:44:06][INFO][meross_iot.manager] : Subscribed to topics, scheduling state update for already known devices.
[2025-01-16 17:44:06][INFO][meross_iot.manager] :
------- Triggering Manager Discovery, filter_device: [None] -------
[2025-01-16 17:44:06][DEBUG][meross_iot.http_api] : Performing HTTP request against https://iotx-eu.meross.com/v1/Device/devList
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Received message from topic /app/3428666-***/subscribe
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Message signature OK
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : This message is an ACK to a command this client has send.
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Found a pending command waiting for response message
[2025-01-16 17:44:07][DEBUG][meross_iot.device_factory] : Building managed device for Matelas (***). Reported abilities: {'Appliance.Config.Key': {},
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Adding device Matelas (#BASE:***) to registry.
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Updating 0 known devices form HTTPINFO and fetching data from 1 newly discovered devices...
[2025-01-16 17:44:07][INFO][meross_iot.manager] : Fetch and update done
[2025-01-16 17:44:07][INFO][meross_iot.manager] :
------- Manager Discovery ended -------
[2025-01-16 17:44:07][DEBUG][DemonPython] : aSyncMeross connected
[2025-01-16 17:44:07][INFO][meross_iot.manager] :
------- Triggering Manager Discovery, filter_device: [None] -------
[2025-01-16 17:44:07][DEBUG][meross_iot.http_api] : Performing HTTP request against https://iotx-eu.meross.com/v1/Device/devList
[2025-01-16 17:44:07][DEBUG][meross_iot.http_api] : Response Status Code: 200
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : The following devices were already known to me: {{"uuid": "***", "online_status": "ONLINE", "dev_name": "Matelas",
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : The following devices are new to me: []
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Updating 1 known devices form HTTPINFO and fetching data from 0 newly discovered devices...
[2025-01-16 17:44:07][INFO][meross_iot.manager] : Fetch and update done
[2025-01-16 17:44:07][INFO][meross_iot.manager] :
------- Manager Discovery ended -------
[2025-01-16 17:44:07][WARNING][meross_iot.manager] : Found a new device Matelas (mss310, HW 8.0.0,
[2025-01-16 17:44:07][DEBUG][meross_iot.http_api] : Response Status Code: 200
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : The following devices were already known to me: {{"uuid": "***", "online_status": "ONLINE", "dev_name": "Matelas",
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : The following devices are new to me: []
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Updating 1 known devices form HTTPINFO and fetching data from 0 newly discovered devices...
[2025-01-16 17:44:07][INFO][meross_iot.manager] : Fetch and update done
[2025-01-16 17:44:07][INFO][meross_iot.manager] :
------- Manager Discovery ended -------
[2025-01-16 17:44:07][DEBUG][DemonPython] : aSyncMeross - 1 devices found
[2025-01-16 17:44:07][DEBUG][DemonPython] : aSyncMeross - Matelas(mss310):OnlineStatus.ONLINE
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Sending GET-Namespace.SYSTEM_ALL command via MQTT to *** via mqtt-eu-4.meross.com:443
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : MQTT Client for mqtt-eu-4.meross.com:443 already available.
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Received message from topic /app/***/subscribe: b'{"header":{"messageId":"d02e55fd04
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Message signature OK
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : This message is an ACK to a command this client has send.
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Found a pending command waiting for response message
[2025-01-16 17:44:07][DEBUG][meross_iot.controller.mixins.system] : Handling mss310:*** mixin data update.
[2025-01-16 17:44:07][DEBUG][meross_iot.controller.mixins.toggle] : Handling mss310:*** mixin data update.
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : Sending GET-Namespace.SYSTEM_RUNTIME command via MQTT to *** via mqtt-eu-4.meross.com:443
[2025-01-16 17:44:07][DEBUG][meross_iot.manager] : MQTT Client for mqtt-eu-4.meross.com:443 already available.
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Received message from topic /app/***/subscribe:
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Message signature OK
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : This message is an ACK to a command this client has send.
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Found a pending command waiting for response message
[2025-01-16 17:44:08][DEBUG][DemonPython] : ElectricityMixin
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Sending GET-Namespace.CONTROL_ELECTRICITY command via MQTT
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : MQTT Client for mqtt-eu-4.meross.com:443 already available.
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Received message from topic /app/e27ea3cbb8e3b
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Message signature OK
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : This message is an ACK to a command this client has send.
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Found a pending command waiting for response message
[2025-01-16 17:44:08][DEBUG][DemonPython] : ConsumptionXMixin
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Sending GET-Namespace.CONTROL_CONSUMPTIONX command via MQTT
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : MQTT Client for mqtt-eu-4.meross.com:443 already available.
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Received message from topic /app/-
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Message signature OK
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : This message is an ACK to a command this client has send.
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Found a pending command waiting for response message
[2025-01-16 17:44:08][DEBUG][DemonPython] : [{"date": "2024-12-31 00:00:00", "total_consumption_kwh": 0.066}, {"date": "2025-01-01 00:00:00", "total_consumption_kwh": 0.16},
[2025-01-16 17:44:08][DEBUG][DemonPython] : ToggleXMixin
[2025-01-16 17:44:08][DEBUG][DemonPython] : Close connection
[2025-01-16 17:44:08][INFO][meross_iot.manager] : Manager stop requested.
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Canceling pending futures...
[2025-01-16 17:44:08][DEBUG][meross_iot.manager] : Disconnecting MQTT clients...
[2025-01-16 17:44:08][DEBUG][meross_iot.http_api] : Logging out. Invalidating cached credentials {"token": "***", "key": "***", "user_id": "***",
[2025-01-16 17:44:08][INFO][meross_iot.manager] : Disconnection detected. Reason: 0
[2025-01-16 17:44:08][DEBUG][meross_iot.http_api] : Performing HTTP request against https://iotx-eu.meross.com/v1/Profile/logout, headers:
[2025-01-16 17:44:08][DEBUG][meross_iot.controller.mixins.system] : OnlineMixin handling push notification for namespace Namespace.SYSTEM_ONLINE
[2025-01-16 17:44:08][DEBUG][meross_iot.controller.device] : MerossBaseDevice Matelas handling notification Namespace.SYSTEM_ONLINE
[2025-01-16 17:44:09][DEBUG][meross_iot.http_api] : Response Status Code: 200
[2025-01-16 17:44:09][INFO][meross_iot.http_api] : Logout succeeded.
[2025-01-16 17:44:09][DEBUG][DemonPython] : {'result': [{'name': 'Matelas', 'uuid': '***', 'famille': 'mss310:8
[2025-01-16 17:44:09][DEBUG] : result callMeross Array ([result] => Array([0] => Array([name] => Matelas
[2025-01-16 17:44:09][INFO] : syncMeross: Mise à jour de Matelas - ***
[2025-01-16 17:44:09][DEBUG] : updateEqLogicCmds: Update eqLogic commands
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Famille mss310:8.0.0:6.3.23
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=onoff_0
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=off_0
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=on_0
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=refresh
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=power
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=current
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=tension
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Update cmd=conso_totale
[2025-01-16 17:44:09][DEBUG] : updateEqLogicCmdVal: Update eqLogic informations Completed
[2025-01-16 17:44:09][DEBUG] : updateEqLogicVals: Update eqLogic values
[2025-01-16 17:44:09][DEBUG] : updateEqLogicVals:
[2025-01-16 17:44:09][DEBUG] : syncMeross: - Mise à jour onoff_0 : 0
[2025-01-16 17:44:09][DEBUG] : syncMeross: En ligne : 1 - ***
[2025-01-16 17:44:09][DEBUG] : Check offline components
[2025-01-16 17:44:09][DEBUG] : ID *** - MerosSync - Matelas
[2025-01-16 17:44:09][INFO] : syncMeross: synchronisation terminée.
Je m’étonne de la ligne 17:44:06 : The following devices are new to me « Matelas » alors que chaque minute d’avant il l’avait déjà en base.
Forcément il refait sa base chaque minute et dans le déroulé il réinterroge une 2ème fois iotx-eu.meross.com/v1/Device/devList (à 17:44:06 et 07).
Il n’y a pas un souci ?