Setting modem IPs remotely

Avatar

sdg.marinusvz
2024-06-14 21:19

This post was transcribed from a support call


Good morning Marinus, hope you are doing well. Have you managed to program the old HXE Hexing meters remotely yet? I have 400 meters, whose GPRS settings I need to change, it will cost a few rand to go to each one with a laptop. Do you have a plan? Can you write a script that can do something like this? All the modems connect to 2229, Hexing modems.

Avatar

sdg.marinusvz
2024-06-14 21:33

HXE110KP?


With internal GPRS modem?

Avatar

sdg.marinusvz
2024-06-14 21:34

The old HXE330KP and HXF300.
Internal modem, yes.

Avatar

sdg.marinusvz
2024-06-14 21:34

Yes I think you should be able to do it with the real time components. The obis codes are configurable, and you can set them

Avatar

sdg.marinusvz
2024-06-14 21:36

Do you have a cost in mind for writing something like this? Rather than going out to every meter. Dimension Data sold the data center where the server currently stands, I have to move the server and I lose the IP that the modems connect to, 41.86.55.55 (changed to sanitise data).

Avatar

sdg.marinusvz
2024-06-14 21:38
Last Edited 2024-06-18 06:17

already developed. I think your server already has it?

edit->Real Time OBIS Codes

I think the remote IP is at
(IP)1,0.129.25.0.137.255,2[0]

so you put it in and tick writeable

then in the View->Meter Realtime Values

then you can see the current value, and set a new value


Tags: hexing
Avatar

sdg.marinusvz
2024-06-20 09:19

Hi Marinus. I get the error below when I request the IP on the OBIS code page. I tried several versions without success.


GET did not succeed (1) code: object-undefined-4

Avatar

sdg.marinusvz
2024-06-20 09:20

okay If you use the desktop software, which OBIS does it use?
read it a bit with HexView, and send me the hex comms log please

Avatar

sdg.marinusvz
2024-06-20 09:21

Morning Marinus. I have tried quite a few codes now, no success. The Hexview software also shows no information. I downloaded a serial monitoring tool, don't know if it can help?

1242760: 2024-06-19 15:18:55.2579335 +0.0000032
7E A0 19 03 03 54 DC CE E6 E6 00 C0 01 C1 00 29 00 0B 19 00 00 FF 02 00 CE B5 7E
GET

1242773: 2024-06-19 15:18:55.5135824 +0.0000014 (Port Number)
7E A0 16 03 03 74 27 5D E6 E7 00 C4 01 41 00 09 04 32 32 32 39 BB EC 7E 
GET RESPONSE

1259210: 2024-06-19 15:18:55.5298921 +0.0000047
7E A0 19 03 03 76 CC CC E6 E6 00 C0 01 C1 00 2D 00 0B 19 04 00 FF 02 00 3B A7 7E
GET

1259223: 2024-06-19 15:18:55.7951327 +0.0000018 (APN)
7E A0 1A 03 03 96 0F 0E E6 E7 00 C4 01 41 00 09 08 69 6E 74 65 72 6E 65 74 98 AB 7E 
GET RESPONSE

1269686: 2024-06-19 15:18:55.8057836 +0.0000042
7E A0 19 03 03 98 BC C2 E6 E6 00 C0 01 C1 00 2D 00 0B 19 04 00 FF 05 00 33 EA 7E
GET

1269695: 2024-06-19 15:18:56.0601677 +0.0000048 (Server IP)
7E A0 21 03 03 B8 94 4A E6 E7 00 C4 01 41 00 09 0F 30 34 31 2E 30 38 36 2E 31 31 32 2E 32 34 30 CA 13 7E
GET RESPONSE

Avatar

sdg.marinusvz
2024-06-20 09:24
Last Edited 2024-06-20 09:25

so the GET for Port Number is therefore class 41, OBIS 0.11.25.0.0.255, attribute 2

and the GET for APN is therefore class 45, OBIS 0.11.25.4.0.255, attribute 2

the GET for die Server IP is therefore class 45, OBIS 0.11.25.4.0.255, attribute 5


and the format is a string, it seems to me that he wants one to always use 3 digits per IP number, e.g. 041.086.112.240

So I think, in the real time OBIS screen you should be able to manage with
45,0.11.25.4.0.255,5

Avatar

sdg.marinusvz
2024-06-20 09:26

🥳🥳

Please log in to post a comment