Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.27k stars 1.69k forks source link

2 issues: BSD29 OTA update error + showing the wrong device #18151

Open terierul opened 1 year ago

terierul commented 1 year ago

What happened?

Device = BSD29 https://www.zigbee2mqtt.io/devices/BSD29.html

Issue 1 In OTA menu update there is an error related with missing OTA endpoint (see attached printscreen) Capture

Issue 2 The device I bought is this smart plug: https://www.aliexpress.com/item/1005004910203202.html?spm=a2g0o.order_list.order_list_main.16.1eb918028nFON8 Real I think should be this model: https://www.zigbee2mqtt.io/devices/TS011F_plug_1.html#tuya-ts011f_plug_1 But is paired as BSD29

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

I think is related or duplicates: https://github.com/Koenkk/zigbee2mqtt/issues/17990

Zigbee2MQTT version

1.31.2-1

Adapter firmware version

0x26780700

Adapter

ConBee2/RaspBee2

Debug log

No response

JokeRsevilla commented 1 year ago

hello! I have the same problem

Outsidewall commented 1 year ago

Hello, Same issue here as well.

fips21 commented 1 year ago

Same problem here.

RomchikL commented 1 year ago

I have the same issue with Girier Plug JR-ZPM03 (_TZ3000_okaz9tjs), fw 20B+TZSKT11BS108, see also #18642

sereda-oleg commented 1 year ago

I have the same problem

Koenkk commented 1 year ago

Could you check if the OTA issue is fixed with: https://gist.github.com/Koenkk/064a88d7b995bdf170121e916454be91

JokeRsevilla commented 1 year ago

Could you check if the OTA issue is fixed with: https://gist.github.com/Koenkk/064a88d7b995bdf170121e916454be91

  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m, check if issue is fixed

image image

RomchikL commented 1 year ago

Could you check if the OTA issue is fixed with: https://gist.github.com/Koenkk/064a88d7b995bdf170121e916454be91

I have the same result as @JokeRsevilla. But I did not reconnect the switch, only restart z2m with this external converter.

Koenkk commented 1 year ago

does this device support otas through the TuYa gateway?

RomchikL commented 1 year ago

I don't have TuYa gateway, can't check this, maybe @JokeRsevilla or others will answer

sereda-oleg commented 1 year ago

Could you check if the OTA issue is fixed with: https://gist.github.com/Koenkk/064a88d7b995bdf170121e916454be91

  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m, check if issue is fixed

