tydom2MQTT addon :D - Delta Dore Tydom to MQTT Broker

Thank you so so much, i have already tried it but not at the end but at the second line, but it seems that the proble cuold be not to right the quotes(").
I really thank you for your help

Sorry I was out for a period off time. Yes I can give you some log. If you can guide me and tell me what you need?
Thanks for the support

When I run with node-tydom-client and I have a output json file with the following information
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“data”: [
{
“name”: “energyIndexHeatGas”,
“validity”: “upToDate”,
“value”: 1116300
}
]

the full json file is

{
“/configs/file”: {
“version_application”: “4.5.0 (587)”,
“endpoints”: [
{
“anticipation_start”: false,
“picto”: “picto_shutter”,
“name”: “Petit BSO”,
“id_device”: 1648376867,
“widget_behavior”: {
“maxSlope”: “90”
},
“id_endpoint”: 1648376867,
“first_usage”: “shutter”,
“last_usage”: “shutter”
},
{
“picto”: “picto_shutter”,
“anticipation_start”: false,
“id_endpoint”: 1648376874,
“name”: “Grand BSO”,
“first_usage”: “shutter”,
“last_usage”: “shutter”,
“id_device”: 1648376874
},
{
“id_endpoint”: 1638110872,
“picto”: “picto_conso”,
“name”: “Consomation gaz”,
“first_usage”: “conso”,
“anticipation_start”: false,
“last_usage”: “conso”,
“id_device”: 1638110872
},
{
“anticipation_start”: false,
“first_usage”: “alarm”,
“last_usage”: “alarm”,
“picto”: “picto_alarm”,
“name”: “Alarme”,
“id_device”: 1612289388,
“id_endpoint”: 1612289388
}
],
“scenarios”: [
{
“name”: “Ouvre BSO”,
“rule_id”: “”,
“picto”: “picto_scenario_arrival”,
“id”: 200625003
},
{
“rule_id”: “”,
“id”: 1626595730,
“name”: “Ferme BSO”,
“picto”: “picto_scenario_arrival”
}
],
“old_tycam”: false,
“groups”: [
{
“id”: 169058902,
“picto”: “picto_shutter”,
“usage”: “shutter”,
“name”: “TOTAL”,
“group_all”: true
},
{
“usage”: “light”,
“name”: “TOTAL”,
“group_all”: true,
“id”: 473950485,
“picto”: “picto_lamp”
},
{
“group_all”: true,
“name”: “TOTAL”,
“id”: 521645282,
“picto”: “picto_awning_awning”,
“usage”: “awning”
},
{
“picto”: “picto_smartplug”,
“group_all”: true,
“id”: 1797121444,
“usage”: “plug”,
“name”: “TOTAL”
}
],
“moments”: [
{
“id”: 702904336,
“name”: “Ouvre BSO matin”,
“color”: 9813268
},
{
“name”: “Ferme BSO”,
“color”: 9813268,
“id”: 390345966
}
],
“date”: 1659322896,
“id_catalog”: “F2BD90F93B888DA02C54980F11AE4796DFCC98F447CD3FE326F5A3A964C939BF”,
“version”: “1.0.1”,
“os”: “ios”,
“areas”: [],
“zigbee_networks”: []
},
“/devices/data”: [
{
“id”: 1612289388,
“endpoints”: [
{
“id”: 1612289388,
“error”: 0,
“data”: [
{
“name”: “alarmMode”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “alarmState”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “alarmTechnical”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “alarmSOS”,
“validity”: “expired”,
“value”: false
},
{
“name”: “unitBatteryDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “unitAutoProtect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “unitInternalDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systAlarmDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systAutoProtect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systBatteryDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systSupervisionDefect”,
“validity”: “upToDate”,
“value”: true
},
{
“name”: “systOpenIssue”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systSectorDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systTechnicalDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “outTemperature”,
“validity”: “upToDate”,
“value”: null
},
{
“name”: “part1State”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “part2State”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “part3State”,
“validity”: “upToDate”,
“value”: “UNUSED”
},
{
“name”: “part4State”,
“validity”: “upToDate”,
“value”: “UNUSED”
}
]
}
]
},
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“data”: [
{
“name”: “energyIndexHeatGas”,
“validity”: “upToDate”,
“value”: 1116300
}
]
}
]
},
{
“id”: 1648376867,
“endpoints”: [
{
“id”: 1648376867,
“error”: 0,
“data”: [
{
“name”: “position”,
“validity”: “upToDate”,
“value”: 0
},
{
“name”: “slope”,
“validity”: “upToDate”,
“value”: 0
}
]
}
]
},
{
“id”: 1648376874,
“endpoints”: [
{
“id”: 1648376874,
“error”: 0,
“data”: [
{
“name”: “position”,
“validity”: “upToDate”,
“value”: 0
},
{
“name”: “slope”,
“validity”: “upToDate”,
“value”: 0
}
]
}
]
}
],
“/devices/meta”: [
{
“id”: 1612289388,
“endpoints”: [
{
“id”: 1612289388,
“error”: 0,
“metadata”: [
{
“name”: “alarmCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“OFF”,
“ON”,
“FORCED_ON”
]
},
{
“name”: “ackEventCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“ACK”
]
},
{
“name”: “alarmMode”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“OFF”,
“ON”,
“PART”,
“PART”,
“PART”,
“PART”,
“TEST”,
“PERI”,
“MAINTENANCE”
]
},
{
“name”: “alarmState”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“OFF”,
“DELAYED”,
“ON”,
“QUIET”
]
},
{
“name”: “alarmTechnical”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “alarmSOS”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “unitBatteryDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “unitAutoProtect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “unitInternalDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systAlarmDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systAutoProtect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systBatteryDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systSupervisionDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systOpenIssue”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systSectorDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systTechnicalDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “outTemperature”,
“type”: “numeric”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“min”: -40,
“max”: 60,
“step”: 1,
“unit”: “degC”
},
{
“name”: “part1State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
},
{
“name”: “part2State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
},
{
“name”: “part3State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
},
{
“name”: “part4State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
}
]
}
]
},
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“metadata”: [
{
“name”: “energyIndexHeatGas”,
“type”: “numeric”,
“permission”: “r”,
“validity”: “METER_SUPERVISION”,
“min”: 0,
“max”: 4294967294,
“step”: 1,
“unit”: “l”
}
]
}
]
},
{
“id”: 1648376867,
“endpoints”: [
{
“id”: 1648376867,
“error”: 0,
“metadata”: [
{
“name”: “position”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “positionCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“DOWN”,
“UP”,
“STOP”
]
},
{
“name”: “slope”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “localisation”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“START”
]
}
]
}
]
},
{
“id”: 1648376874,
“endpoints”: [
{
“id”: 1648376874,
“error”: 0,
“metadata”: [
{
“name”: “position”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “positionCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“DOWN”,
“UP”,
“STOP”
]
},
{
“name”: “slope”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “localisation”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“START”
]
}
]
}
]
}
],
“/devices/cmeta”: [
{
“id”: 1612289388,
“endpoints”: [
{
“id”: 1612289388,
“error”: 0,
“cmetadata”: [
{
“name”: “partCmd”,
“permission”: “w”,
“parameters”: [
{
“name”: “value”,
“type”: “string”,
“enum_values”: [
“OFF”,
“ON”,
“FORCED_ON”
]
},
{
“name”: “part”,
“type”: “numeric”,
“min”: 1,
“max”: 4
}
]
},
{
“name”: “histo”,
“permission”: “r”,
“parameters”: [
{
“name”: “type”,
“type”: “string”,
“enum_values”: [
“OPEN_ISSUES”,
“UNACKED_EVENTS”,
“ON_OFF”,
“EVENTS”
]
},
{
“name”: “indexStart”,
“type”: “numeric”,
“min”: 0,
“max”: 1023
},
{
“name”: “nbElem”,
“type”: “numeric”,
“min”: 1,
“max”: 1024
}
]
}
]
}
]
},
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“cmetadata”: []
}
]
},
{
“id”: 1648376867,
“endpoints”: [
{
“id”: 1648376867,
“error”: 0,
“cmetadata”: []
}
]
},
{
“id”: 1648376874,
“endpoints”: [
{
“id”: 1648376874,
“error”: 0,
“cmetadata”: []
}
]
}
]
}

