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

Update uptime to absolute time values #50340

Open
1 of 8 tasks
chemelli74 opened this issue May 9, 2021 · 2 comments
Open
1 of 8 tasks

Update uptime to absolute time values #50340

chemelli74 opened this issue May 9, 2021 · 2 comments

Comments

@chemelli74
Copy link
Contributor

chemelli74 commented May 9, 2021

The problem

Uptime should use absolute time values and not relative time values.
This is the list of the letfovers:

Sensors:

  • esphome
  • fritzbox_netmonitor
  • google_wifi
  • guardian
  • qna

Attributes:

  • freebox (router.py)
  • mikrotik (hub.py)
  • wemo (switch.py)
@DAVe3283
Copy link

I was actually just about to post an issue that is the opposite of this. I prefer the ESPHome way of reporting the current uptime as an accumulating number of seconds. Makes the data much more friendly for things like InfluxDB and Grafana.

@chemelli74
Copy link
Contributor Author

I was actually just about to post an issue that is the opposite of this. I prefer the ESPHome way of reporting the current uptime as an accumulating number of seconds. Makes the data much more friendly for things like InfluxDB and Grafana.

This is an architecture design and 99% of HA is already compliant.

Simone

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

No branches or pull requests

2 participants