and the information perfectly shows in the webinterface.
however I would like to have this send to HA as well so I can analyze the data later.
Is this possible?
usually when my device shows an error I don’t have time to immediately examine,
I would be great if I can use history to see the previous statusses
- lambda: |-
UARTDebug::log_string(direction, bytes); //Still log the data
int sensorID=0;
float sensorTEMP=0;
//Example to convert uart text to string
std::string str(bytes.begin(), bytes.end());
//watch for potential problems with non printable or special characters in string
id(rawString).publish_state(str.c_str());
but I’m glad it works,
the next time my machine shows an error I can write down the time and then later check the data of byte[15]
[edit:] unfortunately about after 10 minutes the ESP8266 still crashes,
I think maybe the amount of logging is just to much to handle for the ESP.
so for now I keep it at weblogging.
Does it mean I cannot read GNSS signal from UART? I am newbie to ESP Home, did some leds and plugs only and decided to develop my own device tracker. So I bought ESP32-S3 A7670E 4G Development Board from waveshare and struggle to read the GNSS over UART. Could the fact that it is not developed in the UART Bus (I guess you mean the component in ESP Home) be the reason?
Expand a little on what you have tried and include your logs and configuration. Feel free to @ me.
If GNSS is Uart you should should at least be able to see some uart messages in the debug logs (you probably need to set dummy_receiver: true ) then from there you can work on parsing the messages.