Tshwane prepaid meters online / remote access

Mobus

Senior Member
Joined
Apr 5, 2007
Messages
953
I just got my old post-paid meter replaced by a PCMA (power-c metering africa) prepaid meter (model KY124, dated 2019).

Anyone know if you can access the log somewhere online?

Can you enter the 20 digit token online somehow? Say you are away from home for a while and need to load a new voucher without access to the physical keypad?

In general, what has been your experience with these meters? Are the reliable and accurate?
 

maumau

Honorary Master
Joined
Aug 13, 2009
Messages
20,267
Old post, but ....

This is a good question, to be able to load prepaid from elsewhere would be a bonus.

@Mobus
 
Last edited:

Johnatan56

Honorary Master
Joined
Aug 23, 2013
Messages
30,955
Have you tried buying via e.g. the FNB or Capitec app? Does it load it directly (since needs the meter number)?
 

Johnatan56

Honorary Master
Joined
Aug 23, 2013
Messages
30,955
if it's like City Powers meter, when you purchase, you just get a token you've got to enter in manually.
Only ever had postpaid, thanks for the info.

Don't think most meters have online functionality, so won't be able to enter it remotely.
 

Lupus

Honorary Master
Joined
Apr 25, 2006
Messages
50,976
Only ever had postpaid, thanks for the info.

Don't think most meters have online functionality, so won't be able to enter it remotely.
Nope, which is rather silly. In Johannesburg you cannot even get the details changed without having to go to the one walk in center in the entire city, cause my details for some reason are someone elses for quite sometime before lockdown.
But you can only get it changed in Town, so I would need to drive 26km for that.
 

Mobus

Senior Member
Joined
Apr 5, 2007
Messages
953
My take on the meter after about a months usage.

