notified from 70d51002-2c7f-4e75-ae8a-d758951c34e0
69 pro
1e ff 02 09 03 1c 4c 01 08 41 13 3b 00 * 7e * 00 00 00 05 1d 4c 00 01 ff ff 00 01 ff ff 00 01 ff ff 00 01
75 outlet
1e ff 02 09 03 14 4c 01 0a 27 0c 22 00 *d9 *3d b8 00 01 3d b8 00 03 3d b8 00 01
on the 67 im getting no response, even when poking it with a few values
@jayrama ive download the apk to pc, ill see if i can take a look inside and see if theres anything useful
private static void resoleCDevice(Device device, byte[] bArr) {
byte b = bArr[13];
device.isDegree = !ByteUtils.getBit(b, 1);
device.tmpState = (byte) ByteUtils.getBits(b, 4, 2);
device.humState = (byte) ByteUtils.getBits(b, 6, 2);
device.tmp = ByteUtils.getShort(bArr, 15) * 10;
device.hum = (bArr[17] & 255) * DataFragment.TAG_FILTER_TEMPERATURE;
byte b2 = bArr[14];
device.autoHighTmpSwitch = !ByteUtils.getBit(b2, 4);
device.autoLowTmpSwitch = !ByteUtils.getBit(b2, 5);
device.autoHighHumSwitch = !ByteUtils.getBit(b2, 6);
device.autoLowHumSwitch = !ByteUtils.getBit(b2, 7);
if (device.isDegree) {
device.autoHighTmp = bArr[20];
device.autoLowTmp = bArr[21];
} else {
device.autoHighTmp = bArr[18];
device.autoLowTmp = bArr[19];
}
device.autoHighHum = bArr[22];
device.autoLowHum = bArr[23];
}
private static void resoleABDevice(Device device, byte[] bArr) {
byte b = bArr[13];
device.isDegree = true ^ ByteUtils.getBit(b, 1);
device.fanState = (byte) ByteUtils.getBits(b, 2, 2);
device.tmpState = (byte) ByteUtils.getBits(b, 4, 2);
device.humState = (byte) ByteUtils.getBits(b, 6, 2);
device.tmp = ByteUtils.getShort(bArr, 14);
device.hum = ByteUtils.getShort(bArr, 16);
device.fan = bArr[18];
}
}
06:26:11.971 - Connecting to nearby peripheral: 4GRDH
06:26:12.537 - Connected to nearby peripheral: 4GRDH
06:26:12.638 - Discovered nearby peripheral: (null) (RSSI: -86)
06:26:13.522 - Characteristic (2A24) read: <41432049 6e66696e 69747900>
06:26:13.545 - Characteristic (2A27) read: <312e31>
06:26:13.575 - Characteristic (2A28) read: <312e302e 3534>
06:26:13.651 - Discovered nearby peripheral: M203T_d16b74 (RSSI: -71)
06:26:13.872 - Stopping search for nearby peripherals
06:26:16.342 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) read: <11223344>
06:26:18.233 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08070e7c 00930000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:47.232 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08040e42 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:48.237 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08060e44 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:49.235 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08060e45 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:50.233 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08040e44 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:51.230 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08030e42 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:52.235 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08060e40 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:53.232 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08060e44 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:54.230 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08060e44 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:55.250 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08030e3c 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:56.233 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08060e3f 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
06:37:57.230 - Characteristic (70D51002-2C7F-4E75-AE8A-D758951CE4E0) notified: <1eff0209 031c0001 08060e49 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
<1eff0209 031c0001 08060e49 00950000 00051d4c 0001ffff 0001ffff 0001ffff 0001>
think temp humidity are located here
apk is on another pc, i used @luma github repo to pull these