I can send my new version of autobrightness when it's done, as I have been daily driving a MD solution for a year now but it's not using sensors at all really, but it may provide some solution for you
my ideal plan would be to map the value returned from the light sensor to the screens Brightness, with some Offsets for control.
And using samsungs "autobrightness" that is already included allows no control
And last point I have is one call to a sensor would be a smaller hit on the battery...
Shell scripts bearly work and after many attempts on a s20fe I still cannot read the light sensor.
We need a read light sensor option, shell can't work almost always on newer devices, and this action would allow us to have 1 action to read the sensors so we can use 1 set Brightness action and...
Will try this, but do you know anyway I can find/look through these folders without "My files" app? As I had no idea there was a chance for it to be out of the /sys/ folder
Edit:
using:
cat /mnt/vendor/persist/
returns the Following again:
Have tried but I still get permission error, and cat should be okay but is there anything else that can read sensors(light specifically) and return it to a file or macrodroid?
With a file: I can read whatever is in it, however I still can't read the sensor using cat
Using shell script to read...
Shell script(no root):
cat /sys/class/sensors/light_sensor
Output:
cat: /sys/class/sensors/light_sensor: Permission denied
How the In the world do I get permission for it? Apps can read these sensors fine.
Any help is greatly appreciated and will try it or someway to read the lightsensor...
Well odd to day that hadn't worked originally, I even said any backslashs at all cause a error, the one I posted before, after a restart(phone died) apparently its working fine and doesn't throw any error anymore and the pop-up is showing me it's working now.
And i take my time to read posts...
Problem that I forgot as well
Using \ errors.
Using [\] also errors.
Using ['\'] or ["\"] works but doesn't replace \ from my variable still.
Sadly I have to wait for the dev I believe
Honestly I will be straight I used a 3 part system a while back (memory is shotty srry), but i did manage the \ only but now I'm stuck with n's
So im trying something today here soon but I will mention on the post if I find anything, anyway not sure but I hope the dev can help a bit but I'm...
Yes im aware however this worked a while ago and doesn't work now even without any other quotes, ect.
Doing replace \ or \n doesn't work At all and I need to remove them, yet I can't do this because text manipulation reads backslash as something else not just a character like % or $, I use text...
Yah I'll check that out if not ill make another post on suggestions board to fix this or at least adding a bypass for it as "[^a-z]n" makes the same error as before if any backslash is included
Also regex.com works fine its on macrodroid i think as its only when I use a backslash and alot of...
So I used '\n' instead of just \n and even just '\'
I still belive this is a bug or missed problem because even with it reporting no error now its not doing any replacement At all
(Uploaded 2 incase one was pixels again)
Can't even make first step...
My problem is that replace all doesn't read \
It won't work even with brackets wrapping it
I'm starting to see this as a feature was added I'm guessing the dev didn't add a way to cancel this problem(like I said before bracket wrap would be perfect here)
If there is a way I cant seek to get it at all, is there a way to look for \n?
If you try normally or bracketing it still reads the backslash, in my case I'm trying to replace the backslash to a character that's readable
Any way to clear " \n " at all?
Backslash needs to be removed as well