The PCMA prepaid meters Tshwane are using seem to be totally offline. Authentication / verification of bought tokens are probably done using offline decryption only. The pavement side meter seems to contain a plc, relay and usage meter. Comms between the meter and the in-house keypad run over your mains cable (house side only - i.e. plugging your keypad in at the neighbours house doesn't successfully establish a link to your meter). There is no rf or gsm comms from what I can tell. And probably also no upstream power line comms via the city's power infrastructure.

If there is ever a hope for online functionality, the OEM would need to produce a new keypad upgraded with wifi / ethernet and connect to your home network.

Edit/disclaimer: this is all just speculation based on my own use and guesses of how the system may operate. I do not advocate any reverse engineering. I also heard the system has tamper detection and saw in the tshwane budget doc that they may charge you severe fines for "resetting" a tampered meter.
 
Last edited:

extrusion

Well-Known Member
Joined
Dec 3, 2007
Messages
396
Also looking for a manual.
Also, any way to have it beep when low on electricity ?
Thanks.
 

Mobus

Senior Member
Joined
Apr 5, 2007
Messages
953
And how do you set the time?
I have no manual. This is just trial and error on my PCMA KY124.

888 - reads time from keypad. Pointless but confirms your time is wrong or if time doesn't display normally.
009 - reads date from meter (and possibly sync to keypad?)
030 - reads the time from the meter and syncs it to the keypad. (not sure if it also reads the date, possibly use with 009)
 

Mobus

Senior Member
Joined
Apr 5, 2007
Messages
953
This is what else I have for a PCMA KY124 keypad talking to a PCR421 meter (trial and error):

000 "Total energy"
001 0 kwh (some limit perhaps?)
002 Instantaneous voltage
004 Instantaneous current
005 First 6 numbers of your PCMA meter serial #
008 Last 6 numbers of your PCMA meter serial #

* note this 12 digit serial is slightly different from your 11 digit card number used to buy units. In my case the first 10 digits of the card number is the same as the last 10 digits of the serial number, followed by a 2.

006 "Total purchased"
007 "Credit balance"
009 Read date from meter (sync?)
030 read time from meter (definitely sync keypad)
100 0kwh (min instantaneous power for the day perhaps?)
101 11kW (max instantaneous power for the day perhaps?)
200 "Last month Cons" = looks more like consumption since day 0
202 some kwh reading less than 200
204 some kwh reading less than 202
206 some kwh reading less than 204
208 some kwh reading less than 206
813 "Current power"
821 "Last purchased time"
841 "Last purchased"
888 read time from keypad?

I stopped guessing codes at 040. Most return NULL, except those noted above.
Also guessed 111,222,333,444,555,666,777,888,999 = NULL, except where noted above.
Also guessed 100,200,300,400,500,600,700,900 = NULL, except where noted above.
Also guessed 101-111 = NULL, except where noted above.
Also guessed 201-211 = NULL, except where noted above.
Also guessed 880-900 = NULL, except where noted above.
 

Mobus

Senior Member
Joined
Apr 5, 2007
Messages
953
Also looking for a manual.
Also, any way to have it beep when low on electricity ?
Thanks.
I highly doubt it. The keypad polls the meter for a reading if and when a user enters the query "007". In theory the keypad should be able to automatically poll the meter once every hour/day/some interval and warn you, but it seems counter to the basic design implemented. Such an interval counter would probably require a more advanced microchip and consume more power itself. The keypad was designed for low power in order to run of batteries so that the user can enter voucher codes without power.
 

Rocket-Boy

Honorary Master
Joined
Jul 31, 2007
Messages
10,199
Only ever had postpaid, thanks for the info.

Don't think most meters have online functionality, so won't be able to enter it remotely.
The meters do have remote functionality, but it isnt publicly accessible.
The use the remote functionality to check for fraud and abuse monitoring.
 

DA-LION-619

Honorary Master
Joined
Aug 22, 2009
Messages
13,777
My take on the meter after about a months usage.

The PCMA prepaid meters Tshwane are using seem to be totally offline. Authentication / verification of bought tokens are probably done using offline decryption only. The pavement side meter seems to contain a plc, relay and usage meter. Comms between the meter and the in-house keypad run over your mains cable (house side only - i.e. plugging your keypad in at the neighbours house doesn't successfully establish a link to your meter). There is no rf or gsm comms from what I can tell. And probably also no upstream power line comms via the city's power infrastructure.

If there is ever a hope for online functionality, the OEM would need to produce a new keypad upgraded with wifi / ethernet and connect to your home network.

Edit/disclaimer: this is all just speculation based on my own use and guesses of how the system may operate. I do not advocate any reverse engineering. I also heard the system has tamper detection and saw in the tshwane budget doc that they may charge you severe fines for "resetting" a tampered meter.
Uses UHF if I remember, it’s just the meter.
The meter reports to the DCU.

The concept/standard for the tokens is called STS, I think Eskom came up with it.
By design the meter has a HSM for decrypting the token checking factors such as the time the voucher was created/purchased.
 

Mobus

Senior Member
Joined
Apr 5, 2007
Messages
953
The meters do have remote functionality, but it isnt publicly accessible.
The use the remote functionality to check for fraud and abuse monitoring.
Do you know if Tshwane actually use this functionality?

Reading between the lines (on PCMA's website and others) it seems like comms between the keypad and meter is mostly powerline comms (PLC) or a two-wire comms standard called DCPLC. Comms between the meter and the upstream "server"/"concentrator" devices used for monitoring, authentication etc is default PLC with onsite/manual servicing via RS458 and IR. Other remote connections are optional and include 5km range RF, GPRS or LAN. I suspect Tshwane is to cheap to subscribe to all the upstream management options. I also read somewhere about a user portal product but Tshwane definitely don't have that.

I was surpised though that the meter managed to keep time even after several street/ neighbourhood outages. Turns out the meter has an onboard RTC (which can be sync'ed via upstream comms).

My keypad managed to loose a few hours on its clock, perhaps due to a weak battery or battery exchange at somepoint (or it just a very bad internal clock - perhaps synced to AC 50hz like those old school analogue timer switches) . Date was still correct though.
 

DA-LION-619

Honorary Master
Joined
Aug 22, 2009
Messages
13,777
This is what else I have for a PCMA KY124 keypad talking to a PCR421 meter (trial and error):

000 "Total energy"
001 0 kwh (some limit perhaps?)
002 Instantaneous voltage
004 Instantaneous current
005 First 6 numbers of your PCMA meter serial #
008 Last 6 numbers of your PCMA meter serial #

* note this 12 digit serial is slightly different from your 11 digit card number used to buy units. In my case the first 10 digits of the card number is the same as the last 10 digits of the serial number, followed by a 2.

006 "Total purchased"
007 "Credit balance"
009 Read date from meter (sync?)
030 read time from meter (definitely sync keypad)
100 0kwh (min instantaneous power for the day perhaps?)
101 11kW (max instantaneous power for the day perhaps?)
200 "Last month Cons" = looks more like consumption since day 0
202 some kwh reading less than 200
204 some kwh reading less than 202
206 some kwh reading less than 204
208 some kwh reading less than 206
813 "Current power"
821 "Last purchased time"
841 "Last purchased"
888 read time from keypad?

I stopped guessing codes at 040. Most return NULL, except those noted above.
Also guessed 111,222,333,444,555,666,777,888,999 = NULL, except where noted above.
Also guessed 100,200,300,400,500,600,700,900 = NULL, except where noted above.
Also guessed 101-111 = NULL, except where noted above.
Also guessed 201-211 = NULL, except where noted above.
Also guessed 880-900 = NULL, except where noted above.

CodeFunctionCodeFunction
000Total energy kWh809Power consumption of last 10 months
001Total reverse kWh register810Power consumption of last 11 months
002Voltage811Power consumption of last 12 months
004Current813Current power kW
005Meter address high bit815Current tariff number
006Total purchased kWh818Current tariff price
007Current balance821Last credit Date and Time
008Meter address low bit8222nd most recent credit date and time
009Date (year/month/day)8233rd most recent credit date and time
030Time (hour/minute/second)8244th most recent credit date and time
050Alarm threshold 18255th most recent credit date and time
100Alarm threshold 2831Last power purchase token
101Load threshold8322nd most recent power purchase token
200Power consumption of last month8333rd most recent power purchase token
202Power consumption of last 2 months8344th most recent power purchase token
204Power consumption of last 3 months8355th most recent power purchase token
206Power consumption of last 4 months841Last purchase kWh
208Power consumption of last 5 months8422nd most recent purchase kWh
802Power consumption of last 6 months8433rd most recent purchase kWh
803Power consumption of last 7 months8444th most recent purchase kWh
807Power consumption of last 8 months8455th most recent purchase kWh
808Power consumption of last 9 months851Total number of token accepted
730Query CIU software version

 

Mobus

Senior Member
Joined
Apr 5, 2007
Messages
953
CodeFunctionCodeFunction
000Total energy kWh809Power consumption of last 10 months
001Total reverse kWh register810Power consumption of last 11 months
002Voltage811Power consumption of last 12 months
004Current813Current power kW
005Meter address high bit815Current tariff number
006Total purchased kWh818Current tariff price
007Current balance821Last credit Date and Time
008Meter address low bit8222nd most recent credit date and time
009Date (year/month/day)8233rd most recent credit date and time
030Time (hour/minute/second)8244th most recent credit date and time
050Alarm threshold 18255th most recent credit date and time
100Alarm threshold 2831Last power purchase token
101Load threshold8322nd most recent power purchase token
200Power consumption of last month8333rd most recent power purchase token
202Power consumption of last 2 months8344th most recent power purchase token
204Power consumption of last 3 months8355th most recent power purchase token
206Power consumption of last 4 months841Last purchase kWh
208Power consumption of last 5 months8422nd most recent purchase kWh
802Power consumption of last 6 months8433rd most recent purchase kWh
803Power consumption of last 7 months8444th most recent purchase kWh
807Power consumption of last 8 months8455th most recent purchase kWh
808Power consumption of last 9 months851Total number of token accepted
730Query CIU software version

Very nice. How did you find this knock-off Topscomm?
 

DA-LION-619

Honorary Master
Joined
Aug 22, 2009
Messages
13,777
Very nice. How did you find this knock-off Topscomm?
The Topscomm is the OEM, I assume PCMA is the rebrand.
It’s not easy to get a hardware security module, get approval etc unless you’re doing it on a large scale.
 

Bundu

Expert Member
Joined
Feb 15, 2011
Messages
3,421
I got hold of a copy of the user manual
 

Attachments

  • TSHWANE METER KY124 USER MANUAL.pdf
    499.5 KB · Views: 287
Top