-
Notifications
You must be signed in to change notification settings - Fork 21
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
support protocol mode = 2 in AckOptionSelectMessage #19
Comments
Hi. Im back from vacation. I think this is 2 issues. Could you create the load profile as a separate one? |
Krolken
added a commit
that referenced
this issue
Aug 19, 2021
Hi,
im on vacation right now.
Tried to read P.01 profile with success. I had to make same changes in
code due to different requirements in meter communication.
W dniu 18.08.2021 o 17:35, Henrik Wahlgren pisze:
…
Hi. Im back from vacation.
I think this is 2 issues. Could you create the load profile as a
separate one?
I am guessing that you want to read the P.01 profile for example. It
should be possible to grok as it is. But there is now parsing in it as
of now. I have some old code for it that is not working with this
library though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APTEG524MPB3S3FBXNN5EVLT5PHNDANCNFSM5AJHYQ7A>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I changed:
def to_representation(self): return f"{constants.ACK}2{self.baud_char}{self.mode_char}{constants.LINE_END}"
and the meter responds with standard readout.
16:14:30,929 DEBUG: Connecting to ('192.168.200.222', 2222) 16:14:30,931 INFO: Staring init sequence 16:14:30,931 INFO: Sending request message: RequestMessage(device_address='') 16:14:30,931 DEBUG: Sent b'/?!\r\n' over transport: TcpTransport 16:14:30,931 DEBUG: Resting for 0.25 seconds 16:14:31,182 DEBUG: Received b'/APA5\\2NORAX30\r\n' over transport: TcpTransport 16:14:31,182 INFO: Received identification message: IdentificationMessage(identification='2NORAX30', manufacturer='APA', switchover_baudrate_char='5') 16:14:31,182 INFO: Sending AckOptionsSelect message: AckOptionSelectMessage(baud_char='5', mode_char='6') 16:14:31,182 DEBUG: Sent b'\x06256\r\n' over transport: TcpTransport 16:14:31,182 DEBUG: Resting for 0.25 seconds 16:14:31,433 INFO: Reading standard readout from device. 16:14:33,220 DEBUG: Received b'\x020-0:C.1.0(72432595)\r
party is set to 7E1. The converter is set manually. If i switch to 8N1 the meter stops responding.
Using manufacturers software I can read via IEC mode C additional registers. Registers hold energy consumption every 15 and 60 minutes but they are protected with the password. I dont know how to read them with Your library.
UPDATE
I think that support for LOAD_PROFILE is missing
The text was updated successfully, but these errors were encountered: