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

add support for Dyness battery #26

Open
andysu opened this issue Feb 6, 2023 · 0 comments
Open

add support for Dyness battery #26

andysu opened this issue Feb 6, 2023 · 0 comments

Comments

@andysu
Copy link

andysu commented Feb 6, 2023

As i know - dyness (B4850) has the same protocol as Pylon

In my case -
DIP - 0100
Serial port speed - 9600bps

BUT
>>> p.scan_for_batteries(1,2) {1: 'ëD$\x8dëD$\x8dëD$\x8dëD$\x8d'}

>>> p.get_module_serial_number() Container(CommandValue=2, ModuleSerialNumber=b'\xc3\xabD$\xc2\x8d\xc3\xabD$\xc2\x8d\xc3\xabD$\xc2\x8d\xc3\xabD$\xc2\x8d')

and
p.get_values() not wiorking
work only
p.get_values_single(0x2)

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