I have a single RPi that has a berryio rest api with rest commands for monitoring multiple different functions. I would like to have multiple ST device handlers (one for each separate function) all talking to that single IP:port (or MAC) rest interface. I use HubAction to send the rest commands. I can get it to work with one Device handler, however, when I try to have a second one, I get into trouble with the unique Device Network ID since it gets set to the same rest device. Once you try to do a second device handler using the same rest api endpoint, then it does not work and causes the first device handler to stop working. They both can send rest commands and the rest device gets them and responds, but I no longer get any parse responses in either device handler. Once it is in this mode, none of them work again, even when one of them is deleted, or the hub is reset.
is there any way to do multiple device handlers to the same rest device (I have seen a few things on randomizing the deviceNetworkId after using it, or talk about possible new callback functions but I don’t think ST ever implemented them)
Once in this mode of no device handler will receive parse responses, how do I get out of it so that at least one device handler will work again? (Without just retiring the impacted IP address and changing to another IP)