Compare commits

..

2 Commits

Author SHA1 Message Date
jenkins
64b64f26d3 Jenkins release build 1.16.1 2026-09-14 10:48:10 +02:00
Simon Stürz
d7b51b8ac8 shelly: Fix energy meter current reading for phase B 2026-09-09 14:20:52 +02:00
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
nymea-plugins (1.16.1) resolute; urgency=medium
[ Simon Stürz ]
* shelly: Fix energy meter current reading for phase B
-- jenkins <developer@nymea.io> Mon, 14 Sep 2026 10:48:10 +0200
nymea-plugins (1.16.0) resolute; urgency=medium
[ Simon Stürz ]

View File

@ -1933,7 +1933,7 @@ void IntegrationPluginShelly::setupGen2Plus(ThingSetupInfo *info)
thing->setStateValue(shellyPro3EMCurrentPhaseAStateTypeId, em0.value("a_current").toDouble());
thing->setStateValue(shellyPro3EMCurrentPowerPhaseBStateTypeId, em0.value("b_act_power").toDouble());
thing->setStateValue(shellyPro3EMVoltagePhaseBStateTypeId, em0.value("b_voltage").toDouble());
thing->setStateValue(shellyPro3EMCurrentPhaseCStateTypeId, em0.value("c_current").toDouble());
thing->setStateValue(shellyPro3EMCurrentPhaseBStateTypeId, em0.value("b_current").toDouble());
thing->setStateValue(shellyPro3EMCurrentPowerPhaseCStateTypeId, em0.value("c_act_power").toDouble());
thing->setStateValue(shellyPro3EMVoltagePhaseCStateTypeId, em0.value("c_voltage").toDouble());
thing->setStateValue(shellyPro3EMCurrentPhaseCStateTypeId, em0.value("c_current").toDouble());
@ -1944,7 +1944,7 @@ void IntegrationPluginShelly::setupGen2Plus(ThingSetupInfo *info)
thing->setStateValue(shelly3EMCurrentPhaseAStateTypeId, em0.value("a_current").toDouble());
thing->setStateValue(shelly3EMCurrentPowerPhaseBStateTypeId, em0.value("b_act_power").toDouble());
thing->setStateValue(shelly3EMVoltagePhaseBStateTypeId, em0.value("b_voltage").toDouble());
thing->setStateValue(shelly3EMCurrentPhaseCStateTypeId, em0.value("c_current").toDouble());
thing->setStateValue(shelly3EMCurrentPhaseBStateTypeId, em0.value("b_current").toDouble());
thing->setStateValue(shelly3EMCurrentPowerPhaseCStateTypeId, em0.value("c_act_power").toDouble());
thing->setStateValue(shelly3EMVoltagePhaseCStateTypeId, em0.value("c_voltage").toDouble());
thing->setStateValue(shelly3EMCurrentPhaseCStateTypeId, em0.value("c_current").toDouble());