Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WORKAROUND FOUND] ESPHome 2024.5.0 Breaks Tag Reader #261

Open
gdst4rp opened this issue May 19, 2024 · 17 comments
Open

[WORKAROUND FOUND] ESPHome 2024.5.0 Breaks Tag Reader #261

gdst4rp opened this issue May 19, 2024 · 17 comments

Comments

@gdst4rp
Copy link

gdst4rp commented May 19, 2024

With the update to 2024.5.0 simply scanning a tag that worked just fine in earlier versions, causes the the NFC tag reader to reboot.

Initial sound is played, LED light turns on, but nothing happens and Home Assistant doesn't register the tag scan event. The device then reboots and plays the bootup sound sequence.

[10:11:34][C][improv_serial:032]: Improv Serial:
[10:11:34][C][wifi_info:011]: WifiInfo SSID 'NFC Master Bathroom Connected SSID'
[10:11:34][C][wifi_info:011]: Icon: 'mdi:wifi-strength-2'
[10:11:34][C][wifi_info:009]: WifiInfo IPAddress 'NFC Master Bathroom IP Address'
[10:11:34][C][wifi_info:009]: Icon: 'mdi:wifi'
[TAG SCANNED HERE]
WARNING nfc-master-bathroom @ 192.168.XX.XX: Connection error occurred: [Errno 104] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for nfc-master-bathroom @ 192.168.XX.XX
WARNING Disconnected from API
INFO Successfully connected to nfc-master-bathroom @ 192.168.XX.XX in 0.006s
INFO Successful handshake with nfc-master-bathroom @ 192.168.XX.XX in 0.027s

@gdst4rp
Copy link
Author

gdst4rp commented May 25, 2024

More details, and still broken as of ESPHome 2024.5.3. Here's what I get from the local USB connected logs when I scan a tag.

[09:04:56]
[09:04:56]User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

