loxone-java
loxone-java copied to clipboard
LoxoneApp should be reloaded after miniserver reconnect
Since reconnect could mean the the server has actually changed the program....
Is there some event coming from the miniserver before restart we could use tom implement the bahaviour?
According to the documentation you should keep the lastModified attribute value and check it against the miniserver after reconnect with the '/jdev/sps/LoxAPPversion3' command, if they are still the same, there is no need tot reload the structure file.