Failed to check if update available for 'xxxxxxxxxx' (Device didn't respond to OTA request)

... reconnect switch, restart z2mqtt, coordinator Sonoff ZBDongle-P.

RomchikL commented 1 year ago

@terierul, @Outsidewall @fips21 do you have a Tuya gateway? Could you check ota?

terierul commented 1 year ago

@terierul, @Outsidewall @fips21 do you have a Tuya gateway? Could you check ota?

sorry. I use a conbee 2 stick

migor7 commented 1 year ago

Same problem here.

RomchikL commented 1 year ago

Same problem here.

Do you have a Tuya gateway to check ota updates?

mati1988r commented 1 year ago

Same problem here.

Do you have a Tuya gateway to check ota updates?

I have and I check tomorrow

mysatbox commented 1 year ago

I have a tuya gateway and my plugs (BSD29_1) they already arrived with the latest firmware v.3.0.0, but in z2m it gives the same error that the OP describes.

Wendigogo commented 1 year ago

I got the same error here too (Home Assistant, Z2M, SONOFF dongle) with a BSD29_1 model. Informations I could get are : Firmware date : 20210625 / firmware version : 500+TZSKT31BS102 And on "State" page I got :

"child_lock": null,
"indicator_mode": null,
"power_outage_memory": null,
"update": {
        "installed_version": -1,
        "latest_version": -1,
        "state": null
    },
"update_available": null

These "null" states are suspicious.

daimonkor commented 1 year ago

I didn't use external converter, but I got update error. Please fix error.

VerodinDev commented 1 year ago

I got the same error here too (Home Assistant, Z2M, SONOFF dongle) with a BSD29_1 model. Informations I could get are : Firmware date : 20210625 / firmware version : 500+TZSKT31BS102 And on "State" page I got :

Same setup here, same problem. I have 3 of these devices (Elivco LSPA9). Zigbee2MQTT v1.33.2

 {
     "current": 2.73,
     "energy": 20.52,
     "linkquality": 60,
     "power": 638,
     "power_outage_memory": "on",
     "state": "ON",
     "voltage": 228,
     "child_lock": null,
     "indicator_mode": null,
     "update": {
         "installed_version": -1,
         "latest_version": -1,
         "state": null
     },
     "update_available": null
 }

edit: Tested the ext_converter.js script and it did not solve the issue. Still getting the failed to check error (after z2m restart)

dbodyas commented 12 months ago

Modified converter, now it's returning valid pic. Removed OTA options as it's failing anyway (it has "outClusterList":[25])

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const legacy = require('zigbee-herdsman-converters/lib/legacy');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    fingerprint: [160, 100, 69, 68, 65, 64, 66].map((applicationVersion) => {
        return {modelID: 'TS011F', applicationVersion, priority: -1};
    }),
    model: 'TS011F_plug_3',
    description: 'Smart plug (with power monitoring by polling)',
    vendor: 'TuYa',
    whiteLabel: [{vendor: '_TZ3000_okaz9tjs', model: 'TS011F'}, {vendor: 'VIKEFON', model: 'TS011F'}, {vendor: 'BlitzWolf', model: 'BW-SHP15'},
        {vendor: 'AVATTO', model: 'MIUCOT10Z'}, {vendor: 'Neo', model: 'NAS-WR01B'}, {vendor: 'Neo', model: 'PLUG-001SPB2'},
    ],
    //ota: ota.zigbeeOTA,
    extend: tuya.extend.switch({electricalMeasurements: true, powerOutageMemory: true, indicatorMode: true, childLock: true}),
    configure: async (device, coordinatorEndpoint, logger) => {
        //utils.attachOutputCluster(device, 'genOta');
        await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
        const endpoint = device.getEndpoint(1);
        endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {acCurrentDivisor: 1000, acCurrentMultiplier: 1});
        endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 100, multiplier: 1});
        device.save();
    },
    options: [exposes.options.measurement_poll_interval()],
    onEvent: (type, data, device, options) =>
        tuya.onEventMeasurementPoll(type, data, device, options,
            device.applicationVersion !== 66, // polling for voltage, current and power
            [66, 100, 160].includes(device.applicationVersion), // polling for energy
        ),
};

module.exports = definition;
pafftis commented 11 months ago

I'm not getting updates either. The data on instantaneous electricity consumption is very bad. I have orange sockets, where the data comes instantly.

Blackduke77 commented 10 months ago

Hi I have around 10 of these just arrived and getting the same OTA errors, do we have a solution yet. this happens in main and dev branches

Blackduke77 commented 10 months ago

@Koenkk whats the way forward to get this resolved, do I need to get a Tuya gateway, I am happy to work with someone and do whats needed to get them working again in Z2M

Koenkk commented 10 months ago

Someone has to check wether OTA updates work when using the original hub

MBRetrofit commented 10 months ago

Any news about firmware update for 500+TZSKT31BS102 This from time to time need to be disconnected from main to work again. I don't know if is a HW or a SW issue.

alarik84 commented 9 months ago

Hi. I don't think it's related to the gteway. I've got two Tuya plugs: image image For first one, I was able to update, for the second, I constantly get 'device didn't respond to OTA request'. Both are reported in zigbee as the same device: TS011F_plug_1

z647230 commented 9 months ago

I got multiple of these plugs that all report as BSD29_1, some connected to ZBdongle E with zigbee2mqtt and some to a R7070 Tuya gateway with the Tuya App.

Will start debugging but if anybody already has clue, please let me know...

HughODwyer90 commented 9 months ago

Same issue here. Commenting so I get updates.

BeeSci commented 9 months ago

Same issue here. Subscribed to get updates.

BeeSci commented 9 months ago

I switched to debug mode, forcefully removed the plug, rejoined it twice and tried to start the OTA which failed for the same reasons as mentioned above. This is the result in log.txt. Hope, it helps.


