eifinger / aioweenect

Asynchronous Python client for the weenect API
MIT License
3 stars 2 forks source link

disable the GPS position #251

Open gicamm opened 1 year ago

gicamm commented 1 year ago

Thank you for the integration. Please allow us to disable the GPS position.

Thanks

eifinger commented 1 year ago

Thank you. Could you clarify what exactly you mean? What would your expected interaction look like? What would be the outcome?

gicamm commented 1 year ago

The application allows users to disable the GPS. So the user can not only change the update rate interval but can disable the GPS. No new positions will be sent to the server.

It would be great if you could add this also in eifinger/hass-weenect

When at home, for example, it tries to search for the position, draining the battery.

eifinger commented 1 year ago

This seems to be a new addition to the app. Unfortunately I switched to another tracker.

In order for me to add this new feature to this lib and Homeassistant I need either:

  1. Username/pw from an active subscription (not preferred, since this would allow me to see GPS and personal data until the pw changes)
  2. The Network trace when disabling/enabling using the web interace.

2. Could be done by

  1. logging into https://my.weenect.com/
  2. Pressing F12 to activate dev-tools when using chrome/edge
  3. Check the URL, Headers, Body and Response in the Network tab when disabling/enabling GPS
gicamm commented 1 year ago

I'll make the changes and will do a PR. Which tracker are you using now?

Tnx G

eifinger commented 1 year ago

A tracker from Fressnapf. It is a german petstore. Tracker was ~70€ with at least 2 years connectivity. It uses NB-IOT and thus far is more accurate and reliable. It is also charging via induction which means I can connect the charger to the tracker inside the harness.