Open jimboca opened 6 years ago
You mean restart the node server? Nodeserver must still have node address in self.nodes so addNode() is not called?
Yes, that's what I said :-) and yes, it must still be in self.nodes, it may work if I set update=True, but the nodeserver has no way of knowing that.
Sounds like an enhancement, Polyglot must send a "node deleted" MQTT event down to polyinterface and polyinterface must remove address from self.nodes.
Polyglot does send a config() down the pipe to nodeserver on deletion which in turn updates the self._nodes dictionary. Is this a polyglot issue or a polyinterface issue?
I delete a node in my nodeserver from the Polyglot UI and then rerun discover for my nodeserver but the deleted node doesn't come back. I have to restart the nodeserver to get the deleted node to add.