{ // // ---------------------------------------------------------------------------------------- // Meter definition for Eastron SDM72D Modbus (Erweitert) // ---------------------------------------------------------------------------------------- // // Created: BCo // Datum: 06.11.2022 // // Change log: // ---------- // 06.11.2022 - BCo - Initial working version. // 09.11.2022 - BCo - Corrected resolution for power values and changed regster for // import and export from 30053 (34) to 31281 (0500 / 1280) resp. // added export at 31283 (0502 / 1282) // ---------- // // Hint: // ---------- // Should work with all SDM72 meters (V1 as well as V2). // // Important: Not the address register for the input registers has to be used // to access the values but the // "Modbus Protocol Start Address Hex" (converted to decimal) as specified // in the documentation for the SDM630 meter. // ("Eastron SDM630Modbus Smart Meter Modbus Protocol Implementation V1.7") // ---------- // // ---------------------------------------------------------------------------------------- // // Type of API / access: // 0 = modbus, 1 = http/json "rtype": 0, // As displayed in the config dialog "name": "Eastron DCM230", "manufacturer": "Eastron", // Will be prefixed by "meter_" "dev_type": "DCM230-modb-ext", // Modbus parameters "rtu": { "silence_period": 50, // msec "silence_same_slave": false, "retries": 4, "rcv_timeout": 120 // msec }, "modbus_read": 4, // Function code to read registers "modbus_read_max_registers": 60, "modbus_write": 10, // Function code to write register(s) "modbus_write_max_registers": 40, // Values used to build the model string "type_designation": { "address": 0, "type": "string", "fixed": "DCM230c" }, "version": { "address": 0, "type": "string", "fixed": "1.2" }, "firmware_version": { "address": 0, "type": "string", "fixed": "1.5" }, "serial": { "address": 0, "type": "string", "fixed": "0" }, // Instantaneous values // // Voltage "voltage_l1": { "address": 0, "type": "float" }, // Current per phase "current_l1": { "address": 6, "type": "float", "resolution": 1000.0 }, // Power per phase "power_w_l1": { "address": 12, "type": "float", "resolution": 1.0 }, // Accumulated values for watt hours // "import_wh": { "address": 72, "type": "float", "resolution": 1000.0 // Result in Wh }, "export_wh": { "address": 74, "type": "float", "resolution": 1000.0 // Result in Wh }, // Inputs, modbus only "inputs": [ ] }