When I run with node-tydom-client and I have a output json file with the following information
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“data”: [
{
“name”: “energyIndexHeatGas”,
“validity”: “upToDate”,
“value”: 1116300
}
]

the full json file is

{
“/configs/file”: {
“version_application”: “4.5.0 (587)”,
“endpoints”: [
{
“anticipation_start”: false,
“picto”: “picto_shutter”,
“name”: “Petit BSO”,
“id_device”: 1648376867,
“widget_behavior”: {
“maxSlope”: “90”
},
“id_endpoint”: 1648376867,
“first_usage”: “shutter”,
“last_usage”: “shutter”
},
{
“picto”: “picto_shutter”,
“anticipation_start”: false,
“id_endpoint”: 1648376874,
“name”: “Grand BSO”,
“first_usage”: “shutter”,
“last_usage”: “shutter”,
“id_device”: 1648376874
},
{
“id_endpoint”: 1638110872,
“picto”: “picto_conso”,
“name”: “Consomation gaz”,
“first_usage”: “conso”,
“anticipation_start”: false,
“last_usage”: “conso”,
“id_device”: 1638110872
},
{
“anticipation_start”: false,
“first_usage”: “alarm”,
“last_usage”: “alarm”,
“picto”: “picto_alarm”,
“name”: “Alarme”,
“id_device”: 1612289388,
“id_endpoint”: 1612289388
}
],
“scenarios”: [
{
“name”: “Ouvre BSO”,
“rule_id”: “”,
“picto”: “picto_scenario_arrival”,
“id”: 200625003
},
{
“rule_id”: “”,
“id”: 1626595730,
“name”: “Ferme BSO”,
“picto”: “picto_scenario_arrival”
}
],
“old_tycam”: false,
“groups”: [
{
“id”: 169058902,
“picto”: “picto_shutter”,
“usage”: “shutter”,
“name”: “TOTAL”,
“group_all”: true
},
{
“usage”: “light”,
“name”: “TOTAL”,
“group_all”: true,
“id”: 473950485,
“picto”: “picto_lamp”
},
{
“group_all”: true,
“name”: “TOTAL”,
“id”: 521645282,
“picto”: “picto_awning_awning”,
“usage”: “awning”
},
{
“picto”: “picto_smartplug”,
“group_all”: true,
“id”: 1797121444,
“usage”: “plug”,
“name”: “TOTAL”
}
],
“moments”: [
{
“id”: 702904336,
“name”: “Ouvre BSO matin”,
“color”: 9813268
},
{
“name”: “Ferme BSO”,
“color”: 9813268,
“id”: 390345966
}
],
“date”: 1659322896,
“id_catalog”: “F2BD90F93B888DA02C54980F11AE4796DFCC98F447CD3FE326F5A3A964C939BF”,
“version”: “1.0.1”,
“os”: “ios”,
“areas”: [],
“zigbee_networks”: []
},
“/devices/data”: [
{
“id”: 1612289388,
“endpoints”: [
{
“id”: 1612289388,
“error”: 0,
“data”: [
{
“name”: “alarmMode”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “alarmState”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “alarmTechnical”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “alarmSOS”,
“validity”: “expired”,
“value”: false
},
{
“name”: “unitBatteryDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “unitAutoProtect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “unitInternalDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systAlarmDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systAutoProtect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systBatteryDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systSupervisionDefect”,
“validity”: “upToDate”,
“value”: true
},
{
“name”: “systOpenIssue”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systSectorDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “systTechnicalDefect”,
“validity”: “upToDate”,
“value”: false
},
{
“name”: “outTemperature”,
“validity”: “upToDate”,
“value”: null
},
{
“name”: “part1State”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “part2State”,
“validity”: “upToDate”,
“value”: “OFF”
},
{
“name”: “part3State”,
“validity”: “upToDate”,
“value”: “UNUSED”
},
{
“name”: “part4State”,
“validity”: “upToDate”,
“value”: “UNUSED”
}
]
}
]
},
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“data”: [
{
“name”: “energyIndexHeatGas”,
“validity”: “upToDate”,
“value”: 1116300
}
]
}
]
},
{
“id”: 1648376867,
“endpoints”: [
{
“id”: 1648376867,
“error”: 0,
“data”: [
{
“name”: “position”,
“validity”: “upToDate”,
“value”: 0
},
{
“name”: “slope”,
“validity”: “upToDate”,
“value”: 0
}
]
}
]
},
{
“id”: 1648376874,
“endpoints”: [
{
“id”: 1648376874,
“error”: 0,
“data”: [
{
“name”: “position”,
“validity”: “upToDate”,
“value”: 0
},
{
“name”: “slope”,
“validity”: “upToDate”,
“value”: 0
}
]
}
]
}
],
“/devices/meta”: [
{
“id”: 1612289388,
“endpoints”: [
{
“id”: 1612289388,
“error”: 0,
“metadata”: [
{
“name”: “alarmCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“OFF”,
“ON”,
“FORCED_ON”
]
},
{
“name”: “ackEventCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“ACK”
]
},
{
“name”: “alarmMode”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“OFF”,
“ON”,
“PART”,
“PART”,
“PART”,
“PART”,
“TEST”,
“PERI”,
“MAINTENANCE”
]
},
{
“name”: “alarmState”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“OFF”,
“DELAYED”,
“ON”,
“QUIET”
]
},
{
“name”: “alarmTechnical”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “alarmSOS”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “unitBatteryDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “unitAutoProtect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “unitInternalDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systAlarmDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systAutoProtect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systBatteryDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systSupervisionDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systOpenIssue”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systSectorDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “systTechnicalDefect”,
“type”: “boolean”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“unit”: “boolean”
},
{
“name”: “outTemperature”,
“type”: “numeric”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“min”: -40,
“max”: 60,
“step”: 1,
“unit”: “degC”
},
{
“name”: “part1State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
},
{
“name”: “part2State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
},
{
“name”: “part3State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
},
{
“name”: “part4State”,
“type”: “string”,
“permission”: “r”,
“validity”: “ALARM_POLLING”,
“enum_values”: [
“UNUSED”,
“ON”,
“OFF”
]
}
]
}
]
},
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“metadata”: [
{
“name”: “energyIndexHeatGas”,
“type”: “numeric”,
“permission”: “r”,
“validity”: “METER_SUPERVISION”,
“min”: 0,
“max”: 4294967294,
“step”: 1,
“unit”: “l”
}
]
}
]
},
{
“id”: 1648376867,
“endpoints”: [
{
“id”: 1648376867,
“error”: 0,
“metadata”: [
{
“name”: “position”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “positionCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“DOWN”,
“UP”,
“STOP”
]
},
{
“name”: “slope”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “localisation”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“START”
]
}
]
}
]
},
{
“id”: 1648376874,
“endpoints”: [
{
“id”: 1648376874,
“error”: 0,
“metadata”: [
{
“name”: “position”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “positionCmd”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“DOWN”,
“UP”,
“STOP”
]
},
{
“name”: “slope”,
“type”: “numeric”,
“permission”: “rw”,
“validity”: “ZIGBEE_REPORT”,
“min”: 0,
“max”: 100,
“step”: 1,
“unit”: “%”
},
{
“name”: “localisation”,
“type”: “string”,
“permission”: “w”,
“validity”: “INFINITE”,
“enum_values”: [
“START”
]
}
]
}
]
}
],
“/devices/cmeta”: [
{
“id”: 1612289388,
“endpoints”: [
{
“id”: 1612289388,
“error”: 0,
“cmetadata”: [
{
“name”: “partCmd”,
“permission”: “w”,
“parameters”: [
{
“name”: “value”,
“type”: “string”,
“enum_values”: [
“OFF”,
“ON”,
“FORCED_ON”
]
},
{
“name”: “part”,
“type”: “numeric”,
“min”: 1,
“max”: 4
}
]
},
{
“name”: “histo”,
“permission”: “r”,
“parameters”: [
{
“name”: “type”,
“type”: “string”,
“enum_values”: [
“OPEN_ISSUES”,
“UNACKED_EVENTS”,
“ON_OFF”,
“EVENTS”
]
},
{
“name”: “indexStart”,
“type”: “numeric”,
“min”: 0,
“max”: 1023
},
{
“name”: “nbElem”,
“type”: “numeric”,
“min”: 1,
“max”: 1024
}
]
}
]
}
]
},
{
“id”: 1638110872,
“endpoints”: [
{
“id”: 1638110872,
“error”: 0,
“cmetadata”: []
}
]
},
{
“id”: 1648376867,
“endpoints”: [
{
“id”: 1648376867,
“error”: 0,
“cmetadata”: []
}
]
},
{
“id”: 1648376874,
“endpoints”: [
{
“id”: 1648376874,
“error”: 0,
“cmetadata”: []
}
]
}
]
}

