Updating incremental counter with TIME value / json
Posted: Monday 04 June 2018 1:26
Is there a way, to store a value - an user variable - into a dummy counter, that measures time?
I tried a lot of different settings, but without any luck
I would like to create a simple run time counter, since I have to replace a special device every 8000 running hours.
So I made a simple blockly, that should write a new value of 1 minute to an incremental dummy counter.
But whatever I try, the counter does not show any activity.
I also tried different json commands, in order to increase the counter, but without any luck too...
e.g. http://<ip>:<port>/json.htm?type=command¶m=udevice&idx=88&nvalue=59
The result is always "ok", but no sign/values change within the counter (still got the question-marks).
If I set the counter to "counter" the value increases. But this gives me only the result in minutes, and hours would be sufficient
The device 89 is a dummy hardware counter, with the type "time" (instead of count, energy, gas, water etc).
What would be the correct way, to increase the the counter every minute?
I tried a lot of different settings, but without any luck
I would like to create a simple run time counter, since I have to replace a special device every 8000 running hours.
So I made a simple blockly, that should write a new value of 1 minute to an incremental dummy counter.
But whatever I try, the counter does not show any activity.
I also tried different json commands, in order to increase the counter, but without any luck too...
e.g. http://<ip>:<port>/json.htm?type=command¶m=udevice&idx=88&nvalue=59
The result is always "ok", but no sign/values change within the counter (still got the question-marks).
If I set the counter to "counter" the value increases. But this gives me only the result in minutes, and hours would be sufficient
The device 89 is a dummy hardware counter, with the type "time" (instead of count, energy, gas, water etc).
What would be the correct way, to increase the the counter every minute?