debug 2024-02-17 18:29:19: Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"f8yju-1","value":true}'
info  2024-02-17 18:29:19: Zigbee: allowing new devices to join.
info  2024-02-17 18:29:20: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"f8yju-1"}'
debug 2024-02-17 18:29:30: Received Zigbee message from 'Steckdose_Dachkammer', type 'attributeReport', cluster 'genBasic', data '{"65506":54,"65508":0,"appVersion":192}' from endpoint 1 with groupID 0
info  2024-02-17 18:29:30: MQTT publish: topic 'zigbee2mqtt/Steckdose_Dachkammer', payload '{"child_lock":"UNLOCK","current":0,"energy":0,"indicator_mode":"off/on","last_seen":"2024-02-17T18:29:30+01:00","linkquality":10,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":null,"voltage":232}'
warn  2024-02-17 18:29:32: Device '0x70b3d52b6002838e' left the network
info  2024-02-17 18:29:32: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e"},"type":"device_leave"}'
warn  2024-02-17 18:29:33: Device '0x70b3d52b6002838e' left the network
info  2024-02-17 18:29:33: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e"},"type":"device_leave"}'
info  2024-02-17 18:29:38: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"last_seen":"2024-02-17T18:29:38+01:00","linkquality":0,"update":{"installed_version":-1,"latest_version":-1}}'
info  2024-02-17 18:29:38: Device '0x70b3d52b6002838e' joined
info  2024-02-17 18:29:38: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e"},"type":"device_joined"}'
info  2024-02-17 18:29:38: Starting interview of '0x70b3d52b6002838e'
info  2024-02-17 18:29:38: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e","status":"started"},"type":"device_interview"}'
info  2024-02-17 18:29:38: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"last_seen":"2024-02-17T18:29:38+01:00","linkquality":0,"update":{"installed_version":-1,"latest_version":-1}}'
debug 2024-02-17 18:29:38: Device '0x70b3d52b6002838e' announced itself
info  2024-02-17 18:29:38: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e"},"type":"device_announce"}'
info  2024-02-17 18:29:38: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"last_seen":"2024-02-17T18:29:38+01:00","linkquality":0,"update":{"installed_version":-1,"latest_version":-1}}'
info  2024-02-17 18:29:39: Successfully interviewed '0x70b3d52b6002838e', device has successfully been paired
info  2024-02-17 18:29:39: Device '0x70b3d52b6002838e' is supported, identified as: TuYa Smart plug (with power monitoring by polling) (BSD29_1)
info  2024-02-17 18:29:39: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Smart plug (with power monitoring by polling)","exposes":[{"features":[{"access":7,"description":"On/off state of the switch","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"Recover state after power outage","label":"Power outage memory","name":"power_outage_memory","property":"power_outage_memory","type":"enum","values":["on","off","restore"]},{"access":7,"description":"LED indicator mode","label":"Indicator mode","name":"indicator_mode","property":"indicator_mode","type":"enum","values":["off","off/on","on/off","on"]},{"access":1,"category":"diagnostic","description":"Instantaneous measured power","label":"Power","name":"power","property":"power","type":"numeric","unit":"W"},{"access":1,"category":"diagnostic","description":"Instantaneous measured electrical current","label":"Current","name":"current","property":"current","type":"numeric","unit":"A"},{"access":1,"category":"diagnostic","description":"Measured electrical potential value","label":"Voltage","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"access":1,"description":"Sum of consumed energy","label":"Energy","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"features":[{"access":3,"description":"Enables/disables physical input on the device","label":"State","name":"state","property":"child_lock","type":"binary","value_off":"UNLOCK","value_on":"LOCK"}],"label":"Child lock","type":"lock"},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"BSD29_1","options":[{"access":2,"description":"This device does not support reporting electric measurements so it is polled instead. The default poll interval is 60 seconds, set to -1 to disable.","label":"Measurement poll interval","name":"measurement_poll_interval","property":"measurement_poll_interval","type":"numeric","value_min":-1},{"access":2,"description":"Calibrates the power value (percentual offset), takes into effect on next report of device.","label":"Power calibration","name":"power_calibration","property":"power_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for power, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Power precision","name":"power_precision","property":"power_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the current value (percentual offset), takes into effect on next report of device.","label":"Current calibration","name":"current_calibration","property":"current_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for current, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Current precision","name":"current_precision","property":"current_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the voltage value (percentual offset), takes into effect on next report of device.","label":"Voltage calibration","name":"voltage_calibration","property":"voltage_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for voltage, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Voltage precision","name":"voltage_precision","property":"voltage_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the energy value (percentual offset), takes into effect on next report of device.","label":"Energy calibration","name":"energy_calibration","property":"energy_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for energy, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Energy precision","name":"energy_precision","property":"energy_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"State actions will also be published as 'action' when true (default false).","label":"State action","name":"state_action","property":"state_action","type":"binary","value_off":false,"value_on":true}],"supports_ota":true,"vendor":"TuYa"},"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e","status":"successful","supported":true},"type":"device_interview"}'
info  2024-02-17 18:29:39: Configuring '0x70b3d52b6002838e'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/switch/0x70b3d52b6002838e/switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"name":null,"object_id":"0x70b3d52b6002838e","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/power_outage_memory/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:power-settings","name":"Power outage memory","object_id":"0x70b3d52b6002838e_power_outage_memory","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/select/0x70b3d52b6002838e/power_outage_memory/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set/power_outage_memory","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"entity_category":"config","icon":"mdi:power-settings","name":"Power outage memory","object_id":"0x70b3d52b6002838e_power_outage_memory","options":["on","off","restore"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/indicator_mode/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"name":"Indicator mode","object_id":"0x70b3d52b6002838e_indicator_mode","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_indicator_mode_zigbee2mqtt","value_template":"{{ value_json.indicator_mode }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/select/0x70b3d52b6002838e/indicator_mode/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set/indicator_mode","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"name":"Indicator mode","object_id":"0x70b3d52b6002838e_indicator_mode","options":["off","off/on","on/off","on"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_indicator_mode_zigbee2mqtt","value_template":"{{ value_json.indicator_mode }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/power/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"power","enabled_by_default":true,"entity_category":"diagnostic","object_id":"0x70b3d52b6002838e_power","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/current/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"current","enabled_by_default":false,"entity_category":"diagnostic","object_id":"0x70b3d52b6002838e_current","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","object_id":"0x70b3d52b6002838e_voltage","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/energy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"energy","enabled_by_default":true,"object_id":"0x70b3d52b6002838e_energy","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"total_increasing","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/lock/0x70b3d52b6002838e/child_lock/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set/child_lock","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"name":"Child lock","object_id":"0x70b3d52b6002838e_child_lock","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_lock":"LOCK","payload_unlock":"UNLOCK","state_locked":"LOCK","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","state_unlocked":"UNLOCK","unique_id":"0x70b3d52b6002838e_child_lock_zigbee2mqtt","value_template":"{{ value_json.child_lock }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x70b3d52b6002838e_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/last_seen/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"Last seen","object_id":"0x70b3d52b6002838e_last_seen","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/sensor/0x70b3d52b6002838e/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Update state","object_id":"0x70b3d52b6002838e_update_state","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/binary_sensor/0x70b3d52b6002838e/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"update","enabled_by_default":false,"entity_category":"diagnostic","name":null,"object_id":"0x70b3d52b6002838e_update_available","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
info  2024-02-17 18:29:39: MQTT publish: topic 'homeassistant/update/0x70b3d52b6002838e/update/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"firmware","entity_category":"config","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","json_attributes_template":"{\"in_progress\": {{ iif(value_json['update']['state'] == 'updating', 'true', 'false') }} }","json_attributes_topic":"zigbee2mqtt/0x70b3d52b6002838e","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/0x70b3d52b6002838e","name":null,"object_id":"0x70b3d52b6002838e","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_install":"{\"id\": \"0x70b3d52b6002838e\"}","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/switch/0x70b3d52b6002838e/switch/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"name":null,"object_id":"0x70b3d52b6002838e","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/power_outage_memory/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:power-settings","name":"Power outage memory","object_id":"0x70b3d52b6002838e_power_outage_memory","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/select/0x70b3d52b6002838e/power_outage_memory/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set/power_outage_memory","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"entity_category":"config","icon":"mdi:power-settings","name":"Power outage memory","object_id":"0x70b3d52b6002838e_power_outage_memory","options":["on","off","restore"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/indicator_mode/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"name":"Indicator mode","object_id":"0x70b3d52b6002838e_indicator_mode","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_indicator_mode_zigbee2mqtt","value_template":"{{ value_json.indicator_mode }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/select/0x70b3d52b6002838e/indicator_mode/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set/indicator_mode","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"name":"Indicator mode","object_id":"0x70b3d52b6002838e_indicator_mode","options":["off","off/on","on/off","on"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_indicator_mode_zigbee2mqtt","value_template":"{{ value_json.indicator_mode }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/power/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"power","enabled_by_default":true,"entity_category":"diagnostic","object_id":"0x70b3d52b6002838e_power","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/current/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"current","enabled_by_default":false,"entity_category":"diagnostic","object_id":"0x70b3d52b6002838e_current","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","object_id":"0x70b3d52b6002838e_voltage","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/energy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"energy","enabled_by_default":true,"object_id":"0x70b3d52b6002838e_energy","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"total_increasing","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/lock/0x70b3d52b6002838e/child_lock/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/0x70b3d52b6002838e/set/child_lock","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"name":"Child lock","object_id":"0x70b3d52b6002838e_child_lock","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_lock":"LOCK","payload_unlock":"UNLOCK","state_locked":"LOCK","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","state_unlocked":"UNLOCK","unique_id":"0x70b3d52b6002838e_child_lock_zigbee2mqtt","value_template":"{{ value_json.child_lock }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x70b3d52b6002838e_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/last_seen/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"Last seen","object_id":"0x70b3d52b6002838e_last_seen","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/sensor/0x70b3d52b6002838e/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Update state","object_id":"0x70b3d52b6002838e_update_state","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/binary_sensor/0x70b3d52b6002838e/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"update","enabled_by_default":false,"entity_category":"diagnostic","name":null,"object_id":"0x70b3d52b6002838e_update_available","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
debug 2024-02-17 18:29:39: Received MQTT message on 'homeassistant/update/0x70b3d52b6002838e/update/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x70b3d52b6002838e/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x70b3d52b6002838e"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (BSD29_1)","name":"0x70b3d52b6002838e","sw_version":"500+TZSKT31BS102","via_device":"zigbee2mqtt_bridge_0x00124b002a1aa2f6"},"device_class":"firmware","entity_category":"config","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","json_attributes_template":"{\"in_progress\": {{ iif(value_json['update']['state'] == 'updating', 'true', 'false') }} }","json_attributes_topic":"zigbee2mqtt/0x70b3d52b6002838e","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/0x70b3d52b6002838e","name":null,"object_id":"0x70b3d52b6002838e","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_install":"{\"id\": \"0x70b3d52b6002838e\"}","state_topic":"zigbee2mqtt/0x70b3d52b6002838e","unique_id":"0x70b3d52b6002838e_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}'
debug 2024-02-17 18:29:39: Received Zigbee message from '0x70b3d52b6002838e', type 'readResponse', cluster 'genBasic', data '{"appVersion":100,"manufacturerName":"_TZ3000_okaz9tjs","modelId":"TS011F","powerSource":1,"zclVersion":2}' from endpoint 1 with groupID 0
info  2024-02-17 18:29:39: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":null,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:29:39+01:00","linkquality":61,"power":null,"power_outage_memory":null,"state":null,"update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":null}'
debug 2024-02-17 18:29:39: TuYa configureMagicPacket failed, ignoring...
info  2024-02-17 18:29:39: Successfully configured '0x70b3d52b6002838e'
debug 2024-02-17 18:29:45: Received Zigbee message from '0x70b3d52b6002838e', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info  2024-02-17 18:29:45: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":null,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:29:45+01:00","linkquality":54,"power":null,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":null}'
debug 2024-02-17 18:29:45: Received Zigbee message from '0x70b3d52b6002838e', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"powerOnBehavior":2}' from endpoint 1 with groupID 0
debug 2024-02-17 18:29:45: No converter available for 'BSD29_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"powerOnBehavior":2}'
info  2024-02-17 18:29:45: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":null,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:29:45+01:00","linkquality":58,"power":null,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":null}'
debug 2024-02-17 18:29:51: Received Zigbee message from 'Steckdose_Dachkammer', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":231}' from endpoint 1 with groupID 0
info  2024-02-17 18:29:51: MQTT publish: topic 'zigbee2mqtt/Steckdose_Dachkammer', payload '{"child_lock":"UNLOCK","current":0,"energy":0,"indicator_mode":"off/on","last_seen":"2024-02-17T18:29:51+01:00","linkquality":7,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":null,"voltage":231}'
debug 2024-02-17 18:29:51: Received Zigbee message from 'Steckdose_Dachkammer', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,0]}' from endpoint 1 with groupID 0
info  2024-02-17 18:29:51: MQTT publish: topic 'zigbee2mqtt/Steckdose_Dachkammer', payload '{"child_lock":"UNLOCK","current":0,"energy":0,"indicator_mode":"off/on","last_seen":"2024-02-17T18:29:51+01:00","linkquality":10,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":null,"voltage":231}'
info  2024-02-17 18:29:58: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":null,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:29:45+01:00","linkquality":58,"power":null,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":null}'
debug 2024-02-17 18:30:01: Received Zigbee message from '0x70b3d52b6002838e', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":236}' from endpoint 1 with groupID 0
info  2024-02-17 18:30:01: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:30:01+01:00","linkquality":14,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
info  2024-02-17 18:30:02: MQTT publish: topic 'zigbee2mqtt/Steckdose_Dachkammer', payload '{"child_lock":"UNLOCK","current":0,"energy":0,"indicator_mode":"off/on","last_seen":"2024-02-17T18:29:51+01:00","linkquality":10,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":null,"voltage":231}'
info  2024-02-17 18:30:02: MQTT publish: topic 'zigbee2mqtt/Steckdose_Dachkammer', payload '{"child_lock":"UNLOCK","current":0,"energy":0,"indicator_mode":"off/on","last_seen":"2024-02-17T18:29:51+01:00","linkquality":10,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":null,"voltage":231}'
debug 2024-02-17 18:30:03: Received Zigbee message from '0x70b3d52b6002838e', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
info  2024-02-17 18:30:03: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:30:03+01:00","linkquality":10,"power":0,"power_outage_memory":null,"state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
info  2024-02-17 18:30:07: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:30:03+01:00","linkquality":10,"power":0,"power_outage_memory":null,"state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
debug 2024-02-17 18:30:10: Received Zigbee message from '0x70b3d52b6002838e', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info  2024-02-17 18:30:10: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":null,"indicator_mode":null,"last_seen":"2024-02-17T18:30:10+01:00","linkquality":0,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
debug 2024-02-17 18:30:10: Received Zigbee message from '0x70b3d52b6002838e', type 'readResponse', cluster 'seMetering', data '{"currentSummDelivered":[0,0]}' from endpoint 1 with groupID 0
info  2024-02-17 18:30:10: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:10+01:00","linkquality":10,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
warn  2024-02-17 18:30:16: Device '0x70b3d52b6002838e' left the network
info  2024-02-17 18:30:16: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e"},"type":"device_leave"}'
info  2024-02-17 18:30:21: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:21+01:00","linkquality":10,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
info  2024-02-17 18:30:21: Device '0x70b3d52b6002838e' joined
info  2024-02-17 18:30:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e"},"type":"device_joined"}'
info  2024-02-17 18:30:21: Starting interview of '0x70b3d52b6002838e'
info  2024-02-17 18:30:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e","status":"started"},"type":"device_interview"}'
info  2024-02-17 18:30:21: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:21+01:00","linkquality":10,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
debug 2024-02-17 18:30:21: Device '0x70b3d52b6002838e' announced itself
info  2024-02-17 18:30:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e"},"type":"device_announce"}'
info  2024-02-17 18:30:21: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:21+01:00","linkquality":10,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
info  2024-02-17 18:30:22: Successfully interviewed '0x70b3d52b6002838e', device has successfully been paired
info  2024-02-17 18:30:22: Device '0x70b3d52b6002838e' is supported, identified as: TuYa Smart plug (with power monitoring by polling) (BSD29_1)
info  2024-02-17 18:30:22: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Smart plug (with power monitoring by polling)","exposes":[{"features":[{"access":7,"description":"On/off state of the switch","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"Recover state after power outage","label":"Power outage memory","name":"power_outage_memory","property":"power_outage_memory","type":"enum","values":["on","off","restore"]},{"access":7,"description":"LED indicator mode","label":"Indicator mode","name":"indicator_mode","property":"indicator_mode","type":"enum","values":["off","off/on","on/off","on"]},{"access":1,"category":"diagnostic","description":"Instantaneous measured power","label":"Power","name":"power","property":"power","type":"numeric","unit":"W"},{"access":1,"category":"diagnostic","description":"Instantaneous measured electrical current","label":"Current","name":"current","property":"current","type":"numeric","unit":"A"},{"access":1,"category":"diagnostic","description":"Measured electrical potential value","label":"Voltage","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"access":1,"description":"Sum of consumed energy","label":"Energy","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"features":[{"access":3,"description":"Enables/disables physical input on the device","label":"State","name":"state","property":"child_lock","type":"binary","value_off":"UNLOCK","value_on":"LOCK"}],"label":"Child lock","type":"lock"},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"BSD29_1","options":[{"access":2,"description":"This device does not support reporting electric measurements so it is polled instead. The default poll interval is 60 seconds, set to -1 to disable.","label":"Measurement poll interval","name":"measurement_poll_interval","property":"measurement_poll_interval","type":"numeric","value_min":-1},{"access":2,"description":"Calibrates the power value (percentual offset), takes into effect on next report of device.","label":"Power calibration","name":"power_calibration","property":"power_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for power, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Power precision","name":"power_precision","property":"power_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the current value (percentual offset), takes into effect on next report of device.","label":"Current calibration","name":"current_calibration","property":"current_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for current, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Current precision","name":"current_precision","property":"current_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the voltage value (percentual offset), takes into effect on next report of device.","label":"Voltage calibration","name":"voltage_calibration","property":"voltage_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for voltage, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Voltage precision","name":"voltage_precision","property":"voltage_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the energy value (percentual offset), takes into effect on next report of device.","label":"Energy calibration","name":"energy_calibration","property":"energy_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for energy, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Energy precision","name":"energy_precision","property":"energy_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"State actions will also be published as 'action' when true (default false).","label":"State action","name":"state_action","property":"state_action","type":"binary","value_off":false,"value_on":true}],"supports_ota":true,"vendor":"TuYa"},"friendly_name":"0x70b3d52b6002838e","ieee_address":"0x70b3d52b6002838e","status":"successful","supported":true},"type":"device_interview"}'
info  2024-02-17 18:30:22: Configuring '0x70b3d52b6002838e'
debug 2024-02-17 18:30:22: Received Zigbee message from '0x70b3d52b6002838e', type 'readResponse', cluster 'genBasic', data '{"appVersion":100,"manufacturerName":"_TZ3000_okaz9tjs","modelId":"TS011F","powerSource":1,"zclVersion":2}' from endpoint 1 with groupID 0
info  2024-02-17 18:30:22: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:22+01:00","linkquality":54,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
debug 2024-02-17 18:30:22: TuYa configureMagicPacket failed, ignoring...
info  2024-02-17 18:30:22: Successfully configured '0x70b3d52b6002838e'
debug 2024-02-17 18:30:28: Received Zigbee message from '0x70b3d52b6002838e', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info  2024-02-17 18:30:28: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:28+01:00","linkquality":54,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
debug 2024-02-17 18:30:28: Received Zigbee message from '0x70b3d52b6002838e', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"powerOnBehavior":2}' from endpoint 1 with groupID 0
debug 2024-02-17 18:30:28: No converter available for 'BSD29_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"powerOnBehavior":2}'
info  2024-02-17 18:30:28: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:28+01:00","linkquality":58,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
debug 2024-02-17 18:30:47: Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/check' with data '{"id":"0x70b3d52b6002838e","transaction":"f8yju-2"}'
info  2024-02-17 18:30:47: Checking if update available for '0x70b3d52b6002838e'
debug 2024-02-17 18:30:47: OTA: Checking if an update is available for '0x70b3d52b6002838e' (TS011F)
info  2024-02-17 18:30:47: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/check', payload '{"data":{"id":"0x70b3d52b6002838e"},"error":"Failed to check if update available for '0x70b3d52b6002838e' (Failed to find an endpoint which supports the OTA cluster)","status":"error","transaction":"f8yju-2"}'
error 2024-02-17 18:30:47: Failed to check if update available for '0x70b3d52b6002838e' (Failed to find an endpoint which supports the OTA cluster)
debug 2024-02-17 18:30:47: AssertionError [ERR_ASSERTION]: Failed to find an endpoint which supports the OTA cluster
    at Object.isUpdateAvailable (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/common.ts:379:15)
    at Object.isUpdateAvailable (/app/node_modules/zigbee-herdsman-converters/src/lib/ota/zigbeeOTA.ts:114:19)
    at OTAUpdate.onMQTTMessage (/app/lib/extension/otaUpdate.ts:205:73)
    at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:23)
    at EventEmitter.emit (node:events:529:35)
    at EventBus.emitMQTTMessage (/app/lib/eventBus.ts:115:22)
    at MQTT.onMessage (/app/lib/mqtt.ts:141:27)
    at WebSocket.<anonymous> (/app/lib/extension/frontend.ts:130:27)
    at WebSocket.emit (node:events:517:28)
    at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:1209:20)