[09:04:56]Unhandled C++ exception: OOM
[09:04:56]
[09:04:56]>>>stack>>>
[09:04:56]
[09:04:56]ctx: cont
[09:04:56]sp: 3ffff890 end: 3fffffd0 offset: 0010
[09:04:56]3ffff8a0: 3fffaeb0 4020fc2b 000000ca 40233db4
[09:04:56]3ffff8b0: 00000000 3fffaf2c 3fffb1ec 40245959
[09:04:56]3ffff8c0: 000000c9 3fffaebc 3fffb19c 40210e98
[09:04:56]3ffff8d0: 3fffaebc 3ffff8f0 3fffb19c 402112d9
[09:04:56]3ffff8e0: 3fffaeb4 3fffb174 3fffb0ec 4020fe88
[09:04:56]3ffff8f0: 3fffabc8 40245959 00000020 4010185c
[09:04:56]3ffff900: 00000010 3f800000 3fffae5c 00000096
[09:04:56]3ffff910: 00000000 40223940 00000020 4010185c
[09:04:56]3ffff920: 00000014 3f800000 00000050 00000096
[09:04:56]3ffff930: 3ffff9c4 3fff61dc 3fffb0e4 40223951
[09:04:56]3ffff940: 40220c40 00000000 3fffae5c 3fffae63
[09:04:56]3ffff950: 3fffae63 3fffae6c 00000010 0000001e
[09:04:56]3ffff960: 3fff47d8 0000004e 00000074 3fffae94
[09:04:56]3ffff970: 3fffb0ac 3fffb0c4 00000014 00000014
[09:04:56]3ffff980: 3f800000 00000023 3f800000 3fff61dc
[09:04:56]3ffff990: 40220c40 00000000 3fffa94c 3fffa953
[09:04:56]3ffff9a0: 3fffa953 3fffa95c 00000010 0000001e
[09:04:56]3ffff9b0: 3fff3c90 3fff47ac 3fff3c8c 3fffa984
[09:04:56]3ffff9c0: 3fffab9c 3fffabb4 00000014 00000014
[09:04:56]3ffff9d0: 3fffa738 4020fc2b 00000020 3fff61dc
[09:04:56]3ffff9e0: 3fffabf4 3fffabfb 3fffabfb 3fffac04
[09:04:56]3ffff9f0: 00000010 0000001e 00000020 4010185c
[09:04:56]3ffffa00: 3fffa91c 3fffac2c 3fffae44 3fffabd4
[09:04:56]3ffffa10: 00000014 00000014 3ffffa70 4020fef4
[09:04:56]3ffffa20: 00000000 00000000 3fffa934 00000000
[09:04:56]3ffffa30: 00000010 4020fc2b 3fffa45c 40233d9f
[09:04:56]3ffffa40: 00000000 3fffa43c 3ffffa9c 40245959
[09:04:56]3ffffa50: 00000014 4020fec3 00000020 40220508
[09:04:56]3ffffa60: 3ffffad0 402238a8 3fff61dc 40220c7a
[09:04:56]3ffffa70: 3fffa6e4 3fffa6eb 3fffa6eb 3fffa6f4
[09:04:56]3ffffa80: 00000010 0000001e 3fffa6ac 4010185c
[09:04:56]3ffffa90: 00000010 3fffa71c 3fffa934 3fffa6c4
[09:04:56]3ffffaa0: 00000014 00000014 3ffffb28 40245959
[09:04:56]3ffffab0: 00000014 3fff92cb 3fff92cb 40220508
[09:04:56]3ffffac0: 3ffffc6c 3ffffb70 3fff420c 40220d3e
[09:04:56]3ffffad0: 3fffa45c 3fffa463 3fffa463 3fffa46c
[09:04:56]3ffffae0: 00000010 0000001e 00000010 3fff9d3c
[09:04:56]3ffffaf0: 3fff9d3c 3fffa494 3fffa6ac 3fffa1d4
[09:04:56]3ffffb00: 3fffa1db 3fffa1db 3fffa1e4 00000010
[09:04:56]3ffffb10: 0000001e 3fff9fa4 3ffffb70 4020fef4
[09:04:56]3ffffb20: 3fffa20c 3fffa424 3fffa43c 00000014
[09:04:56]3ffffb30: 00000014 4020fc2b 3fff9ce4 40233d9f
[09:04:56]3ffffb40: 3fff9f4c 00000014 00000014 40245959
[09:04:56]3ffffb50: 00000014 4020fec3 00000020 40220508
[09:04:56]3ffffb60: 3ffffc6c 3ffffbd0 3fff61bc 4022053c
[09:04:56]3ffffb70: 3fff9f6c 3fff9f73 3fff9f73 3fff9f7c
[09:04:56]3ffffb80: 00000010 0000001e 3fff9f34 4010185c
[09:04:56]3ffffb90: 00000010 3fff9fa4 3fffa1bc 3ffffba4
[09:04:56]3ffffba0: 00000000 00000000 3ffffbfc 40245959
[09:04:56]3ffffbb0: 00000014 3fff923c 00000010 40220508
[09:04:56]3ffffbc0: 3ffffc6c 3ffffc40 3fff61bc 40220da1
[09:04:56]3ffffbd0: 3fff9ce4 3fff9ceb 3fff9ceb 3fff9cf4
[09:04:56]3ffffbe0: 00000010 0000001e 3ffffc40 4020fef4
[09:04:56]3ffffbf0: 00000000 3fff9d1c 3fff9f34 3fff9cc4
[09:04:56]3ffffc00: 00000014 00000014 3fff93f4 40233d9f
[09:04:56]3ffffc10: 00000000 3fff901c 3ffffc6c 40245959
[09:04:56]3ffffc20: 00000014 4020fec3 00000020 40223ab4
[09:04:56]3ffffc30: 3ffffca0 40220d68 3fff61bc 40220c7a
[09:04:57]3ffffc40: 3fff9294 3fff929b 3fff929b 3fff9a6c
[09:04:57]3ffffc50: 00000010 0000001e 3fff927c 4010185c
[09:04:57]3ffffc60: 00000010 3fff9a94 3fff9cac 3fff9a4c
[09:04:57]3ffffc70: 00000014 00000014 3ffffccc 40245959
[09:04:57]3ffffc80: 00000014 00000020 3fff901c 40223ab4
[09:04:57]3ffffc90: 3ffffd3c 3ffffd10 3fff6044 40220dc6
[09:04:57]3ffffca0: 3fff93f4 3fff93fb 3fff93fb 3fff903c
[09:04:57]3ffffcb0: 00000010 0000001e 3ffffd10 4020fef4
[09:04:57]3ffffcc0: 00000000 3fff9064 3fff927c 3fff901c
[09:04:57]3ffffcd0: 00000014 00000014 3fff8b2c 40233d9f
[09:04:57]3ffffce0: 00000000 3fff8b0c 3ffffd3c 40245959
[09:04:57]3ffffcf0: 00000014 4020fec3 00000020 00000001
[09:04:57]3ffffd00: 3ffffd70 40220d68 3fff6044 40225458
[09:04:57]3ffffd10: 3fff8db4 3fff8dbb 3fff8dbb 3fff8dc4
[09:04:57]3ffffd20: 00000010 0000001e 3fff8d7c 4010185c
[09:04:57]3ffffd30: 00000010 3fff8dec 3fff9004 3fff8d94
[09:04:57]3ffffd40: 00000014 00000014 3ffffd9c 40245959
[09:04:57]3ffffd50: 00000014 00000020 3fff8b0c 00000001
[09:04:57]3ffffd60: 3ffffea0 3ffffdf0 3fff420c 40225536
[09:04:57]3ffffd70: 3fff8b2c 3fff8b33 3fff8b33 3fff8b3c
[09:04:57]3ffffd80: 00000010 0000001e 00000010 40233d9f
[09:04:57]3ffffd90: 3fff8674 3fff8b64 3fff8d7c 3fff8b0c
[09:04:57]3ffffda0: 00000014 00000014 3fff8af4 4010185c
[09:04:57]3ffffdb0: 00000010 00000bcc 3fff861c 40233d9f
[09:04:57]3ffffdc0: 402394c0 3fff85fc 3ffffea0 40245959
[09:04:57]3ffffdd0: 00000014 00000020 3fff746c 3fff41e8
[09:04:57]3ffffde0: 00000001 40225474 3fff420c 4020ff8b
[09:04:57]3ffffdf0: 3fff88a4 3fff88ab 3fff88ab 3fff88b4
[09:04:57]3ffffe00: 00000010 0000001e 3ffffe10 00000000 <
[09:04:57]3ffffe10: 3ffffe00 3fff88dc 3fff8af4 3fff861c
[09:04:57]3ffffe20: 3fff8623 3fff8623 3fff862c 00000010
[09:04:57]3ffffe30: 0000001e 00676b70 3fff746c 3fff748e
[09:04:57]3ffffe40: 3fff8654 3fff886c 3fff74ac 3fff74b3
[09:04:57]3ffffe50: 3fff74b3 3fff82e4 00000010 0000001e
[09:04:57]3ffffe60: 3fffff28 4021491d 00000020 3fff7a2c
[09:04:57]3ffffe70: 3fff8444 3fff7484 3fff748b 3fff748b
[09:04:57]3ffffe80: 3fff79b4 00000010 0000001e 4021496d
[09:04:57]3ffffe90: 3fff19f4 00000010 3fff802c 3fff79f4
[09:04:57]3ffffea0: 3fff8884 00000014 00000014 3fff7dda
[09:04:57]3ffffeb0: 3fff7de4 00000000 3fff85fc 00000014
[09:04:57]3ffffec0: 00000014 3ffffed0 00000010 40214bbe
[09:04:57]3ffffed0: 3fff7a0c 00000014 00000014 402130c8
[09:04:57]3ffffee0: 00000080 3fffbff3 3fff7994 00000014
[09:04:57]3ffffef0: 00000014 3fffff40 3fffff28 402131a0
[09:04:57]3fffff00: 00000001 3fff41e4 3fff416c 40213386
[09:04:57]3fffff10: 3fffdad0 3fff04a8 3fff04a8 4021dd17
[09:04:57]3fffff20: 4026f026 3fff3944 3fffbfec 3fffbff3
[09:04:57]3fffff30: 3fffbff3 3fffbebc 3fffbec9 3fffbed3
[09:04:57]3fffff40: 3fff7dec 0002b7ee 07ef9db2 0324ab39
[09:04:57]3fffff50: 3fffbec9 3fffbec2 3fff04a8 3fff416c
[09:04:57]3fffff60: 3fff77b0 3fff416c 3fffff80 3fff416c
[09:04:57]3fffff70: 3fff77b0 00000002 3fff04a8 4021adaa
[09:04:57]3fffff80: 0002b7ee 3fff416c 3fff6ba4 3fff0cf0
[09:04:57]3fffff90: 3fff77e0 3fff42dc 3fff04dc 3fff0cf0
[09:04:57]3fffffa0: 3fffdad0 00000000 3fff0cc4 3fff0cf0
[09:04:57]3fffffb0: 3fffdad0 00000000 3fff0cc4 40234368
[09:04:57]3fffffc0: feefeffe feefeffe 3fffdab0 40100561
[09:04:57]<<<stack<<<
[09:04:57]
[09:04:57]last failed alloc call: 40245959(202)
[09:04:57]
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