Hi all,

First of all, thanks to the developers.

I have a Tydom home box installed, controlling lights and shutters, and I am trying to do the integration with Home Assistant.

When I start the Tydom2mqtt I have the following error, I think I am in the same situation Dam commented around 26 August '22

2022-10-01 16:42:32,141 - tydomConnector - ERROR - Exception when trying to connect with websocket !
2022-10-01 16:42:32,142 - tydomConnector - ERROR - server rejected WebSocket connection: HTTP 401
2022-10-01 16:42:32,143 - tydomConnector - ERROR - wss://192.168.1.3:443/mediation/client?mac=001A250617C9&appli=1
2022-10-01 16:42:32,144 - tydomConnector - ERROR - {'Authorization': 'Digest username="001A250617C9", realm="protected area", nonce="7d4d18723b5efb016bb3846461d4b12c", uri="/mediation/client?mac=001A250617C9&appli=1", response="d34f3bdbb42ac43f21167004a478078e", qop="auth", nc=00000001, cnonce="7690e6487d1cccc4"'}

According to the Tydom Home Manual https://www.deltadore.es/data/product_files/6700116/documents/notices/Install/es/2705310_ES_PT.pdf pushing the button for 15 seconds is “reserved functionality”. I see in the Tydom 1.0 manual https://www.deltadore.es/data/product_files/6700105/documents/notices/Install/es/web_2703928_rev4_Not_TYDOM_1-0_ES_PT-rev04.pdf that is was “password reset”.