info  2024-02-17 18:31:16: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:30:28+01:00","linkquality":58,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}'
debug 2024-02-17 18:31:19: Received Zigbee message from '0x70b3d52b6002838e', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":236}' from endpoint 1 with groupID 0
info  2024-02-17 18:31:19: MQTT publish: topic 'zigbee2mqtt/0x70b3d52b6002838e', payload '{"child_lock":null,"current":0,"energy":0,"indicator_mode":null,"last_seen":"2024-02-17T18:31:19+01:00","linkquality":58,"power":0,"power_outage_memory":null,"state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":236}
FSSDawid commented 9 months ago

Hey Guys, Just to bump the problem I have the same problem with the device OTA, And on top of that it seems really unresponsive no idea why it reports LQI > 160 but then I can't communicate with it for 10 minutes then it's back again ... weird...

image

{ "current": 0, "energy": 6.36, "indicator_mode": "off", "last_seen": "2024-03-04T10:18:14+01:00", "linkquality": 120, "power": 0, "power_outage_memory": "off", "state": "OFF", "voltage": 237, "child_lock": null, "update": { "installed_version": -1, "latest_version": -1, "state": null }, "update_available": null }

this is after trying ext converter

Arcaios commented 8 months ago

It seems this device doesn't supports OTA updates...

