GithubHelp home page GithubHelp logo

Comments (11)

jpmens avatar jpmens commented on May 27, 2024 1

I am closing this, because the new Docker image supports OpenCAGE, but be warned: we no longer come bundled with an MQTT broker. The README in this repository explains how to run with docker-compose.

from docker-recorder.

juzam avatar juzam commented on May 27, 2024

There is a Stretch Debian package for lua-cjson which we can probably use instead of compiling from sources. (https://packages.debian.org/stretch/lua-cjson) I can't test this atm, so could you please check if installing this package solves the issue? Thanks

from docker-recorder.

frootmig avatar frootmig commented on May 27, 2024

There is a package. I can not yet confirm, that it really works, because I have an issue with opencage.lua script I need to figure out first.

from docker-recorder.

frootmig avatar frootmig commented on May 27, 2024

I was able to isolate the problem with the lua script. os.getenv("OPENCAGE_APIKEY") returns nil. In fact, no variable listed in ot-recorder.default and recognized in Recorder is passed to the script. Is this expected to work?

from docker-recorder.

jpmens avatar jpmens commented on May 27, 2024

What are you doing with Lua?

The Recorder by default (if configured and built appropriately) uses OpenCage via geo.c which is triggered by a prefix of opencage: in the Geo API key.

The Lua file you mention is just there for demo purposes.

from docker-recorder.

frootmig avatar frootmig commented on May 27, 2024

If was trying to follow this guide: https://github.com/owntracks/recorder/blob/master/doc/OPENCAGE.md

from docker-recorder.

jpmens avatar jpmens commented on May 27, 2024

Ok, yes, I think we need to change that text.

Please look for --geokey in the top-level README of the Recorder.

from docker-recorder.

frootmig avatar frootmig commented on May 27, 2024

It seems to work that way, at least, I can no longer see error messages in the log.

Would lua support for the dockerized recorder be usefull? If yes, I can provide a pull request to add this support. If no, I think I can just revert my changes.

I still need to figure out why it's not possible to use traefik as reverse proxy and how configure Owntracks on iOS to not eat all of my batterie. But that's another question.

from docker-recorder.

jpmens avatar jpmens commented on May 27, 2024

Lua is useful because Recorder can use Lua scripts on demand.

from docker-recorder.

jpmens avatar jpmens commented on May 27, 2024

OwnTracks on iOS doesn't typically eat battery. I assume you have move mode configured. In either case open an issue on our iOS tracker please.

from docker-recorder.

frootmig avatar frootmig commented on May 27, 2024

Thank you very much @jpmens. I migrated everything to the new container and it seems to work like a charm now.

from docker-recorder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.