Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to detect when the developper mode is enabled? #90

Closed
tetienne opened this issue Feb 14, 2023 · 5 comments
Closed

How to detect when the developper mode is enabled? #90

tetienne opened this issue Feb 14, 2023 · 5 comments
Labels
enhancement New feature or request fixed Bug or enhancement is available in the current version

Comments

@tetienne
Copy link
Contributor

tetienne commented Feb 14, 2023

To enhance the user experience within Home Assistant (and for other iot hub), it would be nice to have the status of the dev mode returned by the cloud API. This status would have 3 states:

  • enabled: the end user has enabled the dev mode on his Tahoma
  • disabled: the end user has not enabled the dev mode on this Tahoma
  • not supported: the dev mode is not supported by the box
@Velocet
Copy link

Velocet commented Feb 16, 2023

Why not use mDNS and/or ping the local api?

Bonus: Show a hint about the local api but keep the wording simple: Image a non tech savvy person that doesnt know what a so called „API“ is :)

@tetienne
Copy link
Contributor Author

@Velocet Because you can ping the local api even if you didn’t enable it.

@llavorel-somfy llavorel-somfy added the enhancement New feature or request label Mar 29, 2023
@tetienne
Copy link
Contributor Author

@llavorel-somfy @vhenriet-sfy Any feedback?

@llavorel-somfy
Copy link
Contributor

llavorel-somfy commented Jun 30, 2023

You can use the GET /setup/options/developerMode-{{gatewayId}}.
If the payload is empty '{}', the mode is disabled.

@tetienne
Copy link
Contributor Author

That’s perfect. Many thx.

@llavorel-somfy llavorel-somfy added the fixed Bug or enhancement is available in the current version label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed Bug or enhancement is available in the current version
Projects
None yet
Development

No branches or pull requests

3 participants