Comments (9)
Recently pushed version (0.4.5) adds timeout to http requests.
Please update the integration, check it on your side too and get back to me with results.
from fkf-garbage-collection.
0.4.1 fixes the reported issue.
Please update the integration, test on your side too and get back to me with results.
from fkf-garbage-collection.
Updated to 0.4.2, behavior still runs in error:
2021-11-13 08:13:05 ERROR (MainThread) [homeassistant.components.sensor] fkf_garbage_collection: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 651, in async_device_update
await task
File "/config/custom_components/fkf_garbage_collection/sensor.py", line 362, in async_update
fkfdata = await async_get_fkfdata(self)
File "/config/custom_components/fkf_garbage_collection/sensor.py", line 185, in async_get_fkfdata
async with self._session.get(url) as response:
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1117, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
await resp.start(conn)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 890, in start
message, payload = await self._protocol.read() # type: ignore
File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 604, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
from fkf-garbage-collection.
Just pushed a release addressing the Server Disconnected exception when getting the cookie.
Please update the integration and get back to me with results.
from fkf-garbage-collection.
No more error in the log (+data reloads when site becomes available), but attributes data is incorrect:
next_communal_days: null
next_green_days: 1
next_selective_days: null
calendar_lang: en
provider: Data provided by fkf.hu
friendly_name: FKF hulladék
icon: mdi:trash-can-outline
Most important is missing the current
attribute, which should be present and set to false
in cases like this.
Additionally it would be nice to show cached data from the last successfull parsing...
from fkf-garbage-collection.
Just pushed 0.4.4 that will set the current
attribute to false
and old/outdted data will populate the attributes (instead of null).
Please update the integration and get back to me with results.
from fkf-garbage-collection.
HA does not start:
2021-12-06 19:12:50 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.fkf_garbage_collection
2021-12-06 19:13:51 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.fkf_garbage_collection
2021-12-06 19:14:51 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.fkf_garbage_collection
2021-12-06 19:15:51 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.fkf_garbage_collection
from fkf-garbage-collection.
Any update on this issue?
from fkf-garbage-collection.
Looks good now.
from fkf-garbage-collection.
Related Issues (19)
- Gratulálok, és köszönjük! HOT 2
- Calendar integration HOT 11
- Green waste collection day parsing HOT 1
- Certificate verification error HOT 2
- Green days not shown HOT 5
- Wrong and few dates. HOT 2
- [feature request] JSON formatted attributes HOT 1
- 2021.12 error HOT 4
- The sensor state gets 'unknown' HOT 1
- Log of sensor HOT 4
- Cannot change language to Hungarian HOT 1
- New Calendar Data model usage from 0.5.0 HOT 5
- next_green_days attribute should be null when it is unknown HOT 5
- card ok but no data HOT 5
- Compatibility with 2023.6 HOT 2
- How 'green' item should be seen among the sensor data element? HOT 4
- 2024.2.5 HA no data probléma HOT 19
- green garbage schedule does not work HOT 32
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fkf-garbage-collection.