mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-16 18:36:10 +02:00
Revert "* Divisor HM-400 angepasst (für Wh)"
This reverts commit c65607026c
.
This commit is contained in:
parent
a3e5fd93f2
commit
aa2c495d2f
2 changed files with 2 additions and 2 deletions
|
@ -433,7 +433,7 @@ void app::showLiveData(void) {
|
|||
char topic[30], val[10];
|
||||
for(uint8_t i = 0; i < iv->listLen; i++) {
|
||||
snprintf(topic, 30, "%s/ch%d/%s", iv->name, iv->assign[i].ch, mSys->getFieldName(iv, i));
|
||||
snprintf(val, 12, "%.3f %s", mSys->getValue(iv, i), mSys->getUnit(iv, i));
|
||||
snprintf(val, 10, "%.3f %s", mSys->getValue(iv, i), mSys->getUnit(iv, i));
|
||||
modHtml += String(topic) + ": " + String(val) + "\n";
|
||||
}
|
||||
modHtml += "</pre>";
|
||||
|
|
|
@ -64,7 +64,7 @@ const byteAssign_t hm400assignment[] = {
|
|||
{ FLD_IDC, UNIT_A, CH1, CMD01, 5, 2, 100 },
|
||||
{ FLD_PDC, UNIT_W, CH1, CMD01, 7, 2, 10 },
|
||||
{ FLD_YT, UNIT_KWH, CH1, CMD01, 9, 4, 1000 },
|
||||
{ FLD_YD, UNIT_WH, CH1, CMD01, 13, 2, 1 },
|
||||
{ FLD_YD, UNIT_WH, CH1, CMD01, 13, 2, 1000 },
|
||||
{ FLD_UAC, UNIT_V, CH0, CMD01, 15, 2, 10 },
|
||||
{ FLD_F, UNIT_HZ, CH0, CMD82, 1, 2, 100 },
|
||||
{ FLD_PAC, UNIT_W, CH0, CMD82, 3, 2, 10 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue