Closed vanitasvitae closed 7 years ago
The issue was that the deviceList node contained multiple items and my implementation always returned the first one (index 0).
I fixed it by deleting all Items if there are more than 1 and publishing the latest list.
Not sure, if its an upstream bug in new PubSubManager.getOrCreateNode() by @Flowdalic or if it was introduced when adopting those changes.
Anyway it seams like the ID gets sent to the DeviceList Node, but DeviceList updates still do not contain it afterwards.
Also I have to rewrite deviceID publishing, since at the moment its not really perfect.