The dupe key is fine. I will research a better method to add an index but for this version it’s not an issue. I am spending most of the time finding ways to speed up the code and not produce data for scripts not used.
There are some that only use Archive to store data so no need to waste processor power to preform tasks not needed.
Again, It’s all good. I love the display. Your doing a great job on this project, Its better than all the other third-party apps in my opinion.Thanks again for your hard work!!!
I don’t see it as better, but different. It’s the only product that is 100% Internet independent of WeatherFlow servers. It does all it’s work from only the UDP data.
I built this to tie into my home automation system and it does much more than what you see. It communicates with the irrigation system, the alarm system, the HVAC system (which includes all the fans in the house), the energy monitoring system and a few other small systems.
I continue to add features such as tipping buckets, temperature probes and humidity probes. I’m considering adding light probes while I await for the Breathe.
And all the while I am having fun developing this thing.
I glad to hear it worked for you. I see there is an issue with first light. It seems it’s getting set to 0 at midnight instead of null. I’ll get that fixed this morning.
Well, that was rather silly of me. Yes, I made a bugger. The quick fix is to use nano to create version.json and simply add {} to the file and save it.
I have uploaded a new altertables.js to the server.
The version number has not changed because I don’t want users seeing it and running it without warning.
This version contains a LOT of changes and may take up to 10 minutes to run. The application will examine every table and every index and make corrections. Some indexes will be dropped permanently , some will be dropped and recreated and others will be newly created.
The changes correct mistakes I made and bring your database fully up-to-date. After you run the application, check the AlterTables.log for any errors. There are some indexes that require unique records and if you have duplicates the creation will error. If you find this to be the case, contact me and I’ll help you find the issues.
I am finding that I spend more time writing code to check for errors and correct issues than writing the application code itself. The entire application is growing and I want this to be rock solid by the end of the year.
Thank you, to all that have helped improve this application. It’s been a pleasure working with you and I look forward to providing you with the stability you desire.