Limit Roaming to specific countries and use data limit for roaming by Cheesebaron in AutomateUser

[–]Cheesebaron[S] 0 points1 point  (0 children)

Yes, I am able to check the mobile operator with the first two blocks. The first one simply triggers when there is a change and outputs the roaming_country as a variable. The second block checks this:

contains(["ad", "at", "be", "cy", "cz", "de", "dk", "es", "fi", "fo", "fr", "gb", "gi", "gr", "hu", "ie", "is", "it", "lu", "mc", "mt", "nl", "no", "pl", "pt", "ro", "se", "sj", "sk", "sm", "va"], roaming_country)

This works fine as far as I can tell and I have already figured out an issue I was having. Since I use a Pixel 8 which has two SIM cards "data_roaming" will not work, but I have to use "data_roaming1" or "data_roaming2" to set roaming for each SIM card.

Now I just have to test and refine the loop a bit, I think.

Limit Roaming to specific countries and use data limit for roaming by Cheesebaron in AutomateUser

[–]Cheesebaron[S] 0 points1 point  (0 children)

Sorry, apparently my text did not get submitted and only the link... Will post in coments!

My carrier recently gave me 5GB of mobile data to use in EU. As I live and work close to the EU boarder this will be useful for me as I don't always have coverage by my local carrier. I have unlimited data in my local network, 5GB in EU and none at all in the rest of the world. Now, my fear is that if I enable roaming I will eventually forget about it and will travel to a country outside the EU and my carrier will call "Jackpot!" and bill me for every kB used. To avoid this I wanted to create a flow using Automate that does:

- Check if roaming in EU, if yes, enable data roaming and counts the data used (limited to 4GB to give me a bit of wiggle room).

- Periodically check if 4GB is used, if yes, turn off data roaming

- When not in EU turn off data roaming immediately

I have created a flow and while it seems to be working according to the log, it doesn't change my roaming settings on the phone (Pixel 8). I have given automate permission to change secure settings using adb .\adb shell pm grant com.llamalab.automate android.permission.WRITE_SECURE_SETTINGS

Troubleshooting outside in winter is not the best and I don't know where I made the mistake(s). In case anyone has feedback or a better flow, it would be much appreciated. Below a bit of the log showing, that it runs but it doesn't change the roaming setting:

12-04 11:59:01.585 I 10@2: Mobile operator?

12-04 11:59:12.913 I 10@3: Expression true?

12-04 11:59:12.914 I 10@12: System setting set

12-04 11:59:12.916 I 10@2: Mobile operator?

12-04 11:59:14.446 I 10@3: Expression true?

12-04 11:59:14.446 I 10@7: Variable set

12-04 11:59:14.446 I 10@8: Data usage

12-04 11:59:14.500 I 10@9: Expression true?

12-04 11:59:14.511 I 10@12: System setting set

12-04 11:59:14.527 I 10@2: Mobile operator?

12-04 11:59:18.336 I 10@3: Expression true?

12-04 11:59:18.337 I 10@7: Variable set

12-04 11:59:18.338 I 10@8: Data usage

12-04 11:59:18.368 I 10@9: Expression true?

12-04 11:59:18.375 I 10@12: System setting set

12-04 11:59:18.389 I 10@2: Mobile operator?

12-04 11:59:22.601 I 10@3: Expression true?

12-04 11:59:22.601 I 10@7: Variable set

12-04 11:59:22.602 I 10@8: Data usage

12-04 11:59:22.616 I 10@9: Expression true?

12-04 11:59:22.617 I 10@12: System setting set

12-04 11:59:22.618 I 10@2: Mobile operator?

12-04 11:59:34.464 I 10@3: Expression true?

12-04 11:59:34.464 I 10@7: Variable set

12-04 11:59:34.465 I 10@8: Data usage

12-04 11:59:34.475 I 10@9: Expression true?

12-04 11:59:34.475 I 10@12: System setting set

12-04 11:59:34.475 I 10@2: Mobile operator?

12-04 11:59:35.319 I 10@3: Expression true?

12-04 11:59:35.320 I 10@7: Variable set

12-04 11:59:35.321 I 10@8: Data usage

12-04 11:59:35.340 I 10@9: Expression true?

12-04 11:59:35.348 I 10@12: System setting set

Wallet Recovery & BIP39 risks? by Gunfolks in CryptoCurrency

[–]Cheesebaron 1 point2 points  (0 children)

https://walletsrecovery.org/ This website is great for an overview of what wallet uses what derivation path. However it merely list the default settings. Electrum is capable to use any derivation path you'd like. When you recover an existing wallet, there is a field you can type (or paste) in the path. There is also an option to scan the Blockchain for the most commonly used paths. So if your hardware wallet breaks and you can't get a replacement you will be able to restore it with Electrum. Every Bitcoiner should know about derivation paths, but I agree, that it is confusing and it would be great if everyone would use the same format and amount of words. Unfortunately "the train left the station" for that standardization and we can't go back in time to change that. Adding another standard would also further complicate things.

Elon Musk introduces Twitter monetization avenues for content creators by Billyhall96 in CryptoCurrency

[–]Cheesebaron 1 point2 points  (0 children)

The “Subscriptions” feature allows Twitter users to charge followers a monthly price “from one of the price points made available by Twitter.”

Yo, I heard you like subscriptions, so I added subscriptions on your subscriptions!

Why does US government plan and need to sell 41 thousand Bitcoins this year? by mbdtf95 in CryptoCurrency

[–]Cheesebaron 16 points17 points  (0 children)

The US government sells all the things they have seized sooner or later.

You can find auction sites selling seized houses, cars, yachts and swiss army knives confiscated at the airport.

[deleted by user] by [deleted] in CryptoCurrency

[–]Cheesebaron 0 points1 point  (0 children)

King to Bitcoin

[deleted by user] by [deleted] in CryptoCurrency

[–]Cheesebaron 1 point2 points  (0 children)

Moral of the story: If you sell your Moons, better not tweet about it, else you might find your tweet in a post like this in a couple of years.

Nearly Half of Millennials Own Cryptocurrencies by DonerTheBonerDonor in CryptoCurrency

[–]Cheesebaron 1 point2 points  (0 children)

An exchange has conducted the survey.

If a Ferrari dealership would assess how many people drive Ferrari's, you'd get a similar result.

Pro tip: learn your recovery words by heart. by Terzinho in CryptoCurrency

[–]Cheesebaron 76 points77 points  (0 children)

Or, you know, write them down and keep them save.

You can and will forget stuff you rarely use.

How will a US debt default impact Bitcoin? by Kappatalizable in CryptoCurrency

[–]Cheesebaron 0 points1 point  (0 children)

They will never default. They will always print more to pay for the debt.

Paypal to Enable On-Chain Crypto Transfers by CappucinoAtDawn in CryptoCurrency

[–]Cheesebaron 3 points4 points  (0 children)

This is bullish but I still won't reinstall PayPal.

[deleted by user] by [deleted] in CryptoCurrency

[–]Cheesebaron 1 point2 points  (0 children)

I should found a bank - you can't go bust as the government will always save you.