When they installed my Tydom home, I don’t remember being asked for a password for the box, only the one for Delta dore account which is fine and I remember, but doesnt work as tydom home password.

So, my questions are:

  • Anyone using Tydom Home?
  • Anyone has checked to reset the Tydom home password, and then using the old version as described in the FAQ to set a new one?

Regards (and thanks!)

Jordi

To reset the pasword of my Tydom 1.0, I pushed the button more than 15s and less than 30s.
Then I used the K-Line ios app to setup the password, as the DeltaDore app does not manage this password anymore.

@fmartinou Hi, I see your last release.
Did you take the job I have done on my release to add motion detector & door sensor (with the unknown sensor) ? If yes, good job ! And if no…also :grin:
I will give a try with your release next week to see if I get the same result than mine which seems to work like expected.

Hi @fransiouz ,

Yes, it has been included in the latest 2.5.0 release.
(you should recognize your code here)

Thank you for your work! :+1:

a merge request is ready.
it also add support for Typass with water and heating energy support and boiler external temperature

It’s merged and released as 2.6.0.
Thanks!

1 Like

Hello,

I have successfully install tydom2mqtt with my Tyxal CSX40 alarm
Status are correctly received when alarm is armed or disarmed
But arming and disarming alarm is not working

@fmartinou could you please tell me if I can help to debug why tis is not working?
Thank a lot for the work already done

