Replies: 3 comments
-
|
I know it's not your question, but I can't use your way with service notify in my environment. I'm using a script in HA to set the monitoring modes. For this you you must activate "remote commands" and "remote configuration" in owntracks app. After this you can publish mqtt messages like this to set the monitoring mode. I'm using this script e.g. in automations like:
|
Beta Was this translation helpful? Give feedback.
-
|
Same problem, why does this not work via HTTP? In the log (debug) I don´t see anything. |
Beta Was this translation helpful? Give feedback.
-
|
Hi all! Sorry for the bump with no solution, I only try to add some findings and sorry for the wall of text! I'm missing the same functionality (using grapheneos on a pixel8pro) When leaving my home zone I want the monitoring being set automatically to 2, when I return I want it to be set back to 1. I can confirm that sending the intent from HA does not work, but have no idea where the problem is upstream. running
manually in termux (like documented here) Seems like the automation app "tasker" is able to solve this (thread), but it is closed source and therefore no option for me It would be great if owntracks itself had some trigger options internally (set to "$int" when entered/left wifi or "$bledevice" is seen), but I can't even guess how much work this would be to implement this. I've found this austrian (-> german lang) blog where the author tried very much as well to solve the problem (tasker is no option, trackcar, easer, termux...) Looking for further open source alternatives which might solve this I found @zutewas sorry for the confusion: thank you for trying to help with your approach! Currently I use http connection from owntracks to HA (through nabu casa) which works just fine You do use a mqtt connection instead of http connection within owntracks, right? Seems like there is no (obvious) option to use both http and mqtt simulaneously (so I guess I had to drop my currently configuration EDIT: kind of like this) I guess you use a separate (exposed or bridged) mosquitto broker which can be reached externally, right? Sorry for the possibly stupid questions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have come up with this script in HA to change monitoring modes in owntracks, but I cannot figure out why it does not function. Am i missing something?
Beta Was this translation helpful? Give feedback.
All reactions