Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to switch hotspot on/of when connecting to other device via Bluetooth; Bug: external logging not possible #456

Open
hvdwolf opened this issue Aug 31, 2022 · 0 comments
Labels
bug General label for all bugs (i.e. things not working as intended)

Comments

@hvdwolf
Copy link
Contributor

hvdwolf commented Aug 31, 2022

Question:
I am a total Newbie (I only translated a number of strings so far).
I have my phone and I have an Android head unit in the car. When I start the engine the Android head unit and my phone automatically connect via BT.
Now in Easer I want to start the hotspot on my phone as soon as the BT connection with the headunit "is there", so that my head unit can use Internet, Google Maps, etcetera.
And the 2nd step is then to switch off the hotspot and re-enable WiFi when I switch off the car and the Bluetooth is disconnected.
Both don't work for me.

What did I do?
I created a profile with the operation/action "hotspot on" (checkbox selected and switch set to On)
I created a 2nd profile with the operation/action "hotspot off" (hotspot checkbox selected and switch set to Off)

To try both, I created an condition "BT connection made" with "Bluetooth device connected" with the specific device which I can select.
and I created an event "BT connection made" with "Bluetooth device connected" with the specific device which I can select.

Then I created a Script "BT connected, switch hotspot on" with the profile "hotspot on", the condition "BT connection made" and "repeatable" set to "On".
That doesn't work.
If I change the condition "BT connection made" to the event "BT connection made".

All necessary authorisations are given.

Expected behavior
I expect the hotspot to switch on and off on the selected conditions/events.

Error log:
I switched on the external error log and gave Easer access to External media, but there is no "logger" folder created and no logs created.
The ΅Activity History" mentions (among others):

@String/title_script: "BT connected, switch hotspot on"
Status: "Satisified" (I changed the Dutch translation).
@string/title_profile: "hotspot on"
Extra info: "Failed: hotspot"

Is this now a non-assigned authorization or a bug?
Edit: I did read about the "HotspotOperationPlugin" but when I look in the pluginsfrom the Settings, hotspot is checked and has the green checkmark.

Extra phone info (please complete the following information):
Phone : Motorola G41 Android 11, unrooted standard ROM.
Easer: Version 0.8.2.3 from F-Droid.org

Additional context
It does work in Macro Droid, but I don't use Macro Droid anymore as the needed companion app (as of Android 10+ or 11+) that ran as a service, drains my phone extremely fast.

@hvdwolf hvdwolf added the bug General label for all bugs (i.e. things not working as intended) label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug General label for all bugs (i.e. things not working as intended)
Projects
None yet
Development

No branches or pull requests

1 participant