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

[netatmo] Support for the floodlight of the Presence camera #7912

Closed
Novanic opened this issue Jun 13, 2020 · 4 comments
Closed

[netatmo] Support for the floodlight of the Presence camera #7912

Novanic opened this issue Jun 13, 2020 · 4 comments
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@Novanic
Copy link
Contributor

Novanic commented Jun 13, 2020

The Presence camera is supported since OpenHAB 2.5.6 (see #3059 ).

It would be neat when the floodlight of the Presence camera could get switched. That would for example allow ...

  • to build a remote control
  • to program complex rules where the floodlight gets switched on (only) under certain conditions.
  • flashing the floodlight to signal an alarm
@Novanic Novanic added the enhancement An enhancement or new feature for an existing add-on label Jun 13, 2020
@Novanic
Copy link
Contributor Author

Novanic commented Jun 13, 2020

I got it already running, but it may take some time for optimizations and till the pull-request is done.

If you want to review or test it, you can find the current state here: https://github.com/Novanic/openhab-addons/tree/netatmo-presence-enhancements

@yfre
Copy link
Contributor

yfre commented Jun 14, 2020

@Novanic is it possible to switch camera ON and OFF? is it supported by Netatmo API?

cpmeister pushed a commit that referenced this issue Jun 18, 2020
* [#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
@Novanic
Copy link
Contributor Author

Novanic commented Jun 18, 2020

@Novanic is it possible to switch camera ON and OFF? is it supported by Netatmo API?

Yes, with an undocumented API endpoint. I have opened issue #7938 for that.

@yfre
Copy link
Contributor

yfre commented Jun 18, 2020

@Novanic is it possible to switch camera ON and OFF? is it supported by Netatmo API?

Yes, with an undocumented API endpoint. I have opened issue #7938 for that.

cool. really need it. (tired to switch camera everyday off when the mower robot start to work - it gets detected as a car :)

@Novanic Novanic closed this as completed Jun 20, 2020
knikhilwiz pushed a commit to knikhilwiz/openhab2-addons that referenced this issue Jul 12, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this issue Jul 26, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
Signed-off-by: CSchlipp <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this issue Sep 1, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
Signed-off-by: Daan Meijer <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this issue Sep 19, 2020
…hab#7927)

* [openhab#7912] Support for the floodlight of the Presence camera
- Support for the floodlight of the Presence camera added (There are 2 new switches to set the floodlight auto-mode and to switch the floodlight on and off/auto).
- Netatmo API swagger spec updated
- Tests added
* Exception handling and logging corrected
* Potential crash fixed which could occur when a wrong JSON response is returned by the ping command request (when it is a valid JSON but without the expected attribute "local_url").

Signed-off-by: Sven Strohschein <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

2 participants