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

Still not working.. #2

Open
Tweakerd opened this issue Aug 31, 2021 · 1 comment
Open

Still not working.. #2

Tweakerd opened this issue Aug 31, 2021 · 1 comment

Comments

@Tweakerd
Copy link

Thanks for quick response.

The removal of the platform: yr in the yaml file is not the problem..
I already removed it, because otherwise you can't restart HA due to a error.

As I understoot from your manual, if everything is working well, there should be a new integration popping up in the tab integrations.. That is not happening..

FYI:
I'm running HASSIO on a RASPBERRY 4+ 8GB
The USB device is: ttyUSB0
/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AB0MSDSX-if00-port0
Subsysteem:
tty
Apparaatpad:
/dev/ttyUSB0
ID:
/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AB0MSDSX-if00-port0

I'm connected to a SDM720M-D..
Works great on Domoticz for quite a while..

Of course.. I've changed the register.yaml to comply to the SDM720 instead of the SDM630..
there are quite some different adresses.

hope this information is usefull

regards,

@dingo35
Copy link

dingo35 commented Dec 29, 2021

The modbus configuration options have changed; so with current (2021.12.6) HomeAssistant this will work on an Eastron SDM72D-M (the sign before "type" is the minus sign):

modbus:

  • type: serial
    method: rtu
    port: /dev/ttyUSB0
    baudrate: 9600
    stopbits: 1
    bytesize: 8
    parity: N
    close_comm_on_error: false
    retry_on_empty: true
    retries: 10
    delay: 10
    message_wait_milliseconds: 1000
    timeout: 10
    #sensors:
    sensors: !include sdm72_registers.yaml

Part of sdm72_registers.yaml:

  • name: Phase 1 line to neutral volts
    slave: 1
    address: 0
    input_type: input
    data_type: float32
    precision: 2
    unit_of_measurement: V
    scan_interval: 60
    count: 2

  • name: Phase 2 line to neutral volts
    slave: 1
    address: 2
    input_type: input
    data_type: float32
    precision: 2
    unit_of_measurement: V
    scan_interval: 60
    count: 2

etc.

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

2 participants