sdg.marinusvz
2016-03-31 09:36
Enquiry :
This message was trancribed from an email.
"I'm trying to add a hexing modem / meter with the doPage service method but I'm getting a page not found error. (ERROR:java.lang.Exception: Cannot find page: addHexingDLMSModem.jsp)
I need to call the addHexingDLMSMeter.jsp as well..
Here are the details:
http://www.pnpscada.com/doPage?LOGIN=login&PWD=password&advar_class=250&Name=Hexing&ID=14254671333&PageToDo=addHexingDLMSModem.jsp
Please let me know how to add hexing modems and meters with the doPage method."
Solution :
"Try the addEntity webservice instead of the doPage:http://www.pnpscada.com/webservices.jsp#commands.addEntity
You can probably use the same parameters as in your above call, i.o.w.
http://www.pnpscada.com/addEntity?LOGIN=login&PWD=password&advar_class=250&Name=Hexing&ID=14254671333
ID is the meter serial number.
sdg.marinusvz
2016-04-02 20:42
Enquiry :
"Thanks
I have managed to add a modem with the following command where ID is the meter number:
http://unimeters.com/addEntity?LOGIN=login&PWD=password&advar_class=250&Name=Hexing&ID=14254671333
But I'm now stuck on adding a meter...
I'm getting this error:
The command is:
http://unimeters.com/addEntity?LOGIN=login&PWD=password&advar_class=251&p135_num=1&p135_num0=4823&snumber=14254671333&mname=Hexing
I have tried adding additional parameters: snumber, mname, passwd, fullload but all give the same error..
Please let me know what I'm missing.
"
Solution :
"It looks like you're on the right track.
Try adding variables for PLACE; ZONE; SITE; FULLLOAD; COMDATE and PASSWD
As per the add dialog form of the meter, the variables are essentially:
....
type="hidden" name="advar_class" value="251">
(this is the entity id of the modem)Meter Serial Number: User Defined Meter Name: Place: Zone: Site: Breaker Size: Amp Installation Date (YYYY-MM-DD): Password:
.....
"