New house, new challenges - web remote not firing on/off scripts
WILLIAM J HUSLER
bhusler at me.com
Fri May 7 13:01:07 EDT 2021
Never mind - false alarm - script error. All better now :)
However, webremote did stop responding and when I looked at the XTension log, I saw this:
May 7, 2021 8:32:13 AM Hubitat - Pool House: error on database dump: HTTPConnectionPool(host='192.168.1.200', port=80): Max retries exceeded with url: /apps/api/10/devices/*?access_token=b58b080a-bc70-4b88-9ab3-0f723dbb033b (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f7febebd550>, 'Connection to 192.168.1.200 timed out. (connect timeout=30)'))
May 7, 2021 8:32:13 AM Hubitat - Pool House: Traceback (most recent call last):
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/connection.py", line 170, in _new_conn
May 7, 2021 8:32:13 AM (self._dns_host, self.port), self.timeout, **extra_kw
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/util/connection.py", line 96, in create_connection
May 7, 2021 8:32:13 AM raise err
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/util/connection.py", line 86, in create_connection
May 7, 2021 8:32:13 AM sock.connect(sa)
May 7, 2021 8:32:13 AM socket.timeout: timed out
May 7, 2021 8:32:13 AM
May 7, 2021 8:32:13 AM During handling of the above exception, another exception occurred:
May 7, 2021 8:32:13 AM
May 7, 2021 8:32:13 AM Traceback (most recent call last):
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/connectionpool.py", line 706, in urlopen
May 7, 2021 8:32:13 AM chunked=chunked,
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/connectionpool.py", line 394, in _make_request
May 7, 2021 8:32:13 AM conn.request(method, url, **httplib_request_kw)
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/connection.py", line 234, in request
May 7, 2021 8:32:13 AM super(HTTPConnection, self).request(method, url, body=body, headers=headers)
May 7, 2021 8:32:13 AM File "http/client.pyc", line 1262, in request
May 7, 2021 8:32:13 AM File "http/client.pyc", line 1308, in _send_request
May 7, 2021 8:32:13 AM File "http/client.pyc", line 1257, in endheaders
May 7, 2021 8:32:13 AM File "http/client.pyc", line 1028, in _send_output
May 7, 2021 8:32:13 AM File "http/client.pyc", line 968, in send
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/connection.py", line 200, in connect
May 7, 2021 8:32:13 AM conn = self._new_conn()
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/connection.py", line 177, in _new_conn
May 7, 2021 8:32:13 AM % (self.host, self.timeout),
May 7, 2021 8:32:13 AM urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7f7febebd550>, 'Connection to 192.168.1.200 timed out. (connect timeout=30)')
May 7, 2021 8:32:13 AM
May 7, 2021 8:32:13 AM During handling of the above exception, another exception occurred:
May 7, 2021 8:32:13 AM
May 7, 2021 8:32:13 AM Traceback (most recent call last):
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/requests/adapters.py", line 449, in send
May 7, 2021 8:32:13 AM timeout=timeout
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/connectionpool.py", line 756, in urlopen
May 7, 2021 8:32:13 AM method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/urllib3/util/retry.py", line 573, in increment
May 7, 2021 8:32:13 AM raise MaxRetryError(_pool, url, error or ResponseError(cause))
May 7, 2021 8:32:13 AM urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.200', port=80): Max retries exceeded with url: /apps/api/10/devices/*?access_token=b58b080a-bc70-4b88-9ab3-0f723dbb033b (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f7febebd550>, 'Connection to 192.168.1.200 timed out. (connect timeout=30)'))
May 7, 2021 8:32:13 AM
May 7, 2021 8:32:13 AM During handling of the above exception, another exception occurred:
May 7, 2021 8:32:13 AM
May 7, 2021 8:32:13 AM Traceback (most recent call last):
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/Plugins/hubitat.isf/hubitat.py", line 574, in threadedWorker
May 7, 2021 8:32:13 AM params=accessToken, timeout=30)
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/requests/api.py", line 76, in get
May 7, 2021 8:32:13 AM return request('get', url, params=params, **kwargs)
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/requests/api.py", line 61, in request
May 7, 2021 8:32:13 AM return session.request(method=method, url=url, **kwargs)
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/requests/sessions.py", line 542, in request
May 7, 2021 8:32:13 AM resp = self.send(prep, **send_kwargs)
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/requests/sessions.py", line 655, in send
May 7, 2021 8:32:13 AM r = adapter.send(request, **kwargs)
May 7, 2021 8:32:13 AM File "/Applications/XTension.app/Contents/Resources/python3/Resources/requests/adapters.py", line 504, in send
May 7, 2021 8:32:13 AM raise ConnectTimeout(e, request=request)
May 7, 2021 8:32:13 AM requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='192.168.1.200', port=80): Max retries exceeded with url: /apps/api/10/devices/*?access_token=b58b080a-bc70-4b88-9ab3-0f723dbb033b
I quit and restarted - everything started up fine and started responding again, but thought I better report this.
Bill
> On May 6, 2021, at 6:59 AM, James Sentman <james at sentman.com> wrote:
>
> I use similar things all the time, usually to keep units from being turned off and not to keep them from being turned on for too long. This should definitely work.
>
> What kind of unit is it? Is it a hubitat unit? Or a pseudo or something else? Can you send me the text of the script off the list?
>
> Something is very goofy as that definitely should work just fine.
>
>
>
>> On May 2, 2021, at 11:44 AM, WILLIAM J HUSLER <bhusler at me.com <mailto:bhusler at me.com>> wrote:
>>
>> With this new installation of XTension, I’m going with the Hubitat (actually two of them) and so far so good. However, I also am going to give web remote a try (just used screen share at the old house). I have one unit that I only want to stay on for a short time, so I created an ON script that turns it back off in a set time and that works fine from the console, but when I turn it on via web remote, the script doesn’t fire. Is there something more I need to do?
>
> Thanks,
> James
>
>
> James Sentman http://www.PlanetaryGear.org <http://www.planetarygear.org/> http://MacHomeAutomation.com <http://machomeautomation.com/>
>
>
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20210507/8de317e0/attachment.html>
More information about the XTensionList
mailing list