This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Reset the pulse timeout every time an MQTT message is sent with the non-normal payload value (
#454
)
i18n
Xose Pérez
6 years ago
parent
d69d6bfd54
commit
51298a6061
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
code/espurna/relay.ino
+ 3
- 0
code/espurna/relay.ino
View File
@ -146,6 +146,9 @@ bool relayStatus(unsigned char id, bool status, bool report, bool group_report)
rfbStatus
(
id
,
status
)
;
#
endif
// Update the pulse counter if the relay is already in the non-normal state (#454)
relayPulse
(
id
)
;
}
else
{
unsigned
int
current_time
=
millis
(
)
;
Write
Preview
Loading…
Cancel
Save