Esp-homekit-devices: Can entering the setup mode be solved more elegant?

Created on 19 Apr 2020  路  13Comments  路  Source: RavenSystem/esp-homekit-devices

What I really "hate" right now is triggering of the setup mode. I'm using Shelly 1's mostly, which don't have a physical button and turning off those shelly's and then triggering the switch 8 times, is really cumbersome if you have many devices throughout the house. Is there a way to trigger the setup mode over HTTP? Is it possible to run a simple web server all the time on the device (while working with HomeKit)? This would really make our life easier :)

stale

Most helpful comment

add this code along
{"i":0.5,"1":{"s":[{"a":1}]}}

it will add a dummy switch in homekit, once triggered it will put the device into setup mode.

example of a sonoff basic with dummy switch code
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}

All 13 comments

You can create a dummy switch to enter in setup mode when you want!

add this code along
{"i":0.5,"1":{"s":[{"a":1}]}}

it will add a dummy switch in homekit, once triggered it will put the device into setup mode.

example of a sonoff basic with dummy switch code
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}

Thanks, a dummy switch would be great. This is clearly missing in the wiki.

Is it possible that by adding an extra switch to trigger setup mode, Siri gets confused and thinks I have 2 devices with the same name (although the switch is named HAA-XXXXX)?

yes, one is for setup mode and the other is for real relay.
I suggest you to rename dummy switch and move it to dummy room.
To find the right switch you have to try!

Exactly what I've done. One is "Garage Door" in room "Garage", other is "HAA-XXXXX" in room "Setup mode". Looks like Siri gets confused because it's the same device behind those two accessories.

Which type of problem you have?
I haven鈥檛 any similar issue.

Please share some screenshoot of your configuration.

Screenshot 2020-04-23 at 12 32 06
Screenshot 2020-04-23 at 12 40 48
Screenshot 2020-04-23 at 12 40 53

Never had this issue. I have some devices with multiple switches (Setup-Mode, OTA-Update, Light, Switch). I renamed all accessories (eg. "... SetupMode", "... OTAUpdate", "... Light", "... Switch"). And Siri works without any issues.

You can do an example of Siri problem?

siri_bug

Have you already tried to rename dummy switch?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xrust83 picture xrust83  路  4Comments

arturodiazad1 picture arturodiazad1  路  5Comments

richardlimaa picture richardlimaa  路  4Comments

GPL71 picture GPL71  路  5Comments

maciekfreak picture maciekfreak  路  4Comments