It is also in the recorder, but I found a solution a friend of mine said create a template sensor I did this and it worked right away. but what i think is crazy. this morning I was checking to see if he had counted something and then I found out that my MQTT sensor has suddenly become visible. ???
I haven’t rebooted or anything.
But it works, thank you for your help.
Hi! I dont have experience with Arduino but i compiled my wemos d1board connected to the cc1101 and tried the frecuency finder but the serial monitor shows that the board doesnt change the frecuency to search. Any clues??
15:36:59.013 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
15:36:59.060 ->
15:36:59.060 -> Soft WDT reset
15:36:59.060 ->
15:36:59.060 -> >>>stack>>>
15:36:59.060 ->
15:36:59.060 -> ctx: cont
15:36:59.060 -> sp: 3ffff7c0 end: 3fffffc0 offset: 01a0
15:36:59.060 -> 3ffff960: feefeffe feefeffe feefeffe 3fff0064
15:36:59.060 -> 3ffff970: 00000000 3ffff9c1 00000001 4020e710
15:36:59.060 -> 3ffff980: 0007a120 3fff0001 0000000f 000003e8
15:36:59.060 -> 3ffff990: 00000002 3ffff9c0 3fff0064 40201065
15:36:59.060 -> 3ffff9a0: 00000002 3fff0001 3fff0064 4020106f
15:36:59.060 -> 3ffff9b0: 3ffefc1c 00000096 00000064 40201124
15:36:59.060 -> 3ffff9c0: 3ffe00ff 00000096 00000064 402010e0
15:36:59.060 -> 3ffff9d0: 0000ffff 3ffefc1c 3fff0064 402014db
15:36:59.107 -> 3ffff9e0: 3ffef770 3fff0001 0000000a 40201686
15:36:59.107 -> 3ffff9f0: 00000064 3ffffa20 00000000 402010e0
15:36:59.107 -> 3ffffa00: 0000ffff 3ffefc1c 3fffff60 3fffff60
15:36:59.107 -> 3ffffa10: 0000004c 3ffffed0 00000000 40201977
15:36:59.107 -> 3ffffa20: feefeffe feefeffe feefeffe feefeffe
15:36:59.107 -> 3ffffa30: feefeffe feefeffe feefeffe feefeffe
15:36:59.107 -> 3ffffa40: feefeffe feefeffe feefeffe feefeffe
15:36:59.107 -> 3ffffa50: feefeffe feefeffe feefeffe feefeffe
15:36:59.107 -> 3ffffa60: feefeffe feefeffe feefeffe feefeffe
15:36:59.107 -> 3ffffa70: feefeffe feefeffe feefeffe feefeffe
15:36:59.107 -> 3ffffa80: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffa90: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffaa0: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffab0: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffac0: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffad0: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffae0: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffaf0: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffb00: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffb10: feefeffe feefeffe feefeffe feefeffe
15:36:59.153 -> 3ffffb20: feefeffe feefeffe feefeffe feefeffe
15:36:59.201 -> 3ffffb30: feefeffe feefeffe feefeffe feefeffe
15:36:59.201 -> 3ffffb40: feefeffe feefeffe feefeffe feefeffe
15:36:59.201 -> 3ffffb50: feefeffe feefeffe feefeffe feefeffe
15:36:59.201 -> 3ffffb60: feefeffe feefeffe feefeffe 3ffe83c4
15:36:59.201 -> 3ffffb70: 4021d745 0000001c 00000020 40100d30
15:36:59.201 -> 3ffffb80: 40100f9e feefeffe 00000001 40100f90
15:36:59.201 -> 3ffffb90: feefeffe 0000001c 00000001 4021292c
15:36:59.201 -> 3ffffba0: 00000002 00000001 3ffe83c4 3ffe83c4
15:36:59.201 -> 3ffffbb0: 4021d745 00000018 00000020 40100d30
15:36:59.201 -> 3ffffbc0: 40100f9e feefeffe 00000001 40100f90
15:36:59.248 -> 3ffffbd0: 3ffffc04 00000018 00000001 4021292c
15:36:59.248 -> 3ffffbe0: 00000001 7fcb4000 3ffe83c4 4021d745
15:36:59.248 -> 3ffffbf0: 3fff0efc 3fff0efd 00000009 4021cac9
15:36:59.248 -> 3ffffc00: fffffff4 00000015 feefeffe feefeffe
15:36:59.248 -> 3ffffc10: 00000002 00000002 00000009 3fff0ed4
15:36:59.248 -> 3ffffc20: 44e20000 3e975b9d 3fff0ef4 0000000e
15:36:59.248 -> 3ffffc30: 00000000 00000003 00000008 00000000
15:36:59.248 -> 3ffffc40: 00000000 00000006 00000000 407b1c29
15:36:59.248 -> 3ffffc50: 00000002 00000000 00000000 feefeffe
15:36:59.248 -> 3ffffc60: 00000009 3fe88000 112a8800 3ffe83c4
15:36:59.295 -> 3ffffc70: 00000000 00000000 3ffffe10 4021e268
15:36:59.295 -> 3ffffc80: 3fff0ef7 3ffffda3 00000000 40217579
15:36:59.295 -> 3ffffc90: 3ffffd08 3ffffca4 3ffffca0 3ffe83c4 <
15:36:59.295 -> 3ffffca0: 00000006 3ffffd60 3ffffe10 4021e268
15:36:59.295 -> 3ffffcb0: 4021e1a4 3fff0ef7 00000006 3fff0efd
15:36:59.295 -> 3ffffcc0: feefeffe feefeffe feefeffe 00000006
15:36:59.295 -> 3ffffcd0: 3fff0ef4 3ffffd60 3ffe83c4 40217abd
15:36:59.295 -> 3ffffce0: 3ffffd0c 3ffffd08 00000066 3ffffd04
15:36:59.295 -> 3ffffcf0: 00000000 feefeffe feefeffe feefeffe
15:36:59.295 -> 3ffffd00: 3ffe8e2f 00000009 00000003 feefef00
15:36:59.295 -> 3ffffd10: 3ffffe10 4021e1a4 00000066 3ffe83c4
15:36:59.342 -> 3ffffd20: 00000001 00000000 3ffffe10 4021e268
15:36:59.342 -> 3ffffd30: ffffffff 3ffe8e2f 00000001 feefeffe
15:36:59.342 -> 3ffffd40: feefeffe feefeffe feefeffe 3ffe8e2f
15:36:59.342 -> 3ffffd50: 3ffe8e30 00000000 3ffffe10 4021e469
15:36:59.342 -> 3ffffd60: 00000400 00000006 00000000 00000000
15:36:59.342 -> 3ffffd70: 0000000a 0000001c fe302066 feefeffe
15:36:59.342 -> 3ffffd80: feefeffe feefeffe feefeffe feefeffe
15:36:59.342 -> 3ffffd90: feefeffe feefeffe feefeffe feefeffe
15:36:59.342 -> 3ffffda0: 00efeffe feefeffe 00000000 407b1c29
15:36:59.342 -> 3ffffdb0: feefeffe feefeffe 00000003 feefeffe
15:36:59.389 -> 3ffffdc0: 3fffff40 3fffff10 00000010 feefeffe
15:36:59.389 -> 3ffffdd0: 3fffff40 3fffff10 00000008 3ffe83c4
15:36:59.389 -> 3ffffde0: 0000000a 00000001 feefeffe feefeffe
15:36:59.389 -> 3ffffdf0: feefeffe feefeffe feefeffe 3fff009c
15:36:59.389 -> 3ffffe00: 3fffff10 3ffe83c4 00000040 4021b619
15:36:59.389 -> 3ffffe10: 3ffffedc feefeffe 00000023 ffff0208
15:36:59.389 -> 3ffffe20: 3ffffec0 0000003f feefeffe feefeffe
15:36:59.389 -> 3ffffe30: feefeffe feefeffe feefeffe feefeffe
15:36:59.389 -> 3ffffe40: feefeffe feefeffe feefeffe feefeffe
15:36:59.389 -> 3ffffe50: 3fff0064 00000008 3fffff20 4020e61c
15:36:59.389 -> 3ffffe60: feefeffe feefeffe feefeffe feefeffe
15:36:59.437 -> 3ffffe70: 00000000 0000001c 3ffffedb 402131e4
15:36:59.437 -> 3ffffe80: 3ffffedc 00000008 3fff009c 4021b655
15:36:59.437 -> 3ffffe90: 3fffff40 3fffff10 00000008 3fff0064
15:36:59.437 -> 3ffffea0: 00000008 3fffff20 3fffff20 4020e6a8
15:36:59.437 -> 3ffffeb0: 0007a120 00000001 00000000 40100600
15:36:59.437 -> 3ffffec0: 00000002 3ffffef0 3fff0064 3fff0064
15:36:59.437 -> 3ffffed0: 00000050 ffffff03 477064ff 14177500
15:36:59.437 -> 3ffffee0: 755e0770 177500ff 05877202 72004771
15:36:59.437 -> 3ffffef0: e7770187 3fffff10 3fff0064 4020106f
15:36:59.437 -> 3fffff00: 40105e7d 00000001 3fff0294 4020135c
15:36:59.484 -> 3fffff10: 0000010b 00000008 3fffff20 40201221 <
15:36:59.484 -> 3fffff20: ffffffff ffffffff 000000ff 3fff022c
15:36:59.484 -> 3fffff30: 3fff022c 55555555 55555555 40201471
15:36:59.484 -> 3fffff40: 0001c200 43d8e148 43d8e148 3fff022c
15:36:59.484 -> 3fffff50: 0000010b 43d8e148 3fff009c 402020b5
15:36:59.484 -> 3fffff60: 00000000 00000000 00000000 00000000
15:36:59.484 -> 3fffff70: 00000000 feefeffe feefeffe feefeffe
15:36:59.484 -> 3fffff80: 00000000 407b1c29 feefeffe feefeffe
15:36:59.484 -> 3fffff90: feefeffe feefeffe feefeffe 3fff022c
15:36:59.484 -> 3fffffa0: 3fffdad0 00000000 3fff0218 40211e8c
15:36:59.531 -> 3fffffb0: feefeffe feefeffe 3ffe8654 401003ad
15:36:59.531 -> <<<stack<<<
15:36:59.531 ->
15:36:59.531 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
15:36:59.531 ->
15:36:59.531 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
15:36:59.531 ->
15:36:59.531 -> load 0x4010f000, len 3460, room 16
15:36:59.531 -> tail 4
15:36:59.531 -> chksum 0xcc
15:36:59.531 -> load 0x3fff20b8, len 40, room 4
15:36:59.531 -> tail 4
15:36:59.531 -> chksum 0xc9
15:36:59.531 -> csum 0xc9
15:36:59.531 -> v0005af50
15:36:59.531 -> ~ld
15:36:59.625 ->
15:36:59.625 ->
15:36:59.625 -> Test frequency : 433.760010
15:37:02.831 ->
15:37:02.831 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
15:37:02.831 ->
15:37:02.831 -> Soft WDT reset
15:37:02.831 ->
15:37:02.831 -> >>>stack>>>
15:37:02.831 ->
15:37:02.831 -> ctx: cont
15:37:02.831 -> sp: 3ffff7c0 end: 3fffffc0 offset: 01a0
15:37:02.831 -> 3ffff960: feefeffe feefeffe feefeffe 3fff0064
15:37:02.831 -> 3ffff970: 00000000 3ffff9c1 00000001 4020e710
15:37:02.831 -> 3ffff980: 0007a120 3fff0001 0000000f 000003e8
15:37:02.831 -> 3ffff990: 00000002 3ffff9c0 3fff0064 40201065
15:37:02.831 -> 3ffff9a0: 00000002 3fff0001 3fff0064 4020106f
15:37:02.831 -> 3ffff9b0: 3ffefc1c 00000096 00000064 40201124
15:37:02.831 -> 3ffff9c0: 3ffe00ff 00000096 00000064 402010e0
15:37:02.878 -> 3ffff9d0: 0000ffff 3ffefc1c 3fff0064 402014db
15:37:02.878 -> 3ffff9e0: 3ffef770 3fff0001 0000000a 40201686
15:37:02.878 -> 3ffff9f0: 00000064 3ffffa20 00000000 402010e0
15:37:02.878 -> 3ffffa00: 0000ffff 3ffefc1c 3fffff60 3fffff60
15:37:02.878 -> 3ffffa10: 0000004c 3ffffed0 00000000 40201977
15:37:02.878 -> 3ffffa20: feefeffe feefeffe feefeffe feefeffe
15:37:02.878 -> 3ffffa30: feefeffe feefeffe feefeffe feefeffe
15:37:02.878 -> 3ffffa40: feefeffe feefeffe feefeffe feefeffe
15:37:02.878 -> 3ffffa50: feefeffe feefeffe feefeffe feefeffe
15:37:02.878 -> 3ffffa60: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffa70: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffa80: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffa90: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffaa0: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffab0: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffac0: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffad0: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffae0: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffaf0: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffb00: feefeffe feefeffe feefeffe feefeffe
15:37:02.925 -> 3ffffb10: feefeffe feefeffe feefeffe feefeffe
15:37:02.972 -> 3ffffb20: feefeffe feefeffe feefeffe feefeffe
15:37:02.972 -> 3ffffb30: feefeffe feefeffe feefeffe feefeffe
15:37:02.972 -> 3ffffb40: feefeffe feefeffe feefeffe feefeffe
15:37:02.972 -> 3ffffb50: feefeffe feefeffe feefeffe feefeffe
15:37:02.972 -> 3ffffb60: feefeffe feefeffe feefeffe 3ffe83c4
15:37:02.972 -> 3ffffb70: 4021d745 0000001c 00000020 40100d30
15:37:02.972 -> 3ffffb80: 40100f9e feefeffe 00000001 40100f90
15:37:02.972 -> 3ffffb90: feefeffe 0000001c 00000001 4021292c
15:37:02.972 -> 3ffffba0: 00000002 00000001 3ffe83c4 3ffe83c4
15:37:02.972 -> 3ffffbb0: 4021d745 00000018 00000020 40100d30
15:37:03.020 -> 3ffffbc0: 40100f9e feefeffe 00000001 40100f90
15:37:03.020 -> 3ffffbd0: 3ffffc04 00000018 00000001 4021292c
15:37:03.020 -> 3ffffbe0: 00000001 7fcb4000 3ffe83c4 4021d745
15:37:03.020 -> 3ffffbf0: 3fff0efc 3fff0efd 00000009 4021cac9
15:37:03.020 -> 3ffffc00: fffffff4 00000015 feefeffe feefeffe
15:37:03.020 -> 3ffffc10: 00000002 00000002 00000009 3fff0ed4
15:37:03.020 -> 3ffffc20: 44e20000 3e975b9d 3fff0ef4 0000000e
15:37:03.020 -> 3ffffc30: 00000000 00000003 00000008 00000000
15:37:03.020 -> 3ffffc40: 00000000 00000006 00000000 407b1c29
15:37:03.020 -> 3ffffc50: 00000002 00000000 00000000 feefeffe
15:37:03.066 -> 3ffffc60: 00000009 3fe88000 112a8800 3ffe83c4
15:37:03.066 -> 3ffffc70: 00000000 00000000 3ffffe10 4021e268
15:37:03.066 -> 3ffffc80: 3fff0ef7 3ffffda3 00000000 40217579
15:37:03.066 -> 3ffffc90: 3ffffd08 3ffffca4 3ffffca0 3ffe83c4 <
15:37:03.066 -> 3ffffca0: 00000006 3ffffd60 3ffffe10 4021e268
15:37:03.066 -> 3ffffcb0: 4021e1a4 3fff0ef7 00000006 3fff0efd
15:37:03.066 -> 3ffffcc0: feefeffe feefeffe feefeffe 00000006
15:37:03.066 -> 3ffffcd0: 3fff0ef4 3ffffd60 3ffe83c4 40217abd
15:37:03.066 -> 3ffffce0: 3ffffd0c 3ffffd08 00000066 3ffffd04
15:37:03.066 -> 3ffffcf0: 00000000 feefeffe feefeffe feefeffe
15:37:03.114 -> 3ffffd00: 3ffe8e2f 00000009 00000003 feefef00
15:37:03.114 -> 3ffffd10: 3ffffe10 4021e1a4 00000066 3ffe83c4
15:37:03.114 -> 3ffffd20: 00000001 00000000 3ffffe10 4021e268
15:37:03.114 -> 3ffffd30: ffffffff 3ffe8e2f 00000001 feefeffe
15:37:03.114 -> 3ffffd40: feefeffe feefeffe feefeffe 3ffe8e2f
15:37:03.114 -> 3ffffd50: 3ffe8e30 00000000 3ffffe10 4021e469
15:37:03.114 -> 3ffffd60: 00000400 00000006 00000000 00000000
15:37:03.114 -> 3ffffd70: 0000000a 0000001c fe302066 feefeffe
15:37:03.114 -> 3ffffd80: feefeffe feefeffe feefeffe feefeffe
15:37:03.114 -> 3ffffd90: feefeffe feefeffe feefeffe feefeffe
15:37:03.114 -> 3ffffda0: 00efeffe feefeffe 00000000 407b1c29
15:37:03.160 -> 3ffffdb0: feefeffe feefeffe 00000003 feefeffe
15:37:03.160 -> 3ffffdc0: 3fffff40 3fffff10 00000010 feefeffe
15:37:03.160 -> 3ffffdd0: 3fffff40 3fffff10 00000008 3ffe83c4
15:37:03.160 -> 3ffffde0: 0000000a 00000001 feefeffe feefeffe
15:37:03.160 -> 3ffffdf0: feefeffe feefeffe feefeffe 3fff009c
15:37:03.160 -> 3ffffe00: 3fffff10 3ffe83c4 00000040 4021b619
15:37:03.160 -> 3ffffe10: 3ffffedc feefeffe 00000023 ffff0208
15:37:03.160 -> 3ffffe20: 3ffffec0 0000003f feefeffe feefeffe
15:37:03.160 -> 3ffffe30: feefeffe feefeffe feefeffe feefeffe
15:37:03.160 -> 3ffffe40: feefeffe feefeffe feefeffe feefeffe
15:37:03.208 -> 3ffffe50: 3fff0064 00000008 3fffff20 4020e61c
15:37:03.208 -> 3ffffe60: feefeffe feefeffe feefeffe feefeffe
15:37:03.208 -> 3ffffe70: 00000000 0000001c 3ffffedb 402131e4
15:37:03.208 -> 3ffffe80: 3ffffedc 00000008 3fff009c 4021b655
15:37:03.208 -> 3ffffe90: 3fffff40 3fffff10 00000008 3fff0064
15:37:03.208 -> 3ffffea0: 00000008 3fffff20 3fffff20 4020e6a8
15:37:03.208 -> 3ffffeb0: 0007a120 00000001 00000000 40100600
15:37:03.208 -> 3ffffec0: 00000002 3ffffef0 3fff0064 3fff0064
15:37:03.208 -> 3ffffed0: 00000050 ffffff03 477064ff 14177500
15:37:03.208 -> 3ffffee0: 755e0770 177500ff 05877202 72004771
15:37:03.208 -> 3ffffef0: e7770187 3fffff10 3fff0064 4020106f
15:37:03.255 -> 3fffff00: 40105e7d 00000001 3fff0294 4020135c
15:37:03.255 -> 3fffff10: 0000010b 00000008 3fffff20 40201221 <
15:37:03.255 -> 3fffff20: ffffffff ffffffff 000000ff 3fff022c
15:37:03.255 -> 3fffff30: 3fff022c 55555555 55555555 40201471
15:37:03.255 -> 3fffff40: 0001c200 43d8e148 43d8e148 3fff022c
15:37:03.255 -> 3fffff50: 0000010b 43d8e148 3fff009c 402020b5
15:37:03.255 -> 3fffff60: 00000000 00000000 00000000 00000000
15:37:03.255 -> 3fffff70: 00000000 feefeffe feefeffe feefeffe
15:37:03.255 -> 3fffff80: 00000000 407b1c29 feefeffe feefeffe
15:37:03.255 -> 3fffff90: feefeffe feefeffe feefeffe 3fff022c
15:37:03.302 -> 3fffffa0: 3fffdad0 00000000 3fff0218 40211e8c
15:37:03.302 -> 3fffffb0: feefeffe feefeffe 3ffe8654 401003ad
15:37:03.302 -> <<<stack<<<
15:37:03.302 ->
15:37:03.302 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
15:37:03.302 ->
15:37:03.302 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
15:37:03.302 ->
15:37:03.302 -> load 0x4010f000, len 3460, room 16
15:37:03.302 -> tail 4
15:37:03.302 -> chksum 0xcc
15:37:03.302 -> load 0x3fff20b8, len 40, room 4
15:37:03.302 -> tail 4
15:37:03.302 -> chksum 0xc9
15:37:03.349 -> csum 0xc9
15:37:03.349 -> v0005af50
15:37:03.349 -> ~ld
15:37:03.396 ->
15:37:03.396 ->
15:37:03.396 -> Test frequency : 433.760010`Preformatted text`
There is your clue, your board resets for some reason.
I watched this video on youtube (Wasserzähler Itron Everblu Cyble mit ESP32 und CC1101 auslesen und in Home Assistant visualisieren - YouTube) and in his log you can see that the soft WDT reset is present but his scan works
Thanks for your help! I managed to get the decoder working and this are the results:
Decoding stack results
0x4020e688: SPIClass::transfer(void*, unsigned short) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SPI\SPI.cpp line 356
0x40201065: wiringPiSPIDataRW(int, unsigned char*, int) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 122
0x4020106f: wiringPiSPIDataRW(int, unsigned char*, int) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 123
0x40201124: halRfReadReg(unsigned char) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 194
0x402010e0: halRfWriteReg(unsigned char, unsigned char) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 158
0x402014db: cc1101_rec_mode() at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 422
0x40201686: receive_radian_frame(int, int, unsigned char*, int) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 653
0x402010e0: halRfWriteReg(unsigned char, unsigned char) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 158
0x40201977: get_meter_data() at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 795
0x4021d6bd: _Balloc at /workdir/repo/newlib/newlib/libc/stdlib/mprec.c line 128
0x40100d14: malloc(size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc\umm_malloc.cpp line 821
0x40100f82: calloc(size_t, size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc\umm_malloc.cpp line 1181
0x40100f74: calloc(size_t, size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc\umm_malloc.cpp line 1176
0x402128a4: _calloc_r(_reent*, size_t, size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\heap.cpp line 156
0x4021d6bd: _Balloc at /workdir/repo/newlib/newlib/libc/stdlib/mprec.c line 128
0x40100d14: malloc(size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc\umm_malloc.cpp line 821
0x40100f82: calloc(size_t, size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc\umm_malloc.cpp line 1181
0x40100f74: calloc(size_t, size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc\umm_malloc.cpp line 1176
0x402128a4: _calloc_r(_reent*, size_t, size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\heap.cpp line 156
0x4021d6bd: _Balloc at /workdir/repo/newlib/newlib/libc/stdlib/mprec.c line 128
0x4021ca41: _dtoa_r at /workdir/repo/newlib/newlib/libc/stdlib/dtoa.c line 853
0x4021e1e0: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 232
0x402174f1: __cvt at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf_float.c line 102
0x4021e1e0: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 232
0x4021e11c: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 182
0x40217a35: _printf_float at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf_float.c line 330
0x4021e11c: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 182
0x4021e1e0: __ssputs_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 232
0x4021e3e1: _svfprintf_r at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf.c line 528
0x4021b591: _vsnprintf_r at /workdir/repo/newlib/newlib/libc/stdio/vsnprintf.c line 71
0x4020e594: SPIClass::transferBytes_(unsigned char const*, unsigned char*, unsigned char) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SPI\SPI.cpp line 602
0x4021315c: uart_write(uart_t*, char const*, size_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\uart.cpp line 546
0x4021b5cd: vsnprintf at /workdir/repo/newlib/newlib/libc/stdio/vsnprintf.c line 40
0x4020e620: SPIClass::transferBytes(unsigned char const*, unsigned char*, unsigned int) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SPI\SPI.cpp line 539
0x401005e0: __digitalWrite(uint8_t, uint8_t) at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\core_esp8266_wiring_digital.cpp line 87
0x4020106f: wiringPiSPIDataRW(int, unsigned char*, int) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 123
0x4020135c: setMHZ(float) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 322
0x40201221: SPIWriteBurstReg(unsigned char, unsigned char*, unsigned char) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 230
0x40201471: cc1101_configureRF_0(float) at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/cc1101.cpp line 376
0x4020202d: setup() at C:\Users\vschi\Downloads\everblu-meters-esp8266-main\everblu-meters-esp8266-main\everblu-meters-esp8266/everblu-meters-esp8266.ino line 280
0x40211e04: loop_wrapper() at C:\Users\vschi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\core_esp8266_main.cpp line 198
I would try backward from the last line. It seems to be stuck in a loop and that causes to reset.
Is the C1101 wired correctly?
I cannot really remember the code how it initialize the C1101 and how it does the frequency check. Have you changed anything there by any chance?
The only thing I changed was the // I the code to search the frequency.
The wiring is according the instructions for the wemos d1
Once you find the frequency you must comment out the frequency section again. The section does not stay active.
I think maybe my board was corrupted. I flashed a esp32 and the scan is now working. Thanks guys!!
ps: i used this pins: https://raw.githubusercontent.com/LSatan/SmartRC-CC1101-Driver-Lib/50512abf62a4b86c457426f142ae05d1faff5aa3/img/Esp32_CC1101.png
Now wait for Monday and test it during working hours and see that does it find the right frequency.
A few months later but here’s how I did :
sudo apt update && apt install git -y
sudo git clone https://github.com/WiringPi/WiringPi.git
cd WiringPi
sudo ./build
And normally it’s good.
gpio -v → to check the version
I’ve tried 2 days in a row and it doesnt find anything. Maybe my meter isnt working?
When did you try it?
Can you share some logs?
I tried several times yesterday and today in working hours.
Test frequency : 433.761475
Test frequency : 433.761963
Test frequency : 433.762451
Test frequency : 433.762939
Test frequency : 433.763428
Test frequency : 433.763916
Test frequency : 433.764404
Test frequency : 433.764893
Test frequency : 433.765381
Test frequency : 433.765869
Test frequency : 433.766357
Test frequency : 433.766846
Test frequency : 433.767334
Test frequency : 433.767822
Test frequency : 433.768311
Test frequency : 433.768799
Test frequency : 433.769287
Test frequency : 433.769775
Test frequency : 433.770264
Test frequency : 433.770752
Test frequency : 433.771240
Test frequency : 433.771729
Test frequency : 433.772217
Test frequency : 433.772705
Test frequency : 433.773193
Test frequency : 433.773682
Test frequency : 433.774170
Test frequency : 433.774658
Test frequency : 433.775146
Test frequency : 433.775635
Test frequency : 433.776123
Test frequency : 433.776611
Test frequency : 433.777100
Test frequency : 433.777588
Test frequency : 433.778076
Test frequency : 433.778564
Test frequency : 433.779053
Test frequency : 433.779541
Test frequency : 433.780029
Test frequency : 433.780518
Test frequency : 433.781006
Test frequency : 433.781494
Test frequency : 433.781982
Test frequency : 433.782471
Test frequency : 433.782959
Test frequency : 433.783447
Test frequency : 433.783936
Test frequency : 433.784424
Test frequency : 433.784912
Test frequency : 433.785400
Test frequency : 433.785889
Test frequency : 433.786377
Test frequency : 433.786865
Test frequency : 433.787354
Test frequency : 433.787842
Test frequency : 433.788330
Test frequency : 433.788818
Test frequency : 433.789307
Test frequency : 433.789795
Test frequency : 433.790283
Test frequency : 433.790771
Test frequency : 433.791260
Test frequency : 433.791748
Test frequency : 433.792236
Test frequency : 433.792725
Test frequency : 433.793213
Test frequency : 433.793701
Test frequency : 433.794189
Test frequency : 433.794678
Test frequency : 433.795166
Test frequency : 433.795654
Test frequency : 433.796143
Test frequency : 433.796631
Test frequency : 433.797119
Test frequency : 433.797607
Test frequency : 433.798096
Test frequency : 433.798584
Test frequency : 433.799072
Test frequency : 433.799561
Test frequency : 433.800049
Test frequency : 433.800537
Test frequency : 433.801025
Test frequency : 433.801514
Test frequency : 433.802002
Test frequency : 433.802490
Test frequency : 433.802979
Test frequency : 433.803467
Test frequency : 433.803955
Test frequency : 433.804443
Test frequency : 433.804932
Test frequency : 433.805420
Test frequency : 433.805908
Test frequency : 433.806396
Test frequency : 433.806885
Test frequency : 433.807373
Test frequency : 433.807861
Test frequency : 433.808350
Test frequency : 433.808838
Test frequency : 433.809326
Test frequency : 433.809814
Test frequency : 433.810303
Test frequency : 433.810791
Test frequency : 433.811279
Test frequency : 433.811768
Test frequency : 433.812256
Test frequency : 433.812744
Test frequency : 433.813232
Test frequency : 433.813721
Test frequency : 433.814209
Test frequency : 433.814697
Test frequency : 433.815186
Test frequency : 433.815674
Test frequency : 433.816162
Test frequency : 433.816650
Test frequency : 433.817139
Test frequency : 433.817627
Test frequency : 433.818115
Test frequency : 433.818604
Test frequency : 433.819092
Test frequency : 433.819580
Test frequency : 433.820068
Test frequency : 433.820557
Test frequency : 433.821045
Test frequency : 433.821533
Test frequency : 433.822021
Test frequency : 433.822510
Test frequency : 433.822998
Test frequency : 433.823486
Test frequency : 433.823975
Test frequency : 433.824463
Test frequency : 433.824951
Test frequency : 433.825439
Test frequency : 433.825928
Test frequency : 433.826416
Test frequency : 433.826904
Test frequency : 433.827393
Test frequency : 433.827881
Test frequency : 433.828369
Test frequency : 433.828857
Test frequency : 433.829346
Test frequency : 433.829834
Test frequency : 433.830322
Test frequency : 433.830811
Test frequency : 433.831299
Test frequency : 433.831787
Test frequency : 433.832275
Test frequency : 433.832764
Test frequency : 433.833252
Test frequency : 433.833740
Test frequency : 433.834229
Test frequency : 433.834717
Test frequency : 433.835205
Test frequency : 433.835693
Test frequency : 433.836182
Test frequency : 433.836670
Test frequency : 433.837158
Test frequency : 433.837646
Test frequency : 433.838135
Test frequency : 433.838623
Test frequency : 433.839111
Test frequency : 433.839600
Test frequency : 433.840088
Test frequency : 433.840576
Test frequency : 433.841064
Test frequency : 433.841553
Test frequency : 433.842041
Test frequency : 433.842529
Test frequency : 433.843018
Test frequency : 433.843506
Test frequency : 433.843994
Test frequency : 433.844482
Test frequency : 433.844971
Test frequency : 433.845459
Test frequency : 433.845947
Test frequency : 433.846436
Test frequency : 433.846924
Test frequency : 433.847412
Test frequency : 433.847900
Test frequency : 433.848389
Test frequency : 433.848877
Test frequency : 433.849365
Test frequency : 433.849854
Test frequency : 433.850342
Test frequency : 433.850830
Test frequency : 433.851318
Test frequency : 433.851807
Test frequency : 433.852295
Test frequency : 433.852783
Test frequency : 433.853271
Test frequency : 433.853760
Test frequency : 433.854248
Test frequency : 433.854736
Test frequency : 433.855225
Test frequency : 433.855713
Test frequency : 433.856201
Test frequency : 433.856689
Test frequency : 433.857178
Test frequency : 433.857666
Test frequency : 433.858154
Test frequency : 433.858643
Test frequency : 433.859131
Test frequency : 433.859619
Test frequency : 433.860107
Test frequency : 433.860596
Test frequency : 433.861084
Test frequency : 433.861572
Test frequency : 433.862061
Test frequency : 433.862549
Test frequency : 433.863037
Test frequency : 433.863525
Test frequency : 433.864014
Test frequency : 433.864502
Test frequency : 433.864990
Test frequency : 433.865479
Test frequency : 433.865967
Test frequency : 433.866455
Test frequency : 433.866943
Test frequency : 433.867432
Test frequency : 433.867920
Test frequency : 433.868408
Test frequency : 433.868896
Test frequency : 433.869385
Test frequency : 433.869873
Test frequency : 433.870361
Test frequency : 433.870850
Test frequency : 433.871338
Test frequency : 433.871826
Test frequency : 433.872314
Test frequency : 433.872803
Test frequency : 433.873291
Test frequency : 433.873779
Test frequency : 433.874268
Test frequency : 433.874756
Test frequency : 433.875244
Test frequency : 433.875732
Test frequency : 433.876221
Test frequency : 433.876709
Test frequency : 433.877197
Test frequency : 433.877686
Test frequency : 433.878174
Test frequency : 433.878662
Test frequency : 433.879150
Test frequency : 433.879639
Test frequency : 433.880127
Test frequency : 433.880615
Test frequency : 433.881104
Test frequency : 433.881592
Test frequency : 433.882080
Test frequency : 433.882568
Test frequency : 433.883057
Test frequency : 433.883545
Test frequency : 433.884033
Test frequency : 433.884521
Test frequency : 433.885010
Test frequency : 433.885498
Test frequency : 433.885986
Test frequency : 433.886475
Test frequency : 433.886963
Test frequency : 433.887451
Test frequency : 433.887939
Test frequency : 433.888428
Test frequency : 433.888916
Test frequency : 433.889404
Test frequency : 433.889893
You should turn on a bit more logging. There is a constant what has to be changed in the beginning of one of the files for “verbose” logging.
And I would change the frequency step to 2.5kHz to run it quicker. Maybe change the frequency range to a larger one.
I cannot remember how it worked on mine.
should i change
uint8_t debug_out = 0;
to
uint8_t debug_out = 1;
??
Yes, and it will turn on debug logging.
And will add more output to your log.
Thanks for your help @GSzabados. This are my logs: Medidor/logs.txt at f305b0d1b9e9aaa640eed6fa7971f6cb3a154ef4 · vschild/Medidor · GitHub
How far are you from the meter?
Can’t you get an RTL-SDR to see that the meter even replies?
Have you fulfilled correctly the meter details? Serial and Production Date?