You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to set "monitoring" mode to "2" via MQTT cmd setConfiguration I'll get the following error on my phone:
2022-05-30 15:47:13.604 E Preferences: Tried to import monitoring but value is wrong type. Expected: org.owntracks.android.support.MonitoringMode, given java.lang.Integer``
The monitoring mode is set to Silent -1 and I'd like to get location updates only when needed. I have tried cmd reportLocation as well, but didn't get any reported data. Thus I'm trying to activate monitoring mode remotely.
Can you please help?
Thanks and best regards
Markus
The text was updated successfully, but these errors were encountered:
Hi team,
thank you for developing owntracks.
While trying to set "monitoring" mode to "2" via MQTT cmd setConfiguration I'll get the following error on my phone:
2022-05-30 15:47:13.604 E Preferences: Tried to import monitoring but value is wrong type. Expected: org.owntracks.android.support.MonitoringMode, given
java.lang.Integer``The MQTT message is (anonymized):
mosquitto_pub -m '{"_type":"cmd", "action":"setConfiguration", "configuration": {"_type": "configuration", "monitoring":
2}}'``The monitoring mode is set to Silent -1 and I'd like to get location updates only when needed. I have tried cmd reportLocation as well, but didn't get any reported data. Thus I'm trying to activate monitoring mode remotely.
Can you please help?
Thanks and best regards
Markus
The text was updated successfully, but these errors were encountered: