Moritz Heusinger
Moritz Heusinger
Will be fixed with ts port of adapter
why dont we just create raw host object at `iob setup` @Apollon77 ?
in both my installations `system.hostname` is just an empty string in iobroker.json
But the same issues would happen if someone renames host later, or not? maybe you can give some details regarding the mentioned case..
it seems that iobroker.json `system.hostname` is only set when `iob host` is used
We would probably need a new `system.host.xy` state which can be used to deregister a host. I guess the message only comes from https://github.com/ioBroker/ioBroker.js-controller/blob/81324c1e7a43a0b9971bbdb7dbac3841cd1483e4/main.js#L1725 So we could say if this...
I am also unsure, it’s a really specific use case
Maybe allow to define such functions in a central object, then we could say controller (maybe) provides some really core methods and users or adapters can add additional methods.
https://redis.io/commands/TTL
Curiosity: What type `adapter` objects are user created?