Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with client.read_value #32

Open
ProjectGroupScep opened this issue Nov 2, 2022 · 0 comments
Open

Problem with client.read_value #32

ProjectGroupScep opened this issue Nov 2, 2022 · 0 comments

Comments

@ProjectGroupScep
Copy link

ProjectGroupScep commented Nov 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant