01.09.2020, 07:02
Hi DGrandes,
this works fine on RouterOS 6.43.4 and LM 20200720 (you can paste these commands directly in Mikrotik's Terminal)
Read value:
You should see something like this in Terminal:
By default output = file and the file scada-remote is created (in Files section). You can see object's 1/0/1 value in this file.
Note! In latest LM version there is IP blocker enabled in case of 5 unsuccessful login attempts. It's related to FTP, SSH, Remote services. The quickest remedy is to reboot your LM5. If this happens, you will see something like this:
Write value:
this works fine on RouterOS 6.43.4 and LM 20200720 (you can paste these commands directly in Mikrotik's Terminal)
Read value:
Code:
/tool fetch url="http://remote:yourPassword111@192.168.1.13/scada-remote" http-data="m=json&r=grp&fn=getvalue&alias=1/0/1" http-content-type="application/json" http-method=post;
You should see something like this in Terminal:
Code:
status: finished
downloaded: 0KiBC-z pause]
duration: 1s
By default output = file and the file scada-remote is created (in Files section). You can see object's 1/0/1 value in this file.
Note! In latest LM version there is IP blocker enabled in case of 5 unsuccessful login attempts. It's related to FTP, SSH, Remote services. The quickest remedy is to reboot your LM5. If this happens, you will see something like this:
Code:
status: failed
failure: connection timeout
Write value:
Code:
/tool fetch url="http://remote:yourPassword111@192.168.1.13/scada-remote" http-data="m=json&r=grp&fn=write&alias=1/0/1&value=1" http-content-type="application/json" http-method=post;