Closed seant100 closed 5 years ago
@seant100 Can you list the MyController version details?
@jkandasa screenshot attached
@seant100 I have modified the source code and updated in SNAPSHOT version. Can you check with this change? Kindly confirm with least priority sensor variable.
NOTE: https://forum.mycontroller.org/topic/362/google-analytics-enabled-from-version-1-4-0
@jkandasa Updated to latest snapshot. Tried to purge with condition = >60 and all dates and when I select "Year" graph it still shows values of 90+. So purge is still not working. Also the latest snapshot gives lots of errors and is incredibly slow for everything. So I have to now revert back to the previous snapshot version I was using. For interest I have attached the log file showing errors with latest snapshot which I downloaded on 25 Oct 2018. mycontroller.zip
@seant100 can you try with the most recent version? I have added a fix.
New option: only for double type data
avg
data alone. ie. >=45.6
min>=45.6,max>=78.2,avg>=56.3
Can you check with the most recent version?
@jkandasa I did subsequently notice that the Purge data only seemed to purge "Average" values and not the "Min" and "Max" values. Does the new version cater for purging the Min and Max data as well. Or can you add an option of which data to purge i.e. Select Purge Average, Min, Max or All or something like that
@seant100 Yes, the new version(current SNAPSHOT) can purge min, max, avg. You can pass all the values in one go. or based on your requirement.
Examples:
avg
data: avg>=34.7
or >=34.7
min
data: min>23.1
max
data: max<45.12
min>=45.6,max>=78.2,avg>=56.3
min>=45.6,max>=78.2
You can use any combinations
@jkandasa Thank you. I will give it a try asap.
@seant100 kindly report back the observations.
@jkandasa Thank you. That works. I would suggest to add some "hints" or "usage examples" onto the purge page
Purge data for a sensor does not work. Perhaps it is only clearing the raw data, but it should also purge the data for all time range graphs (eg weekly, yearly etc) based on the conditions and date range set to purge data for.