HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: domotica_user on September 12, 2015, 10:38:51 PM

Title: History of data
Post by: domotica_user on September 12, 2015, 10:38:51 PM
I am looking into functionality like: has there been a change in the data in the past x minutes (example: more than 10 minutes no movement?). I believe there is no data history available right? I would have to save the data myself in the program? Can i make this data non-volatile so that a restart of a program does not reset all data?
Thanks for your information!
Title: Re: History of data
Post by: bkenobi on September 13, 2015, 06:37:20 AM
Incorrect.  You can use the history data stored for the module in question to see what the last x actions were and at what time they happened.  I use this in my Advanced Smart Lights code to check for double ON and double OFF of a light switch within a certain amount of time.  You can certainly use this to see if an action has happened within the last 10 minutes!