Je vais avoir besoin d’un peu d’assistance.
Je n’arrive pas à mettre en place les Mode dans homebridge avec un virtuel.
Je m’explique j’ai fais ces 3 commandes :
Pour la commande Mode de type Info j’ai sélectionné « Thermostat Mode » dans les Type générique :
Et pour les commandes Action, j’ai choisi aussi « Thermostat Mode »
J’ai l’impression d’être raccord avec la doc (mais je dois rater qqch) :
Si je teste depuis Jeedom les Modes ça fonctionne le thermostat s’active bien dans l’application Maison. En revanche depuis mon iDevice ça n’est pas pris en compte comme si l’information ne remontait pas dans Jeedom.
Si je choisi Autom. depuis mon iPhone, l’interface s’active, je peux changer la consigne (qui remonte bien dans la cmdid 10382. Puis quelques seconde après le thermostat revient en mode arrêt.
La commande de Mode n’a pas changée et est restée sur « Off »
[7/30/2024, 2:18:36 PM] [MyHome] [DEBUG] set target mode: 3
[7/30/2024, 2:18:36 PM] [MyHome] [DEBUG] set AUTO 27.5
[7/30/2024, 2:18:36 PM] [MyHome] [INFO] [Commande envoyée à Jeedom] cmdId:10382 action:TargetHeatingCoolingState value: 27.5 generic:undefined response:[]
Si j’active le mode Aucun depuis Jeedom et que je souhaite désactiver depuis l’iPhone ça marche pas non plus :
Au début l’interface Eteint le thermostat mais quelques secondes après il revient sur Autom.
Dans Jeedom, le mode est resté sur Aucun.
[7/30/2024, 2:23:47 PM] [MyHome] [DEBUG] set target mode: 0
[7/30/2024, 2:23:47 PM] [MyHome] [INFO] [Commande envoyée à Jeedom] cmdId:10383 action:TargetHeatingCoolingState value: 0 generic:undefined response:{"value":26.5,"collectDate":"2024-07-30 14:19:19"}
J’avoue me sentir un peu bête, je dois rater un paramètre mais je ne le vois pas.
Voici le debugInfo du thermostat :
{
"id": "818",
"name": "Thermostat test",
"logicalId": "",
"generic_type": null,
"object_id": "11",
"eqType_name": "virtual",
"isVisible": "0",
"isEnable": "1",
"configuration": {
"createtime": "2024-07-30 09:02:38",
"autorefresh": "",
"updatetime": "2024-07-30 13:18:57",
"battery_type": "",
"battery_danger_threshold": "",
"battery_warning_threshold": ""
},
"timeout": null,
"category": {
"heating": "0",
"security": "0",
"energy": "0",
"light": "0",
"opening": "0",
"automatism": "0",
"multimedia": "0",
"default": "0"
},
"display": {
"backGraph::info": "",
"backGraph::color": "#4572a7",
"backGraph::format": "month",
"backGraph::height": "",
"backGraph::type": "areaspline",
"parameters": []
},
"order": "9999",
"comment": "",
"tags": "",
"status": {
"lastCommunication": "2024-07-30 14:23:01",
"timeout": 0,
"enableDatime": "2024-07-30 09:25:59",
"warning": 0,
"danger": 0
},
"cache": [],
"commands": [
{
"id": "10379",
"logicalId": "",
"generic_type": "THERMOSTAT_TEMPERATURE",
"eqType": "virtual",
"name": "Température",
"order": "0",
"type": "info",
"subType": "numeric",
"eqLogic_id": "818",
"isHistorized": "0",
"unite": "°C",
"configuration": {
"calcul": "#3244#",
"returnStateValue": "",
"returnStateTime": "",
"updateCmdId": "",
"minValue": "",
"maxValue": "",
"timeline::enable": "0",
"timeline::folder": "",
"influx::enable": "0",
"influx::namecmd": "",
"influx::nameEq": "",
"influx::nameVal": "",
"interact::auto::disable": "0",
"calculValueOffset": "",
"historizeRound": "",
"jeedomCheckCmdOperator": "==",
"jeedomCheckCmdTest": "",
"jeedomCheckCmdTime": "",
"historizeMode": "avg",
"history::smooth": "",
"historyPurge": "",
"denyValues": "",
"repeatEventManagement": "never",
"jeedomPushUrl": "",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0",
"showStatsOnmobile": 0,
"showStatsOndashboard": 0,
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"value": "#3244#",
"isVisible": "1",
"alert": {
"warningif": "",
"warningduring": "",
"dangerif": "",
"dangerduring": ""
}
},
{
"id": "10378",
"logicalId": "refresh",
"generic_type": null,
"eqType": "virtual",
"name": "Rafraichir",
"order": "1",
"type": "action",
"subType": "other",
"eqLogic_id": "818",
"isHistorized": "0",
"unite": "",
"configuration": [],
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": [],
"value": null,
"isVisible": "1",
"alert": []
},
{
"id": "10382",
"logicalId": "",
"generic_type": "THERMOSTAT_SET_SETPOINT",
"eqType": "virtual",
"name": "ThermostatConsigne",
"order": "1",
"type": "action",
"subType": "slider",
"eqLogic_id": "818",
"isHistorized": "0",
"unite": "",
"configuration": {
"virtualAction": "1",
"infoName": "Consigne",
"value": "",
"updateCmdId": "",
"updateCmdToValue": "",
"minValue": "10",
"maxValue": "38",
"listValue": "",
"calcul": "",
"infoId": "10383",
"timeline::enable": "0",
"timeline::folder": "",
"interact::auto::disable": "0",
"calculValueOffset": "",
"actionConfirm": "0",
"actionCodeAccess": "",
"alreadyInState": "",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": [],
"lastCmdValue": "26.5"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"value": "",
"isVisible": "1",
"alert": []
},
{
"id": "10383",
"logicalId": "",
"generic_type": "THERMOSTAT_SETPOINT",
"eqType": "virtual",
"name": "Consigne",
"order": "2",
"type": "info",
"subType": "numeric",
"eqLogic_id": "818",
"isHistorized": "0",
"unite": "°C",
"configuration": {
"virtualAction": 1,
"calcul": "",
"returnStateValue": "",
"returnStateTime": "",
"updateCmdId": "",
"minValue": "10",
"maxValue": "38",
"timeline::enable": "0",
"timeline::folder": "",
"influx::enable": "0",
"influx::namecmd": "",
"influx::nameEq": "",
"influx::nameVal": "",
"interact::auto::disable": "0",
"calculValueOffset": "",
"historizeRound": "",
"jeedomCheckCmdOperator": "==",
"jeedomCheckCmdTest": "",
"jeedomCheckCmdTime": "",
"historizeMode": "avg",
"history::smooth": "",
"historyPurge": "",
"denyValues": "",
"repeatEventManagement": "never",
"jeedomPushUrl": "",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"showStatsOnmobile": 0,
"showStatsOndashboard": 0,
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"value": "",
"isVisible": "1",
"alert": {
"warningif": "",
"warningduring": "",
"dangerif": "",
"dangerduring": ""
}
},
{
"id": "10385",
"logicalId": "",
"generic_type": "THERMOSTAT_MODE",
"eqType": "virtual",
"name": "Mode",
"order": "3",
"type": "info",
"subType": "string",
"eqLogic_id": "818",
"isHistorized": "0",
"unite": "",
"configuration": {
"calcul": "",
"returnStateValue": "",
"returnStateTime": "",
"updateCmdId": "",
"minValue": "",
"maxValue": "",
"timeline::enable": "0",
"timeline::folder": "",
"influx::enable": "0",
"influx::namecmd": "",
"influx::nameEq": "",
"influx::nameVal": "",
"interact::auto::disable": "0",
"calculValueOffset": "",
"jeedomCheckCmdOperator": "==",
"jeedomCheckCmdTest": "",
"jeedomCheckCmdTime": "",
"historyPurge": "",
"denyValues": "",
"repeatEventManagement": "never",
"jeedomPushUrl": "",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": [],
"virtualAction": 1
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"value": "",
"isVisible": "1",
"alert": {
"warningif": "",
"warningduring": "",
"dangerif": "",
"dangerduring": ""
}
},
{
"id": "10386",
"logicalId": "",
"generic_type": "THERMOSTAT_SET_MODE",
"eqType": "virtual",
"name": "Off",
"order": "4",
"type": "action",
"subType": "other",
"eqLogic_id": "818",
"isHistorized": "0",
"unite": "",
"configuration": {
"virtualAction": "1",
"infoName": "Mode",
"value": "Off",
"updateCmdId": "",
"updateCmdToValue": "",
"minValue": "",
"maxValue": "",
"listValue": "",
"calcul": "",
"infoId": "10385",
"timeline::enable": "0",
"timeline::folder": "",
"interact::auto::disable": "0",
"actionConfirm": "0",
"actionCodeAccess": "",
"alreadyInState": "",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"value": "",
"isVisible": "1",
"alert": []
},
{
"id": "10388",
"logicalId": "",
"generic_type": "THERMOSTAT_SET_MODE",
"eqType": "virtual",
"name": "Aucun",
"order": "5",
"type": "action",
"subType": "other",
"eqLogic_id": "818",
"isHistorized": "0",
"unite": "",
"configuration": {
"virtualAction": "1",
"infoName": "Mode",
"value": "Aucun",
"updateCmdId": "",
"updateCmdToValue": "",
"minValue": "",
"maxValue": "",
"listValue": "",
"calcul": "",
"infoId": "10385",
"timeline::enable": "0",
"timeline::folder": "",
"interact::auto::disable": "0",
"actionConfirm": "0",
"actionCodeAccess": "",
"alreadyInState": "",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"value": "",
"isVisible": "1",
"alert": []
}
]
}
merci d’avance
PS : J’ai bien redémarré le deamon.