mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-09 14:05:24 +00:00
Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT (#662)
* Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT * W600/W800 logging bug fix * EnergyMetering - negative values correction. - Enenrgy metering must continue with high precission values can not be skipped. In case of negative values zero value must be used for calculation Energy is calculated as power/time. Timing calculation is measured between sampels. If skipping samples, timing calculation it then incorrect as well as energy calculation * Logical filterring and correction for peaks in measuremed values. --------- Co-authored-by: valeklubomir <valeklubomir@gmail.com>
This commit is contained in:
@ -408,7 +408,7 @@ const char* htmlPinRoleNames[] = {
|
||||
"SM2135CLK",
|
||||
"BP5758D_DAT",
|
||||
"BP5758D_CLK",
|
||||
"BP1658CJ_DAT",
|
||||
"BP1658CJ_DAT",
|
||||
"BP1658CJ_CLK",
|
||||
"PWM_n",
|
||||
"IRRecv",
|
||||
@ -437,7 +437,9 @@ const char* htmlPinRoleNames[] = {
|
||||
"SoftSCL",
|
||||
"SM2235DAT",
|
||||
"SM2235CLK",
|
||||
"error",
|
||||
"BridgeFWD",
|
||||
"BridgeREV",
|
||||
"error",
|
||||
"error",
|
||||
"error",
|
||||
"error",
|
||||
@ -747,4 +749,4 @@ const char pageScript[] = "<script type='text/javascript'>var firstTime,lastTime
|
||||
|
||||
//region_start ha_discovery_script
|
||||
const char ha_discovery_script[] = "<script type='text/javascript'>function send_ha_disc(){var e=new XMLHttpRequest;e.open(\"GET\",\"/ha_discovery?prefix=\"+document.getElementById(\"ha_disc_topic\").value,!1),e.onload=function(){200===e.status?alert(e.responseText):404===e.status&&alert(\"Error invoking ha_discovery\")},e.onerror=function(){alert(\"Error invoking ha_discovery\")},e.send()}</script>";
|
||||
//region_end ha_discovery_script
|
||||
//region_end ha_discovery_script
|
||||
|
||||
Reference in New Issue
Block a user