-
Notifications
You must be signed in to change notification settings - Fork 5
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
Retrying setup: 'NoneType' object has no attribute 'value' #18
Comments
Released V3.2.2 which should fix the problem. Could you try that, and post your feedback. Thanks. |
Hi, Thank you for the quick reply.
Regards, Wouter |
Ok. I will give it a new try tomorrow morning. In the meantime can you check your data. The origin of the error is missing wind data, and that could be a sign of error on your meteobridge or the attached weather station. |
Thanks. |
If there is no wind, it should still return a 0, and that is all I need. Could you try and copy the below, and execute it in a browser. Before you do, change IP_ADDRESS to the IP Address of your meteobridge, and also change USERNAME and PASSWORD to what you use. Then post the result here. This will give me the raw data that is returned. (Don't worry it is a very long string)
|
Here are the results:
|
Also, I expect the wind sensor to be mapped to the logical wind0 sensor as you can see in the picture below. This is how it works in 99% of all installationes. If your wind sensor is mapped to another logical number you can remap it using the settings below. You will have to do this for all 4 wind physical sensors. |
Hi, I did check this before (and before adding the issue ;-() and the reading was OK. |
OK. I will make a new release now, that should make the Integration run, but you might not see any wind sensors (or they will have the state Unknown). Once you have fixed the physical issue, just restart the Integration and the Wind Sensors should show again. |
Thank you for the adjustments in the integration which is great btw! |
Hi, No idea what caused (is causing) the outage but placing the console somewhere else is for now the solution (after changing batteries and other standard things). Nice thing; a restart of the integration was not necessary. All the sensors off the integration are showing a status or value. Wouter |
Must be some kind of interference between the console and the Station. Anyway, glad it is solved. I will close this. |
Hi,
Since the last couple of days the integration is showing Retrying setup: 'NoneType' object has no attribute 'value'
Have it removed and installed again but that did not help.
The error in de core-log shows:
2021-12-15 17:15:56 ERROR (MainThread) [custom_components.meteobridge] Unexpected error fetching meteobridge data: 'NoneType' object has no attribute 'value' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data return await self.update_method() File "/config/custom_components/meteobridge/__init__.py", line 94, in async_update_data data: ObservationDescription = await meteobridgeapi.update_observations() File "/usr/local/lib/python3.9/site-packages/pymeteobridgedata/api.py", line 139, in update_observations beaufort=beaufort_data.value, AttributeError: 'NoneType' object has no attribute 'value'
Can not figure out what the problem is. Thought that it was related to the new HA version so I upgraded HA.
That did not help and tried to remove and install it again but that did not help either.
The meteobridge was up and running but to be certain I rebooted the meteobridge but seeing the same error in the log.
Running version of HA:
core-2021.12.1
supervisor-2021.12.2
Home Assistant OS 7.0
Running on the meteobridge : Meteobridge 5.2 (Dec 6 2021, build 4077), FW 1.4
Hope you can help to solve this.
Thanks.
Regards,
Wouter
The text was updated successfully, but these errors were encountered: