@BenRoe Hi, i found the problem an it works fine now.
I changed following line self.defaults.deviceReadings[index]
in self.config.deviceReadings[index]
There are no default values for deviceNames and deviceReadings. They are only in the config.js
This helps for me.
Thanks
Bobby