syssi / esphome-atorch-dl24 Goto Github PK
View Code? Open in Web Editor NEWESPHome component to monitor and control some Atorch meters via bluetooth
License: Apache License 2.0
ESPHome component to monitor and control some Atorch meters via bluetooth
License: Apache License 2.0
[I][atorch_dl24:053]: Write command: FF.55.11.02.03.00.00.00.00.52 (10)
[I][atorch_dl24:247]: Status report received
[W][atorch_dl24:202]: Frame skipped because of invalid length (4)
[D][atorch_dl24:203]: Payload: FF.55.02.01
[W][atorch_dl24:202]: Frame skipped because of invalid length (4)
[D][atorch_dl24:203]: Payload: 01.00.00.40
[W][atorch_dl24:202]: Frame skipped because of invalid length (30)
[D][atorch_dl24:203]: Payload: FF.55.01.02.00.00.21.00.3A.83.00.0A.9B.00.00.00.09.00.00.00.00.00.00.00.00.22.00.00.00.00 (30)
[W][atorch_dl24:202]: Frame skipped because of invalid length (6)
[D][atorch_dl24:203]: Payload: 3C.00.00.00.00.A9 (6)
Interpretation: The command reply (FF.55.02.01.01.00.00.40) was skipped because of two 4 byte frames. The next report frame was skipped because of a 30 bytes + 6 bytes frame.
At the moment just 8 byte, 36 byte and 20+16 byte frames are handled correctly.
@syssi you're everywhere mate :) Thankyou for your amazing contributions. I am now using 3 of them - your dl24 one, your JBD one and your JK-BMS one. Now I just have to work out how to combine them all into one repository.
I may be in touch in the future to ask your permission to use these for an APNIC project I'm currently doing.
Syssi - I have a an DL24 and what I'm wondering about is two things:-
Thankyou!
Matt
G'day All -
There's a new kid on the block the DL24M - see https://www.aliexpress.com/item/1005003426244725.html.
On mine, the firmware version in the menu is 2.0.
When I use Syssi's contrib, this is the result I get -
[20:06:09][W][atorch_dl24:209]: CRC check failed (0x47 != 0xAC). Skipping frame
[20:06:09][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.AC (36)
[20:06:10][W][atorch_dl24:209]: CRC check failed (0x47 != 0xCF). Skipping frame
[20:06:10][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.CF (36)
[20:06:11][W][atorch_dl24:209]: CRC check failed (0x47 != 0xEA). Skipping frame
[20:06:11][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.EA (36)
[20:06:12][W][atorch_dl24:209]: CRC check failed (0x47 != 0x8D). Skipping frame
[20:06:12][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.8D (36)
[20:06:13][W][atorch_dl24:209]: CRC check failed (0x47 != 0x28). Skipping frame
[20:06:13][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.28 (36)
[20:06:14][W][atorch_dl24:209]: CRC check failed (0x47 != 0x43). Skipping frame
[20:06:14][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.43 (36)
[20:06:15][W][atorch_dl24:209]: CRC check failed (0x47 != 0x8F). Skipping frame
[20:06:16][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.8F (36)
[20:06:17][W][atorch_dl24:209]: CRC check failed (0x47 != 0x53). Skipping frame
[20:06:17][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.53 (36)
[20:06:17][W][atorch_dl24:209]: CRC check failed (0x47 != 0x9F). Skipping frame
[20:06:17][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.9F (36)
[20:06:19][W][atorch_dl24:209]: CRC check failed (0x47 != 0x63). Skipping frame
[20:06:19][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.63 (36)
[20:06:19][W][atorch_dl24:209]: CRC check failed (0x47 != 0xAF). Skipping frame
[20:06:19][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.AF (36)
[20:06:20][W][atorch_dl24:209]: CRC check failed (0x47 != 0x1D). Skipping frame
[20:06:20][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.1D (36)
[20:06:21][W][atorch_dl24:209]: CRC check failed (0x47 != 0x83). Skipping frame
[20:06:21][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.83 (36)
[20:06:22][W][atorch_dl24:209]: CRC check failed (0x47 != 0x69). Skipping frame
[20:06:22][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.69 (36)
[20:06:23][W][atorch_dl24:209]: CRC check failed (0x47 != 0x57). Skipping frame
[20:06:23][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.57 (36)
[20:06:24][W][atorch_dl24:209]: CRC check failed (0x47 != 0x45). Skipping frame
[20:06:24][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.45 (36)
[20:06:25][W][atorch_dl24:209]: CRC check failed (0x47 != 0x89). Skipping frame
[20:06:25][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.89 (36)
[20:06:26][W][atorch_dl24:209]: CRC check failed (0x47 != 0x55). Skipping frame
[20:06:26][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.55 (36)
[20:06:27][W][atorch_dl24:209]: CRC check failed (0x47 != 0x99). Skipping frame
[20:06:27][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.99 (36)
[20:06:28][W][atorch_dl24:209]: CRC check failed (0x47 != 0x65). Skipping frame
[20:06:28][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.65 (36)
[20:06:29][W][atorch_dl24:209]: CRC check failed (0x47 != 0xC5). Skipping frame
[20:06:29][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.C5 (36)
[20:06:30][W][atorch_dl24:209]: CRC check failed (0x47 != 0xA5). Skipping frame
[20:06:30][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.A5 (36)
[20:06:31][W][atorch_dl24:209]: CRC check failed (0x47 != 0x85). Skipping frame
[20:06:31][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.85 (36)
[20:06:32][W][atorch_dl24:209]: CRC check failed (0x47 != 0xE5). Skipping frame
[20:06:32][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.E5 (36)
[20:06:33][W][atorch_dl24:209]: CRC check failed (0x47 != 0x45). Skipping frame
[20:06:33][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.45 (36)
[20:06:34][W][atorch_dl24:209]: CRC check failed (0x47 != 0x81). Skipping frame
[20:06:34][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.81 (36)
[20:06:35][W][atorch_dl24:209]: CRC check failed (0x47 != 0x45). Skipping frame
[20:06:35][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.45 (36)
[20:06:36][W][atorch_dl24:209]: CRC check failed (0x47 != 0x81). Skipping frame
[20:06:36][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.81 (36)
[20:06:37][W][atorch_dl24:209]: CRC check failed (0x47 != 0x45). Skipping frame
[20:06:37][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.45 (36)
[20:06:38][W][atorch_dl24:209]: CRC check failed (0x47 != 0x81). Skipping frame
[20:06:38][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.81 (36)
[20:06:39][W][atorch_dl24:209]: CRC check failed (0x47 != 0x9A). Skipping frame
[20:06:39][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.9A (36)
[20:06:40][W][atorch_dl24:209]: CRC check failed (0x47 != 0xB3). Skipping frame
[20:06:40][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.B3 (36)
[20:06:41][W][atorch_dl24:209]: CRC check failed (0x47 != 0x54). Skipping frame
[20:06:41][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.54 (36)
[20:06:42][W][atorch_dl24:209]: CRC check failed (0x47 != 0xF5). Skipping frame
[20:06:42][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.F5 (36)
[20:06:43][W][atorch_dl24:209]: CRC check failed (0x47 != 0x16). Skipping frame
[20:06:43][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.16 (36)
[20:06:44][W][atorch_dl24:209]: CRC check failed (0x47 != 0xE2). Skipping frame
[20:06:44][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.E2 (36)
[20:06:45][W][atorch_dl24:209]: CRC check failed (0x47 != 0x36). Skipping frame
[20:06:45][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.36 (36)
[20:06:46][W][atorch_dl24:209]: CRC check failed (0x47 != 0x82). Skipping frame
[20:06:46][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.82 (36)
[20:06:47][W][atorch_dl24:209]: CRC check failed (0x47 != 0x56). Skipping frame
[20:06:47][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.56 (36)
[20:06:48][W][atorch_dl24:209]: CRC check failed (0x47 != 0xA2). Skipping frame
[20:06:48][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.A2 (36)
[20:06:49][W][atorch_dl24:209]: CRC check failed (0x47 != 0x20). Skipping frame
[20:06:49][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.20 (36)
[20:06:50][W][atorch_dl24:209]: CRC check failed (0x47 != 0xA6). Skipping frame
[20:06:50][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.A6 (36)
[20:06:51][W][atorch_dl24:209]: CRC check failed (0x47 != 0x2C). Skipping frame
[20:06:51][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.2C (36)
[20:06:52][W][atorch_dl24:209]: CRC check failed (0x47 != 0xAA). Skipping frame
[20:06:52][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.AA (36)
[20:06:53][W][atorch_dl24:209]: CRC check failed (0x47 != 0x0C). Skipping frame
[20:06:53][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.0C (36)
[20:06:54][W][atorch_dl24:209]: CRC check failed (0x47 != 0xEE). Skipping frame
[20:06:54][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.EE (36)
[20:06:55][W][atorch_dl24:209]: CRC check failed (0x47 != 0xC8). Skipping frame
[20:06:55][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.C8 (36)
[20:06:56][W][atorch_dl24:209]: CRC check failed (0x47 != 0x22). Skipping frame
[20:06:56][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.22 (36)
[20:06:57][W][atorch_dl24:209]: CRC check failed (0x47 != 0x84). Skipping frame
[20:06:57][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.84 (36)
[20:06:58][W][atorch_dl24:209]: CRC check failed (0x47 != 0x43). Skipping frame
[20:06:58][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.43 (36)
[20:06:59][W][atorch_dl24:209]: CRC check failed (0x47 != 0x82). Skipping frame
[20:06:59][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.82 (36)
[20:07:00][W][atorch_dl24:209]: CRC check failed (0x47 != 0x41). Skipping frame
[20:07:00][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.41 (36)
[20:07:01][W][atorch_dl24:209]: CRC check failed (0x47 != 0x80). Skipping frame
[20:07:01][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.80 (36)
[20:07:02][I][atorch_dl24:253]: Status report received
[20:07:02][D][sensor:094]: '600w-dc-load voltage': Sending state 0.00000 V with 2 decimals of accuracy
[20:07:02][D][sensor:094]: '600w-dc-load current': Sending state 0.00000 A with 3 decimals of accuracy
[20:07:02][D][sensor:094]: '600w-dc-load power': Sending state 0.00000 W with 4 decimals of accuracy
[20:07:02][D][sensor:094]: '600w-dc-load capacity': Sending state 1.73000 Ah with 3 decimals of accuracy
[20:07:02][D][sensor:094]: '600w-dc-load energy': Sending state 20.00000 Wh with 0 decimals of accuracy
[20:07:02][D][sensor:094]: '600w-dc-load temperature': Sending state 21.00000 °C with 0 decimals of accuracy
[20:07:02][D][sensor:094]: '600w-dc-load runtime': Sending state 0.00000 s with 0 decimals of accuracy
[20:07:03][D][text_sensor:064]: '600w-dc-load runtime formatted': Sending state ''
[20:07:03][D][sensor:094]: '600w-dc-load dim backlight': Sending state 60.00000 s with 0 decimals of accuracy
[20:07:03][W][atorch_dl24:209]: CRC check failed (0x47 != 0x8D). Skipping frame
[20:07:03][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.8D (36)
[20:07:04][W][atorch_dl24:209]: CRC check failed (0x47 != 0x4B). Skipping frame
[20:07:04][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.4B (36)
[20:07:05][W][atorch_dl24:209]: CRC check failed (0x47 != 0x89). Skipping frame
[20:07:05][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.89 (36)
[20:07:06][W][atorch_dl24:209]: CRC check failed (0x47 != 0x4F). Skipping frame
[20:07:06][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.4F (36)
[20:07:07][W][atorch_dl24:209]: CRC check failed (0x47 != 0x95). Skipping frame
[20:07:07][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.95 (36)
[20:07:08][W][atorch_dl24:209]: CRC check failed (0x47 != 0xE9). Skipping frame
[20:07:08][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.E9 (36)
[20:07:09][W][atorch_dl24:209]: CRC check failed (0x47 != 0x45). Skipping frame
[20:07:09][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.45 (36)
[20:07:10][W][atorch_dl24:209]: CRC check failed (0x47 != 0x19). Skipping frame
[20:07:10][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.19 (36)
[20:07:11][W][atorch_dl24:209]: CRC check failed (0x47 != 0x75). Skipping frame
[20:07:11][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.75 (36)
[20:07:12][W][atorch_dl24:209]: CRC check failed (0x47 != 0xC9). Skipping frame
[20:07:12][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.C9 (36)
[20:07:13][W][atorch_dl24:209]: CRC check failed (0x47 != 0x7B). Skipping frame
[20:07:13][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.7B (36)
[20:07:14][W][atorch_dl24:209]: CRC check failed (0x47 != 0xB5). Skipping frame
[20:07:14][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.B5 (36)
[20:07:15][W][atorch_dl24:209]: CRC check failed (0x47 != 0x6F). Skipping frame
[20:07:15][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.6F (36)
[20:07:16][W][atorch_dl24:209]: CRC check failed (0x47 != 0xA1). Skipping frame
[20:07:16][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.A1 (36)
[20:07:17][W][atorch_dl24:209]: CRC check failed (0x47 != 0x03). Skipping frame
[20:07:17][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.03 (36)
[20:07:18][W][atorch_dl24:209]: CRC check failed (0x47 != 0xED). Skipping frame
[20:07:18][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.ED (36)
[20:07:20][W][atorch_dl24:209]: CRC check failed (0x47 != 0xD7). Skipping frame
[20:07:20][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.D7 (36)
[20:07:20][W][atorch_dl24:209]: CRC check failed (0x47 != 0x39). Skipping frame
[20:07:20][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.39 (36)
[20:07:21][W][atorch_dl24:209]: CRC check failed (0x47 != 0x9B). Skipping frame
[20:07:21][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.9B (36)
[20:07:22][W][atorch_dl24:209]: CRC check failed (0x47 != 0xE6). Skipping frame
[20:07:22][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.E6 (36)
[20:07:23][W][atorch_dl24:209]: CRC check failed (0x47 != 0xA9). Skipping frame
[20:07:23][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.A9 (36)
[20:07:24][W][atorch_dl24:209]: CRC check failed (0x47 != 0xF4). Skipping frame
[20:07:24][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.F4 (36)
[20:07:25][W][atorch_dl24:209]: CRC check failed (0x47 != 0xBF). Skipping frame
[20:07:25][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.BF (36)
[20:07:26][W][atorch_dl24:209]: CRC check failed (0x47 != 0x82). Skipping frame
[20:07:26][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.82 (36)
[20:07:27][W][atorch_dl24:209]: CRC check failed (0x47 != 0xBD). Skipping frame
[20:07:27][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.BD (36)
[20:07:28][W][atorch_dl24:209]: CRC check failed (0x47 != 0x70). Skipping frame
[20:07:28][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.70 (36)
[20:07:29][W][atorch_dl24:209]: CRC check failed (0x47 != 0xA3). Skipping frame
[20:07:29][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.A3 (36)
[20:07:30][W][atorch_dl24:209]: CRC check failed (0x47 != 0x5E). Skipping frame
[20:07:30][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.5E (36)
[20:07:31][W][atorch_dl24:209]: CRC check failed (0x47 != 0x91). Skipping frame
[20:07:31][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.91 (36)
[20:07:32][W][atorch_dl24:209]: CRC check failed (0x47 != 0x77). Skipping frame
[20:07:32][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.77 (36)
[20:07:33][W][atorch_dl24:209]: CRC check failed (0x47 != 0x5D). Skipping frame
[20:07:33][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.5D (36)
[20:07:34][W][atorch_dl24:209]: CRC check failed (0x47 != 0xBB). Skipping frame
[20:07:34][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.BB (36)
[20:07:35][W][atorch_dl24:209]: CRC check failed (0x47 != 0x19). Skipping frame
[20:07:35][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.19 (36)
[20:07:36][W][atorch_dl24:209]: CRC check failed (0x47 != 0xFF). Skipping frame
[20:07:36][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.FF (36)
[20:07:37][W][atorch_dl24:209]: CRC check failed (0x47 != 0x52). Skipping frame
[20:07:37][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.52 (36)
[20:07:38][W][atorch_dl24:209]: CRC check failed (0x47 != 0x2D). Skipping frame
[20:07:38][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.2D (36)
[20:07:39][W][atorch_dl24:209]: CRC check failed (0x47 != 0x00). Skipping frame
[20:07:39][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.00 (36)
[20:07:40][W][atorch_dl24:209]: CRC check failed (0x47 != 0x53). Skipping frame
[20:07:40][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.53 (36)
[20:07:41][W][atorch_dl24:209]: CRC check failed (0x47 != 0x2E). Skipping frame
[20:07:41][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.2E (36)
[20:07:42][W][atorch_dl24:209]: CRC check failed (0x47 != 0xB5). Skipping frame
[20:07:42][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.B5 (36)
[20:07:43][W][atorch_dl24:209]: CRC check failed (0x47 != 0x3C). Skipping frame
[20:07:43][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.3C (36)
[20:07:44][W][atorch_dl24:209]: CRC check failed (0x47 != 0xBB). Skipping frame
[20:07:44][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.BB (36)
[20:07:45][W][atorch_dl24:209]: CRC check failed (0x47 != 0x3A). Skipping frame
[20:07:45][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.3A (36)
[20:07:46][W][atorch_dl24:209]: CRC check failed (0x47 != 0xB9). Skipping frame
[20:07:46][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.B9 (36)
[20:07:47][W][atorch_dl24:209]: CRC check failed (0x47 != 0x74). Skipping frame
[20:07:47][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.74 (36)
[20:07:48][W][atorch_dl24:209]: CRC check failed (0x47 != 0xAF). Skipping frame
[20:07:48][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.AF (36)
[20:07:49][W][atorch_dl24:209]: CRC check failed (0x47 != 0x62). Skipping frame
[20:07:49][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.62 (36)
[20:07:50][W][atorch_dl24:209]: CRC check failed (0x47 != 0x9D). Skipping frame
[20:07:50][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.9D (36)
[20:07:51][W][atorch_dl24:209]: CRC check failed (0x47 != 0x31). Skipping frame
[20:07:51][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.31 (36)
[20:07:52][W][atorch_dl24:209]: CRC check failed (0x47 != 0x4D). Skipping frame
[20:07:52][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.4D (36)
[20:07:53][W][atorch_dl24:209]: CRC check failed (0x47 != 0x61). Skipping frame
[20:07:53][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.61 (36)
[20:07:54][W][atorch_dl24:209]: CRC check failed (0x47 != 0x7D). Skipping frame
[20:07:54][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.7D (36)
[20:07:55][W][atorch_dl24:209]: CRC check failed (0x47 != 0x11). Skipping frame
[20:07:55][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.11 (36)
[20:07:56][W][atorch_dl24:209]: CRC check failed (0x47 != 0xA8). Skipping frame
[20:07:56][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.A8 (36)
[20:07:57][W][atorch_dl24:209]: CRC check failed (0x47 != 0xC7). Skipping frame
[20:07:57][D][atorch_dl24:210]: Payload: FF.55.01.02.00.00.00.00.00.00.00.00.AD.00.00.00.02.00.00.00.00.00.00.00.00.15.00.00.00.00.3C.00.00.00.00.C7 (36)
Any ideas?
Hello, it is not possible to install this coder on an esp32 with ESPHome v2022.5.1 Error: Could not find the package with 'platformio/toolchain-esp32ulp @ 2.80200' requirements for your system 'linux_aarch64'
occurs. Do you know why? Regards Martin
thanks you..
Very good job!!!
Ronnie
const packet = Buffer.from('FF551103310000000001', 'hex');
const payload = packet.slice(2, -1);
// "11033100000000" (hex string)
const checksum = payload.reduce((acc, item) => (acc + item) & 0xff, 0) ^ 0x44;
// checksum: 0x01
packet[packet.length - 1] == checksum;
// returns true
Ist es möglich die Ströme beim entladen den Wert mit einem negativen Vorzeichen zu erhalten? Dies würde Berechnungen ermöglichen.
I use the DL24 and get continue messages
ESPhome [W][atorch dl24:100]: CRC check failed. Skipping
The ESPhome is lasted version v2022.1.2
the information during compiling
INFO Reading configuration /config/esphome/ble_tracker.yaml...
INFO Updating https://github.com/syssi/esphome-atorch-dl24.git@main
INFO Generating C++ source...
INFO Compiling app...
Processing bletracker (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32 @ 3.3.2)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <WiFi> 1.0
|-- <FS> 1.0
|-- <Update> 1.0
|-- <ESPAsyncWebServer-esphome> 2.1.0
| |-- <AsyncTCP-esphome> 1.2.2
|-- <DNSServer> 1.1.0
|-- <ArduinoJson> 6.18.5
|-- <ESPmDNS> 1.0
...
so could not get the data;
is there plans to add atorch s1 model BLE ? thx
hi
great code, worked first time!
may I ask to have a way to deal with precision? for example, Voltage in my case is shown as #.## but the measured only changes every 0.1 (like it will show 3.2 for all voltages between 3.20 and 3.29)
for comparison the e_test app on android shows 4 digits of precision, do I need to do something to have it the same way on this? thanks
Hey, is it possible to send commands to a DL24? For example reset measurements, start and stop run, set backlight brightness. Would be very cool.
BR
[21:30:23][W][atorch_dl24:211]: CRC check failed (8F != 0D). Skipping frame
[21:30:23][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.23.00.01.5A.00.00.02.BF.00.09.00.09.00.1F.00.00.26.00.3C.0D.AC.01.22.03.20.00.0D (36)
[21:30:24][W][atorch_dl24:211]: CRC check failed (8F != BE). Skipping frame
[21:30:24][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.F0.00.00.21.00.01.5A.00.00.02.BF.00.09.00.09.00.1F.00.00.26.01.3C.0D.AC.01.22.03.20.00.BE (36)
[21:30:25][W][atorch_dl24:211]: CRC check failed (88 != E8). Skipping frame
[21:30:25][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.23.00.01.5A.00.00.02.BF.00.09.00.09.00.1E.00.00.26.02.3C.0D.AC.01.22.03.20.00.E8 (36)
[21:30:26][W][atorch_dl24:211]: CRC check failed (8A != 9C). Skipping frame
[21:30:26][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.24.00.01.5B.00.00.02.BF.00.08.00.09.00.1E.00.00.26.03.3C.0D.AC.01.22.03.20.00.9C (36)
[21:30:27][W][atorch_dl24:211]: CRC check failed (97 != D5). Skipping frame
[21:30:27][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.25.00.01.5B.00.00.02.C0.00.09.00.09.00.1F.00.00.26.04.3C.0D.AC.01.22.03.20.00.D5 (36)
[21:30:28][W][atorch_dl24:211]: CRC check failed (9E != 95). Skipping frame
[21:30:28][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.ED.00.00.2E.00.01.5B.00.00.02.C0.00.08.00.09.00.1F.00.00.26.05.3C.0D.AC.01.22.03.20.00.95 (36)
[21:30:29][W][atorch_dl24:211]: CRC check failed (92 != C9). Skipping frame
[21:30:29][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.26.00.01.5B.00.00.02.C0.00.09.00.09.00.1F.00.00.26.06.3C.0D.AC.01.22.03.20.00.C9 (36)
[21:30:30][W][atorch_dl24:211]: CRC check failed (93 != 86). Skipping frame
[21:30:30][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.26.00.01.5B.00.00.02.C0.00.09.00.09.00.1F.00.00.26.07.3C.0D.AC.01.22.03.20.00.86 (36)
[21:30:31][W][atorch_dl24:211]: CRC check failed (97 != 3F). Skipping frame
[21:30:31][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.F0.00.00.1F.00.01.5B.00.00.02.C1.00.09.00.09.00.1F.00.00.26.08.3C.0D.AC.01.22.03.20.00.3F (36)
[21:30:32][W][atorch_dl24:211]: CRC check failed (A5 != 06). Skipping frame
[21:30:32][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.2D.00.01.5B.00.00.02.C1.00.09.00.09.00.1F.00.00.26.09.3C.0D.AC.01.22.03.20.00.06 (36)
[21:30:33][W][atorch_dl24:211]: CRC check failed (9E != 46). Skipping frame
[21:30:33][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.F0.00.00.24.00.01.5B.00.00.02.C1.00.09.00.09.00.1F.00.00.26.0A.3C.0D.AC.01.22.03.20.00.46 (36)
[21:30:34][W][atorch_dl24:211]: CRC check failed (9E != 06). Skipping frame
[21:30:34][D][atorch_dl24:212]: Payload: FF.55.01.03.00.07.EF.00.00.24.00.01.5B.00.00.02.C1.00.09.00.09.00.1F.00.00.26.0B.3C.0D.AC.01.22.03.20.00.06 (36)
(20.3V; ~0,4A)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.