Donc j ai du nouveau mais ca parait pas trop coherent.
J ai mis la prsie sur un pc ou j ai une prise zwave qui mesure la conso aussi ( 85w en ce moment)
Code : Tout sélectionner
2023-10-31 19:10:36,729 INFO :b' dp: 105'
2023-10-31 19:10:36,730 INFO :b' datatype: 2'
2023-10-31 19:10:36,731 INFO :b' len_data: 8'
2023-10-31 19:10:36,732 INFO :b' data: 00000000'
2023-10-31 19:10:36,733 INFO :b'tuyaReadRawAPS - command 02 dp: 105 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:10:36,734 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 69 dt: 02 data: 00000000'
2023-10-31 19:10:36,735 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 69 dt: 02 data: 00000000'
2023-10-31 19:10:36,735 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 105 2 00000000'
2023-10-31 19:10:36,736 INFO :b"ts0601_response - unknow dp 009a 69 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:10:36,737 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 69 data type: 2 data: 00000000'
2023-10-31 19:10:51,674 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 27 cmd: 02 Payload: 19270200870102000400000011'
2023-10-31 19:10:51,675 INFO :b' status: 00'
2023-10-31 19:10:51,676 INFO :b' TransId: 87'
2023-10-31 19:10:51,677 INFO :b' working on remaining payload 0102000400000011 idx: 10'
2023-10-31 19:10:51,678 INFO :b' dp: 1'
2023-10-31 19:10:51,679 INFO :b' datatype: 2'
2023-10-31 19:10:51,680 INFO :b' len_data: 8'
2023-10-31 19:10:51,681 INFO :b' data: 00000011'
2023-10-31 19:10:51,682 INFO :b'tuyaReadRawAPS - command 02 dp: 1 dt: 2 len: 8 data: 00000011 idx: 26'
2023-10-31 19:10:51,684 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 01 dt: 02 data: 00000011'
2023-10-31 19:10:51,685 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 01 dt: 02 data: 00000011'
2023-10-31 19:10:51,686 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 1 2 00000011'
2023-10-31 19:10:51,687 INFO :b"ts0601_response - unknow dp 009a 01 2 00000011 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:10:51,688 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 01 data type: 2 data: 00000011'
2023-10-31 19:10:52,687 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 28 cmd: 02 Payload: 1928020088020200040000010f'
2023-10-31 19:10:52,688 INFO :b' status: 00'
2023-10-31 19:10:52,690 INFO :b' TransId: 88'
2023-10-31 19:10:52,692 INFO :b' working on remaining payload 020200040000010f idx: 10'
2023-10-31 19:10:52,693 INFO :b' dp: 2'
2023-10-31 19:10:52,695 INFO :b' datatype: 2'
2023-10-31 19:10:52,696 INFO :b' len_data: 8'
2023-10-31 19:10:52,698 INFO :b' data: 0000010f'
2023-10-31 19:10:52,700 INFO :b'tuyaReadRawAPS - command 02 dp: 2 dt: 2 len: 8 data: 0000010f idx: 26'
2023-10-31 19:10:52,701 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 02 dt: 02 data: 0000010f'
2023-10-31 19:10:52,703 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 02 dt: 02 data: 0000010f'
2023-10-31 19:10:52,704 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 2 2 0000010f'
2023-10-31 19:10:52,706 INFO :b"ts0601_response - unknow dp 009a 02 2 0000010f {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:10:52,707 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 02 data type: 2 data: 0000010f'
2023-10-31 19:10:53,683 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 29 cmd: 02 Payload: 19290200896502000400000011'
2023-10-31 19:10:53,684 INFO :b' status: 00'
2023-10-31 19:10:53,685 INFO :b' TransId: 89'
2023-10-31 19:10:53,686 INFO :b' working on remaining payload 6502000400000011 idx: 10'
2023-10-31 19:10:53,688 INFO :b' dp: 101'
2023-10-31 19:10:53,689 INFO :b' datatype: 2'
2023-10-31 19:10:53,690 INFO :b' len_data: 8'
2023-10-31 19:10:53,691 INFO :b' data: 00000011'
2023-10-31 19:10:53,692 INFO :b'tuyaReadRawAPS - command 02 dp: 101 dt: 2 len: 8 data: 00000011 idx: 26'
2023-10-31 19:10:53,693 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 65 dt: 02 data: 00000011'
2023-10-31 19:10:53,694 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 65 dt: 02 data: 00000011'
2023-10-31 19:10:53,695 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 101 2 00000011'
2023-10-31 19:10:53,696 INFO :b' - value: 17'
2023-10-31 19:10:53,698 INFO :b" - dps_mapping[ 65 ]: {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2} (<class 'dict'>)"
2023-10-31 19:10:53,699 INFO :b' - after evaluate_expression_with_data() value: 17'
2023-10-31 19:10:53,700 INFO :b"sensor_type - 009a 01 17 101 2 00000011 {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}"
2023-10-31 19:10:53,701 INFO :b' - after sensor_type() value: 17.0 divisor: 1 rounding: 2'
2023-10-31 19:10:53,702 INFO :b'ts0601_instant_power - Instant Power 009a 01 17.0'
2023-10-31 19:10:54,658 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 2a cmd: 02 Payload: 192a02008a6702000400000000'
2023-10-31 19:10:54,659 INFO :b' status: 00'
2023-10-31 19:10:54,660 INFO :b' TransId: 8a'
2023-10-31 19:10:54,661 INFO :b' working on remaining payload 6702000400000000 idx: 10'
2023-10-31 19:10:54,662 INFO :b' dp: 103'
2023-10-31 19:10:54,663 INFO :b' datatype: 2'
2023-10-31 19:10:54,665 INFO :b' len_data: 8'
2023-10-31 19:10:54,666 INFO :b' data: 00000000'
2023-10-31 19:10:54,667 INFO :b'tuyaReadRawAPS - command 02 dp: 103 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:10:54,668 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 67 dt: 02 data: 00000000'
2023-10-31 19:10:54,669 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 67 dt: 02 data: 00000000'
2023-10-31 19:10:54,670 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 103 2 00000000'
2023-10-31 19:10:54,671 INFO :b"ts0601_response - unknow dp 009a 67 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:10:54,672 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 67 data type: 2 data: 00000000'
2023-10-31 19:10:55,657 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 2b cmd: 02 Payload: 192b02008b66020004000000f9'
2023-10-31 19:10:55,658 INFO :b' status: 00'
2023-10-31 19:10:55,659 INFO :b' TransId: 8b'
2023-10-31 19:10:55,660 INFO :b' working on remaining payload 66020004000000f9 idx: 10'
2023-10-31 19:10:55,661 INFO :b' dp: 102'
2023-10-31 19:10:55,662 INFO :b' datatype: 2'
2023-10-31 19:10:55,663 INFO :b' len_data: 8'
2023-10-31 19:10:55,665 INFO :b' data: 000000f9'
2023-10-31 19:10:55,666 INFO :b'tuyaReadRawAPS - command 02 dp: 102 dt: 2 len: 8 data: 000000f9 idx: 26'
2023-10-31 19:10:55,667 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 66 dt: 02 data: 000000f9'
2023-10-31 19:10:55,668 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 66 dt: 02 data: 000000f9'
2023-10-31 19:10:55,669 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 102 2 000000f9'
2023-10-31 19:10:55,670 INFO :b"ts0601_response - unknow dp 009a 66 2 000000f9 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:10:55,671 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 66 data type: 2 data: 000000f9'
2023-10-31 19:10:56,676 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 2c cmd: 02 Payload: 192c02008c6802000400000016'
2023-10-31 19:10:56,679 INFO :b' status: 00'
2023-10-31 19:10:56,680 INFO :b' TransId: 8c'
2023-10-31 19:10:56,682 INFO :b' working on remaining payload 6802000400000016 idx: 10'
2023-10-31 19:10:56,684 INFO :b' dp: 104'
2023-10-31 19:10:56,685 INFO :b' datatype: 2'
2023-10-31 19:10:56,687 INFO :b' len_data: 8'
2023-10-31 19:10:56,689 INFO :b' data: 00000016'
2023-10-31 19:10:56,690 INFO :b'tuyaReadRawAPS - command 02 dp: 104 dt: 2 len: 8 data: 00000016 idx: 26'
2023-10-31 19:10:56,692 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 68 dt: 02 data: 00000016'
2023-10-31 19:10:56,693 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 68 dt: 02 data: 00000016'
2023-10-31 19:10:56,695 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 104 2 00000016'
2023-10-31 19:10:56,697 INFO :b"ts0601_response - unknow dp 009a 68 2 00000016 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:10:56,698 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 68 data type: 2 data: 00000016'
2023-10-31 19:10:57,659 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 2d cmd: 02 Payload: 192d02008d6a0200040000094d'
2023-10-31 19:10:57,667 INFO :b' status: 00'
2023-10-31 19:10:57,671 INFO :b' TransId: 8d'
2023-10-31 19:10:57,673 INFO :b' working on remaining payload 6a0200040000094d idx: 10'
2023-10-31 19:10:57,675 INFO :b' dp: 106'
2023-10-31 19:10:57,677 INFO :b' datatype: 2'
2023-10-31 19:10:57,679 INFO :b' len_data: 8'
2023-10-31 19:10:57,681 INFO :b' data: 0000094d'
2023-10-31 19:10:57,683 INFO :b'tuyaReadRawAPS - command 02 dp: 106 dt: 2 len: 8 data: 0000094d idx: 26'
2023-10-31 19:10:57,685 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6a dt: 02 data: 0000094d'
2023-10-31 19:10:57,687 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6a dt: 02 data: 0000094d'
2023-10-31 19:10:57,688 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 106 2 0000094d'
2023-10-31 19:10:57,690 INFO :b' - value: 2381'
2023-10-31 19:10:57,691 INFO :b" - dps_mapping[ 6a ]: {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3} (<class 'dict'>)"
2023-10-31 19:10:57,697 INFO :b' - after evaluate_expression_with_data() value: 2381'
2023-10-31 19:10:57,698 INFO :b"sensor_type - 009a 01 2381 106 2 0000094d {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}"
2023-10-31 19:10:57,700 INFO :b' - after sensor_type() value: 2381.0 divisor: 1 rounding: 3'
2023-10-31 19:10:57,701 INFO :b'ts0601_summation_energy - Current Summation 009a 01 2381.0'
2023-10-31 19:10:57,709 INFO :b'UpdateDevice - ( Conso L1) 0:2381'
2023-10-31 19:10:58,673 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 2e cmd: 02 Payload: 192e02008e6b02000400000000'
2023-10-31 19:10:58,680 INFO :b' status: 00'
2023-10-31 19:10:58,687 INFO :b' TransId: 8e'
2023-10-31 19:10:58,690 INFO :b' working on remaining payload 6b02000400000000 idx: 10'
2023-10-31 19:10:58,692 INFO :b' dp: 107'
2023-10-31 19:10:58,693 INFO :b' datatype: 2'
2023-10-31 19:10:58,695 INFO :b' len_data: 8'
2023-10-31 19:10:58,697 INFO :b' data: 00000000'
2023-10-31 19:10:58,698 INFO :b'tuyaReadRawAPS - command 02 dp: 107 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:10:58,700 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6b dt: 02 data: 00000000'
2023-10-31 19:10:58,702 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6b dt: 02 data: 00000000'
2023-10-31 19:10:58,703 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 107 2 00000000'
2023-10-31 19:10:58,705 INFO :b' - value: 0'
2023-10-31 19:10:58,706 INFO :b" - dps_mapping[ 6b ]: {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3} (<class 'dict'>)"
2023-10-31 19:10:58,708 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-10-31 19:10:58,710 INFO :b"sensor_type - 009a 01 0 107 2 00000000 {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}"
2023-10-31 19:10:58,711 INFO :b' - after sensor_type() value: 0.0 divisor: 1 rounding: 3'
2023-10-31 19:10:58,713 INFO :b'ts0601_production_energy - Production Energy 009a 01 0.0'
2023-10-31 19:10:59,662 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 2f cmd: 02 Payload: 192f02008f6e02000400000000'
2023-10-31 19:10:59,665 INFO :b' status: 00'
2023-10-31 19:10:59,667 INFO :b' TransId: 8f'
2023-10-31 19:10:59,669 INFO :b' working on remaining payload 6e02000400000000 idx: 10'
2023-10-31 19:10:59,670 INFO :b' dp: 110'
2023-10-31 19:10:59,672 INFO :b' datatype: 2'
2023-10-31 19:10:59,674 INFO :b' len_data: 8'
2023-10-31 19:10:59,676 INFO :b' data: 00000000'
2023-10-31 19:10:59,678 INFO :b'tuyaReadRawAPS - command 02 dp: 110 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:10:59,679 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6e dt: 02 data: 00000000'
2023-10-31 19:10:59,681 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6e dt: 02 data: 00000000'
2023-10-31 19:10:59,683 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 110 2 00000000'
2023-10-31 19:10:59,685 INFO :b"ts0601_response - unknow dp 009a 6e 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:10:59,687 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6e data type: 2 data: 00000000'
2023-10-31 19:11:00,637 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 30 cmd: 02 Payload: 19300200906c02000400000000'
2023-10-31 19:11:00,638 INFO :b' status: 00'
2023-10-31 19:11:00,639 INFO :b' TransId: 90'
2023-10-31 19:11:00,640 INFO :b' working on remaining payload 6c02000400000000 idx: 10'
2023-10-31 19:11:00,641 INFO :b' dp: 108'
2023-10-31 19:11:00,642 INFO :b' datatype: 2'
2023-10-31 19:11:00,643 INFO :b' len_data: 8'
2023-10-31 19:11:00,645 INFO :b' data: 00000000'
2023-10-31 19:11:00,646 INFO :b'tuyaReadRawAPS - command 02 dp: 108 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:11:00,647 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6c dt: 02 data: 00000000'
2023-10-31 19:11:00,648 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6c dt: 02 data: 00000000'
2023-10-31 19:11:00,649 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 108 2 00000000'
2023-10-31 19:11:00,650 INFO :b"ts0601_response - unknow dp 009a 6c 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:11:00,651 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6c data type: 2 data: 00000000'
2023-10-31 19:11:01,741 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 31 cmd: 02 Payload: 19310200916f02000400000000'
2023-10-31 19:11:01,742 INFO :b' status: 00'
2023-10-31 19:11:01,743 INFO :b' TransId: 91'
2023-10-31 19:11:01,744 INFO :b' working on remaining payload 6f02000400000000 idx: 10'
2023-10-31 19:11:01,745 INFO :b' dp: 111'
2023-10-31 19:11:01,746 INFO :b' datatype: 2'
2023-10-31 19:11:01,747 INFO :b' len_data: 8'
2023-10-31 19:11:01,749 INFO :b' data: 00000000'
2023-10-31 19:11:01,750 INFO :b'tuyaReadRawAPS - command 02 dp: 111 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:11:01,751 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6f dt: 02 data: 00000000'
2023-10-31 19:11:01,752 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6f dt: 02 data: 00000000'
2023-10-31 19:11:01,753 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 111 2 00000000'
2023-10-31 19:11:01,754 INFO :b"ts0601_response - unknow dp 009a 6f 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:11:01,755 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6f data type: 2 data: 00000000'
2023-10-31 19:11:02,663 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 32 cmd: 02 Payload: 19320200920902000400000000'
2023-10-31 19:11:02,665 INFO :b' status: 00'
2023-10-31 19:11:02,667 INFO :b' TransId: 92'
2023-10-31 19:11:02,669 INFO :b' working on remaining payload 0902000400000000 idx: 10'
2023-10-31 19:11:02,671 INFO :b' dp: 9'
2023-10-31 19:11:02,673 INFO :b' datatype: 2'
2023-10-31 19:11:02,674 INFO :b' len_data: 8'
2023-10-31 19:11:02,676 INFO :b' data: 00000000'
2023-10-31 19:11:02,678 INFO :b'tuyaReadRawAPS - command 02 dp: 9 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:11:02,680 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 09 dt: 02 data: 00000000'
2023-10-31 19:11:02,682 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 09 dt: 02 data: 00000000'
2023-10-31 19:11:02,685 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 9 2 00000000'
2023-10-31 19:11:02,686 INFO :b"ts0601_response - unknow dp 009a 09 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:11:02,688 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 09 data type: 2 data: 00000000'
2023-10-31 19:11:03,646 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 33 cmd: 02 Payload: 19330200936d02000400000000'
2023-10-31 19:11:03,648 INFO :b' status: 00'
2023-10-31 19:11:03,649 INFO :b' TransId: 93'
2023-10-31 19:11:03,651 INFO :b' working on remaining payload 6d02000400000000 idx: 10'
2023-10-31 19:11:03,652 INFO :b' dp: 109'
2023-10-31 19:11:03,653 INFO :b' datatype: 2'
2023-10-31 19:11:03,655 INFO :b' len_data: 8'
2023-10-31 19:11:03,656 INFO :b' data: 00000000'
2023-10-31 19:11:03,658 INFO :b'tuyaReadRawAPS - command 02 dp: 109 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:11:03,659 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6d dt: 02 data: 00000000'
2023-10-31 19:11:03,660 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6d dt: 02 data: 00000000'
2023-10-31 19:11:03,662 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 109 2 00000000'
2023-10-31 19:11:03,663 INFO :b"ts0601_response - unknow dp 009a 6d 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:11:03,664 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6d data type: 2 data: 00000000'
2023-10-31 19:11:04,871 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 34 cmd: 02 Payload: 19340200947002000400000000'
2023-10-31 19:11:04,877 INFO :b' status: 00'
2023-10-31 19:11:04,884 INFO :b' TransId: 94'
2023-10-31 19:11:04,885 INFO :b' working on remaining payload 7002000400000000 idx: 10'
2023-10-31 19:11:04,887 INFO :b' dp: 112'
2023-10-31 19:11:04,888 INFO :b' datatype: 2'
2023-10-31 19:11:04,890 INFO :b' len_data: 8'
2023-10-31 19:11:04,892 INFO :b' data: 00000000'
2023-10-31 19:11:04,893 INFO :b'tuyaReadRawAPS - command 02 dp: 112 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:11:04,895 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 70 dt: 02 data: 00000000'
2023-10-31 19:11:04,897 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 70 dt: 02 data: 00000000'
2023-10-31 19:11:04,898 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 112 2 00000000'
2023-10-31 19:11:04,900 INFO :b' - value: 0'
2023-10-31 19:11:04,901 INFO :b" - dps_mapping[ 70 ]: {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2} (<class 'dict'>)"
2023-10-31 19:11:04,902 INFO :b' - after evaluate_expression_with_data() value: 0'
2023-10-31 19:11:04,903 INFO :b"sensor_type - 009a 01 0 112 2 00000000 {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}"
2023-10-31 19:11:04,904 INFO :b' - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-10-31 19:11:04,905 INFO :b'ts0601_voltage - Voltage 009a 01 0.0'
2023-10-31 19:11:05,618 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 35 cmd: 02 Payload: 19350200957102000400000032'
2023-10-31 19:11:05,620 INFO :b' status: 00'
2023-10-31 19:11:05,621 INFO :b' TransId: 95'
2023-10-31 19:11:05,622 INFO :b' working on remaining payload 7102000400000032 idx: 10'
2023-10-31 19:11:05,623 INFO :b' dp: 113'
2023-10-31 19:11:05,624 INFO :b' datatype: 2'
2023-10-31 19:11:05,626 INFO :b' len_data: 8'
2023-10-31 19:11:05,627 INFO :b' data: 00000032'
2023-10-31 19:11:05,628 INFO :b'tuyaReadRawAPS - command 02 dp: 113 dt: 2 len: 8 data: 00000032 idx: 26'
2023-10-31 19:11:05,629 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 71 dt: 02 data: 00000032'
2023-10-31 19:11:05,630 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 71 dt: 02 data: 00000032'
2023-10-31 19:11:05,631 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 113 2 00000032'
2023-10-31 19:11:05,633 INFO :b' - value: 50'
2023-10-31 19:11:05,634 INFO :b" - dps_mapping[ 71 ]: {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2} (<class 'dict'>)"
2023-10-31 19:11:05,635 INFO :b' - after evaluate_expression_with_data() value: 50'
2023-10-31 19:11:05,636 INFO :b"sensor_type - 009a 01 50 113 2 00000032 {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}"
2023-10-31 19:11:05,638 INFO :b' - after sensor_type() value: 50.0 divisor: 1 rounding: 2'
2023-10-31 19:11:05,639 INFO :b'ts0601_current - Current 009a 01 50.0'
2023-10-31 19:11:06,629 INFO :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 36 cmd: 02 Payload: 19360200966902000400000000'
2023-10-31 19:11:06,630 INFO :b' status: 00'
2023-10-31 19:11:06,631 INFO :b' TransId: 96'
2023-10-31 19:11:06,632 INFO :b' working on remaining payload 6902000400000000 idx: 10'
2023-10-31 19:11:06,633 INFO :b' dp: 105'
2023-10-31 19:11:06,634 INFO :b' datatype: 2'
2023-10-31 19:11:06,635 INFO :b' len_data: 8'
2023-10-31 19:11:06,636 INFO :b' data: 00000000'
2023-10-31 19:11:06,638 INFO :b'tuyaReadRawAPS - command 02 dp: 105 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 19:11:06,639 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 69 dt: 02 data: 00000000'
2023-10-31 19:11:06,640 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 69 dt: 02 data: 00000000'
2023-10-31 19:11:06,641 INFO :b'ts0601_response - 009a TS0601-PC311-Z-TY 105 2 00000000'
2023-10-31 19:11:06,642 INFO :b"ts0601_response - unknow dp 009a 69 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value', 'domo_round': 3}}"
2023-10-31 19:11:06,643 INFO :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 69 data type: 2 data: 00000000'