The json file is generated by another construct 3 project. I try to add this data. For the moment I solved it by creating a txt file with the text rev_xx at startup I go to read the txt file first I write it in a text box and compare it with a variable if they are different except the variable and call the reset function. otherwise it continues without resetting. but your suggestion seems better to me I will try to put it into practice.
sorry my english i use google translate.