Setup = await _setup_scanner(įile "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 201, in async_setup_scannerįile "/usr/src/homeassistant/homeassistant/components/traccar/device_tracker.py", line 237, in async_initįile "/usr/local/lib/python3.10/site-packages/pytraccar/client.py", line 105, in get_serverįile "/usr/local/lib/python3.10/site-packages/pytraccar/client. The above exception was the direct cause of the following exception:įile "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 254, in async_setup_legacy 19:21:22.490 ERROR (MainThread) Error setting up platform legacy traccarįile "/usr/local/lib/python3.10/site-packages/pytraccar/client.py", line 63, in _call_apiįile "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in _aenter_įile "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 466, in _requestįile "/usr/local/lib/python3.10/site-packages/aiohttp/helpers.py", line 721, in _exit_ Recently it broke, then was fixed: … stant/core/issues/74134 I wonder if it is possible to get these buffered data into HA? This feature works great with a web Traccar manager - we can see buffered data. – now we can see the whole past tracking because it was buffered. – then the person leaves the home and is NOT connected to the router - and assume that there is no mobile Internet available for the device - so Traccar data are NOT available online – a person is at home & connected to Internet via router If we set the “frequency in HA” to 5 minutes - it’s OK, we just do not need more precise data.īut what is a meaning of setting the “frequency in HA” to “5 seconds”? database.url config Database connection URL. database.driver config Database driver Java class. If you use one of those, you don't need to specify this parameter. Then how THIS frequency may be replaced by some “frequency in HA”?Īssume that a Traccar client sends its data every 1 minute. Traccar includes drivers for MySQL, PostgreSQL and H2 databases. scan_interval) for Traccar.īut since for mobile devices this frequency is set in a “Traccar Client” app: Someone asked about a possibility to define an “update frequency” (i.e. Recently this issue caused some changes in part of update frequency: The “last_seen” attribute disappeared from “device_tracker”: Monitored_conditions: Īfter recent changes Traccar works in HA again. (I made many manual attributes within traccar, because of an extra Bluetooth device that is connected to my Teltonika tracker) device_tracker: Now I only see the 2 identities, showing “not_home” although they are home and as attributes: source_type: nullĭo more of you guys have this same issue?īelow is my configuration in configuration.yaml I had everything working and saw the 2 tracked devices in my Home assistant including all the Attributes. (Remark: For step 2 and step 3,please kindly check our hardware fast guide.Since version 0.17.0 the Home Assistant Integration is not working anymore. Step 3: Register the master control number Step 1: Transfer the IP and Port to your own server: If you want to use different from default ports you can change them in the configuration file. ![]() Port column of corresponding row contains default port number for your device. To select correct port find your device in the list of supported devices, or see the image as below. Most ISPs provide such feature for extra fee. To host Traccar server your computer must have public IP address. When server receives message from unknown device it writes a record containing unique identifier of new device. If you don’t know device identifier you can configure device first and look at server log file. However, some devices have vendor specific unique identifier, for example TK-103 devices use 12-digit identifier. Configure your device to use appropriate address and port (see section below)įor most devices you should use IMEI (International Mobile Equipment Identity) number as unique identifier.Add new device with unique identifier (see section below). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |