Category: automation

Review of Avail.co, Landlord Perspective

Avail.co (referral link) is a free all-in-one platform that is part of realtor.com, made to facilitate everything landlords and renters need. I became a landlord for the first time this year, and was so grateful to have found Avail to manage everything in one place – from creating a listing to posting it on multiple sites to accepting renter applications to performing background and reference checks to generating a state-specific lease to managing payments to resolving maintenance tickets from your tenant and more. You can manage multiple properties easily through this site and see everything in one dashboard. Continue reading ā†’

How to set up auto-pay for Bank of America credit cards

Hi all, this seems like such a silly post to write, but I’ve seen a lot of people complain about how different setting up an auto-pay for a credit card at Bank of America is compared to other banks, and how it’s led to missing a payment, getting interest charges, late fees, etc. I’m so used to having all my cards on auto-pay that this happened to me once too. Setting it up is definitely more tedious and requires more clicking around than other banks. So hopefully this post documenting the process helps someone out there. Continue reading ā†’

Repurposing Amazon Dash buttons to add a line to Google Sheet when pressed

Intro

A lot of us may have a ton of Amazon Dash buttons lying around because back in the day, they used to mean $5 off any product shipped and sold by Amazon. Since then, you may have sold your spent buttons on eBay or harvested them for the Duracell AA battery inside.

But if you still have some left…here’s a fun little beginner’s project where you can repurpose the button to add a line to a Google Sheet whenever you press it. The use case for me today is to record whenever I insert/remove my contact lenses, to track wearing time. I’ve also seen people set one up to record whenever their baby poops and they change the diaper. To each their own…

FYI: these instructions are for Mac OSX. It’s adaptable to other systems, but I won’t go into that today.

Preparation

We’ll be using Nekmo’s amazon-dash script for this project, specifically the instructions for Mac.Ā I’m rewritingĀ the instructions below in a more beginner-friendly language, so hopefully you can do this even if you don’t think you are very tech savvy. Macs come with Python 2.7 installed, and that is what this script runs on. If you run into any errors, it may be due to something wrong with your Python configuration, so we’d have to troubleshoot that separately.

  1. Open Terminal on Mac.
    1. To do so, I like to use Spotlight: press Cmd+Spacebar to bring up a little textbox in the middle of your screen.Ā Start typing the word terminal, and press Enter as soon as you see Terminal.app appear.

    InĀ Terminal,Ā copy and paste in (press enter after you paste this whole command in):Ā sudo pip install https://github.com/Nekmo/amazon-dash/archive/develop.zip

    1. It will ask you for your computer password first, so enter that and press enter. You won’t see anything being entered as you type your password. Don’t panic, this is normal. Just type your password, and press enter.
    2. Now it will download andĀ install the amazon-dash app.

    Once installed,Ā copy and paste in (press enter afterwards): sudo amazon-dash discovery

    1. ItĀ should say:

      Welcome to Amazon-dash v1.3.1 using Python 2.7.10
      The discovery command lists the devices that are connected in your network. Each device will only be listed once. After executing this command wait approximately 10 seconds before pressing the Amazon Dash button. After pressing the button, the Mac address of the button will immediately appear on the screen. Remember the address to be able to create the configuration file.

    Wait about 10 seconds, and then press the button on your Dash Button.

    1. Within a few seconds after your Dash Button fails to buy anything, you will see someĀ magenta text on your screen. It should look something like this “69:55:fd:3e:cf:32 (Amazon Device)“. You may also see other text thatĀ don’t say “(Amazon Device)” next to them; you can ignore those. The random gibberish with the semicolons is called the MAC address.
    2. Copy and paste theĀ MAC address before “(Amazon Device)” and keep it somewhere safe.

    Now press Ctrl+C on your keyboard to exit this discovery process.

    Set Up IFTTT

    1. Go to your web browser and navigate toĀ https://ifttt.com/maker_webhooksĀ .
      1. Set up an IFTTT account if you don’t have one already, then return to this page, enable the webhook, and click on the button in the top right called “Documentation”.
      2. Copy and paste the alphanumericĀ key in really big letters to the place where you saved the MAC address of your Dash button.

      Still on IFTTT’s website, click in the top right cornerĀ on your username, and click “New Applet” on the dropdown menu.

      1. Click theĀ +this and type in “Webhooks” on the next screen. Select the big blue button that says “Webhooks”.
      2. On the next screen, click the big blue button again that says “Receive a web request”.
      3. On the next screen, type in a name you want to give to your button, like “contactlenses” (remember this name for later). Click the Create Trigger button.
      4. On the next screen, click theĀ +thatĀ and type in “Sheets” on the next screen. click on “Google Sheets”. (You may need to connect to your Google Sheets account if you’ve never done this before)
      5. On the next screen, click the “Add row to spreadsheet” button.
      6. On the next screen, fill out Spreadsheet Name (i.e. “Contact Lens Wearing Time Log”). You can delete “||| Value 2Ā ||| Value 3” from the Formatted row, and leave the rest the same. Click “Create action”.

      Configuring the script

      1. Now go back to your Terminal window. Copy and paste this command and press enter: cd /etc
      2. Copy and paste this command and press enter: sudo nano amazon-dash.yml
      3. Use your keyboard arrow key to get down to where it says “## Example of how to execute a IFTTT Webhook event”
        1. Change the text after name: to whatever you want, like “name: contact lens”
        2. Delete and replaceĀ the MAC address that’s already there with the MAC address of the Amazon Dash button you discovered earlier and saved.
        3. Delete and replace the key after ifttt:Ā with your own IFTTT key.
        4. Change the name of the event:Ā to the name you had used on the IFTTT applet, such as “contactlenses”.
        5. After data: {“value1”:, type in what you want to be recorded on the Google Sheet after the date and time. Like “Inserted/Removed” (of contact lenses).
        6. Once you’re done, delete the “#” symbols from the beginning of each line that you edited. Result should look like this:

        Press Ctrl+X to exit, it’ll ask if you want to save, so press Y, and then press Enter to save it as the same filename. You should now be back to theĀ original window.

        Finishing up and running theĀ app

        1. Copy and paste the following commands, pressing Enter after each command:
          1. chown root amazon-dash.yml
          2. sudo chmod 600 amazon-dash.yml (may require computer password)
          3. sudo amazon-dash (may require computer password)

          If all was successful, you should see the following message pop up:

          Welcome to Amazon-dash v1.3.1 using Python 2.7.10
          Listening for events. Amazon-dash will execute the events associated with the registered buttons.

          Press your Dash button. The window won’t seem to do anything or say anything, but go to your Google Drive and see if you see a new row. If you did, congratulations! You successfully hacked your Dash button!!
          You’ll need to leave this window running, so best to set this up on a computer or device that is always on.

          Let me know in the comments if you have success with these instructions, or if you have another project you would like to share with us! If you have any suggestions on how I can improve my circles and arrows, let me know as well. Enjoy!

          Similar Projects

          https://blog.cloudstitch.com/how-i-hacked-amazon-s-5-wifi-button-to-track-baby-data-794214b0bdd8

          https://alexmeub.com/hacking-amazon-dash-buttons/

          https://www.alphr.com/amazon/1001429/amazon-dash-button-hacks-6-ways-to-build-your-own-low-cost-connected-home/page/0/1

          https://www.hackster.io/ravi-sawhney/amazon-dash-reminder-app-79e6bb Continue reading ā†’

Using Zapier to keep track of Amazon promotional credit expiration dates

Do you everĀ buyĀ things from Amazon.com and choose No-RushĀ Shipping for whatever promotional credit they’re offering at the time? Usually it’s either $1 on digital media (Kindle eBooks, TV shows, music, software, etc) or $5.99 shipping credit for Prime Pantry (these are less useful to me).

The credits are worthless unless you use them, and use them by their expiration dates.Ā This link shows you how many credits you have left for digital media (Prime Pantry credits are not listed here), but it doesn’t show you expiration dates. Those expiration dates are in individual emails, one for each order you made. I make dozens of orders per month that I choose slow shipping on, so I’ve let many credits expire just because I wasn’t keeping track.

I’m lazy, but I also like staying on top of things and maximizing value, so I’m a huge fan of automation. Tools like ZapierĀ and IFTTT are awesome for me, and they’re easy enough for anyone to use, with zero coding background. Many people are very familiar with IFTTT, but not so much with Zapier. If you’re new to Zapier and want to see a real-life example of what it can do, today I will show you how to set up Zapier to automatically extract Amazon credit values and expiration dates from your email and save them into a spreadsheet.

Zapier and IFTTT can also do many other automation tasks to save you lots of time. Maybe after reading this tutorial, you’ll be inspired to play around withĀ other triggers and actions onĀ Zapier, or find more inspiration onĀ the web that others have shared. I’m sure you’ll also think of many travel hacking related ideas. šŸ˜‰ Do share with us!

Prep Work
  1. Set up a freeĀ Zapier account
  2. Set up a freeĀ Zapier Email Parser account
  3. Set up a new Google Sheet called Amazon Credits with the following column titles: Order Number | Credit Value | Expiration Date
Set up Zapier Email Parser
  • Go to your Zapier Email Parser account, and click Create Mailbox.
  • An email address ending in @robot.zapier.com will be given to you. Copy and paste the email address.
  • Go to your email account, find any Amazon email with the promotional credit information (search “from:Amazon subject:Benefit Confirmation”), then forward the email to the Zapier robotĀ address.
  • Wait a few seconds for the email to appear in your Zapier Mailbox.
  • Now we’re going to set up the extractors:
    1. Highlight the order number, and nameĀ itĀ order.
    2. Highlight the dollar amount (i.e. highlight the “$5.99”), and name itĀ amount.
    3. Highlight the expiration date, and name itĀ expiration.
    4. Continue reading ā†’

  • Using Excel’s Solver Function to determine which Citi transactions earned bonus points

    Hello!Ā Today I have decided to tackle an annoying problem: determining which transactions on my Citi AT&T Access More statement earned 3X bonus points at retail and travel websites (yes, nerdy thing to do). While I’m only concerned about the AT&T card in today’s post, this frustration also applies to other Citi cards that earn Thank You Points, such as Citi Prestige, Premier, Forward, etc. Knowing what counts or doesn’t count for bonus points will help all of us build aĀ valuableĀ database of transactions that are eligible for this generous card, such as the one that Miles to Memories started, and this one from Doctor of Credit.

    However, unlikeĀ Chase and Barclay, who make it super easy to see exactly how many points each transaction earned, Citi just shows you a total for each bonus category. This is very annoying if you have a lot of transactions (and you shouldĀ be experimenting a lot!) because you basically have trial-and-error toĀ figure out which ones earned 3X and which ones didn’t. After a few minutes of writing Excel functions and randomly trying to set some Paypal transactions to 3X and others to 1X and not successfully getting the 3X to add up to what Citi claimed I earned, I knew there had to be an easier way to do this quickly. I’m lazy and like to save time. šŸ˜›

    I googled “use excel to determine which cells add up to a certain number” and found that Microsoft Excel’s Solver function does exactly what I am trying to do. The rest of this post is a tutorial to show you how to use it for our specific purpose. Don’t be overwhelmed, it’s actually really easy! I will include lots of pictures for you to follow along the way, and after you do it once, you’ll be able to do it on your own and save lots of time. šŸ™‚

    Social Media Auto Publish Powered By : XYZScripts.com