Hello,
I now manage the floodlight of my netatmo camera using a virtual switch in domoticz. [ a huge thanks to the domoticz's Team! ]
The php script behind, may interest others, so i decide to share.
https://github.com/Phil353556/netatmo-floodlight
Take it, try it and share feedbacks, I will appreciate.
Thank you & happy new year 2024!
Kind regards
Phil
Management of floodlight for Netatmo camera
Moderator: leecollings
-
- Posts: 12
- Joined: Wednesday 02 September 2020 8:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: France
- Contact:
Management of floodlight for Netatmo camera
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
-
- Posts: 12
- Joined: Wednesday 02 September 2020 8:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: France
- Contact:
Re: Management of floodlight for Netatmo camera
Hello,
Latest version of domoticz (minimun version is 2024.1) integrates the new authentification method of Netatmo based on tokens and no more with a username and a password. Than means that it is possible to get all the weather station information via domoticz.
However to interact avec others devices such floodlight camera, it is not possible, as the access to the "access_token" store in domoticz is needed.
So :
- A new script https://github.com/Phil353556/netatmo-manage-tokens has been written to request initials tokens and then to manage the refresh of the access_token which expires every 3 hours. This script runs via a crontab and the script netatmo-floodlight accesses to the access_token store in a file, to be able to interact with the devices.
- The script netatmo-floodlight must be updated to take this change into account. The script will be updated in the next days on github.com.
Hope this helps
Don't hesitate to share any feedback in a constructive way.
Phil
Latest version of domoticz (minimun version is 2024.1) integrates the new authentification method of Netatmo based on tokens and no more with a username and a password. Than means that it is possible to get all the weather station information via domoticz.
However to interact avec others devices such floodlight camera, it is not possible, as the access to the "access_token" store in domoticz is needed.
So :
- A new script https://github.com/Phil353556/netatmo-manage-tokens has been written to request initials tokens and then to manage the refresh of the access_token which expires every 3 hours. This script runs via a crontab and the script netatmo-floodlight accesses to the access_token store in a file, to be able to interact with the devices.
- The script netatmo-floodlight must be updated to take this change into account. The script will be updated in the next days on github.com.
Hope this helps
Don't hesitate to share any feedback in a constructive way.
Phil
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
-
- Posts: 12
- Joined: Wednesday 02 September 2020 8:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.1
- Location: France
- Contact:
Re: Management of floodlight for Netatmo camera
Hello,
script now available: https://github.com/Phil353556/netatmo-floodlight
Run without any issue since days with domoticz and a connected button zigbee
https://www.domadoo.fr/fr/peripheriques ... ee-30.html
Thanks to the zigbee team for their support @pipiche @deufo
best regards
Phil
script now available: https://github.com/Phil353556/netatmo-floodlight
Run without any issue since days with domoticz and a connected button zigbee
https://www.domadoo.fr/fr/peripheriques ... ee-30.html
Thanks to the zigbee team for their support @pipiche @deufo
best regards
Phil
Production platform uses domoticz v2023.1
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
Production platform (for Netatmo and Zigbee) uses domoticz v2024.7
-
- Posts: 64
- Joined: Tuesday 16 October 2018 23:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Belgium
- Contact:
Re: Management of floodlight for Netatmo camera
There is a lot off work done for the Netatmo authentication and the new API / more devices.
see viewtopic.php?p=322718&hilit=Netatmo#p322718
The latest Beta has the Floodlight working, and there is work on Github for testing with other devices to.
Kind regards
see viewtopic.php?p=322718&hilit=Netatmo#p322718
The latest Beta has the Floodlight working, and there is work on Github for testing with other devices to.
Kind regards
Who is online
Users browsing this forum: No registered users and 0 guests