Open ForrestErickson opened 1 week ago
Analysis, The serialSplash(); must be called after the functions that read the MAC and set the topics.
It is currently called twice to solve this problem; once before the MAC address is available, and once after.
This is an imperfect solution and inelegant solution. Can you you verify that I am correct that it looks like this: [image: Screenshot 2024-11-13 at 11.07.11 AM.png]
20:44:23.233 -> PubInv GPAD: enter command in form CDa (C is a char, D is a digit)
20:44:23.265 -> MAC:
20:44:23.265 ->
20:44:23.265 -> ===================================
20:44:23.265 -> KRAKE_
20:44:23.265 -> GPAD_API 0.14
20:44:23.265 -> Builtin ESP32 MAC Address:
20:44:23.265 -> Alarm Topic:
20:44:23.265 -> Broker: public.cloud.shiftr.io
20:44:23.265 -> Compiled at: Nov 12 2024 20:43:24
20:44:23.265 -> GNU Affero General Public License, version 3
20:44:23.265 -> ===================================
20:44:23.265 ->
20:44:23.298 ->
20:44:23.298 -> Connecting to WiFi: readfamilynetwork
20:44:23.978 -> .
20:44:23.978 -> WiFi connected
20:44:23.978 -> My mac is fc:b4:67:f4:f7:4c
20:44:23.978 -> MAC as char array: FCB467F4F74C
20:44:23.978 -> MAC:
20:44:23.978 -> FCB467F4F74C
20:44:23.978 -> XXXXXXX
On Wed, Nov 13, 2024 at 7:36 AM Forrest Lee Erickson < @.***> wrote:
Analysis, The serialSplash(); must be called after the functions that read the MAC and set the topics.
— Reply to this email directly, view it on GitHub https://github.com/PubInv/krake/issues/76#issuecomment-2473643352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABINEH7KORCS6KQQKB3OPMD2ANIV3AVCNFSM6AAAAABRWQGFNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTGY2DGMZVGI . You are receiving this because you were assigned.Message ID: @.***>
-- Robert L. Read, PhD Twitter: @RobertLeeRead @pubinvention Public Invention: https://www.pubinv.org Join Our Mailing list: @. YouTube: https://www.youtube.com/channel/UCJQg_dkDY3KTP1ybugYwReg Medium: @.
Lee's Arduino 1.8.19 IDE shows the following WiFi libraries
Lee's Arduino 2.3.3 IDE shows the following WiFi libraries
This has been made better by v. 0.15. I am not going to close this; I would like @ForrestErickson to test it and close it if he finds it adequate.
I now get the Mac via a different mechanisms that does not depend on having a WiFi connection (note: Lee's code, using a different library version, never had this problem.)
Describe the bug A clear and concise description of what the bug is. Short Summary of the expected behavior: Expected to see the MAC at: "08:27:01.711 -> Builtin ESP32 MAC Address: " Expected to see the alarm topic
Short Summary of the buggy behavior: Did not see MAC and didnot see Alarm topic.
To Reproduce Steps to reproduce the behavior:
CC: @nk25719