-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Feature Request: Add support for history of day yield #1063
Comments
Way too much for such a little Mikrocontroller. Not enough Power, not enough Storage, and the software would be the complete opposite of simpel, in my opinion. |
Writing one/two values a day is very easy. |
If it is so simple for you: Do it. The source is open... |
Storing the data in flash is not a good idea. Thats why the data is avail with MQTT and Prometheus. |
Actually storing values to flash is really simple (which is already done for configuration stuff) - getting into an existing project is some other kind of effort. The reason for not wanting this feature is surely not depending on power/storage. Using MQTT is for other purpose ("realtime") and is way over-engineered for getting history of day yield, if you can get this value directly from inverter. I guess for quite a view number of users it would be very nice to have such a function. |
@technics42 The flash would last for 10,000 month of data written - but this number is irrelevant. The size is relevant. Next aspect: Long text short meaning: you better forget this ;-) |
what do you think about such a module? I have already three of them here 😀 |
Good idea. Even a cheap 4GB card would last for >10 years of data collection. |
I am more than fine with that :-) If you want another display to be supported, you could also think about something like ILI9341 including SD-card-adapter ;) Just as an extra information: for storing data on internal flash, there would be also solutions that would fit, please keep in mind, that I only wanted to keep day yield from inverter, no single values/calculations! - but that's a different story |
Like I told Lukas already. It would be awesome to use this module to write the Data into a CSV file. A lot of people like me know nothing about raspberries and software stuff. The only Thing I would like to store are the "Yield Day" Data. So you can make it a curve in Excel for example ore Apple Numbers. |
There was a PR for SD-Card support from Gerald R. quite some time ago. The above question from @lumapu remains open: how can we add this as we may have only one SPI ? Is there an option to work around this with some kind of Hardware Abstraction Layer (HAL) that will multiplex between NRF, CMT, whatever type of Display, ModBus Adapter, SD-Card, etc. ? Additional bonus: do we need some kind of port expansion logic circuitry in order to e.g. use only two GPIOs to address four SPI devices via CE ? |
Usually you can share SPI by using different CS. So you need one additional pin for CS of SD-card-adapter. I guess this could be D0 (GPIO 16), if one is also using a display. |
@technics42 did you check the project / fork OpenDTU-Database ? @lumapu we investigated some of the issues with different SD-Card modules here in tbnobody/OpenDTU#2125 and in AhoyDTU here #1572 |
No, I didn't check any OpenDTU-SW, as I am using ESP8266. |
It would be very nice, if you could add a history for day yield, which could be directly shown/exported in web-browser.
Storing day yield could be done on a defined hour of day, e.g. sunset or midnight. For storing data one could use littlefs - this should be ok, when only storing data once a day.
The text was updated successfully, but these errors were encountered: