Sonoff Mini R2 - momentary switch with auto shutdown #1587
giannipi
started this conversation in
MEPLHAA Scripts Collection
Replies: 3 comments 3 replies
-
and if I need to set a shutdown delay of 0.5 seconds, will it work? JSON: Or does it only work with whole seconds? Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
-
No, only whole seconds...
Il giorno gio 18 ago 2022 alle ore 13:33 vitoitaliano <
***@***.***> ha scritto:
… and if I need to set a shutdown delay of 0.5 seconds, will it work?
JSON:
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"*d":0.5,*
"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0},{"g":4}]}]}
Or does it only work with whole seconds? Thank you.
—
Reply to this email directly, view it on GitHub
<#1587 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APK7DBAMC7KXEE3VG4PLW7DVZYNQRANCNFSM5F4JU45Q>
.
You are receiving this because you authored the thread.Message ID:
<RavenSystem/esp-homekit-devices/repo-discussions/1587/comments/3422132@
github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
yes.
ma sei italiano?
Il giorno gio 18 ago 2022 alle ore 15:57 vitoitaliano <
***@***.***> ha scritto:
… So I can change by one second? Correctly?
JSON:
{"c":{"l":13,"b":[{"g":0,"t":5}]},*"a":[{"d":1,*
"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0},{"g":4}]}]}
—
Reply to this email directly, view it on GitHub
<#1587 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APK7DBBB5GTRXJTUG47MV6TVZY6L5ANCNFSM5F4JU45Q>
.
You are receiving this because you authored the thread.Message ID:
<RavenSystem/esp-homekit-devices/repo-discussions/1587/comments/3423227@
github.com>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Device Name: Sonoff Mini R2
URL to Device: https://sonoff.tech/product/diy-smart-switch/minir2/
Used HAA versions: 7.00 to 8.0.0
Summary of functions: Momentary switch controls on/off and automatic shutdown after 60 seconds.
JSON:
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"d":60,"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0},{"g":4}]}]}
Long description:
Thanks to:
Dido Hometech flash Sonoff Mini R2 OTA
TriderG75 for the JSON
Beta Was this translation helpful? Give feedback.
All reactions