emoncms / app

Emoncms App module: application specific dashboards: includes myelectric, mysolarpv, myheatpump and solar + wind app.
GNU Affero General Public License v3.0
28 stars 70 forks source link

Feed settings are not saved #160

Open scith opened 2 years ago

scith commented 2 years ago

Hello, I have an issue with the Apps module. I am on a shared hosting. Emoncms and the app module are on the master branches (also tested on the stable branches to the same result).

For "use" and "use_kwh", no feed is showing in the drop down menu, only "auto" and "disable". The settings are not saved in the database, even if I select "auto". The database only saves currency and unitcost: {"My Electric":{"app":"myelectric","config":{"unitcost":"0.1516","currency":"€"}}}

The following message is then displayed in the app:

EmonCMS Error
-------------
Message: TypeError: datastore[name].data[0] is undefined
Route: Modules/app/Lib/timeseries.js?v=13
Line: 18
Column: 9

Any idea please?

Thanks

scith commented 2 years ago

If anyone has the database text available, I could try to change the database manually to see if it works? Thanks