Comments (7)
ok just saw this. Will test and update you in next few days. thanks!
from esp-insights.
Upon investigating looks like on initial call on this block of code, it registers the node but also gives the invalid chip error.
However, on the next call (eg. on reboot) the invalid chip error gets fixed and shows as ESP32. Project and Chip version also gets populated correctly.
char* sensor_pin = get_sensor_pin();
esp_insights_config_t config = {
.log_type = ESP_DIAG_LOG_TYPE_ERROR | ESP_DIAG_LOG_TYPE_WARNING | ESP_DIAG_LOG_TYPE_EVENT,
.node_id = sensor_pin,
.auth_key = insights_auth_key_start,
};
esp_err_t ret = esp_insights_init(&config);
from esp-insights.
@antoniuschan99 thanks for reporting. We will try to reproduce the issue and fix it.
Do you always get this issue once the node is up? Or is it a random issue?
from esp-insights.
always getting it. I haven't looked into it further as it isn't a showstopper. If you need more info let me know!
from esp-insights.
Hi @antoniuschan99 thanks. As one of the very message after reboot OR on the first boot, sent by ESP-Insights is the boot time data which contains the chip_id.
BTW, can you please let me know if char* sensor_pin = get_sensor_pin();
yields an unique ID and is consistent across reboots?
Please send the node_id of the device as well. This will aid us targeting the issue.
from esp-insights.
Hi @antoniuschan99 I am able to re-produce the behaviour.
Here is what I see:
When node starts appearing on the dashboard, it shows the chip as Invalid Chip.
This is just for few seconds and if you refresh the dashboard after, say 5 seconds, it'll show a valid chip.
This behaviour is because, the information is received by Insights' cloud in different message and it might take few seconds till it populates this information. This doesn't need the device to reboot in between, and I think you are mis-interpreting it as getting fixed after reboot.
To make sure, that you are seeing the same as the issue, can you please wait on Invalid chip
page for few seconds and if the information changes after the page refresh? (without rebooting the device in between).
from esp-insights.
I will close this issue for now!
from esp-insights.
Related Issues (20)
- Issues regarding migrating ESP-Insights from idf-V4.4 to idf-V5.0 HOT 3
- Breaking backwards compatible change `log_printfv` HOT 1
- ESP Insights examples (https case)- No logs in Dashboard HOT 6
- ESP Insights - MQTT case - No Error, Warning and Event logs in Dashboard. HOT 5
- Can't get crash stack info. HOT 1
- How to change node id HOT 2
- Reboot Reset Reason HOT 4
- Custom metrics demo HOT 4
- How to wait for Esp Insights data to finish sending? HOT 5
- Cannot login from CLI with password HOT 1
- Upload firmware package .zip with API? HOT 1
- Firmware Image Uploaded not Resolving String Information in Error Messages HOT 10
- projbuild_gitconfig.py fails due to the empty _CMAKE_TOOLCHAIN_PREFIX argument HOT 4
- ESP Insights simultaneous HTTP request error HOT 2
- spam "wifi:Haven't to connect to a suitable AP now!" when using 4G or ethernet HOT 3
- eFuse error when running on qemu-system-riscv32 HOT 4
- Missing menu point ESP-INSIGHTS HOT 4
- We could not find the firmware image to cross-reference this log entry. Please upload a firmware image to get cross-referenced information for this log entry. HOT 2
- Problem finding where the reset happened in the code with ESP-Insights HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-insights.