50
When t he JSON API prot ocol is enabled, ot her M2M prot ocols are disabled. Af t er clicking
Save
changes
, you will be asked t o conf irm t he deact ivat ion of t he ot her prot ocols.
Click
Confirm
t o conf irm t he act ion or
Cancel
t o ret urn t o t he JSON API prot ocol conf igurat ion.
For an example of reading t he out put st at e using JSON API, click t he “
Test JSON API:
Open JSON
API f ile (read password required)” link.
Af t er ent ering t he username and password, you will receive a j son f ile wit h t he PowerCable current
st at e.
URL f or downloading/ uploading t he net io.j son f ile:
ht tp:/ / <PowerCableIP>/ netio. j son
e.g. ht t p:/ / 192.168.120.75/ net io.j son
Example of t he net io.j son f ile
{
"Agent":{"Model":"101x","DeviceName":"PowerCable
6C","MAC":"24:A4:2C:38:D4:6C","JSONVer":"2.0","Time":"1970-01-
01T14:42:06+01:00","Uptime":6126,"Version":"2.0.12","OemID":"5","
VendorID":"0","NumOutputs":1},
"GlobalMeasure":{"Voltage":238,"TotalLoad":0,"TotalEnergy":0,"Ove
rallPowerFactor":1.00,"Frequency":50.0,"EnergyStart":"2018-05-
31T14:21:54+01:00"},
"Outputs":[
{"ID":1,"Name":"Power output
1","State":1,"Action":6,"Delay":2000,"Current":0,"PowerFactor":1.
00,"Energy":0,"Load":0}
]}
Summary of Contents for PowerCable Modbus 101 Series
Page 3: ...3 ...
Page 13: ...13 4 3 Drawings Figure 7 PoweCable xxx 101x side view Figure 8 PoweCable xxx 101x t op view ...
Page 28: ...28 Figure 27 Reset t ing t he consumpt ion count er ...
Page 44: ...44 7 PowerCable REST 101x 7 1 Overview Only one protocol can be active ...
Page 59: ...59 8 PowerCable Modbus 101x 8 1 Overview Only one protocol can be active ...
Page 69: ...69 9 PowerCable MQTT 101x 9 1 Overview Only one protocol can be active ...