Comments (10)
Feels like a connection issue.
How often does the logs appear? It is appearing at regular times or randomly?
How strong is the WiFi signal to your opensprinkler device? Are there any dropouts?
If you haven't already try setting a static IP for your opensprinkler device using DHCP. Check the WiFi signals and maybe change WifFi channels.
from hass-opensprinkler.
I have tested the connection to the opensprinkler board, and I tested with a different Wifi link solutions, However the error did not go away. the board has fixed iP configured and i can access via browser anytime with no issue.
from hass-opensprinkler.
Does the error only happen on back_2
or all the stations? Is that station setup differently than the others?
I have never seen that error but I get the warning sometimes, especially on startup
from hass-opensprinkler.
this is affecting all stations, i just took a sample image.
I am upgrading the Pi and some other hardware I am using. I will monitor this and revert back with any update.
from hass-opensprinkler.
from hass-opensprinkler.
Im getting the same errors on all sensors.
My Opensprinkler is using Ethernet, and I have checked that I do not have any pocketless or anything between hass and OS. Hass is running on an Nuc.
from hass-opensprinkler.
I have upgraded the connection to my opensprinkler system and ensure the connectivity. tried accessing directly using the browser with no issues at all, however in HA the error keep coming back.
from hass-opensprinkler.
I see this is old, but open. I have the same issue I believe on HA 0.104.2, and recent versions. Running in Linux venv, OS V 2.3 - AC firmware 2.1.9. Direct network connection, static IP. The API responds consistantly to rest calls from browser, in 2 seconds or less. I see this in the logs:
Updating hass_opensprinkler binary_sensor took longer than the scheduled update interval 0:00:05 11:30 AM helpers/entity_platform.py (WARNING) - message first occurred at January 22, 2020, 8:51 AM and shows up 4400 times Updating hass_opensprinkler switch took longer than the scheduled update interval 0:00:05 11:30 AM helpers/entity_platform.py (WARNING) - message first occurred at January 22, 2020, 8:51 AM and shows up 3578 times Updating hass_opensprinkler sensor took longer than the scheduled update interval 0:00:10 11:30 AM helpers/entity_platform.py (WARNING) - message first occurred at January 22, 2020, 8:51 AM and shows up 3610 times
Note, I changed the update interval for the sensor, as you can see that did not resolve. It is timing out I think, not sure why. I can control all stations, but system is slow to report status. Any suggestions on troubleshooting this? I would like to keep it, but need to resolve. Thanks
from hass-opensprinkler.
More verbose error messages, is this an ssl error?
``
2020-01-23 12:01:54 WARNING (MainThread) [homeassistant.components.switch] Updating hass_opensprinkler switch took longer than the scheduled update interval 0:00:05
2020-01-23 12:01:54 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating hass_opensprinkler binary_sensor took longer than the scheduled update interval 0:00:05
2020-01-23 12:01:54 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.grass_driveway_n_west fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.7/http/client.py", line 1344, in getresponse
response.begin()
File "/usr/lib/python3.7/http/client.py", line 306, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.7/http/client.py", line 288, in _read_status
raise BadStatusLine(line)
http.client.BadStatusLine:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/util/retry.py", line 400, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/srv/homeassistant/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.7/http/client.py", line 1344, in getresponse
response.begin()
File "/usr/lib/python3.7/http/client.py", line 306, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.7/http/client.py", line 288, in _read_status
raise BadStatusLine(line)
urllib3.exceptions.ProtocolError: ('Connection aborted.', BadStatusLine('\x00À\x00@\x00\x00.1 200 OK\r\n'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/custom_components/hass_opensprinkler/init.py", line 215, in status
response = requests.get(url, timeout=10)
File "/srv/homeassistant/lib/python3.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('\x00À\x00@\x00\x00.1 200 OK\r\n'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 461, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/init.py", line 240, in wrapper
result = method(*args, **kwargs)
File "/home/homeassistant/.homeassistant/custom_components/hass_opensprinkler/switch.py", line 42, in update
self._is_on = self._station.status()
File "/home/homeassistant/.homeassistant/custom_components/hass_opensprinkler/init.py", line 218, in status
_LOGGER.error("No route to device '%s'", self._resource)
AttributeError: 'OpensprinklerStation' object has no attribute '_resource'
``
from hass-opensprinkler.
Please try the new release, if there is any issues please create a new issue.
from hass-opensprinkler.
Related Issues (20)
- Error adding entities for domain time with platform opensprinkler when using sunrise/sunset offsets HOT 3
- OpenSprinkler not working since update to HA2023.10.2 HOT 5
- After core update opensprinkler failed to load HOT 5
- OpenSprinkler Firmware 2.2.0 (2) unexpected error HOT 2
- Current Time Logging HOT 1
- Valve entities?
- Update readme for new services HOT 1
- Getting lots of exceptions with latest verstion HOT 2
- Pause changes to off on second call HOT 3
- Calling Service fails HOT 5
- Inappropriate entities listed when configuring services HOT 1
- Rain delay not working from automation HOT 3
- Run service in template switch doesn't work HOT 2
- Everything unavailable in 2024.5.1 HOT 7
- Enable/Disable Additional Start Times HOT 2
- Updating state took...
- HA Web API returning 'hour must be in 0..23' randomly on some Opensprinkler entities HOT 3
- Incorrect unavailable handling HOT 2
- OpenSprinkler bug. run_seconds can not be float in opensprinkler.run service
- Deprecation warning in HA 2024.7.1 (and likely at least a few versions prior)
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 hass-opensprinkler.