Dataplicity & nginx -> Home Assistant

@bhuvan Maybe you have some details in log

which log should I check
@AlexxIT

I pasted

curl -s https://www.dataplicity.com/xxxxxx.py | python

on

Screenshot 2021-07-29 at 7.06.38 PM

and i got the error on the same window after some time.

Check Hass logs. Maybe you block Internet for your Hass server

I pasted just https://www.dataplicity.com/xxxxxx.py

and got

2021-07-29 19:18:28 ERROR (MainThread) [custom_components.dataplicity.utils] Can't register dataplicity device
Traceback (most recent call last):
  File "/config/custom_components/dataplicity/utils.py", line 12, in register_device
    r = await session.post('https://www.dataplicity.com/install/', data={
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 619, in _request
    break
  File "/usr/local/lib/python3.9/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError

on core logs.

Yes. Problem with internet or with Dataplicity server

Dear Alexey,

I have successfully installed your custom component and it works very well for almost everything except that the location updates fail all times. I’m running Companion App 2022.10.1 (2022.424) on iPhone X running iOS 16.1.1 (and also on my wife’s iPhone 8 running the same iOS). Event log is full of messages like “Didn’t update: location update from the past” with “error”: “locationUpdateTooOld” and also “Webhook failed with status code 503” and some other. What may be wrong? I appreciate your response.