Code : Tout sélectionner
2023-11-01 11:24:43,381 INFO :b' len_data: 8'
2023-11-01 11:24:43,382 INFO :b' data: 00000000'
2023-11-01 11:24:43,386 INFO :b'tuyaReadRawAPS - command 02 dp: 105 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:24:43,389 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 69 dt: 02 data: 00000000'
2023-11-01 11:24:43,391 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 69 dt: 02 data: 00000000'
2023-11-01 11:24:43,392 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 105 2 00000000'
2023-11-01 11:24:43,394 INFO :b' - value: 0'
2023-11-01 11:24:43,396 INFO :b" - dps_mapping[ 69 ]: {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value/100'} (<class 'dict'>)"
2023-11-01 11:24:43,398 INFO :b' - after evaluate_expression_with_data() value: 0.0'
2023-11-01 11:24:43,399 INFO :b"sensor_type - 6740 01 0.0 105 2 00000000 {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value/100'}"
2023-11-01 11:24:58,307 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 43 cmd: 02 Payload: 194302008f0102000400000011'
2023-11-01 11:24:58,310 INFO :b' status: 00'
2023-11-01 11:24:58,312 INFO :b' TransId: 8f'
2023-11-01 11:24:58,314 INFO :b' working on remaining payload 0102000400000011 idx: 10'
2023-11-01 11:24:58,316 INFO :b' dp: 1'
2023-11-01 11:24:58,317 INFO :b' datatype: 2'
2023-11-01 11:24:58,319 INFO :b' len_data: 8'
2023-11-01 11:24:58,321 INFO :b' data: 00000011'
2023-11-01 11:24:58,323 INFO :b'tuyaReadRawAPS - command 02 dp: 1 dt: 2 len: 8 data: 00000011 idx: 26'
2023-11-01 11:24:58,325 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 01 dt: 02 data: 00000011'
2023-11-01 11:24:58,327 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 01 dt: 02 data: 00000011'
2023-11-01 11:24:58,329 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 1 2 00000011'
2023-11-01 11:24:58,330 INFO :b"ts0601_response - unknow dp 6740 01 2 00000011 {'65': {'store_tuya_attribute': 'Meter A', 'EvalExp': 'value/100', 'sensor_type': 'cons_metering', 'domo_round': 3}, '66': {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value/100', 'sensor_type': 'prod_metering', 'domo_round': 3}, '67': {'store_tuya_attribute': 'Meter B', 'EvalExp': 'value/100'}, '68': {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value/100'}, '69': {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value/100'}, '6a': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2}, '6b': {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6c': {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '6d': {'store_tuya_attribute': 'Power Factor A', 'EvalExp': 'value'}, '6e': {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6f': {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Power Factor B', 'EvalExp': 'value'}, '71': {'store_tuya_attribute': 'AC_Frequency', 'EvalExp': 'value'}, '72': {'store_tuya_attribute': 'Power Direction A', 'EvalExp': 'value'}, '73': {'store_tuya_attribute': 'Power Direction B', 'EvalExp': 'value'}, '74': {'store_tuya_attribute': 'Update Frequency', 'EvalExp': 'value'}}"
2023-11-01 11:24:58,332 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 6740/01 dp: 01 data type: 2 data: 00000011'
2023-11-01 11:24:59,299 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 44 cmd: 02 Payload: 1944020090020200040000010f'
2023-11-01 11:24:59,301 INFO :b' status: 00'
2023-11-01 11:24:59,303 INFO :b' TransId: 90'
2023-11-01 11:24:59,304 INFO :b' working on remaining payload 020200040000010f idx: 10'
2023-11-01 11:24:59,306 INFO :b' dp: 2'
2023-11-01 11:24:59,308 INFO :b' datatype: 2'
2023-11-01 11:24:59,309 INFO :b' len_data: 8'
2023-11-01 11:24:59,311 INFO :b' data: 0000010f'
2023-11-01 11:24:59,313 INFO :b'tuyaReadRawAPS - command 02 dp: 2 dt: 2 len: 8 data: 0000010f idx: 26'
2023-11-01 11:24:59,314 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 02 dt: 02 data: 0000010f'
2023-11-01 11:24:59,316 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 02 dt: 02 data: 0000010f'
2023-11-01 11:24:59,318 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 2 2 0000010f'
2023-11-01 11:24:59,319 INFO :b"ts0601_response - unknow dp 6740 02 2 0000010f {'65': {'store_tuya_attribute': 'Meter A', 'EvalExp': 'value/100', 'sensor_type': 'cons_metering', 'domo_round': 3}, '66': {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value/100', 'sensor_type': 'prod_metering', 'domo_round': 3}, '67': {'store_tuya_attribute': 'Meter B', 'EvalExp': 'value/100'}, '68': {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value/100'}, '69': {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value/100'}, '6a': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2}, '6b': {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6c': {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '6d': {'store_tuya_attribute': 'Power Factor A', 'EvalExp': 'value'}, '6e': {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6f': {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Power Factor B', 'EvalExp': 'value'}, '71': {'store_tuya_attribute': 'AC_Frequency', 'EvalExp': 'value'}, '72': {'store_tuya_attribute': 'Power Direction A', 'EvalExp': 'value'}, '73': {'store_tuya_attribute': 'Power Direction B', 'EvalExp': 'value'}, '74': {'store_tuya_attribute': 'Update Frequency', 'EvalExp': 'value'}}"
2023-11-01 11:24:59,321 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 6740/01 dp: 02 data type: 2 data: 0000010f'
2023-11-01 11:25:00,282 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 45 cmd: 02 Payload: 19450200916502000400000011'
2023-11-01 11:25:00,284 INFO :b' status: 00'
2023-11-01 11:25:00,285 INFO :b' TransId: 91'
2023-11-01 11:25:00,286 INFO :b' working on remaining payload 6502000400000011 idx: 10'
2023-11-01 11:25:00,288 INFO :b' dp: 101'
2023-11-01 11:25:00,289 INFO :b' datatype: 2'
2023-11-01 11:25:00,290 INFO :b' len_data: 8'
2023-11-01 11:25:00,291 INFO :b' data: 00000011'
2023-11-01 11:25:00,292 INFO :b'tuyaReadRawAPS - command 02 dp: 101 dt: 2 len: 8 data: 00000011 idx: 26'
2023-11-01 11:25:00,293 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 65 dt: 02 data: 00000011'
2023-11-01 11:25:00,294 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 65 dt: 02 data: 00000011'
2023-11-01 11:25:00,295 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 101 2 00000011'
2023-11-01 11:25:00,296 INFO :b' - value: 17'
2023-11-01 11:25:00,298 INFO :b" - dps_mapping[ 65 ]: {'store_tuya_attribute': 'Meter A', 'EvalExp': 'value/100', 'sensor_type': 'cons_metering', 'domo_round': 3} (<class 'dict'>)"
2023-11-01 11:25:00,299 INFO :b' - after evaluate_expression_with_data() value: 0.17'
2023-11-01 11:25:00,300 INFO :b"sensor_type - 6740 01 0.17 101 2 00000011 {'store_tuya_attribute': 'Meter A', 'EvalExp': 'value/100', 'sensor_type': 'cons_metering', 'domo_round': 3}"
2023-11-01 11:25:00,301 INFO :b' - after sensor_type() value: 0.17 divisor: 1 rounding: 3'
2023-11-01 11:25:00,302 INFO :b'ts0601_summation_energy - Current Summation 6740 01 0.17'
2023-11-01 11:25:01,280 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 46 cmd: 02 Payload: 19460200926702000400000000'
2023-11-01 11:25:01,282 INFO :b' status: 00'
2023-11-01 11:25:01,283 INFO :b' TransId: 92'
2023-11-01 11:25:01,284 INFO :b' working on remaining payload 6702000400000000 idx: 10'
2023-11-01 11:25:01,285 INFO :b' dp: 103'
2023-11-01 11:25:01,286 INFO :b' datatype: 2'
2023-11-01 11:25:01,287 INFO :b' len_data: 8'
2023-11-01 11:25:01,288 INFO :b' data: 00000000'
2023-11-01 11:25:01,289 INFO :b'tuyaReadRawAPS - command 02 dp: 103 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:01,290 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 67 dt: 02 data: 00000000'
2023-11-01 11:25:01,291 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 67 dt: 02 data: 00000000'
2023-11-01 11:25:01,293 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 103 2 00000000'
2023-11-01 11:25:01,294 INFO :b' - value: 0'
2023-11-01 11:25:01,295 INFO :b" - dps_mapping[ 67 ]: {'store_tuya_attribute': 'Meter B', 'EvalExp': 'value/100'} (<class 'dict'>)"
2023-11-01 11:25:01,296 INFO :b' - after evaluate_expression_with_data() value: 0.0'
2023-11-01 11:25:01,297 INFO :b"sensor_type - 6740 01 0.0 103 2 00000000 {'store_tuya_attribute': 'Meter B', 'EvalExp': 'value/100'}"
2023-11-01 11:25:02,299 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 47 cmd: 02 Payload: 194702009366020004000000f9'
2023-11-01 11:25:02,306 INFO :b' status: 00'
2023-11-01 11:25:02,314 INFO :b' TransId: 93'
2023-11-01 11:25:02,316 INFO :b' working on remaining payload 66020004000000f9 idx: 10'
2023-11-01 11:25:02,317 INFO :b' dp: 102'
2023-11-01 11:25:02,319 INFO :b' datatype: 2'
2023-11-01 11:25:02,321 INFO :b' len_data: 8'
2023-11-01 11:25:02,323 INFO :b' data: 000000f9'
2023-11-01 11:25:02,326 INFO :b'tuyaReadRawAPS - command 02 dp: 102 dt: 2 len: 8 data: 000000f9 idx: 26'
2023-11-01 11:25:02,328 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 66 dt: 02 data: 000000f9'
2023-11-01 11:25:02,330 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 66 dt: 02 data: 000000f9'
2023-11-01 11:25:02,332 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 102 2 000000f9'
2023-11-01 11:25:02,333 INFO :b' - value: 249'
2023-11-01 11:25:02,335 INFO :b" - dps_mapping[ 66 ]: {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value/100', 'sensor_type': 'prod_metering', 'domo_round': 3} (<class 'dict'>)"
2023-11-01 11:25:02,337 INFO :b' - after evaluate_expression_with_data() value: 2.49'
2023-11-01 11:25:02,339 INFO :b"sensor_type - 6740 01 2.49 102 2 000000f9 {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value/100', 'sensor_type': 'prod_metering', 'domo_round': 3}"
2023-11-01 11:25:02,341 INFO :b' - after sensor_type() value: 2.49 divisor: 1 rounding: 3'
2023-11-01 11:25:02,343 INFO :b'ts0601_production_energy - Production Energy 6740 01 2.49'
2023-11-01 11:25:03,297 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 48 cmd: 02 Payload: 19480200946802000400000016'
2023-11-01 11:25:03,300 INFO :b' status: 00'
2023-11-01 11:25:03,302 INFO :b' TransId: 94'
2023-11-01 11:25:03,303 INFO :b' working on remaining payload 6802000400000016 idx: 10'
2023-11-01 11:25:03,305 INFO :b' dp: 104'
2023-11-01 11:25:03,307 INFO :b' datatype: 2'
2023-11-01 11:25:03,309 INFO :b' len_data: 8'
2023-11-01 11:25:03,311 INFO :b' data: 00000016'
2023-11-01 11:25:03,312 INFO :b'tuyaReadRawAPS - command 02 dp: 104 dt: 2 len: 8 data: 00000016 idx: 26'
2023-11-01 11:25:03,314 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 68 dt: 02 data: 00000016'
2023-11-01 11:25:03,316 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 68 dt: 02 data: 00000016'
2023-11-01 11:25:03,318 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 104 2 00000016'
2023-11-01 11:25:03,320 INFO :b' - value: 22'
2023-11-01 11:25:03,322 INFO :b" - dps_mapping[ 68 ]: {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value/100'} (<class 'dict'>)"
2023-11-01 11:25:03,323 INFO :b' - after evaluate_expression_with_data() value: 0.22'
2023-11-01 11:25:03,325 INFO :b"sensor_type - 6740 01 0.22 104 2 00000016 {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value/100'}"
2023-11-01 11:25:04,289 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 49 cmd: 02 Payload: 19490200956a02000400000968'
2023-11-01 11:25:04,293 INFO :b' status: 00'
2023-11-01 11:25:04,295 INFO :b' TransId: 95'
2023-11-01 11:25:04,296 INFO :b' working on remaining payload 6a02000400000968 idx: 10'
2023-11-01 11:25:04,298 INFO :b' dp: 106'
2023-11-01 11:25:04,300 INFO :b' datatype: 2'
2023-11-01 11:25:04,302 INFO :b' len_data: 8'
2023-11-01 11:25:04,304 INFO :b' data: 00000968'
2023-11-01 11:25:04,306 INFO :b'tuyaReadRawAPS - command 02 dp: 106 dt: 2 len: 8 data: 00000968 idx: 26'
2023-11-01 11:25:04,308 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6a dt: 02 data: 00000968'
2023-11-01 11:25:04,309 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6a dt: 02 data: 00000968'
2023-11-01 11:25:04,316 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 106 2 00000968'
2023-11-01 11:25:04,320 INFO :b' - value: 2408'
2023-11-01 11:25:04,322 INFO :b" - dps_mapping[ 6a ]: {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2} (<class 'dict'>)"
2023-11-01 11:25:04,323 INFO :b' - after evaluate_expression_with_data() value: 240.8'
2023-11-01 11:25:04,325 INFO :b"sensor_type - 6740 01 240.8 106 2 00000968 {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2}"
2023-11-01 11:25:04,326 INFO :b' - after sensor_type() value: 240.8 divisor: 1 rounding: 2'
2023-11-01 11:25:04,328 INFO :b'ts0601_voltage - Voltage 6740 01 240.8'
2023-11-01 11:25:04,334 INFO :b'UpdateDevice - ( Voltage) 0:240.8;240.8'
2023-11-01 11:25:05,274 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 4a cmd: 02 Payload: 194a0200966b02000400000000'
2023-11-01 11:25:05,275 INFO :b' status: 00'
2023-11-01 11:25:05,277 INFO :b' TransId: 96'
2023-11-01 11:25:05,278 INFO :b' working on remaining payload 6b02000400000000 idx: 10'
2023-11-01 11:25:05,279 INFO :b' dp: 107'
2023-11-01 11:25:05,280 INFO :b' datatype: 2'
2023-11-01 11:25:05,281 INFO :b' len_data: 8'
2023-11-01 11:25:05,282 INFO :b' data: 00000000'
2023-11-01 11:25:05,283 INFO :b'tuyaReadRawAPS - command 02 dp: 107 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:05,284 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6b dt: 02 data: 00000000'
2023-11-01 11:25:05,285 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6b dt: 02 data: 00000000'
2023-11-01 11:25:05,286 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 107 2 00000000'
2023-11-01 11:25:05,287 INFO :b' - value: 0'
2023-11-01 11:25:05,289 INFO :b" - dps_mapping[ 6b ]: {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2} (<class 'dict'>)"
2023-11-01 11:25:05,290 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-11-01 11:25:05,291 INFO :b"sensor_type - 6740 01 0 107 2 00000000 {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}"
2023-11-01 11:25:05,292 INFO :b' - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-01 11:25:05,293 INFO :b'ts0601_current - Current 6740 01 0.0'
2023-11-01 11:25:06,270 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 4b cmd: 02 Payload: 194b0200976e02000400000000'
2023-11-01 11:25:06,272 INFO :b' status: 00'
2023-11-01 11:25:06,273 INFO :b' TransId: 97'
2023-11-01 11:25:06,274 INFO :b' working on remaining payload 6e02000400000000 idx: 10'
2023-11-01 11:25:06,275 INFO :b' dp: 110'
2023-11-01 11:25:06,276 INFO :b' datatype: 2'
2023-11-01 11:25:06,277 INFO :b' len_data: 8'
2023-11-01 11:25:06,278 INFO :b' data: 00000000'
2023-11-01 11:25:06,279 INFO :b'tuyaReadRawAPS - command 02 dp: 110 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:06,280 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6e dt: 02 data: 00000000'
2023-11-01 11:25:06,282 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6e dt: 02 data: 00000000'
2023-11-01 11:25:06,283 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 110 2 00000000'
2023-11-01 11:25:06,284 INFO :b' - value: 0'
2023-11-01 11:25:06,285 INFO :b" - dps_mapping[ 6e ]: {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2} (<class 'dict'>)"
2023-11-01 11:25:06,286 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-11-01 11:25:06,287 INFO :b"sensor_type - 6740 01 0 110 2 00000000 {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}"
2023-11-01 11:25:06,288 INFO :b' - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-01 11:25:06,289 INFO :b'ts0601_current - Current 6740 01 0.0'
2023-11-01 11:25:07,287 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 4c cmd: 02 Payload: 194c0200986c02000400000000'
2023-11-01 11:25:07,294 INFO :b' status: 00'
2023-11-01 11:25:07,301 INFO :b' TransId: 98'
2023-11-01 11:25:07,304 INFO :b' working on remaining payload 6c02000400000000 idx: 10'
2023-11-01 11:25:07,306 INFO :b' dp: 108'
2023-11-01 11:25:07,308 INFO :b' datatype: 2'
2023-11-01 11:25:07,310 INFO :b' len_data: 8'
2023-11-01 11:25:07,311 INFO :b' data: 00000000'
2023-11-01 11:25:07,313 INFO :b'tuyaReadRawAPS - command 02 dp: 108 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:07,315 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6c dt: 02 data: 00000000'
2023-11-01 11:25:07,317 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6c dt: 02 data: 00000000'
2023-11-01 11:25:07,319 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 108 2 00000000'
2023-11-01 11:25:07,321 INFO :b' - value: 0'
2023-11-01 11:25:07,323 INFO :b" - dps_mapping[ 6c ]: {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2} (<class 'dict'>)"
2023-11-01 11:25:07,325 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-11-01 11:25:07,327 INFO :b"sensor_type - 6740 01 0 108 2 00000000 {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}"
2023-11-01 11:25:07,328 INFO :b' - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-01 11:25:07,330 INFO :b'ts0601_instant_power - Instant Power 6740 01 0.0'
2023-11-01 11:25:08,264 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 4d cmd: 02 Payload: 194d0200996f02000400000000'
2023-11-01 11:25:08,266 INFO :b' status: 00'
2023-11-01 11:25:08,267 INFO :b' TransId: 99'
2023-11-01 11:25:08,268 INFO :b' working on remaining payload 6f02000400000000 idx: 10'
2023-11-01 11:25:08,269 INFO :b' dp: 111'
2023-11-01 11:25:08,270 INFO :b' datatype: 2'
2023-11-01 11:25:08,272 INFO :b' len_data: 8'
2023-11-01 11:25:08,273 INFO :b' data: 00000000'
2023-11-01 11:25:08,274 INFO :b'tuyaReadRawAPS - command 02 dp: 111 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:08,275 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6f dt: 02 data: 00000000'
2023-11-01 11:25:08,276 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6f dt: 02 data: 00000000'
2023-11-01 11:25:08,277 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 111 2 00000000'
2023-11-01 11:25:08,278 INFO :b' - value: 0'
2023-11-01 11:25:08,279 INFO :b" - dps_mapping[ 6f ]: {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2} (<class 'dict'>)"
2023-11-01 11:25:08,280 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-11-01 11:25:08,282 INFO :b"sensor_type - 6740 01 0 111 2 00000000 {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}"
2023-11-01 11:25:08,283 INFO :b' - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-01 11:25:08,284 INFO :b'ts0601_instant_power - Instant Power 6740 01 0.0'
2023-11-01 11:25:09,263 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 4e cmd: 02 Payload: 194e02009a0902000400000000'
2023-11-01 11:25:09,264 INFO :b' status: 00'
2023-11-01 11:25:09,265 INFO :b' TransId: 9a'
2023-11-01 11:25:09,266 INFO :b' working on remaining payload 0902000400000000 idx: 10'
2023-11-01 11:25:09,268 INFO :b' dp: 9'
2023-11-01 11:25:09,269 INFO :b' datatype: 2'
2023-11-01 11:25:09,270 INFO :b' len_data: 8'
2023-11-01 11:25:09,271 INFO :b' data: 00000000'
2023-11-01 11:25:09,272 INFO :b'tuyaReadRawAPS - command 02 dp: 9 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:09,273 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 09 dt: 02 data: 00000000'
2023-11-01 11:25:09,275 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 09 dt: 02 data: 00000000'
2023-11-01 11:25:09,276 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 9 2 00000000'
2023-11-01 11:25:09,277 INFO :b"ts0601_response - unknow dp 6740 09 2 00000000 {'65': {'store_tuya_attribute': 'Meter A', 'EvalExp': 'value/100', 'sensor_type': 'cons_metering', 'domo_round': 3}, '66': {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value/100', 'sensor_type': 'prod_metering', 'domo_round': 3}, '67': {'store_tuya_attribute': 'Meter B', 'EvalExp': 'value/100'}, '68': {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value/100'}, '69': {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value/100'}, '6a': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2}, '6b': {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6c': {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '6d': {'store_tuya_attribute': 'Power Factor A', 'EvalExp': 'value'}, '6e': {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6f': {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Power Factor B', 'EvalExp': 'value'}, '71': {'store_tuya_attribute': 'AC_Frequency', 'EvalExp': 'value'}, '72': {'store_tuya_attribute': 'Power Direction A', 'EvalExp': 'value'}, '73': {'store_tuya_attribute': 'Power Direction B', 'EvalExp': 'value'}, '74': {'store_tuya_attribute': 'Update Frequency', 'EvalExp': 'value'}}"
2023-11-01 11:25:09,278 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 6740/01 dp: 09 data type: 2 data: 00000000'
2023-11-01 11:25:10,278 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 4f cmd: 02 Payload: 194f02009b6d02000400000000'
2023-11-01 11:25:10,281 INFO :b' status: 00'
2023-11-01 11:25:10,283 INFO :b' TransId: 9b'
2023-11-01 11:25:10,285 INFO :b' working on remaining payload 6d02000400000000 idx: 10'
2023-11-01 11:25:10,287 INFO :b' dp: 109'
2023-11-01 11:25:10,289 INFO :b' datatype: 2'
2023-11-01 11:25:10,291 INFO :b' len_data: 8'
2023-11-01 11:25:10,293 INFO :b' data: 00000000'
2023-11-01 11:25:10,295 INFO :b'tuyaReadRawAPS - command 02 dp: 109 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:10,297 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6d dt: 02 data: 00000000'
2023-11-01 11:25:10,299 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 6d dt: 02 data: 00000000'
2023-11-01 11:25:10,301 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 109 2 00000000'
2023-11-01 11:25:10,303 INFO :b' - value: 0'
2023-11-01 11:25:10,305 INFO :b" - dps_mapping[ 6d ]: {'store_tuya_attribute': 'Power Factor A', 'EvalExp': 'value'} (<class 'dict'>)"
2023-11-01 11:25:10,307 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-11-01 11:25:10,310 INFO :b"sensor_type - 6740 01 0 109 2 00000000 {'store_tuya_attribute': 'Power Factor A', 'EvalExp': 'value'}"
2023-11-01 11:25:11,275 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 50 cmd: 02 Payload: 195002009c7002000400000000'
2023-11-01 11:25:11,278 INFO :b' status: 00'
2023-11-01 11:25:11,280 INFO :b' TransId: 9c'
2023-11-01 11:25:11,282 INFO :b' working on remaining payload 7002000400000000 idx: 10'
2023-11-01 11:25:11,283 INFO :b' dp: 112'
2023-11-01 11:25:11,285 INFO :b' datatype: 2'
2023-11-01 11:25:11,287 INFO :b' len_data: 8'
2023-11-01 11:25:11,289 INFO :b' data: 00000000'
2023-11-01 11:25:11,291 INFO :b'tuyaReadRawAPS - command 02 dp: 112 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:11,293 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 70 dt: 02 data: 00000000'
2023-11-01 11:25:11,294 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 70 dt: 02 data: 00000000'
2023-11-01 11:25:11,296 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 112 2 00000000'
2023-11-01 11:25:11,298 INFO :b' - value: 0'
2023-11-01 11:25:11,300 INFO :b" - dps_mapping[ 70 ]: {'store_tuya_attribute': 'Power Factor B', 'EvalExp': 'value'} (<class 'dict'>)"
2023-11-01 11:25:11,302 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-11-01 11:25:11,303 INFO :b"sensor_type - 6740 01 0 112 2 00000000 {'store_tuya_attribute': 'Power Factor B', 'EvalExp': 'value'}"
2023-11-01 11:25:12,276 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 51 cmd: 02 Payload: 195102009d7102000400000032'
2023-11-01 11:25:12,279 INFO :b' status: 00'
2023-11-01 11:25:12,281 INFO :b' TransId: 9d'
2023-11-01 11:25:12,283 INFO :b' working on remaining payload 7102000400000032 idx: 10'
2023-11-01 11:25:12,284 INFO :b' dp: 113'
2023-11-01 11:25:12,286 INFO :b' datatype: 2'
2023-11-01 11:25:12,288 INFO :b' len_data: 8'
2023-11-01 11:25:12,290 INFO :b' data: 00000032'
2023-11-01 11:25:12,292 INFO :b'tuyaReadRawAPS - command 02 dp: 113 dt: 2 len: 8 data: 00000032 idx: 26'
2023-11-01 11:25:12,294 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 71 dt: 02 data: 00000032'
2023-11-01 11:25:12,296 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 71 dt: 02 data: 00000032'
2023-11-01 11:25:12,297 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 113 2 00000032'
2023-11-01 11:25:12,299 INFO :b' - value: 50'
2023-11-01 11:25:12,301 INFO :b" - dps_mapping[ 71 ]: {'store_tuya_attribute': 'AC_Frequency', 'EvalExp': 'value'} (<class 'dict'>)"
2023-11-01 11:25:12,303 INFO :b' - after evaluate_expression_with_data() value: 50'
2023-11-01 11:25:12,305 INFO :b"sensor_type - 6740 01 50 113 2 00000032 {'store_tuya_attribute': 'AC_Frequency', 'EvalExp': 'value'}"
2023-11-01 11:25:13,307 INFO :b'tuyaReadRawAPS - 6740/01 fcf: 19 sqn: 52 cmd: 02 Payload: 195202009e6902000400000000'
2023-11-01 11:25:13,310 INFO :b' status: 00'
2023-11-01 11:25:13,312 INFO :b' TransId: 9e'
2023-11-01 11:25:13,314 INFO :b' working on remaining payload 6902000400000000 idx: 10'
2023-11-01 11:25:13,316 INFO :b' dp: 105'
2023-11-01 11:25:13,318 INFO :b' datatype: 2'
2023-11-01 11:25:13,320 INFO :b' len_data: 8'
2023-11-01 11:25:13,322 INFO :b' data: 00000000'
2023-11-01 11:25:13,324 INFO :b'tuyaReadRawAPS - command 02 dp: 105 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-01 11:25:13,326 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 69 dt: 02 data: 00000000'
2023-11-01 11:25:13,328 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 6740/01 dp: 69 dt: 02 data: 00000000'
2023-11-01 11:25:13,330 INFO :b'ts0601_response - 6740 TS0601-PC311-Z-TY 105 2 00000000'
2023-11-01 11:25:13,332 INFO :b' - value: 0'
2023-11-01 11:25:13,334 INFO :b" - dps_mapping[ 69 ]: {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value/100'} (<class 'dict'>)"
2023-11-01 11:25:13,336 INFO :b' - after evaluate_expression_with_data() value: 0.0'
2023-11-01 11:25:13,338 INFO :b"sensor_type - 6740 01 0.0 105 2 00000000 {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value/100'}"
Merci de ton implication mais te prends pas trop la tete si tu as d autre chose a faire