Closed Diginix closed 1 year ago
states are not prroperly created summary.energy.now summary.energy.today summary.energy.tomorrow summary.poweer.now
2023-05-09 21:12:08.190 - warn: pvforecast.1 (502158) Object of state "pvforecast.1.summary.energy.now" is missing the required property "common.type" 2023-05-09 21:12:08.235 - warn: pvforecast.1 (502158) Object of state "pvforecast.1.summary.energy.today" is missing the required property "common.type" 2023-05-09 21:12:08.283 - warn: pvforecast.1 (502158) Object of state "pvforecast.1.summary.energy.tomorrow" is missing the required property "common.type" 2023-05-09 21:12:08.335 - warn: pvforecast.1 (502158) Object of state "pvforecast.1.summary.power.now" is missing the required property "common.type"
2023-05-09 21:12:06.138 - warn: pvforecast.1 (502158) Object pvforecast.1.summary.power.now is invalid: obj.type has to exist 2023-05-09 21:12:06.138 - warn: pvforecast.1 (502158) This object will not be created in future versions. Please report this to the developer. 2023-05-09 21:12:06.201 - warn: pvforecast.1 (502158) Object pvforecast.1.summary.energy.now is invalid: obj.type has to exist 2023-05-09 21:12:06.201 - warn: pvforecast.1 (502158) This object will not be created in future versions. Please report this to the developer. 2023-05-09 21:12:06.210 - warn: pvforecast.1 (502158) Object pvforecast.1.summary.energy.today is invalid: obj.type has to exist 2023-05-09 21:12:06.211 - warn: pvforecast.1 (502158) This object will not be created in future versions. Please report this to the developer. 2023-05-09 21:12:06.220 - warn: pvforecast.1 (502158) Object pvforecast.1.summary.energy.tomorrow is invalid: obj.type has to exist 2023-05-09 21:12:06.220 - warn: pvforecast.1 (502158) This object will not be created in future versions. Please report this to the developer.
state is missing summary.power.installed
2023-05-09 21:12:08.379 - warn: pvforecast.1 (502158) State "pvforecast.1.summary.power.installed" has no existing object, this might lead to an error in future versions
This logic deletes the "device" summary
(because it is not in the configuration):
@GermanBluefox Why have you changed the type of summary to device?
Existing plant devices: [{"_id":"pvforecast.0.summary","type":"device","common":{"name":{"en":"Summary","de":"Zusammenfassung","ru":"Резюме","pt":"Resumo","nl":"Samenvatting","fr":"Résumé","it":"Sommario","es":"Resumen","pl":"Streszczenie","uk":"Редакція","zh-cn":"概括"}},"native":{},"from":"system.adapter.pvforecast.0","ts":1683702887739,"acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"user":"system.user.admin"},{"type":"device","common":{"name":"Nord"},"native":{},"from":"system.adapter.pvforecast.0","user":"system.user.admin","ts":1683628100580,"_id":"pvforecast.0.plants.nord","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}},{"type":"device","common":{"name":"Sued"},"native":{},"from":"system.adapter.pvforecast.0","user":"system.user.admin","ts":1683628100744,"_id":"pvforecast.0.plants.sued","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}] - configured: ["pvforecast.0.plants.nord","pvforecast.0.plants.sued"]
2023-05-10 09:14:47.919 - [32minfo[39m: pvforecast.0 (2901) Deleted plant with id: "pvforecast.0.summary" - (not found in configuration)
The problem
with update from 2.6.0 to 2.7.0 following objects are deleted: pvforecast.0.summary.JSONData pvforecast.0.summary.JSONTable pvforecast.0.summary.JSONGraph pvforecast.0.summary.lastUpdated
All hourly values in summary are 0: pvforecast.0.summary.power.hoursTomorrow
Here are some log entries after update and 2 restarts:
Version of nodejs
16.20.0
Version of ioBroker js-controller
4.0.24
Version of Adapter
2.7.0
Operating system running ioBroker
Ubuntu 22.04.2 LTS
Checklist of files to include below
Additional information & file uploads
No response