HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: HGexperimenter on December 05, 2016, 06:21:25 AM

Title: Where does the Program.Store keep the data?
Post by: HGexperimenter on December 05, 2016, 06:21:25 AM
I have a program running that uses the program store feature, but I can't seem to find where the data is saved.  I checked MODULES.XML where there is a <Stores /> section for the program module- no luck...

It's not in the homegenie_stats.db file either.

Code example that works:
Program.Store(STORENAME).Get("MyValue").Value=1;
var storeData = Program.Store(STORENAME).Get("MyValue").Value;

Does anyone have an idea??

Thanks

Title: Re: Where does the Program.Store keep the data?
Post by: dani on December 05, 2016, 03:32:36 PM
I never used that function, but perhaps that data will store in systemconfig.xml
Title: Re: Where does the Program.Store keep the data?
Post by: HGexperimenter on December 11, 2016, 10:08:56 PM
Nope - not in:
programs.xml
modules.xml
systemconfig.xml

I even checked the homegenie_stats.db (which hold statistics) - not there either
I also did a search for any files in the HG directory that were modified in the last week/month.

It's a mystery!   It's been many days since data was stored.  In the "old" versions it was in modules.xml...

Anyone got knowledge on this?  Seems to be a feature to keep data through re-boots so it must be useful to someone :)

PS: I'm using HomeGenie Version 1.1 beta r525