j’ai bien renommé le fichier a mon avis c’est l’étape « déclaré le json côté plugin »
Tu peux donner des détails ?
j’ai bien renommé le fichier a mon avis c’est l’étape « déclaré le json côté plugin »
Tu peux donner des détails ?
Oui quand je suis plus dans le RER A, car compliqué sur téléphone avec les mouvements du train
Cordialement
Thibaut
ok pas de pb
tu a déraillé lol ? ou tu a peut-être oublié de descendre
Hello,
J’ai surtout oublier d’appuyer sur envoiliez.
Sinon je viens de pousser une maj qui devrais inclure ton modules, tu peux test ? Et si besoin pour les commande, je te laisse edit le json avec le tien ?
Cordialement
Thibaut
Salut
MAJ OK
aucune commande est apparue.
J’ai même fait une désinstallation est réinstallation avec reconfiguration de l’équipement.
oui une fois que j’ai le json qui fonctionne je pourrait me débrouiller e theorie
Tu a sauvegarder tes équipement ?
Si oui, tu peux me donner les paramètre avancer d’un de tes équipement ?
Cordialement
Thibaut
Hello,
J’avais inverser les nom, tu peux re tester ?
Ps : Il y a une maj
Cordialement
Thibaut
MAJ OK
j’ai fait une réinstallation des dépendances
supprimer équipement
régénéré l’équipement
Equipement trouvé => Toujours pas de commande
Toujours pas de commande ?
Bizzard je vais devoir chercher, tu a test de mettre ton json a la place du mien ?
PS : sauvegarde l’équipement si tu l’a pas déjà fait.
Cordialement
Thibaut
non toujours pas de commande.
oui j’ai bien fait une sauvegarde de l’équipement
et le Json j’ai juste comparer les commande qui semble bien similaire du coup j’avais juste fait un copier/coller et renommé comme tu la fait.
Je ne comprends pas pourquoi j’ai aucune commande qui remonte.
Je devrais avoir au moins les commande de base, comme le type, le serial l’ip …
Oui si le json de l’équipement fonction, tu peux me redonner ton json ?
Cordialement
Thibaut
Meme si cela n’a pas trop d’importance j’ai changé ip/mac et Serial que cela ne soit pas en public
{
"cloud": null,
"desc": {
"_id": "959*****d-d501-4*****7-8*****2-c19*****"
"isCloudConnectionUp": {
"settable": false,
"value": true
},
"type": "heating",
"deviceModel": "Altherma",
"managementPoints": null,
"embeddedId": "0507*****-12*****-4467-a0cd-*************",
"timestamp": "2021-10-26T12:07:01.504Z",
"id": "959*****d-d501-4*****7-8*****2-c19*****",
"lastUpdateReceived": "2021-10-26T12:07:01.504Z"
},
"managementPoints": [
{
"name": {
"settable": true,
"maxLength": 63,
"value": "Gateway"
},
"iconId": {
"settable": true,
"value": 3
},
"firmwareVersion": {
"settable": false,
"value": "436CC148000"
},
"miconId": {
"settable": false,
"value": "17003908"
},
"serialNumber": {
"settable": false,
"value": "212209859"
},
"modelInfo": {
"settable": false,
"value": "BRP069A62"
},
"ipAddress": {
"settable": false,
"value": "192.168.1.2"
},
"macAddress": {
"settable": false,
"value": "00:23:7e:cc:7e:bb"
},
"errorCode": {
"settable": false,
"value": ""
},
"isInErrorState": {
"settable": false,
"value": false
}
},
{
"name": {
"settable": true,
"value": "",
"maxLength": 63
},
"iconId": {
"settable": true,
"value": 8
},
"errorCode": {
"settable": false,
"value": ""
},
"holidayMode": [],
"isHolidayModeActive": {
"settable": false,
"value": false
},
"isInErrorState": {
"settable": false,
"value": false
},
"isInWarningState": {
"settable": false,
"value": false
},
"isInInstallerState": {
"settable": false,
"value": false
},
"isInEmergencyState": {
"settable": false,
"value": false
},
"onOffMode": {
"settable": true,
"values": [
"on",
"off"
],
"value": "on"
},
"setpointMode": {
"settable": false,
"values": [
"fixed",
"weatherDependent",
"weatherDependentHeatingFixedCooling"
],
"value": "weatherDependent"
},
"controlMode": {
"settable": false,
"values": [
"roomTemperature",
"leavingWaterTemperature",
"externalRoomTemperature"
],
"value": "roomTemperature"
},
"sensoryData": {
"\/roomTemperature": {
"settable": false,
"value": 23
},
"\/outdoorTemperature": {
"settable": false,
"value": 16
},
"\/leavingWaterTemperature": {
"settable": false,
"value": 25
}
},
"temperatureControl": {
"\/operationModes\/heating\/setpoints\/roomTemperature": {
"maxValue": 30,
"minValue": 12,
"stepValue": 1,
"settable": true,
"value": 23
},
"\/operationModes\/heating\/setpoints\/leavingWaterOffset": {
"maxValue": 10,
"minValue": -10,
"stepValue": 1,
"settable": true,
"value": 0
}
},
"operationMode": {
"settable": true,
"values": [
"heating"
],
"value": "heating"
},
"schedule": {
"\/currentMode": {
"settable": false,
"values": [
"heating"
],
"value": "heating"
},
"\/modes\/heating\/currentSchedule": {
"settable": true,
"values": [
"0",
"1",
"2",
"3",
"4",
"5"
],
"value": "3"
},
"\/modes\/heating\/enabled": {
"settable": true,
"value": true
},
"\/modes\/heating\/meta": {
"minIntervalBetweenActions": "00:10:00",
"maxSchedules": 6,
"maxActionsPerActionPeriod": 6,
"consecutiveActionsAllowed": true,
"actionTypes": {
"roomTemperature": {
"settable": false,
"maxValue": 30,
"minValue": 12,
"stepValue": 1
}
}
},
"\/modes\/heating\/schedules\/0\/name": {
"value": "Predefined 1",
"settable": false
},
"\/modes\/heating\/schedules\/0\/meta": {
"isReadOnly": true,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/1\/name": {
"value": "Predefined 2",
"settable": false
},
"\/modes\/heating\/schedules\/1\/meta": {
"isReadOnly": true,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/2\/name": {
"value": "Predefined 3",
"settable": false
},
"\/modes\/heating\/schedules\/2\/meta": {
"isReadOnly": true,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/3\/name": {
"value": "User defined 1",
"settable": false
},
"\/modes\/heating\/schedules\/3\/meta": {
"isReadOnly": false,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/4\/name": {
"value": "User defined 2",
"settable": false
},
"\/modes\/heating\/schedules\/4\/meta": {
"isReadOnly": false,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/5\/name": {
"value": "User defined 3",
"settable": false
},
"\/modes\/heating\/schedules\/5\/meta": {
"isReadOnly": false,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
}
},
"targetTemperature": {
"settable": true,
"value": 23,
"maxValue": 30,
"minValue": 12,
"stepValue": 1
}
},
{
"name": {
"settable": true,
"value": "",
"maxLength": 63
},
"iconId": {
"settable": true,
"value": 9
},
"errorCode": {
"settable": false,
"value": ""
},
"isHolidayModeActive": {
"settable": false,
"value": false
},
"isInErrorState": {
"settable": false,
"value": false
},
"isInWarningState": {
"settable": false,
"value": false
},
"isInInstallerState": {
"settable": false,
"value": false
},
"isInEmergencyState": {
"settable": false,
"value": false
},
"isPowerfulModeActive": {
"settable": false,
"value": false
},
"onOffMode": {
"settable": true,
"values": [
"on",
"off"
],
"value": "on"
},
"powerfulMode": {
"settable": true,
"values": [
"off",
"on"
],
"value": "off"
},
"heatupMode": {
"settable": false,
"values": [
"reheatOnly",
"scheduleOnly",
"reheatSchedule"
],
"value": "reheatSchedule"
},
"sensoryData": {
"\/tankTemperature": {
"settable": false,
"value": 51
}
},
"temperatureControl": {
"\/operationModes\/heating\/setpoints\/domesticHotWaterTemperature": {
"maxValue": 55,
"minValue": 30,
"stepValue": 1,
"settable": false,
"value": 36
}
},
"operationMode": {
"settable": false,
"values": [
"heating"
],
"value": "heating"
},
"schedule": {
"\/currentMode": {
"settable": false,
"values": [
"heating"
],
"value": "heating"
},
"\/modes\/heating\/currentSchedule": {
"settable": true,
"values": [
"0",
"1",
"2",
"3"
],
"value": "3"
},
"\/modes\/heating\/enabled": {
"settable": true,
"value": true
},
"\/modes\/heating\/meta": {
"minIntervalBetweenActions": "00:10:00",
"maxSchedules": 4,
"maxActionsPerActionPeriod": 4,
"consecutiveActionsAllowed": true,
"actionTypes": {
"domesticHotWaterTemperature": {
"settable": false,
"values": [
"eco",
"comfort",
"turn_off"
]
}
}
},
"\/modes\/heating\/schedules\/0\/name": {
"value": "Predefined 1",
"settable": false
},
"\/modes\/heating\/schedules\/0\/meta": {
"isReadOnly": true,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/1\/name": {
"value": "Predefined 2",
"settable": false
},
"\/modes\/heating\/schedules\/1\/meta": {
"isReadOnly": true,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/2\/name": {
"value": "Predefined 3",
"settable": false
},
"\/modes\/heating\/schedules\/2\/meta": {
"isReadOnly": true,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
},
"\/modes\/heating\/schedules\/3\/name": {
"value": "User defined",
"settable": false
},
"\/modes\/heating\/schedules\/3\/meta": {
"isReadOnly": false,
"actionPeriods": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
]
}
},
"setpointMode": {
"settable": false,
"values": [
"fixed",
"weatherDependent"
],
"value": "fixed"
}
},
{
"name": {
"settable": true,
"maxLength": 63,
"value": "Indoor Unit Hydro"
},
"iconId": {
"settable": true,
"value": 4
},
"modelInfo": {
"settable": false,
"value": "EHVH08S18CB3V"
},
"softwareVersion": {
"settable": false,
"value": "ID76F2"
},
"eepromVersion": {
"settable": false,
"value": "AS1706432-29A"
}
},
{
"name": {
"settable": true,
"maxLength": 63,
"value": "Outdoor Unit"
},
"iconId": {
"settable": true,
"value": 5
},
"softwareVersion": {
"settable": false,
"value": "ID3904"
}
},
{
"name": {
"settable": true,
"maxLength": 63,
"value": "User Interface"
},
"iconId": {
"settable": true,
"value": 6
},
"softwareVersion": {
"settable": false,
"value": "v01.19.00"
},
"eepromVersion": {
"settable": false,
"value": "AS1705847-01F"
}
}
]
}
Comment dois s’appeler le fichier :
Altherma_heating
ou
heating_Altherma
type_deviceModel ou deviceModel_type
Altherma_heating
Merci je vois vraiment pas de ou viens le problème …
Il faut que je cherche et mette des logs
j’ai mis dans mon fichier json uniquement ça :
{
"gateway" : {
"firmwareVersion":[
{"name": "Firmware Version", "logicalId": "gatewayFirmwareVersion", "type": "info", "subType": "string", "visible": 0, "historized": 0}
],
"name": [
{"name": "Nom", "logicalId": "climateControlName", "type": "info", "subType": "string", "visible": 1, "historized": 0}
]
}
}
et je n’ai aucun retour
Voici l’erreur du log « node »
(node:5021) UnhandledPromiseRejectionWarning: RequestError: Timeout awaiting 'request' for 3500ms
at ClientRequest.<anonymous> (/var/www/html/plugins/daikinRCCloud/resources/node_modules/got/dist/source/core/index.js:956:65)
at Object.onceWrapper (events.js:520:26)
at ClientRequest.emit (events.js:412:35)
at ClientRequest.origin.emit (/var/www/html/plugins/daikinRCCloud/resources/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (_http_client.js:475:9)
at TLSSocket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
at Timeout.timeoutHandler [as _onTimeout] (/var/www/html/plugins/daikinRCCloud/resources/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (internal/timers.js:559:11)
at processTimers (internal/timers.js:500:7)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:5021) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:5021) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Dans mon fichier json j’ai mis que ça :
{
"managementPoints" : {
"firmwareVersion":[
{"name": "Firmware Version", "logicalId": "gatewayFirmwareVersion", "type": "info", "subType": "string", "visible": 0, "historized": 0}
]
}
}