Code : Tout sélectionner
"Puissance Solaire": {"topic": "zigbee/Energie",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "PSolaire",
"mapping": {"item": "power_b;energy_b,"multiplier": 1000"}},Code : Tout sélectionner
"Puissance Solaire": {"topic": "zigbee/Energie",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "PSolaire",
"mapping": {"item": "power_b;energy_b,"multiplier": 1000"}},Code : Tout sélectionner
"Eau compteur2": {"topic": "eau/consommation",
"type": "113", "subtype": "0", "switchtype": "2",
"key": "eau2",
"options": {"ValueQuantity":"Consommation", "ValueUnits":"m3"},
"mapping": {"item": "total_l"}},Ah, oui, tiens, j'avais pas pensé à ça. Je vais essayer de faire un truc pour avoir un facteur de multiplication par élément de sValue.marcus_54 a écrit : 05 oct. 2024, 19:16 j'ai essayé cela m'a multiplié également la puissance instantanée![]()
Code : Tout sélectionner
"Puissance Solaire": {"topic": "zigbee/Energie", "type": "243", "subtype": "29", "switchtype": "0", "key": "PSolaire", "mapping": {"item": "power_b;energy_b,"multiplier": 1000"}},
Code : Tout sélectionner
"Puissance Solaire": {"topic": "zigbee/Energie",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "PSolaire",
"initial": {"svalue": "0;0"},
"mapping": {"item": "power_b;energy_b","multiplier": "1000;1"}
/home/marc/domoticz/plugins/MqttMapper/./checkJsonFiles.py V1.3.6 - Use --trace to get details
Expecting ',' delimiter: line 103 column 1 (char 4270) when loading MqttMapper.json. Fix error and retry check!!!
Code : Tout sélectionner
....
"Prise Salon AR": {"topic": "zigbee/Prise_Salon_AR",
"type": "244", "subtype": "73", "switchtype": "0",
"key": "SalonAR",
"set": {"topic": "zigbee/Prise_Salon_AR/set", "payload": {"state":"#"}},
"mapping": {"item": "state", "default": "0", "values": {"OFF": "0", "ON": "100"}}},
"Relais Lampe": {"topic": "zigbee/Relais_Lampe",
"type": "244", "subtype": "73", "switchtype": "0",
"key": "Relais",
"set": {"topic": "zigbee/Relais_Lampe/set", "payload": {"state":"#"}},
"mapping": {"item": "state", "default": "0", "values": {"OFF": "0", "ON": "100"}}}
}Code : Tout sélectionner
{
"Tesla Compteur": {"topic": "teslamate/cars/1/odometer",
"type": "113", "subtype": "0", "switchtype": "3",
"options": {"ValueQuantity":"Distance", "ValueUnits":"km"},
"mapping": {"item": ""}},
"Tesla Batterie": {"topic": "teslamate/cars/1/battery_level",
"type": "243", "subtype": "6", "switchtype": "0",
"options": {"ValueUnits":"%"},
"mapping": {"item": ""}},
"Tesla Roue AvD": {"topic": "teslamate/cars/1/tpms_pressure_fr",
"type": "243", "subtype": "9", "switchtype": "0",
"options": {"ValueUnits":"Bar"},
"mapping": {"item": "","digits": 2} },
"Tesla Roue AvG": {"topic": "teslamate/cars/1/tpms_pressure_fl",
"type": "243", "subtype": "9", "switchtype": "0",
"options": {"ValueUnits":"Bar"},
"mapping": {"item": "","digits": 2}},
"Tesla Roue ArD": {"topic": "teslamate/cars/1/tpms_pressure_rr",
"type": "243", "subtype": "9", "switchtype": "0",
"options": {"ValueUnits":"Bar"},
"mapping": {"item": "","digits": 2}},
"Tesla Roue ArG": {"topic": "teslamate/cars/1/tpms_pressure_rl",
"type": "243", "subtype": "9", "switchtype": "0",
"options": {"ValueUnits":"Bar"},
"mapping": {"item": "","digits": 2}},
"Tesla Temp int": {"topic": "teslamate/cars/1/inside_temp",
"type": "80", "subtype": "5", "switchtype": "0",
"mapping": {"item": ""}},
"Tesla Temp ext": {"topic": "teslamate/cars/1/outside_temp",
"type": "80", "subtype": "5", "switchtype": "0",
"mapping": {"item": ""}},
"Eau Compteur": {"topic": "eau/consommation",
"type": "113", "subtype": "0", "switchtype": "2",
"initial": {"svalue":"38313"},
"options": {"ValueQuantity":"Consommation", "ValueUnits":"l"},
"mapping": {"item": "total_l"}},
"Intensité Secteur rms": {"topic": "zigbee/Energie",
"type": "243", "subtype": "23", "switchtype": "0",
"key": "power_as",
"mapping": {"item": "power_a","multiplier": 0.00417,"digits": 2}},
"Intensité Solaire rms": {"topic": "zigbee/Energie",
"type": "243", "subtype": "23", "switchtype": "0",
"key": "power_bs",
"mapping": {"item": "power_b","multiplier": 0.00425,"digits": 2}},
"Puissance Secteur": {"topic": "zigbee/Energie",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "PSecteur",
"mapping": {"item": "power_a;energy_a","multiplier": "1000;1"}},
"Puissance Solaire": {"topic": "zigbee/Energie",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "PSolaire",
"initial": {"svalue": "0;0"},
"mapping": {"item": "power_b;energy_b","multiplier": "1000;1"},
"Puissance Chauffage": {"topic": "zigbee/Energie",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "Ppompes",
"mapping": {"item": "power_c;energy_c","multiplier": "1000;1"}},
"Temp Ext garage": {"topic": "zigbee/Temp_Ext",
"type": "82", "subtype": "1", "switchtype": "0",
"mapping": {"item": "temperature;humidity;battery_state"}},
"Prise Bureau Energie": {"topic": "zigbee/Prise_Bureau",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "PriseBureau",
"mapping": {"item": "power;energy","multiplier": "1000;1"}},
"Prise Bureau": {"topic": "zigbee/Prise_Bureau",
"type": "244", "subtype": "73", "switchtype": "0",
"key": "bureauMA",
"set": {"topic": "zigbee/PPrise_Bureau/set", "payload": {"state":"#"}},
"mapping": {"item": "state", "default": "0", "values": {"OFF": "0", "ON": "100"}}},
"Prise Salon Energie": {"topic": "zigbee/Prise_Salon_AR",
"type": "243", "subtype": "29", "switchtype": "0",
"key": "PriseSalon",
"mapping": {"item": "power;energy","multiplier": "1000;1"}},
"Prise Salon AR": {"topic": "zigbee/Prise_Salon_AR",
"type": "244", "subtype": "73", "switchtype": "0",
"key": "SalonAR",
"set": {"topic": "zigbee/Prise_Salon_AR/set", "payload": {"state":"#"}},
"mapping": {"item": "state", "default": "0", "values": {"OFF": "0", "ON": "100"}}},
"Relais Lampe": {"topic": "zigbee/Relais_Lampe",
"type": "244", "subtype": "73", "switchtype": "0",
"key": "Relais",
"set": {"topic": "zigbee/Relais_Lampe/set", "payload": {"state":"#"}},
"mapping": {"item": "state", "default": "0", "values": {"OFF": "0", "ON": "100"}}}
}Code : Tout sélectionner
"mapping": {"item": "power_b;energy_b","multiplier": "1000;1"}},