-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from openenergymonitor/minimalmodbus_multiple…
…_meters Minimalmodbus multiple meters
- Loading branch information
Showing
5 changed files
with
254 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
[[SDM120]] | ||
Type = EmonHubSDM120Interfacer | ||
Type = EmonHubMinimalModbusInterfacer | ||
[[[init_settings]]] | ||
device = /dev/ttyUSB0 | ||
baud = 2400 | ||
parity = none | ||
datatype = float | ||
[[[runtimesettings]]] | ||
pubchannels = ToEmonCMS, | ||
read_interval = 10 | ||
nodename = SDM120 | ||
nodename = sdm120 | ||
# prefix = sdm_ | ||
[[[[meters]]]] | ||
[[[[[sdm120a]]]]] | ||
address = 1 | ||
registers = 0,6,12,18,30,70,72,74,76 | ||
names = V,I,P,VA,PF,FR,EI,EE,RI | ||
precision = 2,3,1,1,3,3,3,3,3 | ||
[[[[[sdm120b]]]]] | ||
address = 2 | ||
registers = 0,6,12,18,30,70,72,74,76 | ||
names = V,I,P,VA,PF,FR,EI,EE,RI | ||
precision = 2,3,1,1,3,3,3,3,3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
### SAMSUNG ASHP MIB19N Modbus | ||
|
||
Read data from a Samsung Heat Pump or HVAC unit using the [MIM-B19N Modbus module](https://www.samsung.com/uk/support/model/MIM-B19N/). Tested on AE050RXYDEG-EU Gen6 ASHP. Should work for all Samsung HVAC units. | ||
|
||
**read_interval:** Interval between readings in seconds | ||
|
||
```text | ||
[[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 | ||
``` |
19 changes: 19 additions & 0 deletions
19
conf/interfacer_examples/samsung-ashp/samsung-ashp.emonhub.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[[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 |
Oops, something went wrong.