Comments (2)
Hi Simon
I noticed there that one is stored as ISO time/date and the other is epoch - not sure if there a reason for this
Honestly, this is by chance. I was working on one thing first where I used one format, and then the other format a few days later. When I found out, I didn't bother to change it.
The overall issue with these storage files, is that what we get from the station are just the raw data, so if I wanted to simulate the APP somehow, I needed a place to store some values between updates, at the same time, I did not really want to create a whole database system underneath, as Home Assistant would take care of the historic data. So the whole approach is not perfect, but it works somehow.
And when you first run the system, I need some initial values - and when it comes to math with dates, most systems are very sensitive, so just storing nothing, gave issues, thats why I used the 1970 date.
The lightning_strike_time topic has the name "Last Lightning Today". I think "Today" can be removed from this. The sensor table doesn't say this is reset every day at midnight.
I already changed the name in the latest release to Last Lightning Strike
from hass-weatherflow2mqtt.
Thanks for the explanation on the time formats.
I've installed the latest build and all looks good with Last Lightning Strike
, so this one can be closed too.
Cheers
Simon
from hass-weatherflow2mqtt.
Related Issues (20)
- Lightning Detector enhancement HOT 3
- Add "online" state to hub status? HOT 1
- Weatherflow2MQTT loses connection after HA restart HOT 2
- Lightning Counts are txt instead of measurements
- Outdate
- Rain duration stuck HOT 1
- Won't start using docker-compose without defining ZAMBRETTI_MIN|MAX_PRESSURE HOT 2
- Discovered entities with a name that starts with the device name HOT 11
- README.md doc correction. Weather attribute change from hourly_forecast to daily_forecast causes Weather to render incorrectly HOT 2
- Error running KeyError: 'sea_level_pressure' HOT 27
- visibility unit shows nmi? HOT 6
- Slovenian language not available HOT 1
- Rainfall today does not much web interface HOT 9
- Integration not working all of a sudden HOT 5
- error from the weather entity configuration.yaml HOT 16
- Recorder issue. HOT 2
- Documentation Needed for breaking change - "No statistics found" for some sensors but long term data is available HOT 4
- "forecast_template" deprecated as of 2023.08, will be removed in 2024.03 HOT 6
- No Lightning strikes HOT 4
- Docker container will not start if wf_host is populated with something other than 0.0.0.0
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 hass-weatherflow2mqtt.