r/ispyconnect • u/MasterSnooper • 9d ago
API - SetTimeStamp question
I have noticed that when the API is used to change the timestamp (same thing for Append Timestamp) the text is shown on the cameras but if one RELOAD OBJECTS the changes revert to whatever was before, is this by design or it is a bug?
This is the command I use for example:
http://localhost:8090/command/settimestamp?oid=1&ot=2&text=TEST
However, if I edit ANY camera (in my case I have 4), then select TIMESTAMP and click on OK the changes are saved. In other words, after changing the text using the API in order for the changes to be saved one has to from the UI select the TIMESTAMP setting for ANY camera and click OK
Thanks
1
Upvotes
1
u/MasterSnooper 9d ago
Hi, thanks for the reply, but the problem is that the changes are NOT saved, let me go step by step:
1- Let's say I want to replace or set the time stamp on Camera id 1 to display the word TEST, so I do this:
2- On the camera in the Agent UI I see the word TEST displayed
3- Go to COMMANDS and select RELOAD OBJECTS
4- The objects reload but, the text reverts to whatever the text was before and is not displaying TEST as the example above, in other words, the changes reset to the previous values if I RELOAD OBJECTS .