Open 79chrisone opened 6 months ago
Hi All!
My first yaml file is here:
` name: Circuit breaker products:
It works just like the original tuya :) How can I integrate other functions of the device? Eg: current limit, voltage minimum, maximum I don't see these in the original tuya integration either. Any ideas?
Original tuya
tuya-local
@79chrisone Szia! Ugyanilyen cuccom van, gond nélkül működik ezzel a yaml-el: https://github.com/make-all/tuya-local/blob/main/custom_components/tuya_local/devices/earu_smart_wifi_circuit_breaker_with_energy_monitor.yaml
Ezt én írtam, de régebb, így elsőre nem látom miért ne menne a tied ezzel? Talán neked zigbee-s van, mert a linkelt aliexpress-es oldalon az van.
@79chrisone Szia! Ugyanilyen cuccom van, gond nélkül működik ezzel a yaml-el: https://github.com/make-all/tuya-local/blob/main/custom_components/tuya_local/devices/earu_smart_wifi_circuit_breaker_with_energy_monitor.yaml
Ezt én írtam, de régebb, így elsőre nem látom miért ne menne a tied ezzel? Talán neked zigbee-s van, mert a linkelt aliexpress-es oldalon az van.
Szia nem zigbee-s, csak a link sikerült rosszul. Most megpróbáltam felvenni egy másik ugyanilyen eszközt, és a választható eszköz típusok között meg sem jelenik a tiéd. Amit látok különbséget így hirtelen az az id.
Log Message
Information about DPS mappings
Product ID
{ "result": [ { "active_time": 1708791912, "bind_space_id": "74940800", "category": "dlq", "create_time": 1708791912, "custom_name": "L1", "icon": "smart/icon/ay1547266640143rRUIA/bd9693fe6e7941f59845f98648b0a1a0.png", "id": "bf6216e329ffa8257cicgt", "ip": "x.x.x.x", "is_online": true, "lat": "xx.xx", "local_key": "", "lon": "xx.xx", "model": "", "name": "WiFi-计量DPN断路器 3", "product_id": "azpywu5zfg5wyzpn", "product_name": "WiFi-计量DPN断路器", "status": [ { "code": "switch", "value": true }, { "code": "countdown_1", "value": 0 }, { "code": "add_ele", "value": 100 }, { "code": "cur_current", "value": 14166 }, { "code": "cur_power", "value": 32684 }, { "code": "cur_voltage", "value": 2311 }, { "code": "test_bit", "value": 2 }, { "code": "voltage_coe", "value": 0 }, { "code": "electric_coe", "value": 0 }, { "code": "power_coe", "value": 0 }, { "code": "electricity_coe", "value": 0 }, { "code": "fault", "value": 0 }, { "code": "relay_status", "value": "last" }, { "code": "light_mode", "value": "relay" }, { "code": "child_lock", "value": false }, { "code": "cycle_time", "value": "" }, { "code": "temp_value", "value": 21 }, { "code": "alarm_set_1", "value": "BQEAZAcAAAA=" }, { "code": "alarm_set_2", "value": "AQEAKAMBAQkEAQBa" } "sub": false, "time_zone": "+01:00", "update_time": 1708791925, "uuid": "xxxxxxx" } ], "success": true, "t": xxxx, "tid": "xxxxx" }
Information about how the device functions
WiFi MCB Smart Circuit Breaker Over Current Under Voltage Protection Power Metering 1-63A Wireless Remote Control Switch Features: -Energy monitor -Power limit -Current limit -Voltage protection -Temperature protection -Timer Switch https://www.aliexpress.com/i/3256805275626901.html?gatewayAdapt=4itemAdapt