From 4e913e6a7f88d8e12c147e7730c8ab4f04c09612 Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 6 Nov 2021 14:02:54 +0100 Subject: [PATCH] fixed phase count and frequency common setting --- tasmota/xnrg_21_sdm230.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/xnrg_21_sdm230.ino b/tasmota/xnrg_21_sdm230.ino index b73d90341..9cdbdea81 100644 --- a/tasmota/xnrg_21_sdm230.ino +++ b/tasmota/xnrg_21_sdm230.ino @@ -190,6 +190,8 @@ void Sdm230SnsInit(void) uint8_t result = Sdm230Modbus->Begin(SDM230_SPEED); if (result) { if (2 == result) { ClaimSerial(); } + Energy.phase_count = 1; + Energy.frequency_common = true; // Use common frequency } else { TasmotaGlobal.energy_driver = ENERGY_NONE; }