Iec62056 Protocol 1.0.1 | GitLocker.com Product

iec62056-protocol 1.0.1

Last updated:

0 purchases

iec62056-protocol 1.0.1 Image
iec62056-protocol 1.0.1 Images

Free

Languages

Categories

Add to Cart

Description:

iec62056protocol 1.0.1

Python IEC62056 Meter Tools
How to use ?
Install
pip install py-iec62056

Create SerialClient
client = SerialClient(
baudrate=19200,
port="COM3",
transport="serial",
parity="E",
bytesize=7,
stopbits=1
)

Read A meter identification
This return an identification message from the meter.
You must set the ack_stop to True if you don't want to meter to give the default table.
result = client.read_tariff_identification("5987893", ack_stop=True)

Read Table dataset
This will return a list of DataSet instance.
Raise error if Timeout.
result = client.request(meter_address="5987893", table=7, timeout=30)
assert isinstance(result, TariffResponse)
for dataset in result.data:
logging.info(f"{dataset}")

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.