iec62056-21 icon indicating copy to clipboard operation
iec62056-21 copied to clipboard

Problem with client.read_value

Open ProjectGroupScep opened this issue 1 year ago • 0 comments

Hello,

I am trying to connect with my energy meter using your library. When I use standard_redout() I get all the information on one line and they are correct. Can you tell me how can I read only one address for example '1.8.0' , which function to use and how to write the address in it.

I can't find any information in documentation about that and "Example usage:" from iec62056_21.client import Iec6205621Client

client = Iec6205621Client.with_tcp_transport(address=('192.168.0.1', 8000), device_address='12345678', password='00000000') password_challange = client.access_programming_mode() client.send_password('00000000') # Common standard password data_answer = client.read_value('1.8.0')

is incorrect because I can't import data_answer =client.read_value('1.8.0'). I can use only read_single_value, read_response, read_identification.

ProjectGroupScep avatar Nov 02 '22 11:11 ProjectGroupScep