@gdst4rp
Copy link
Author

gdst4rp commented May 26, 2024

Even more info, stack trace from the HA server with local ESP8266 tag reader connected via USB.

[09:32:47]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[09:32:47]
[09:32:47]Unhandled C++ exception: OOM
[09:32:47]
[09:32:47]>>>stack>>>
WARNING Found stack trace! Trying to decode it
[09:32:47]
[09:32:47]ctx: cont
[09:32:47]sp: 3ffff650 end: 3fffffd0 offset: 0010
[09:32:47]3ffff660: 000000c9 00000000 00000050 4022c394
WARNING Decoded 0x4022c394: operator new(unsigned int)
[09:32:47]3ffff670: 3fffb0a4 3fffae34 3ffff6e0 4020f885
WARNING Decoded 0x4020f885: esphome::nfc::NdefRecord::clone() const
[09:32:47]3ffff680: 3fffacd4 3fffaf3c 3ffff6e0 4020f560
WARNING Decoded 0x4020f560: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:47]3ffff690: 00000000 4023aed1 00000020 4010178c
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
WARNING Decoded 0x4010178c: malloc
[09:32:47]3ffff6a0: 00000010 3fff0a44 3fffac7c 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:47]3ffff6b0: 00000000 3fffac5c 3ffff70c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:47]3ffff6c0: 00000014 4020f303 00000020 3fff5ce4
WARNING Decoded 0x4020f303: std::__shared_ptr<esphome::nfc::NdefRecord, (__gnu_cxx::_Lock_policy)0>::__shared_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord, void>(std::unique_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord >&&)
[09:32:47]3ffff6d0: 3ffff78c 3ffff760 3fff5cf4 40224153
WARNING Decoded 0x40224153: esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:47]3ffff6e0: 3fffaf04 3fffaf0b 3fffaf0b 3fffaf14
[09:32:47]3ffff6f0: 00000010 0000001e 00000010 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:47]3ffff700: 3fffaa4c 00000000 00000000 3fffaee4
[09:32:47]3ffff710: 00000014 00000014 3fffaecc 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:47]3ffff720: 00000010 4020f303 3fffa9f4 4022c37f
WARNING Decoded 0x4020f303: std::__shared_ptr<esphome::nfc::NdefRecord, (__gnu_cxx::_Lock_policy)0>::_shared_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord, void>(std::unique_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord >&&)
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:47]3ffff730: 40230aac 3fffa9d4 3ffff78c 4023aed1
WARNING Decoded 0x40230aac: esphome::switch
::SwitchCondition<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::check(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:47]3ffff740: 00000014 4020f59b 00000020 4021f248
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:47]3ffff750: 3ffff7c0 4022411c 3fff5cf4 4021f9ba
WARNING Decoded 0x4022411c: esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4021f9ba: esphome::Action<std::_cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_next(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:47]3ffff760: 3fffac7c 3fffac83 3fffac83 3fffac8c
[09:32:47]3ffff770: 00000010 0000001e 3fffac44 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:47]3ffff780: 00000010 3fffacb4 3fffaecc 3fffac5c
[09:32:47]3ffff790: 00000014 00000014 3ffff818 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:47]3ffff7a0: 00000014 3fff943c 3fff9a64 4021f248
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:47]3ffff7b0: 3ffff95c 3ffff860 3fff59ec 4021fa16
WARNING Decoded 0x4021fa16: std::_Function_handler<void (std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag), esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::add_else(std::vector<esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>, std::allocator<esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>> > const&)::{lambda(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)#1}>::_M_invoke(std::_Any_data const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&&, esphome::nfc::NfcTag&&)
[09:32:47]3ffff7c0: 3fffa9f4 3fffa9fb 3fffa9fb 3fffaa04
[09:32:47]3ffff7d0: 00000010 0000001e 00000010 3fffa2d4
[09:32:47]3ffff7e0: 3fffa2d4 3fffaa2c 3fffac44 3fffa76c
[09:32:47]3ffff7f0: 3fffa773 3fffa773 3fffa77c 00000010
[09:32:47]3ffff800: 0000001e 3fffa53c 3ffff860 4020f5b7
WARNING Decoded 0x4020f5b7: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:47]3ffff810: 3fffa7a4 3fffa9bc 3fffa9d4 00000014
[09:32:47]3ffff820: 00000014 4020f303 3fffa27c 4022c37f
WARNING Decoded 0x4020f303: std::__shared_ptr<esphome::nfc::NdefRecord, (__gnu_cxx::_Lock_policy)0>::__shared_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord, void>(std::unique_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord >&&)
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:48]3ffff830: 3fffa4e4 00000014 00000014 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:48]3ffff840: 00000014 4020f59b 00000020 4021f248
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffff850: 3ffff95c 3ffff8c0 3fff5cc4 4021f27c
WARNING Decoded 0x4021f27c: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffff860: 3fffa504 3fffa50b 3fffa50b 3fffa514
[09:32:48]3ffff870: 00000010 0000001e 3fffa4cc 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:48]3ffff880: 00000010 3fffa53c 3fffa754 3ffff894
[09:32:48]3ffff890: 00000000 00000000 3ffff8ec 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:48]3ffff8a0: 00000014 3fff9f7c 00000010 4021f248
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffff8b0: 3ffff95c 3ffff930 3fff5cc4 4021fae1
WARNING Decoded 0x4021fae1: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffff8c0: 3fffa27c 3fffa283 3fffa283 3fffa28c
[09:32:48]3ffff8d0: 00000010 0000001e 3ffff930 4020f5b7
WARNING Decoded 0x4020f5b7: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:48]3ffff8e0: 00000000 3fffa2b4 3fffa4cc 3fffa25c
[09:32:48]3ffff8f0: 00000014 00000014 3fff9d6c 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:48]3ffff900: 00000000 3fff9d4c 3ffff95c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:48]3ffff910: 00000014 4020f59b 00000020 4021f248
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffff920: 3ffff990 4021faa8 3fff5cc4 4021f9ba
WARNING Decoded 0x4021faa8: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4021f9ba: esphome::Action<std::_cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_next(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffff930: 3fff9ff4 3fff9ffb 3fff9ffb 3fffa004
[09:32:48]3ffff940: 00000010 0000001e 3fff9fbc 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:48]3ffff950: 00000010 3fffa02c 3fffa244 3fff9fd4
[09:32:48]3ffff960: 00000014 00000014 3ffff9e8 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:48]3ffff970: 00000014 0000007f 3ffe85e4 4021f248
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffff980: 3ffffb2c 3ffffa30 3fff5b14 4021fa7e
WARNING Decoded 0x4021fa7e: std::_Function_handler<void (std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag), esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::add_then(std::vector<esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>, std::allocator<esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>> > const&)::{lambda(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)#1}>::_M_invoke(std::_Any_data const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&&, esphome::nfc::NfcTag&&)
[09:32:48]3ffff990: 3fff9d6c 3fff9d73 3fff9d73 3fff9d7c
[09:32:48]3ffff9a0: 00000010 0000001e 00000010 3fff8974
[09:32:48]3ffff9b0: 3fff8974 3fff9da4 3fff9fbc 3fff9ae4
[09:32:48]3ffff9c0: 3fff9aeb 3fff9aeb 3fff9af4 00000010
[09:32:48]3ffff9d0: 0000001e 3fff8bdc 3ffffa30 4020f5b7
WARNING Decoded 0x4020f5b7: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:48]3ffff9e0: 3fff9b1c 3fff9d34 3fff9d4c 00000014
[09:32:48]3ffff9f0: 00000014 4020f303 3fff891c 4022c37f
WARNING Decoded 0x4020f303: std::__shared_ptr<esphome::nfc::NdefRecord, (__gnu_cxx::_Lock_policy)0>::__shared_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord, void>(std::unique_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord >&&)
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:48]3ffffa00: 3fff8b84 00000014 00000014 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:48]3ffffa10: 00000014 4020f59b 00000020 4021f248
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffffa20: 3ffffb2c 3ffffa90 3fff5c04 4021f27c
WARNING Decoded 0x4021f27c: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffffa30: 3fff8ba4 3fff8bab 3fff8bab 3fff8bb4
[09:32:48]3ffffa40: 00000010 0000001e 3fff8b6c 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:48]3ffffa50: 00000010 3fff8bdc 3fff9acc 3ffffa64
[09:32:48]3ffffa60: 00000000 00000000 3ffffabc 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:48]3ffffa70: 00000014 3fff90a4 00000010 4021f248
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffffa80: 3ffffb2c 3ffffb00 3fff5c04 4021fae1
WARNING Decoded 0x4021fae1: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:48]3ffffa90: 3fff891c 3fff8923 3fff8923 3fff892c
[09:32:48]3ffffaa0: 00000010 0000001e 3ffffb00 4020f5b7
WARNING Decoded 0x4020f5b7: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:48]3ffffab0: 00000000 3fff8954 3fff8b6c 3fff88fc
[09:32:48]3ffffac0: 00000014 00000014 3fff82c4 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:48]3ffffad0: 00000000 3fff82a4 3ffffb2c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:48]3ffffae0: 00000014 4020f59b 00000020 4022221c
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
WARNING Decoded 0x4022221c: esphome::api::HomeAssistantServiceCallAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffaf0: 3ffffb60 4021faa8 3fff5c04 4021f9ba
WARNING Decoded 0x4021faa8: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4021f9ba: esphome::Action<std::_cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_next(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffb00: 3fff911c 3fff9123 3fff9123 3fff912c
[09:32:49]3ffffb10: 00000010 0000001e 3fff90e4 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:49]3ffffb20: 00000010 3fff9154 3fff88e4 3fff90fc
[09:32:49]3ffffb30: 00000014 00000014 3ffffb8c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:49]3ffffb40: 00000014 00000020 3fff884c 4022221c
WARNING Decoded 0x4022221c: esphome::api::HomeAssistantServiceCallAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffb50: 3ffffbfc 3ffffbd0 3fff5b3c 4021fb06
WARNING Decoded 0x4021fb06: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffb60: 3fff82c4 3fff82cb 3fff82cb 3fff82d4
[09:32:49]3ffffb70: 00000010 0000001e 3ffffbd0 4020f5b7
WARNING Decoded 0x4020f5b7: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:49]3ffffb80: 00000000 3fff82fc 3fff90e4 3fff82a4
[09:32:49]3ffffb90: 00000014 00000014 3fff835c 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:49]3ffffba0: 00000000 3fff833c 3ffffbfc 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:49]3ffffbb0: 00000014 4020f59b 00000020 00000001
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:49]3ffffbc0: 3ffffc30 4021faa8 3fff5b3c 40224100
WARNING Decoded 0x4021faa8: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x40224100: esphome::ActionList<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffbd0: 3fff85e4 3fff85eb 3fff85eb 3fff85f4
[09:32:49]3ffffbe0: 00000010 0000001e 3fff85ac 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:49]3ffffbf0: 00000010 3fff861c 3fff8834 3fff85c4
[09:32:49]3ffffc00: 00000014 00000014 3ffffc5c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:49]3ffffc10: 00000014 00000020 3fff833c 00000001
[09:32:49]3ffffc20: 3ffffcdc 3ffffcb0 3fff5b14 402241de
WARNING Decoded 0x402241de: esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffc30: 3fff835c 3fff8363 3fff8363 3fff836c
[09:32:49]3ffffc40: 00000010 0000001e 00000010 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:49]3ffffc50: 3fffb81c 3fff8394 3fff85ac 3fff833c
[09:32:49]3ffffc60: 00000014 00000014 3fffbc9c 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:49]3ffffc70: 00000010 4020f303 3fffb7c4 4022c37f
WARNING Decoded 0x4020f303: std::__shared_ptr<esphome::nfc::NdefRecord, (__gnu_cxx::_Lock_policy)0>::__shared_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord, void>(std::unique_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord >&&)
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:49]3ffffc80: 4021f298 3fffb7a4 3ffffcdc 4023aed1
WARNING Decoded 0x4021f298: esphome::LambdaCondition<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::check(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:49]3ffffc90: 00000014 4020f59b 00000020 00000000
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:49]3ffffca0: 3ffffd10 4022411c 3fff5b14 40224100
WARNING Decoded 0x4022411c: esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x40224100: esphome::ActionList<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffcb0: 3fffba4c 3fffba53 3fffba53 3fffba5c
[09:32:49]3ffffcc0: 00000010 0000001e 3fffba14 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:49]3ffffcd0: 00000010 3fffba84 3fffbc9c 3fffba2c
[09:32:49]3ffffce0: 00000014 00000014 3ffffd3c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:49]3ffffcf0: 00000014 00000020 3fffb7a4 00000000
[09:32:49]3ffffd00: 3ffffdbc 3ffffd90 3fff59ec 402241de
WARNING Decoded 0x402241de: esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:49]3ffffd10: 3fffb7c4 3fffb7cb 3fffb7cb 3fffb7d4
[09:32:49]3ffffd20: 00000010 0000001e 00000010 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:49]3ffffd30: 3fffbeac 3fffb7fc 3fffba14 3fffb7a4
[09:32:49]3ffffd40: 00000014 00000014 3fffb78c 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:49]3ffffd50: 00000010 4020f303 3fffbe54 4022c37f
WARNING Decoded 0x4020f303: std::__shared_ptr<esphome::nfc::NdefRecord, (__gnu_cxx::_Lock_policy)0>::__shared_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord, void>(std::unique_ptr<esphome::nfc::NdefRecord, std::default_deleteesphome::nfc::NdefRecord >&&)
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:49]3ffffd60: 4021f298 3fffbe34 3ffffdbc 4023aed1
WARNING Decoded 0x4021f298: esphome::LambdaCondition<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::check(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:49]3ffffd70: 00000014 4020f59b 00000020 4021f248
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:50]3ffffd80: 3ffffdf0 4022411c 3fff59ec 4021f9ba
WARNING Decoded 0x4022411c: esphome::IfAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4021f9ba: esphome::Action<std::_cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_next(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:50]3ffffd90: 3fffb53c 3fffb543 3fffb543 3fffb54c
[09:32:50]3ffffda0: 00000010 0000001e 3fffb504 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:50]3ffffdb0: 00000010 3fffb574 3fffb78c 3fffb51c
[09:32:50]3ffffdc0: 00000014 00000014 3ffffe1c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:50]3ffffdd0: 00000014 00000020 3fffb454 4021f248
WARNING Decoded 0x4021f248: esphome::LambdaAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:50]3ffffde0: 3ffffe8c 3ffffe60 3fff59b4 4021fb06
WARNING Decoded 0x4021fb06: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:50]3ffffdf0: 3fffbe54 3fffbe5b 3fffbe5b 3fffbe64
[09:32:50]3ffffe00: 00000010 0000001e 3ffffe60 4020f5b7
WARNING Decoded 0x4020f5b7: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:50]3ffffe10: 00000000 3fffbe8c 3fffb504 3fffbe34
[09:32:50]3ffffe20: 00000014 00000014 3fff754c 4022c37f
WARNING Decoded 0x4022c37f: operator new(unsigned int)
[09:32:50]3ffffe30: 00000000 3fff801c 3ffffe8c 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:50]3ffffe40: 00000014 4020f59b 00000020 3fffb3d4
WARNING Decoded 0x4020f59b: esphome::nfc::NfcTag::NfcTag(esphome::nfc::NfcTag const&)
[09:32:50]3ffffe50: 3ffffec0 4021faa8 3fff59b4 4021f9ba
WARNING Decoded 0x4021faa8: esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_complex(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4021f9ba: esphome::Action<std::_cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_next(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
[09:32:50]3ffffe60: 3fff827c 3fff8283 3fff8283 3fff79cc
[09:32:50]3ffffe70: 00000010 0000001e 3fff7994 4010178c
WARNING Decoded 0x4010178c: malloc
[09:32:50]3ffffe80: 00000010 3fff79f4 3fffb43c 3fff79ac
[09:32:50]3ffffe90: 00000014 00000014 3ffffeec 4023aed1
WARNING Decoded 0x4023aed1: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_data(char*) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:181
(inlined by) void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:221
[09:32:50]3ffffea0: 00000014 003f5028 19581062 3fffb3d4
[09:32:50]3ffffeb0: 3fffb11c 3fff58ec 4021f980 4021f22c
WARNING Decoded 0x4021f980: esphome::Action<std::_cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::play_next(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)
WARNING Decoded 0x4021f22c: std::_Function_handler<void (), std::_Bind<void (esphome::Action<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>::(esphome::DelayAction<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag>, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag))(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, esphome::nfc::NfcTag)> >::_M_invoke(std::_Any_data const&)
[09:32:50]3ffffec0: 3fff754c 3fff7553 3fff7553 3fff823c
[09:32:50]3ffffed0: 00000010 0000001e 3fff92d4 4020acbd
WARNING Decoded 0x4020acbd: esphome::light::LightTransformer::is_finished()
[09:32:50]3ffffee0: 00000010 3fff6c84 3fff7994 3fff801c
[09:32:50]3ffffef0: 00000014 00000014 3fff0530 3fffb3d4
[09:32:50]3fffff00: 00000000 3fff58f8 3fffff30 4021b434
WARNING Decoded 0x4021b434: esphome::WarnIfComponentBlockingGuard::WarnIfComponentBlockingGuard(esphome::Component*)
[09:32:50]3fffff10: 00000000 3ffefd30 3fff8214 4021cac0
WARNING Decoded 0x4021cac0: esphome::Scheduler::call()
[09:32:50]3fffff20: 0457e39d 3fff0530 00000008 00000008
[09:32:50]3fffff30: 0457e3a5 3fff58f8 0457e39d 4022c6e9
WARNING Decoded 0x4022c6e9: esp_try_delay(unsigned int, unsigned int, unsigned int)
[09:32:50]3fffff40: 00000010 003f5028 7c6a7efa 4934aed0
[09:32:50]3fffff50: 0457e3a5 3fff8214 3ffefd30 3fff356c
[09:32:50]3fffff60: 0457e39d 0457e39d 00000008 3fff0558
[09:32:50]3fffff70: 3fffdad0 00000000 3ffefd30 40219ac9
WARNING Decoded 0x40219ac9: esphome::Application::loop()
[09:32:50]3fffff80: 00000000 00000008 3fff62bc 3fff0558
[09:32:50]3fffff90: 3fff7894 3fff3abc 3ffefd64 3fff0558
[09:32:50]3fffffa0: 3fffdad0 00000000 3fff052c 3fff0558
[09:32:50]3fffffb0: 3fffdad0 00000000 3fff052c 4022c794
WARNING Decoded 0x4022c794: loop_wrapper() at core_esp8266_main.cpp
[09:32:50]3fffffc0: feefeffe feefeffe 3fffdab0 401004c9
WARNING Decoded 0x401004c9: cont_wrapper
[09:32:50]<<<stack<<<
[09:32:50]
[09:32:50]last failed alloc call: 4020F885(80)
WARNING Memory allocation of 80 bytes failed at 4020F885
WARNING Decoded 0x4020f885: esphome::nfc::NdefRecord::clone() const
[09:32:50]
[09:32:50]--------------- CUT HERE FOR EXCEPTION DECODER ---------------

@gdst4rp gdst4rp changed the title ESPHome 2024.5.0 Breaks Tag Reader [WORKAROUND INSIDE] ESPHome 2024.5.0 Breaks Tag Reader May 26, 2024
@gdst4rp gdst4rp changed the title [WORKAROUND INSIDE] ESPHome 2024.5.0 Breaks Tag Reader ESPHome 2024.5.0 Breaks Tag Reader May 26, 2024
@gdst4rp
Copy link
Author

gdst4rp commented Jun 1, 2024

Not sure if this codebase is being maintained, but I got it to work by stripping out blocks of code that were not needed.

  1. Comment out the "captive_portal:" line.
  2. Delete the entire section for writing tags
  • From the line "Define buttons for writing tags via HA" all the way to the line above "Enable logging"
  1. Delete the 3 lines referencing size_t for applemusic, spotify, and sonos:
  1. Delete the elseif sections for applemusic, spotify, and sonos
    -```
    else if (type == "U" and applemusic != std::string::npos ) { ESP_LOGD("tagreader", "Found Apple Music tag NDEF"); id(source)="amusic"; id(url)=payload; } else if (type == "U" and spotify != std::string::npos ) { ESP_LOGD("tagreader", "Found Spotify tag NDEF"); id(source)="spotify"; id(url)=payload; } else if (type == "U" and sonos != std::string::npos ) { ESP_LOGD("tagreader", "Found Sonos app tag NDEF"); id(source)="sonos"; id(url)=payload; }

5. (Not sure if this matters) Change the two references from 500ms delay to 200ms

@gdst4rp gdst4rp changed the title ESPHome 2024.5.0 Breaks Tag Reader [WORKAROUND FOUND] ESPHome 2024.5.0 Breaks Tag Reader Jun 1, 2024
maweki added a commit to maweki/tagreader that referenced this issue Jun 3, 2024
@imhotep
Copy link

imhotep commented Jun 5, 2024

@gdst4rp does your workaround still work? Is it stable? I am tempted to just install an esphome version from last year as this repository does not seem to be maintained.

@gdst4rp
Copy link
Author

gdst4rp commented Jun 6, 2024

Still working for me so far. Thankfully it's a relatively easy fix, just save your original yaml file in case you want to restore. I plugged the device directly into the Pi running HA to perform the re-install of the trimmed yaml.

@imhotep
Copy link

imhotep commented Jun 6, 2024

@gdst4rp do you mind sharing your full YAML file here?

@gdst4rp
Copy link
Author

gdst4rp commented Jun 6, 2024

updated-tagreader.txt

Here you go. Change up the substitutions section to update the device name to what you want. I also use the separate !secrets files for SSID and SSID Password values.

@adonno
Copy link
Owner

adonno commented Jun 20, 2024

captive portal is still required for first time users, so i cannot comment it out
i need to test it further. but i have to admit i am not yet sure bout removing functionalities
I wonder why it suddenly start rebooting

@gdst4rp
Copy link
Author

gdst4rp commented Jun 20, 2024

From what I can tell, it's a memory overflow on the 8266 chips. Are the crash logs above helpful at all? I don't know how to parse them so I just tried to trim some functionality, which seemed to work.

If it's helpful, I wonder if this is related to one of the other issues I ran into where tags over a certain byte length would cause the unit to reboot as well. This was something that popped up somewhat recently, but just got worse. Perhaps as the ESPHome codebase grows, it takes more of the available memory on the limited 8266?

Here's the earlier issue I ran into with this tag reader. esphome/issues#5208

@adonno
Copy link
Owner

adonno commented Jun 20, 2024

I wonder if i should write a light version for people facing issues.. MAybe one without the jukebox component etc.
I'va had some more people complaining that indeed teh reader keeps reseting after reading a tag. And they are getting worse.

Maybe people will be willing to have less functionality for a working device.

@gdst4rp
Copy link
Author

gdst4rp commented Jun 20, 2024

For me personally, all I use it for is to scan HA tags. I have a whole flow in NodeRed that parses the tags, calls the right speakers to play from and plays from the right Spotify source. I don't use the tagreader to actually write new tags, or call directly to Apple, YouTube, or Spotify, which is why I attempted to cut out all the extra code, but I'm sure I missed some things.

I've already had to shorten the tag payload per that other issue since it was crashing if the payload was too big.

@imhotep
Copy link

imhotep commented Jun 23, 2024

I wonder if i should write a light version for people facing issues.. MAybe one without the jukebox component etc.
I'va had some more people complaining that indeed teh reader keeps reseting after reading a tag. And they are getting worse.
Maybe people will be willing to have less functionality for a working device.

@adonno Yes, please! I just want to be able to scan tags. Absolutely nothing else. I haven't been able to use the device with the current config.

@SaisonG
Copy link

SaisonG commented Jul 1, 2024

I wonder if i should write a light version for people facing issues.. MAybe one without the jukebox component etc.
I'va had some more people complaining that indeed teh reader keeps reseting after reading a tag. And they are getting worse.
Maybe people will be willing to have less functionality for a working device.

@adonno Yes, please! I just want to be able to scan tags. Absolutely nothing else. I haven't been able to use the device with the current config.

Same for me. Same behavior, can't get the tag reader working. Just need it to scan tags.

@hitnrun30
Copy link

I might be a bit off since I am using a esp32 wemos D1Mini, but after I added

power_save_mode: none

to the wifi of my esphome yaml, all was relatively good. I am still getting some warnings and an error but the sensor works.

Im trying to get rid of the below errors and warnings

[E][pn532.mifare_classic:101]: Authentication failed - Block 0x04
[W][component:237]: Component pn532 took a long time for an operation (109 ms).
[W][component:238]: Components should block for at most 30 ms.

@imhotep
Copy link

imhotep commented Jul 28, 2024

I spent some time messing around with the config today and for some reason the lambda makes the device crash 100% of the time on tag scanned. I simplified it a LOT and now it works 100% of the time. Here's my config

tagreader.yaml
# Insert your SSID and Your PWD after inital setup
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:
    ssid: ${name}

# Enable the captive portal for inital WiFi setup
captive_portal:

substitutions:
  name: tagreader
  friendly_name: TagReader

improv_serial:

esphome:
  name: $name
  platform: ESP8266
  board: d1_mini

  # Automatically add the mac address to the name
  # so you can use a single firmware for all devices
  name_add_mac_suffix: false

  # This will allow for (future) project identification,
  # configuration and updates.
  project:
    name: adonno.tag_reader
    version: "1.4"
  # If buzzer is enabled, notify on api connection success
  on_boot:
    priority: -10
    then:
    - wait_until:
        api.connected:
    - logger.log: API is connected!
    - rtttl.play: "success:d=24,o=5,b=100:c,g,b"
    - light.turn_on:
        id: activity_led
        brightness: 100%
        red: 0%
        green: 0%
        blue: 100%
        flash_length: 500ms
    - switch.turn_on: buzzer_enabled
    - switch.turn_on: led_enabled

# Define buttons for writing tags via HA 
button:
  - platform: template
    name: Write Tag Random
    id: write_tag_random
    # Optional variables:
    icon: "mdi:pencil-box"
    on_press:
      then:
      - light.turn_on:
          id: activity_led
          brightness: 100%
          red: 100%
          green: 0%
          blue: 100%    
      - lambda: |-
          static const char alphanum[] = "0123456789abcdef";
          std::string uri = "https://www.home-assistant.io/tag/";
          for (int i = 0; i < 8; i++)
            uri += alphanum[random_uint32() % (sizeof(alphanum) - 1)];
          uri += "-";
          for (int j = 0; j < 3; j++) {
            for (int i = 0; i < 4; i++)
              uri += alphanum[random_uint32() % (sizeof(alphanum) - 1)];
            uri += "-";
          }
          for (int i = 0; i < 12; i++)
            uri += alphanum[random_uint32() % (sizeof(alphanum) - 1)];
          auto message = new nfc::NdefMessage();
          message->add_uri_record(uri);
          ESP_LOGD("tagreader", "Writing payload: %s", uri.c_str());
          id(pn532_board).write_mode(message);
      - rtttl.play: "write:d=24,o=5,b=100:b"
      - wait_until:
          not:
            pn532.is_writing:
      - light.turn_off:
          id: activity_led
      - rtttl.play: "write:d=24,o=5,b=100:b,b"
  - platform: template
    name: Clean Tag
    id: clean_tag
    icon: "mdi:nfc-variant-off"
    on_press:
      then:
      - light.turn_on:
          id: activity_led
          brightness: 100%
          red: 100%
          green: 64.7%
          blue: 0%    
      - lambda: 'id(pn532_board).clean_mode();'
      - rtttl.play: "write:d=24,o=5,b=100:b"
      - wait_until:
          not:
            pn532.is_writing:
      - light.turn_off:
          id: activity_led
      - rtttl.play: "write:d=24,o=5,b=100:b,b"
  - platform: template
    name: Cancel writing 
    id: cancel_writing
    icon: "mdi:pencil-off"
    on_press:
      then:
      - lambda: 'id(pn532_board).read_mode();'
      - light.turn_off:
          id: activity_led
      - rtttl.play: "write:d=24,o=5,b=100:b,b"

  - platform: restart
    name: "${friendly_name} Restart"
    entity_category: config

# Define switches to control LED and buzzer from HA
switch:
  - platform: template
    name: "${friendly_name} Buzzer Enabled"
    id: buzzer_enabled
    icon: mdi:volume-high
    optimistic: true
    restore_mode: RESTORE_DEFAULT_ON
    entity_category: config
  - platform: template
    name: "${friendly_name} LED enabled"
    id: led_enabled
    icon: mdi:alarm-light-outline
    optimistic: true
    restore_mode: RESTORE_DEFAULT_ON
    entity_category: config

# Enable logging
logger:
  # level: VERY_VERBOSE
  # level: VERBOSE

# Enable Home Assistant API
api:
  services:
  - service: rfidreader_tag_ok
    then:
    - rtttl.play: "beep:d=16,o=5,b=100:b"

  - service: rfidreader_tag_ko
    then:
    - rtttl.play: "beep:d=8,o=5,b=100:b"

  - service: play_rtttl
    variables:
      song_str: string
    then:
    - rtttl.play: !lambda 'return song_str;'

  - service: write_tag_id
    variables:
      tag_id: string
    then:
    - light.turn_on:
        id: activity_led
        brightness: 100%
        red: 100%
        green: 0%
        blue: 0%    
    - lambda: |-
        auto message = new nfc::NdefMessage();
        std::string uri = "https://www.home-assistant.io/tag/";
        uri += tag_id;
        message->add_uri_record(uri);
        id(pn532_board).write_mode(message);
    - rtttl.play: "write:d=24,o=5,b=100:b"
    - wait_until:
        not:
          pn532.is_writing:
    - light.turn_off:
        id: activity_led
    - rtttl.play: "write:d=24,o=5,b=100:b,b"

i2c:
  scan: False
  frequency: 400kHz

pn532_i2c:
  id: pn532_board
  on_tag:
    then:
    - homeassistant.tag_scanned: !lambda |
        if (!tag.has_ndef_message()) {
          return x;
        }
        auto message = tag.get_ndef_message();
        auto records = message->get_records();
        for (auto &record : records) {
          std::string payload = record->get_payload();
          size_t pos = payload.find("https://www.home-assistant.io/tag/");
          if (pos != std::string::npos) {
            return payload.substr(pos + 34);
          }
        }
        return x;
    - if:
        condition:
          switch.is_on: buzzer_enabled
        then:
        - rtttl.play: "success:d=24,o=5,b=100:c,g,b"
    - if:
        condition:
          switch.is_on: led_enabled
        then:
        - light.turn_on:
            id: activity_led
            brightness: 100%
            red: 0%
            green: 100%
            blue: 0%
            flash_length: 500ms
  on_tag_removed:
    then:
    - homeassistant.event:
        event: esphome.tag_removed

# Define the buzzer output
output:
- platform: esp8266_pwm
  pin: D7
  id: buzzer

binary_sensor:
  - platform: status
    name: "${friendly_name} Status"

# Define buzzer as output for RTTTL
rtttl:
  output: buzzer

text_sensor:
  - platform: version
    hide_timestamp: true
    name: "${friendly_name} ESPHome Version"
    entity_category: diagnostic
  - platform: wifi_info
    ip_address:
      name: "${friendly_name} IP Address"
      icon: mdi:wifi
      entity_category: diagnostic
    ssid:
      name: "${friendly_name} Connected SSID"
      icon: mdi:wifi-strength-2
      entity_category: diagnostic

# Configure LED
light:
  - platform: neopixelbus
    variant: WS2812
    pin: D8
    num_leds: 1
    flash_transition_length: 500ms
    type: GRB
    id: activity_led
    name: "${friendly_name} LED"
    restore_mode: ALWAYS_OFF

# Enable OTA upgrade
ota:
  platform: esphome

@FastHowTo
Copy link

FastHowTo commented Dec 2, 2024

The code above provided by @imhotep doesn't work. When a tag is scanned, it returns "Tag " + the serial number of the tag to home assistant, instead of the tag_id uri. The result of this is a new tag being registered in Home Assistant, but when I scan that same tag with my phone, the correct tag is scanned. When I scan it with the scanner, the new "Tag serial number" entity registers that it was scanned.

The logs show "Found new tag 'serial number'"

@gdst4rp
Copy link
Author

gdst4rp commented Dec 2, 2024

I'm still using the modified version that I posted back on June 6, and it seems to work just fine so far. See if that works for you.

#261 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants