Skip to content

Commit

Permalink
Add NeoPool hydrolysis FL1 and Redox flag (arendst#20258)
Browse files Browse the repository at this point in the history
  • Loading branch information
curzon01 authored and hawa-lc4 committed Dec 30, 2023
1 parent a206504 commit ca04d92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasmota/tasmota_xsns_sensor/xsns_83_neopool.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1882,6 +1882,10 @@ void NeoPoolShow(bool json)
ResponseAppend_P(PSTR(",\"" D_NEOPOOL_JSON_SHOCK "\":%d"), (NeoPoolGetData(MBF_HIDRO_STATUS) & MBMSK_HIDRO_STATUS_SHOCK_ENABLED) ? ((NeoPoolGetData(MBF_CELL_BOOST) & MBMSK_CELL_BOOST_NO_REDOX_CTL) ? 1 : 2) : 0 );
// S4
ResponseAppend_P(PSTR(",\"" D_NEOPOOL_JSON_LOW "\":%d"), (NeoPoolGetData(MBF_HIDRO_STATUS) & MBMSK_HIDRO_STATUS_LOW) ? 1 : 0 );
// S5
ResponseAppend_P(PSTR(",\"" D_NEOPOOL_JSON_FLOW1 "\":%d"), (NeoPoolGetData(MBF_HIDRO_STATUS) & MBMSK_HIDRO_STATUS_FL1) ? 0 : 1);
// S6
ResponseAppend_P(PSTR(",\"" D_NEOPOOL_JSON_REDOX "\":%d"), (NeoPoolGetData(MBF_HIDRO_STATUS) & MBMSK_HIDRO_STATUS_REDOX_ENABLED) ? 1 : 0);

ResponseJsonEnd();
}
Expand Down

0 comments on commit ca04d92

Please sign in to comment.