bremen15

joined 2 months ago
[–] [email protected] 2 points 1 day ago (2 children)

I think more a combination of Iroh and Willy wonka.

[–] [email protected] 2 points 1 day ago (1 children)

I like both! What do you think is the main difference in their wisdom, and what do they have in common?

[–] [email protected] 3 points 2 days ago (6 children)
[–] [email protected] 2 points 6 days ago (1 children)

Yes, it should. I hope someone has already implemented this setup and can confirme that it works as we think it does.

[–] [email protected] 1 points 6 days ago

I agree; that is a good solution for a rooted device. I use it on a lineageOS tablet.

[–] [email protected] 2 points 6 days ago (3 children)

Not familiar with Easer (will have to check it out, though), but can it make an HTTP(S) call natively?

Yes, it can. I plan to use that feature to access the plugs web interface.

 

I have an unrooted GrapheneOS phone. I was surprised that it doesn’t offer a native option to limit battery charging to a specific upper limit (e.g., 80%) to preserve battery health and prolong the battery's life.

To work around this, I decided to implement a charging limit feature using automation software and a Wi-Fi-controllable plug. After some research, I bought a Shelly Plug S for this purpose. I'm trying to keep things open-source, so I avoid Google Play apps when possible. The closest Tasker alternative I found on F-Droid is Easer. Unfortunately, Easer seems to lack some crucial features that would make this process easier, such as switching Wi-Fi networks or starting external apps.

Here’s my plan so far:

  • My phone’s charger is plugged into the Shelly Plug S, which is connected to my Wi-Fi network.
  • I want to use Easer to automate the process: It would turn on the plug when the charger is connected, monitor the battery level, and, once it reaches 80%, turn off the Shelly Plug S by making an HTTP call to its local web interface (or an API call).
  • I prefer to block the Shelly Plug from accessing the Internet entirely (to avoid leaking data to the cloud) by setting up firewall rules that restrict its access to only my local network.

However, Easer seems to have some limitations that make this more challenging than expected:

  • Easer cannot switch Wi-Fi networks: I was hoping to use the Shelly Plug’s local access point (AP mode) for a more portable solution, but since Easer doesn’t have permission to switch networks, I'm restricted to my home network.
  • Easer cannot start external apps: It also can’t trigger external apps that might help with network switching or more advanced controls.

At the moment, I’m stuck with these limitations and was wondering if anyone has experience with similar setups or has already written code to implement something like this. Specifically:

Has anyone written or seen code to automate switching off a Shelly Plug once a certain battery level is reached? Are there any workarounds for Easer’s limitations, or should I consider switching to a different automation tool that fits my FOSS preference?

I would greatly appreciate any tips, code snippets, or discussions around best practices for this type of setup. Ideally, I'd love to make this work while keeping the setup local and portable, but I’m open to suggestions!

Thanks in advance for your help!

[–] [email protected] 3 points 2 weeks ago

Ohhh, its back up!

[–] [email protected] 1 points 2 weeks ago

I want an alternative that offers streams, too. Any suggestions?

[–] [email protected] 2 points 2 weeks ago

Lol I row like 15h/week. Stereotypes are awesome.

[–] [email protected] 8 points 3 weeks ago (3 children)

i forgot about disliking videos and channels! That might fix my problem right away. THank you

[–] [email protected] 3 points 3 weeks ago (1 children)

For me, it does not induce rage but depression because it makes me sad. I don't even need to watch it.

[–] [email protected] 5 points 3 weeks ago (4 children)

Example: Thumbnail with Trump and some other guy i dont know, big caption: "OH MY GOD!" Video title: "Trump Released the MOST EMBARRASSING Video EVER & You HAVE to Watch it! | Bulkwark Takes"

I assume it is designed to induce rage.

 

Currently in the US elections are featured in my YouTube feed, and not factual content but rage inducing.

How can I filter that?

view more: next ›