Lionel

Hi @lionel71 ,

Your issue is probably the same as the one reported on GitHub:

I don’t have any deltadore alarm myself so it’s not easy to resolve.

To help with this, can you turn the log level to DEBUG, arm/disarm your alarm and share your logs on the GitHub issue?

many many thanks for your help

Changing log level in the configuration of tydom2mqtt addon doesn’t seem to have any effect…
Is there another place where I can change it ?

2022-10-10 16:30:04,714 - tydomMessagehandler - INFO - Incoming data parsed successfully !
2022-10-10 16:30:04,720 - sensors - INFO - Sensor created / updated : device_id_tydom__Tyxal_Alarm 16092XXXXX
2022-10-10 16:30:04,722 - sensors - INFO - Sensor created / updated : endpoint_id_tydom__Tyxal_Alarm 16092XXXXX
2022-10-10 16:30:04,724 - sensors - INFO - Sensor created / updated : id_tydom__Tyxal_Alarm 1609XXXXX_16092XXXXX
2022-10-10 16:30:04,727 - sensors - INFO - Sensor created / updated : alarmMode_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,728 - sensors - INFO - Sensor created / updated : alarmState_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,731 - sensors - INFO - Binary sensor created / updated : alarmTechnical_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,733 - sensors - INFO - Binary sensor created / updated : unitBatteryDefect_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,734 - sensors - INFO - Binary sensor created / updated : unitAutoProtect_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,737 - sensors - INFO - Binary sensor created / updated : systAutoProtect_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,739 - sensors - INFO - Binary sensor created / updated : systBatteryDefect_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,741 - sensors - INFO - Binary sensor created / updated : systSupervisionDefect_tydom__Tyxal_Alarm ON
2022-10-10 16:30:04,743 - sensors - INFO - Binary sensor created / updated : systOpenIssue_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,745 - sensors - INFO - Binary sensor created / updated : systSectorDefect_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,747 - sensors - INFO - Binary sensor created / updated : systTechnicalDefect_tydom__Tyxal_Alarm OFF
2022-10-10 16:30:04,748 - sensors - INFO - Sensor created / updated : outTemperature_tydom__Tyxal_Alarm 20
2022-10-10 16:30:04,750 - alarm_control_panel - INFO - Alarm created / updated : Tyxal Alarm 1609XXXXX_16092XXXXX disarmed
2022-10-10 16:30:04,751 - tydomMessagehandler - INFO - Incoming data parsed successfully !
2022-10-10 16:30:13,773 - tydomConnector - INFO - Sending to tydom client..... PUT cdata {"value":"ON","pwd":"XXXX","zones":"[1]"}
2022-10-10 16:30:13,780 - tydomMessagehandler - INFO - Incoming data parsed successfully !