z647230 commented 8 months ago

Made a test setup with SmartLife Tuya (virtual app with mitm proxy) and tested if something came back with update. Nothing happens. Also contacted the manufacturer of the device asking for firmware and/or support. Nothing, they don’t reply. I now have one implementation with around 15 of these devices which randomly stop responding. Sometimes they come back but most of the time you have to do a re-pair. As long as we still have these issues maybe we should set a warning on support.

S474N commented 7 months ago

Same problem here.

Kopetan4egX commented 7 months ago

Same problem on TuYa BSD29_1

mrlordziemniak commented 5 months ago

i have same problem with that socket, it is very laggy

tonbor commented 3 months ago

any progress?

helljol commented 3 months ago

Someone has to check wether OTA updates work when using the original hub

Can someone with a Tuya gateway test if OTA is working for those plugs ? I got 2 https://www.zigbee2mqtt.io/devices/LSPA9.html and do have the same issue.

Triskae commented 3 months ago

Hello ! Did someone tried to re-pair it ? I have the same problem, delete it from Z2M, but cannot put it back into pairing mode ...

alarik84 commented 3 months ago

Hello ! Did someone tried to re-pair it ? I have the same problem, delete it from Z2M, but cannot put it back into pairing mode ...

I checked with one reported as Elivco LSPA9, and it can be re-paired correctly on my configuration

