npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.owntracks

v1.1.0

Published

OwnTracks - Your location companion

Downloads

173

Readme

Logo

ioBroker.owntracks

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

OwnTracks is an app for android and iOS.

App sends your position (position of device) continuously to a specific server. In our case it will be ioBroker server. Either the MQTT protocol will be used for communication or the ioBroker.cloud / ioBroker.iot adapter.

Link for:

Setup instructions

Connection configuration (using MQTT server)

OwnTracks Adapter starts on port 1883 (configurable) a MQTT server to receive the messages from devices with coordinates. The problem is that this server must be reachable from internet. Normally there is a router or firewall, that must be configured to forward traffic.

App & adapter configuration

The following preferences have to be set in the Android / iOS app respectively in the ioBroker adapter:

  • Connection/Mode - MQTT private

  • Connection/Host/Host - IP address of your system or DynDNS domain. E.g. http://www.noip.com/ lets use domain name instead of IP address.

  • Connection/Host/Port - 1883 or your port on your router

  • Connection/Host/WebSockets - false

  • Connection/Identification/Username - iobroker

  • Connection/Identification/Password - from adapter settings

  • Connection/Identification/DeviceID - Name of device or person. For this device the states will be created. E.g. if deviceID is "Mark", following states will be created after first contact:

    • owntracks.0.users.Mark.longitude
    • owntracks.0.users.Mark.latitude
  • Connection/Identification/TrackerID - Short name of user (up to 2 letters) to write it on map.

  • Connection/Security/TLS - off

  • Advanced/Encryption Key - optional, but recommended: Add passphrase for encryption

Please verify owntracks is connected to iobroker instance via the "Status" entry in the drawer:

Settings

IMPORTANT NOTE!

The states within ioBroker will be generated when the specific payload is received!! This means the locations in ioBroker will be generated the first time the user leaves or enters the location. Below you will see the target structure

Settings

Regions configuration

To setup locations within the owntracks adapter, you have to create regions in the owntracks Android / iOS app. To do so, go to "Regions" in the drawer

Settings

Create a new region by clicking the plus (+) in the top right corner

Settings

Use the location button in the top right corner to retrieve current location or type them in Latitude and Longitude yourself. Furthermore, specify a radius for the location. If you share the location, your Friends (see in the drawer of the Android / iOS app) get a notification when you enter / leave a location.

Settings

Icon settings (within the ioBroker.owntracks adapter)

You can define for every user an icon. Just upload per drag&drop or with mouse click you image. It will be automatically scaled to 64x64.

The name must be equal to DeviceID in OwnTracks app.

Settings

Changelog

1.1.0 (2024-04-22)

  • (mcm1957) Adapter requires node.js >= 18 and js-controller >= 5 now
  • (mcm1957) Dependencies have been updated

1.0.5 (2022-10-08)

  • (Apollon77) Prepare for future js-controller versions

1.0.4 (2022-09-15)

  • (Apollon77) Fix crash case reported by Sentry

1.0.3 (2022-06-17)

  • (Apollon77) Fix several crash cases reported by Sentry

1.0.2 (2022-04-19)

  • (Apollon77) Optimize handling for cases with invalid history state values

1.0.1 (2022-03-12)

  • (Garfonso) fix roles for type detection
  • (Apollon77) Add Sentry for crash reporting

1.0.0 (2020-12-06)

  • (Apollon77) respect "bind" configuration, also for IPv6

0.6.3 (2020-05-12)

  • (Apollon77) updated dependencies
  • (bluefox) fixes some issues

0.6.2 (2019-02-14)

0.6.0 (2019-01-27)

  • (zefau) Added Admin v3 / materialized support
  • (zefau) Added option for websockets in the adapter settings

0.5.1 (2019-01-25)

  • (zefau) fixed an error when connection got closed

0.5.0 (2018-10-14)

  • (zefau) Added support for locations

0.4.0 (2018-10-14)

  • (zefau) Added support for encryption key

0.3.0 (2018-06-05)

  • (matspi) Fix handling of publish messages

0.2.0 (2017-01-03)

  • (jp112sdl) added two properties timestamp and datetime

0.1.1 (2016-09-05)

  • (bluefox) add pictures

0.1.0 (2016-09-04)

  • (bluefox) initial release

License

The MIT License (MIT)

Copyright (c) 2023-2024 ioBroker Community Developers [email protected]
Copyright (c) 2016-2022 bluefox[email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.