Door status broke recently (maybe because of an update in HA ?)
The cause is the unknown device_class ‘door’.
I fixed this in my latest pull request (#52)

I don’t know what are all the possible values of this sensor but maybe it can be switched to a binary sensor if the only values are LOCKED and UNLOCKED.
for example, it can’t be done for windows because they also can have the OPEN_HOPPER value

Hi, I Integrated my Tydom 1.0 with Home Assistant yesterday and I can now control all my Delta Dore products. Great job! But I have encontered a small problem.

When i controll the products externaly from local switches og from the Tydom app, Home Assistant does not pick up the new status. When i look at the LOG in the tydom2mqtt integration i can clearly see the new status of the light after I have pressed the external lightswitch. But the device inside Home Assistant does not update.
Tips?

Here is what the LOG displayes when i turn one light on and off externaly.

2022-10-29 19:55:49,591 - sensors - INFO - Sensor created / updated : device_id_tydom__Kjellerkontor 45
2022-10-29 19:55:49,595 - sensors - INFO - Sensor created / updated : endpoint_id_tydom__Kjellerkontor 45
2022-10-29 19:55:49,597 - sensors - INFO - Sensor created / updated : id_tydom__Kjellerkontor 45_45
2022-10-29 19:55:49,598 - sensors - INFO - Sensor created / updated : level_tydom__Kjellerkontor 55
2022-10-29 19:55:49,600 - light - INFO - light created / updated : Kjellerkontor 45_45 55
2022-10-29 19:55:49,601 - tydomMessagehandler - INFO - Incoming data parsed successfully !
2022-10-29 19:56:02,116 - sensors - INFO - Sensor created / updated : device_id_tydom__Kjellerkontor 45
2022-10-29 19:56:02,118 - sensors - INFO - Sensor created / updated : endpoint_id_tydom__Kjellerkontor 45
2022-10-29 19:56:02,120 - sensors - INFO - Sensor created / updated : id_tydom__Kjellerkontor 45_45
2022-10-29 19:56:02,122 - sensors - INFO - Sensor created / updated : level_tydom__Kjellerkontor 0
2022-10-29 19:56:02,124 - light - INFO - light created / updated : Kjellerkontor 45_45 0
2022-10-29 19:56:02,124 - tydomMessagehandler - INFO - Incoming data parsed successfully !
2 Likes

Hello community,

I have hme assistant installed, a tydom configured via Tydom2mqtt and a CSX40 alarm (quite old model, but perfectly working with tydom box)

Arming and disarming events are correctly received by home assistant, but arming and disarming from home assistant doesn’t work

I’d really like to help to debug and also resolve some bug, but I don’t really know how to start.

I cannot change the log level, or more precisely changing the log level has not effect.

I need to go deep in detail to understand why some commands are not working properly, so I’d really appreciate if someone could help me to have the correct approach to start debugging.

Maybe the good idea is to run python script directly or something else?

Thank you for your help

Lionel

Je pense que la seule façon de résoudre ces problèmes est de mettre à jour les entrées HA lorsqu’une mise à jour est reçue par la communication, et pas seulement lorsqu’une commande est passée par HA.
It might be also a solution to the issue 50 when the data are not all updated after the first start of the integration after update.

Bonjour à tous,

Impossible de trouver l’Addon Tydom2MQTT de FMArtinou dans les modules complémentaires et HACS, même en rajoutant le dépot Github… je désespère … Je rate un truc gros comme unnez au milieu de la figure…

Ma config:
Home Assistant 2022.11.2 Supervisor 2022.10.2 Interface utilisateur : 20221108.0 - latest
Mosquitto broker Current version: 6.1.3
Sur PI3 par doker

1 Like

Ce champ de recherche sert à filtrer les addons déjà téléchargés ou les nouveaux addons publiés depuis ta dernière visite.

Pour ajouter un nouvel addon, il faut passer par le bouton Ajouter en bas à droite de ton écran. Ce n’est pas très intuitif, je me fais aussi avoir régulièrement…