z647230 commented 3 months ago

Hello ! Did someone tried to re-pair it ? I have the same problem, delete it from Z2M, but cannot put it back into pairing mode ...

If it doesn’t repair, remove it from power, stop zha/z2m (whatever you are using) put plug back into power reset plug by keeping button for approx 20sec. Start zha/z2m and re-pair.

helljol commented 3 months ago

Someone has to check wether OTA updates work when using the original hub

Can someone with a Tuya gateway test if OTA is working for those plugs ? I got 2 https://www.zigbee2mqtt.io/devices/LSPA9.html and do have the same issue.

replying to myself if it can help others , looks like those Elvico plugs will never support OTA. see: https://github.com/Koenkk/zigbee2mqtt/issues/21239#issuecomment-2199523305

b2un0 commented 3 months ago

Someone has to check wether OTA updates work when using the original hub

Can someone with a Tuya gateway test if OTA is working for those plugs ? I got 2 https://www.zigbee2mqtt.io/devices/LSPA9.html and do have the same issue.

already done here https://github.com/Koenkk/zigbee2mqtt/issues/21239#issuecomment-2199523305

tonbor commented 3 months ago

Stil wrong picture and polling with two devices Girier and Elvico with latest firmware. Not only ota! Screenshot_20240828_080605_Firefox Screenshot_20240828_080529_Firefox

Trashwarez commented 3 months ago

External converter does not work anymore

alexsotoaguilera commented 1 month ago

How can I change or force the model from BSD29_1 to TS011F_plug_1?

Once pairing with environment interferences, when plugged in it was added as TS011F_plug_1, but never happened again.

Trashwarez commented 1 month ago

I posted an issue here, but did not receive any comment: https://github.com/Koenkk/zigbee2mqtt/issues/23818

davidclaverie commented 5 days ago

I have same problem with my plus Do you fond solution Sincerely

tonbor commented 5 days ago

no, with the lastest firmware still polling, wrong picture en no ota