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

Samsung ASHP MIMB19N support #177

Merged
merged 4 commits into from
Aug 24, 2022
Merged

Conversation

glynhudson
Copy link
Member

@glynhudson glynhudson commented Aug 20, 2022

Adds support to Minimalmodbus (multiple meters) interfacer to read from Samsung ASHP / HVAC using via the Samsung Modbus Module MIMB19N

Example config for Samsung ASHP

[[SAMSUNG-ASHP-MIB19N]]
    Type = EmonHubMinimalModbusInterfacer
    [[[init_settings]]]
        device = /dev/ttyUSB0
        baud = 9600
        parity = even
        datatype = int
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        read_interval = 10
        nodename = samsung-ashp
        # prefix = sdm_
        [[[[meters]]]]
            [[[[[ashp]]]]]
                address = 1
                registers = 75,74,72,65,66,68,52,59,58,2,79
                names = dhw_temp,dhw_target,dhw_status,return_temp,flow_temp,flow_target,heating_status,indoor_temp,indoor_target, defrost_status, away_status
                scales = 0.1,0.1,1,0.1,0.1,0.1,1,0.1,0.1,1,1
                precision = 2,2,1,2,2,2,1,2,2,1,1

Main changes:

  • Added option to set parity: even, odd, mark, space or none. Default is none
  • Added option to set datatype: int or float, this determines if the registers are read using read_register or read_float. Default is float.
  • Added option for scales to be able to scale integers to floats, default is no scale.

Note: It's not possible to read from and SDM120 at the same time as a Samsung ASHP using the same USB modbus device since SDM120 uses different baud rate and parity.

Screenshot 2022-08-22 03 07 13

@glynhudson glynhudson marked this pull request as ready for review August 22, 2022 02:18
@glynhudson glynhudson changed the title DRAFT: Samsung ASHP Modbus MIMB19N (do not merge) Minimalmodbus: Samsung ASHP MIMB19N Aug 22, 2022
@glynhudson glynhudson changed the title Minimalmodbus: Samsung ASHP MIMB19N Modbusminimal: Samsung ASHP MIMB19N Aug 22, 2022
@glynhudson glynhudson changed the title Modbusminimal: Samsung ASHP MIMB19N Modbusminimal multiple meters and Samsung ASHP MIMB19N Aug 24, 2022
@glynhudson glynhudson changed the title Modbusminimal multiple meters and Samsung ASHP MIMB19N Samsung ASHP MIMB19N support Aug 24, 2022
@glynhudson glynhudson merged commit 4cedd02 into minimalmodbus_multiple_meters Aug 24, 2022
@glynhudson glynhudson deleted the samsung-ashp branch August 24, 2022 21:54
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

Successfully merging this pull request may close these issues.

None yet

1 participant