Hallo,
ich habe mittlerweile nen Hichi Lesekopf und der läuft auch.
Aedes embedded MQTT Broker läuft auch.
Leider bekomme ich mqttthing nicht richtig konfiguriert wodurch mir kein Wert in der Eve App angezeigt wird.
Evtl. hat ja jemand ne Idee?!
Code
{
"accessory": "mqttthing",
"type": "outlet",
"name": "Strom",
"username": "Test",
"password": "12345",
"mqttOptions": {
"keepalive": 0
},
"logMqtt": true,
"topics": {
"getWatts": "tele/tasmota_C58824/SENSOR",
"apply": "return JSON.parse(message).SML.DJ_TPWRCURR"
},
"getTotalConsumption": {
"topic": "tele/tasmota_C58824/SENSOR",
"apply": "return JSON.parse(message).SML.DJ_TPWRIN"
},
Alles anzeigen
15:28:17.955 MQT: tele/tasmota_C58824/SENSOR = {"Time":"2024-03-26T15:28:17","SML":{"DJ_TPWRIN":217.24,"DJ_TPWROUT":10.09,"DJ_TPWRCURR":177}}
Habe ich irgendwo nen denkfehler?
Vielen Dank im Voraus
Edit:
Habe es jetzt hinbekommen!
Code
{
"accessory": "mqttthing",
"type": "outlet",
"name": "Strom",
"username": "Test",
"password": "12345",
"mqttOptions": {
"keepalive": 0
},
"logMqtt": true,
"topics": {
"getWatts": {
"topic": "tele/tasmota_C58824/SENSOR",
"apply": "return JSON.parse(message).SML.DJ_TPWRCURR"
},
"getTotalConsumption": {
"topic": "tele/tasmota_C58824/SENSOR",
"apply": "return JSON.parse(message).SML.DJ_TPWRIN"
},
"setOn": {
"topic": "tele/tasmota_C58824/POWER"
}
}
}
Alles anzeigen
Danach habe ich noch die Teleperiod vom Hichi auf 10 gesetzt.