Skip to content

add support for Dyness battery #26

Open
@andysu

Description

@andysu

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions