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

Online indicator and uptime not refreshed for stamps3 #124

Open
djrm05 opened this issue Sep 30, 2024 · 13 comments
Open

Online indicator and uptime not refreshed for stamps3 #124

djrm05 opened this issue Sep 30, 2024 · 13 comments

Comments

@djrm05
Copy link

djrm05 commented Sep 30, 2024

I have a couple of M5stack stampS3 running ESPHome 2024.9.1 and both the online indicator and uptime are not being refreshed automatically none in v2 or v3 component version when the framework type is set to esp-idf

esp32:
  board: esp32-s3-devkitc-1 #m5stack-stamps3
  framework:
    type: esp-idf

however changing the type to arduino, seems to work. I

esp32:
  board: esp32-s3-devkitc-1 #m5stack-stamps3
  framework:
    type: arduino
    version: latest

I have tried to search by this and not found any information, so may I know if this is an known issue or if this could be fixed somehow?

Thanks!

UPDATE: It seems that increasing the logger options in some of the components, i.e. one that show info every 10sec, both the connectivity icon and the uptime are being updated. Is it really required to have logs in order to see these refreshing?

@RFDarter
Copy link
Contributor

RFDarter commented Oct 1, 2024

hi, can you look at node.local/events
You should see a ping event every i think it was 30 seconds.
Bildschirmfoto vom 2024-10-01 21-58-07

@djrm05
Copy link
Author

djrm05 commented Oct 2, 2024

Hi @RFDarter,

May I ask you where is should I look for node.local/events?

Thx!

@RFDarter
Copy link
Contributor

RFDarter commented Oct 2, 2024

Hi @RFDarter,

May I ask you where is should I look for node.local/events?

Thx!

Simply add /events to the domain.

If you access your esp by
http://kitchen.local
It would be
http://kitchen.local/events

@djrm05
Copy link
Author

djrm05 commented Oct 2, 2024

Alright, thanks! didn't know that :)
Ok so I see the ping there as below.

retry: 30000
id: 71377
event: ping

When I have the logger restricted to see low level of info in the debug log (as below), the status icon is green static and the time is not refreshed as well. Changing i.e. CN105: WARN to CH105:INFO which show an entry in the log every 10 seconds, both the icon and the time are being refreshed. So it seems that if nothing is being refreshed in the debug log, this is not updated as well....

logger:
  baud_rate: 0 
  level: INFO
  logs:
    component: INFO
    EVT_SETS : INFO
    WIFI : INFO
    esp-idf: WARN
    MQTT : INFO
    WRITE_SETTINGS : INFO
    SETTINGS : INFO
    STATUS : INFO
    CN105Climate: WARN
    CN105: WARN
    climate: WARN
    sensor: WARN
    chkSum : INFO
    WRITE : WARN
    READ : WARN
    Header: INFO
    Decoder : INFO
    CONTROL_WANTED_SETTINGS: INFO
    CYCLE: WARN

@RFDarter
Copy link
Contributor

RFDarter commented Oct 2, 2024

The ping event should have nothing to do with the logger.

So you see this ping event every 10 seconds in then events stream, and the green icon is there, but the uptime does not update?

That the icon is green and does not change is as intended.
If there is no ping event receieved for 30 seconds the green icon will disapear

@RFDarter
Copy link
Contributor

RFDarter commented Oct 2, 2024

So the uptime does show the correct value if you refresh the page, but does not tick up every second?

@djrm05
Copy link
Author

djrm05 commented Oct 2, 2024

yes, uptime show correct value and the green icon is highlighted in higher green if I refresh de page or when anything shows in the debug log, otherwise it is not refreshed. Just for clarification this is what Im referring to
image

@RFDarter
Copy link
Contributor

RFDarter commented Oct 2, 2024

yes, uptime show correct value and the green icon is highlighted in higher green if I refresh de page or when anything shows in the debug log, otherwise it is not refreshed. Just for clarification this is what Im referring to
image

Ok, so that looks a fine to me.
The problem is, that it will stay at started 3 hours and 7 minutes ago until you refresh the page?

@djrm05
Copy link
Author

djrm05 commented Oct 2, 2024

well, I would say it is a cosmetic issue more than a problem, but yes :)

@RFDarter
Copy link
Contributor

RFDarter commented Oct 2, 2024

I still dont get what the problem is.

So the ping events are recieved fine and the green online Indicator circle stays on.

By looking at the code, the green circle should change it's color sligtly for 1 second on every ping event, so about every 10 seconds.
Is it not doing that?

@djrm05
Copy link
Author

djrm05 commented Oct 2, 2024 via email

@RFDarter
Copy link
Contributor

RFDarter commented Oct 2, 2024

I see, what Browser are you using?

@djrm05
Copy link
Author

djrm05 commented Oct 2, 2024

Chrome under W11 and also from Android.

BTW. the other sensors I have i.e. wifi signal, , are being updated as expected.... really strange

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

2 participants