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 Gateway #1262

Closed
Eridani78 opened this issue Jun 9, 2024 · 4 comments · Fixed by #1281
Closed

NETATMO Gateway #1262

Eridani78 opened this issue Jun 9, 2024 · 4 comments · Fixed by #1281

Comments

@Eridani78
Copy link

Eridani78 commented Jun 9, 2024

Please consider the following LOG report if you would like to update your code to support Netatmo Gateway :

[2024-06-09 20:05:11][WARNING] : Unsupported value 92 has been returned for <enum 'GatewayType'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value NetatmoConfigurationComponent has been returned for <enum 'UIWidget'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value CarbonDioxideSensor has been returned for <enum 'UIClass'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value NetatmoConfigurationComponent has been returned for <enum 'UIWidget'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value CarbonDioxideSensor has been returned for <enum 'UIClass'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value NetatmoConfigurationComponent has been returned for <enum 'UIWidget'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value NoiseSensor has been returned for <enum 'UIClass'>
[2024-06-09 20:05:11][WARNING] : Unsupported value NoiseSensor has been returned for <enum 'UIWidget'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value CarbonDioxideSensor has been returned for <enum 'UIClass'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value NetatmoWeatherStationConfiguration has been returned for <enum 'UIWidget'>
[2024-06-09 20:05:11][WARNING] : Unsupported protocol netatmo has been returned for <enum 'Protocol'>
[2024-06-09 20:05:11][WARNING] : Unsupported value NetatmoHome has been returned for <enum 'UIWidget'>`

Thanks

@iMicknl
Copy link
Owner

iMicknl commented Jun 9, 2024

@Eridani78 how are you consuming this library? We can add these values to our enums, however you still need to write your own implementation.

For my understanding, why would you want to consume Netatmo device through Overkiz? Which gateway/hub do you have?

@Eridani78
Copy link
Author

Eridani78 commented Jun 10, 2024

Hi Mick,
I am trying to develop my own application (mainly written in PHP) in order to control some devices belonging to the Somfy families. I am not using HA.
Your lib is great (thank you for that Mick) and I found very convenient to use it to perform communication via Overkiz APIs.
In the last Somfy App, it is possible to bridge with other environment such as Netatmo, Hue, ...

I am using a Somfy Tahoma gateway.
When I "getSetup" via your lib, I import Somfy data along with extra environment data (Netatmo, Hue, ...).

So I provided these warning messages to you (and previously some other error messages) if you want to update your enums but it is just a proposal, not a formal request.
It is up to you and if you think, it will have no impact on your code operation.

Thanks again

@iMicknl
Copy link
Owner

iMicknl commented Jun 10, 2024

Thanks @Eridani78! We will include these values in the library.

Do you have more details about your gateway? Do you have a specific version of the Somfy TaHoma Gateway? We haven't seen
this GatewayType before.
[2024-06-09 20:05:11][WARNING] : Unsupported value 92 has been returned for <enum 'GatewayType'>

This library is mainly used in Home Assistant and here it is easy to use Netatmo and Hue directly via their integration, instead of relaying all the requests via the Somfy TaHoma integration / hub. It could be interesting to see if they have PHP libraries as well, since directly through the Hue / Netatmo API will most likely be a lot faster and stable.

@Eridani78
Copy link
Author

According to the Log report extract provided above, I unserstand 92 is the code for the Netatmo GatewayType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants