Stop chargeing at night

1,808 views
Skip to first unread message

Rune Thorvaldsen

unread,
Jan 11, 2020, 10:33:51 AM1/11/20
to Tasker
Everybody says you should't charge the phone at night and the reason is the chance of fire and its not good for the battery because its charged up to 100 and is kept at full.

I know some cables who stop charging when its 100% but is it possible to use tasker to only charge it to 85% between midnight and 8 in the morning?

I cant root my phone

Adrian Wood

unread,
Jan 11, 2020, 1:35:20 PM1/11/20
to Tasker
No need to root.

I've done this using a Teckin Smart Plug from Amazon (currently £16 for 2). Tasker turns the smart plug off when it reaches 80% in my case.

If the phone charger isn't plugged in to the smart plug Tasker alerts me to unplug when it reaches the target charge level. It also allows me to set a higher charge level if required.

I could share the Tasker project if it helps.

Adrian Wood

unread,
Jan 11, 2020, 3:06:36 PM1/11/20
to Tasker
Actually the smart plug / charger is switched off via IFTTT. IFTTT is triggered using a transient silent notification created by tasker or its autonotification plugin. I could just as easily triggered IFTTT by sending it a message via autoremote.

So if you'd like further details or my tasker project, let me know if you'd prefer to use tasker itself, autonotification, or autoremote as the trigger.


A few other thoughts:

I set the smart plug to switch on in the middle of the night so that my phone has completed charging to 80% by about an hour before I get up. That way it is still at 80% in the morning. It is possible to do this using tasker or the app that comes with the smart plug.

I use a charger that only slowly charges instead of the fast charger that came with my phone to keep the battery temperature low, increasing its longevity.

Rune Thorvaldsen

unread,
Jan 11, 2020, 6:03:32 PM1/11/20
to tas...@googlegroups.com
Thanks for the tip Adrian,
I'll buy a smart plug and try it out but if you will share your tasker project I appreciate it

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/FaLItwFQJ1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/74537f9c-1aba-466c-83de-9133a1e76292%40googlegroups.com.

Steve L

unread,
Jan 12, 2020, 5:26:33 AM1/12/20
to Tasker
If you go with a smart plug (which is the easiest way to go), here's a link to the message that dealt with smart lights. Same process that I use all the time.

https://groups.google.com/forum/m/#!topic/tasker/cpiz9fyHuiI

Stipe

unread,
Jan 12, 2020, 9:55:31 AM1/12/20
to Tasker
I use the same concept, the only thing bugging me is, how to detect, when are you charging via smartplug... the phone can not know that... or am I missing something obvious here?

Dne sobota, 11. januar 2020 19.35.20 UTC+1 je oseba Adrian Wood napisala:

Steve L

unread,
Jan 12, 2020, 10:02:39 AM1/12/20
to tas...@googlegroups.com
Set a context, state -> battery power -> min and max.  When the battery reaches a set limit, you can fire off a task to turn the switch off.

Night battery charge
Context -> battery min 15, max 90

Enter task
   Send a message to ifttt to turn on the charger

Exit task
    Send a different message to turn the charger off.

I dont have a profile set up at the moment, but that is the basic outline of it.

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/FaLItwFQJ1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Stipe

unread,
Jan 12, 2020, 10:52:48 AM1/12/20
to Tasker
Thx, Steve, I'm familiar with the flow and conditions as I'm already using similar profiles/tasks. 

The unclear thing is, how to know, which smartplug to switch on/off, as I'm charging the phone on three different smart plugs and the phone does not know on which one it is currently. 
At the moment I'm using an input dialog, which pops up on charging detection and asks me to select the desired plug - from that moment on it only deals with the chosen one. Of couse the input dialog pops up again on any charging, but if I let it to timeout, the previously selected plug continues to be the active one. But I'm looking for a more sofisticated solution of autodetection of the plug without having to manualy put in the plug's name...

Dne nedelja, 12. januar 2020 16.02.39 UTC+1 je oseba Steve L napisala:
Set a context, state -> battery power -> min and max.  When the battery reaches a set limit, you can fire off a task to turn the switch off.

Night battery charge
Context -> battery min 15, max 90

Enter task
   Send a message to ifttt to turn on the charger

Exit task
    Send a different message to turn the charger off.

I dont have a profile set up at the moment, but that is the basic outline of it.

On Sun, Jan 12, 2020, 8:56 AM Stipe <bostjan...@gmail.com> wrote:
I use the same concept, the only thing bugging me is, how to detect, when are you charging via smartplug... the phone can not know that... or am I missing something obvious here?

Dne sobota, 11. januar 2020 19.35.20 UTC+1 je oseba Adrian Wood napisala:
No need to root.

I've done this using a Teckin Smart Plug from Amazon (currently £16 for 2). Tasker turns the smart plug off when it reaches 80% in my case.

If the phone charger isn't plugged in to the smart plug Tasker alerts me to unplug when it reaches the target charge level. It also allows me to set a higher charge level if required.

I could share the Tasker project if it helps.

 

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/FaLItwFQJ1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tas...@googlegroups.com.

Steve L

unread,
Jan 12, 2020, 10:58:45 AM1/12/20
to tas...@googlegroups.com
Ok, I misunderstood.  I have three different plugs and 7 different smart lights on my system.  I have it programmed into ifttt with different keywords for each.  I also have it set up in google home as three different names.

I have my profiles all set to trigger specific switches and lights based on time of day or battery level, but I dont have it set up to determine which charger I'm on.  

I don't know if your phone can determine then switch, just the type of power (USB, wireless).  But good luck with it.

To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/8b41d636-6819-411b-a5b8-25dba7593cf4%40googlegroups.com.

Adrian Wood

unread,
Jan 12, 2020, 11:54:47 AM1/12/20
to Tasker
Hi Run

I'll update the project first to make it more generic.

Would you need guidance on setting up IFTTT?

The simplest way to trigger IFTTT to turn off the smart plug is to use tasker to create a notification. That way neither autoremote nor autonotification is needed. Shall I share that method with you?

Or I could convert my project to use autonotification and / or autoremote if you'd prefer a more elegant solution (albeit more difficult to set up).

Adrian Wood

unread,
Jan 12, 2020, 12:15:41 PM1/12/20
to Tasker
I don't think it's possible with the current smart plugs to detect which one. For me I always plug my phone into the same one overnight so there's no problem.

In the daytime unless I'm taking a nap I don't use the smart plug, so although the smart plug still switches off, the phone stays charging. At max charge+1% tasker alerts me via a notification that charging is complete so I can then manually unplug it.

That works fine for me because if I'm asleep it's plugged into my smart plug, if I'm awake I can easily hear and respond to a notification.

If I wanted to use more than one smart plug I would just have them all switch off so it wouldn't matter which one I was using. Your solution us the only alternative I can think of.

Stipe

unread,
Jan 12, 2020, 3:49:51 PM1/12/20
to Tasker
Yeah, I got confused by your statement "If the phone charger isn't plugged in to the smart plug Tasker alerts me to unplug when it reaches the target charge level" - i assumed, that Tasker knows, you are not pluggged to the smart plug. 
Switching On or Off of all plugs doesn't work for me as I'm controling some of the plugs with other phones/tablets in the house too (and charging them also). 
So, for now I'll stay with my ""manual selection" solution :), however I'm still not giving up on an completely automated solution. Like, is there a way to "read" the power consumption from a plug? If so, I could check, which plug has changed the power consumption from 0 to something in the last few seconds/minutes and use it as a selector... Yeah, probably just a dream, I know :). 


Dne nedelja, 12. januar 2020 18.15.41 UTC+1 je oseba Adrian Wood napisala:

Scott Miller

unread,
Jan 12, 2020, 4:04:37 PM1/12/20
to tas...@googlegroups.com
Well, it's not a dream any longer. But you do need the right stuff. I use Samsung SmartThings. It can use devices that are z-wave or zigbee protocol devices. There are other systems that use the protocols as well.  But, there is an app with a Tasker plugin called SharpTools that interfaces with SmartThings. The smart plugs I use can report the amount of power that is being drawn by the device that is plugged in to it. And SharpTools can send that information to Tasker. Figuring out exactly how to do what you are seeking is probably not trivial, but the tools do exist to make it possible.

On Sun, Jan 12, 2020 at 3:50 PM Stipe <bostjan...@gmail.com> wrote:
Like, is there a way to "read" the power consumption from a plug? If so, I could check, which plug has changed the power consumption from 0 to something in the last few seconds/minutes and use it as a selector... Yeah, probably just a dream, I know :). 

--
Scott

Stipe

unread,
Jan 13, 2020, 12:58:54 AM1/13/20
to Tasker
Great, Scott, thx for the suggestion. Unfortunately my Smartlife plugs are not supported in Smarthings (yet :) ), so for now I have to stay with manual selection... but will keep digging for an alternative. 

Dne nedelja, 12. januar 2020 22.04.37 UTC+1 je oseba Scott Miller napisala:

Adrian Wood

unread,
Jan 14, 2020, 8:21:45 AM1/14/20
to Tasker
I can't think of any other way. I do have two phones but always plug each one into a specific charger at night so tasker knows which one to turn off.

Adrian Wood

unread,
Jan 16, 2020, 6:50:52 AM1/16/20
to Tasker
Hi Rune,

Sorry for the delay in providing my project.  I've been testing and making various improvements first:

It now uses AutoRemote Lite (the free version) or the full Autoremote to trigger IFTTT to turn the phone off (or on), because there is a bug in either the Smart Life app or IFTTT which stopped IFTTT being triggered,

It now includes:
  • options to make it work for a variety of scenarios and use cases (encoded in global variables)
  • the ability to use it on more than one device/smart plug pair
  • a Setup Wizard task to make it easy to setup the options (global variables)
  • instructions to make it easier to set up AutoRemote and IFTTT
  • an Enable AutoCharge task to enable the correct profiles based on the options chosen in the Setup Wizard or global variables
I should have it ready to share soon!

Adrian Wood

unread,
Jan 18, 2020, 11:40:19 AM1/18/20
to Tasker
Hi Rune,

You've not replied.

Do you still want my help here?

I've been working on this project despite being very busy on other stuff.

I don't want to spend much more time if you're no longer interested, 

Rune Thorvaldsen

unread,
Jan 18, 2020, 7:37:16 PM1/18/20
to tas...@googlegroups.com
Hi Adrian,
so sorry for not replying but suddenly my 2weeks old phone just shut down so I had to get a new one.
I'm gonna read all new posts tomorrow (later today) and reply then.

Sorry once again :-(



--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/FaLItwFQJ1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Adrian Wood

unread,
Jan 19, 2020, 5:11:58 AM1/19/20
to Tasker
No problem, I'll get back on to finishing my project.  Just didn't want to continue if you didn't need me to, since I'm very busy just now.


On Sunday, 19 January 2020 00:37:16 UTC, Rune Thorvaldsen wrote:
Hi Adrian,
so sorry for not replying but suddenly my 2weeks old phone just shut down so I had to get a new one.
I'm gonna read all new posts tomorrow (later today) and reply then.

Sorry once again :-(



lør. 18. jan. 2020 kl. 17:40 skrev Adrian Wood <adrianp...@gmail.com>:
Hi Rune,

You've not replied.

Do you still want my help here?

I've been working on this project despite being very busy on other stuff.

I don't want to spend much more time if you're no longer interested, 

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/FaLItwFQJ1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tas...@googlegroups.com.

Rune Thorvaldsen

unread,
Jan 19, 2020, 2:35:50 PM1/19/20
to tas...@googlegroups.com
Hi Adrian,
First off all thanks you for your patience.
When it comes to programming (Tasker and all other programming) my skills are close too zero so we must take it slow and I must use my very good friend "Google" a lot :-)

I have't bought any smart plugs yet but I guess the basics are the same for most of the plugs.

To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/9cfdbd66-caaa-40fc-be24-666334376304%40googlegroups.com.

Adrian Wood

unread,
Jan 20, 2020, 3:33:23 PM1/20/20
to Tasker
HI expect so, just make sure the smart plug can be turned on and off via IFTTT.

Have you used IFTTT before?

I'm writing the project to make it as easy as possible and unless you need extra functionality no programming will be needed.

I'll be happy to help guide you with getting it working for you.

BTW the only downside I've found with the Teckin plugs is the very bright blue light on the on/off switch. I've covered mine with gorilla tape.

Rune Thorvaldsen

unread,
Jan 21, 2020, 6:16:20 PM1/21/20
to tas...@googlegroups.com
Hi,
Just bought two plugs from Irland now, expecting 2-4week in deliverytime.

I have never used IFTTT before and I actually had to Google "IFTTT" to understand what it was :-).

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/FaLItwFQJ1k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Adrian Wood

unread,
Jan 21, 2020, 7:30:45 PM1/21/20
to Tasker

No problem I can help you with all that.

So I’ve got at least 2 weeks to get my project nicely sorted out for you.

Rune Thorvaldsen

unread,
Feb 17, 2020, 4:00:02 PM2/17/20
to Tasker
Hello,
the device finally arrived today :-)

Attached the usermanual since its not the same type you use


Page 1.jpgPage 2.jpg

Adrian Wood

unread,
Feb 18, 2020, 4:09:28 AM2/18/20
to Tasker
Great, I'll get back to you shortly.

Adrian Wood

unread,
Feb 18, 2020, 4:37:24 AM2/18/20
to Tasker
So the first step is to follow the instructions steps 1 to 3.2 to set up the eWeLink app and account. Then name the plug as per the instructions, for example, BedroomPlug so you can (later) find it in IFTTT.

Then test the plug can be switched on and off via the app.

How many smart plugs will you be using with your phone, just the one?

Let me know when you have that working.

Adrian Wood

unread,
Feb 18, 2020, 4:40:15 AM2/18/20
to Tasker
Naming the plug is step 3.2 and testing is step 4.1. You probably don't need step 4.2 unless tasker / IFTTT has problems turning the plug on and off, but we'll get to that later.

Rune Thorvaldsen

unread,
Feb 18, 2020, 4:56:47 PM2/18/20
to Tasker
I bought two plugs but will only use one plug with my phone.
I named my plug for Ladekontakt (RT). The other one is named Ladekontakt (EG) and will be used by my fiance when I see my plug is working correctly

I can turn on/ off the device from the eWeLink app

Adrian Wood

unread,
Feb 18, 2020, 6:17:26 PM2/18/20
to Tasker
Good news.  

My tasker project will eventually need to go on both your phones,  I'll help you with that later.

For now, the next steps are:

1, Install the ifttt app on your phone from play store.
2. Open the app, and follow the instructions to create an account or to sign in if you already have an account.
3. Once you're signed in, allow any permissions requested
4. Tap Get more
5. Search for eWeLink.
6. Scroll down to the Tile called Turn off a light / switch
7. Tap connect
8. Enter your eWeLink account details and login to connect eWeLink to IFTTT.

9. You should now be able to configure the eWeLink applet by selecting the switch named Ladekontakt (RT).
10. Save the applet.
11. Add a widget for IFTTT to your phone homescreen (either IFTTT Large or IFTTT Small)
12. Select the eWelink applet for turning off your switch
13. Test that this widget successfully turns your phone off.

If all is well you have now successfully connected your smart plug to IFTTT, and proved that IFTTT can turn it off.

You're free to delete the widget at any time.

Let me know how you get on!  I'll then give you the next step.

Rune Thorvaldsen

unread,
Feb 19, 2020, 6:01:16 AM2/19/20
to Tasker
Thank you so far.
I'm working late today and tomorrow so I might not try it before friday/ saturday

Rune Thorvaldsen

unread,
Feb 22, 2020, 2:31:18 PM2/22/20
to Tasker
Look like I finally got it.
I can turn off the plug with the widget and if I set it to on in the IFTTT app I can turn it on with the widget again

Adrian Wood

unread,
Feb 22, 2020, 4:10:22 PM2/22/20
to Tasker
Excellent.

Next you need to do this:

Part 1) Create your own applets in IFTT. Two of them: one to turn on your smart plug, the other to turn it off
Part 2)  Install Autoremote Lite (free) or Autoremote (paid for) from Google Play Store and connect it to IFTTT
Part 3) Test that you can trigger the above IFTTT applets by sending messages from AutoRemote

I'll break this down for you, in the posts that follow shortly.

Adrian Wood

unread,
Feb 22, 2020, 4:59:02 PM2/22/20
to Tasker
Part 1

Create an IFTTT applet to turn your smart plug on as follows:
1. Launch the IFTTT app.
2.Tap Get More
3.Tap the + button (to the right of "Make your own Applets from scratch)
4. Tap the word 'This'
5. Search for: web
6. Tap the Webhooks tile.
7. Tap the Receive a web request tile.
8. Call the event name A1 (type that into the box).  Actually it could be anything you want, but ideally just two characters (see explanation below).
9. Tap Continue
10. Tap the word 'That'
11. Search for: ewe 
12. Tap the eWeLink Smart Home tile
13. Tap on the appropriate tile for your smart plug, this bit is unclear for me, but I guess its the one called "Turn 1 Channel Plug on or off", or perhaps "Turn 1 Channel Switch on or off".  If necessary you might need to check that with eWeLink support.
14. Find your switch named Ladekontakt (RT) and select the option to turn it on (you might need to press Continue first).  Presumably, if you don't see Ladekontakt (RT) here, then you need to go back and try one of other tiles at step 13.
15. In the Preview you can turn notifications on if you want to get a notification when this applet is triggered (in normal use it is probably best for it to be turned off).
16. Press Finish, and make sure it says it's connected.
17. If you ever needed to change the applet, you would press the Cog button (top right), but you don't need to do that just now.
18. Press back twice, and then tap on your account name (top right)
19. Tap View Activity
20. If all is well you should see an Applet has been created called "If Maker Event "A1", then turn on Ladekontakt (RT)"
21. Press back twice
22. Repeat step 2 to 21, but this time the event name is A0 and you need to select the option in eWeLink to turn Ladekontakt (RT) off.


Let me know how you get on!  I'll then explain how to get AutoRemote to send the A1 and A0 messages to IFTTT to turn your plug on and off,

Explanation:

The event name could be called anything, but if you want to use the free tasker add-on called Autoremote Lite, you're limited to two characters.
So A denotes plug A (in this case Ladekontakt (RT))
and 1 denotes 'on', 0 denotes 'off'
so A1 means turn on plug A (Ladekontakt (RT))
and A0 means turn off plug A (Ladekontakt (RT))

That way you could create applets that use Autoremote Lite to control up to 26 plugs (A to Z).

If you paid for the full Autoremote app (which I have), you could use a whatever event names you like.

There is also a tasker add-on app called Join which does everything Autoremote does and more, but since I've never needed to use it, I can only provide instructions for Autoremote.


Rune Thorvaldsen

unread,
Feb 22, 2020, 6:29:51 PM2/22/20
to Tasker
Done with the two applets for "Ladekontakt (RT)"

I have installed the lite version of Autoremote since I did't know how much I will use it but if I use it alot buy the full version. Autoremote is not connected to IFTTT yet

Adrian Wood

unread,
Feb 24, 2020, 4:53:15 AM2/24/20
to Tasker
Sorry for the delay in responding, I'm really busy with work just now and needed to make some fixes to my project.

Part 2)  Install Autoremote Lite (free) or Autoremote (paid for) from Google Play Store and connect it to IFTTT

So now you've installed Autoremote Lite, do this:

1. In a web browsers go to htttps://ifttt.com/maker 
2. If you see a Webhooks page with a button for Documentation near the top, good.
    If not:  check you are signed in with the account you setup Webhooks on earlier, then go back to the above page.
3. Tap Documentation
4. A key will be displayed, copy the whole key or write it down carefully.
5  Launch the Autoremote app, and go to the home screen (with the barcode and URL).
6. Tap the phone icon at the bottom
7. Tap the triangle icon towards the left at the bottom.
8. It should aske you to Register IFTTT by entering your IFTTT Maker key, paste in or enter the IFTTT key from step 5. (If pasting, be sure to paste it as plain text).
9. Press OK.
10. It will ask you if you want to call this 'device' IFTTT, to accept that, press OK.
11. It will let you generate a URL That URL is used to send messages from IFTTT to Autoremote, but you will be sending messages the opposite way, so you can dismiss this option.

Part 3) Test that you can trigger the above IFTTT applets by sending messages from AutoRemote

1. Turn your Smart Plug on (manually) and make sure your phone and smart plug are connected to the internet.
2. You should be on the page in AutoRemote headed Registered Devices, if not, from the home page (with the barcode), press the phone icon.
3. To the right of IFTTT in the list of devices, press the speech bubbles icon. Enter A0 (assuming that's what you named the event to turn your Smart Plug off) and press OK..
4. Your Smart Plug should turn Off.
5. Go back to the home page (with the URL) and press the icon at the bottom (near near the middle) that looks like a sheet of paper with wrting.
6. You should see that the A0 message was sent successfully
7. If you are unable to get your smart plug to turn off:
     7a. Let me know what the log says (step 5)
     7b. Go into the IFTTT app, tap on your email address at the top, and tap View Activity. It should record if the applet A0 has run. Let me know what it says.
8. If all is well, go back to the home page (URL page) and repeat steps 3 to 7 above, but this time enter A1 (or whatever you named the event to turn the plug on) and the phone should turn on.

Rune Thorvaldsen

unread,
Feb 24, 2020, 4:11:18 PM2/24/20
to Tasker
No problems. I'm glad you can spend the time to get this to work.
I'm working late the next 3 days so I think it might be some delay here too :-)

I was able to turn on and off the plug by sending message from the Autoremote

Rune Thorvaldsen

unread,
Feb 29, 2020, 7:01:57 AM2/29/20
to Tasker
How is it going with your project? :-)

I going to work late tuesday and wednesday but after that it's back too normal daytime again

Adrian Wood

unread,
Mar 1, 2020, 6:21:41 PM3/1/20
to Tasker
Really sorry I've been working hard to meet a touch deadline for tomorrow.  Have completed some finishing touches and tested the project by installing it on a different phone.

Here is the link to the project. Click on it on your phone. Read the description and then press Import.
Press Yes to confirm the import.
Press No to the question about enabling profiles
and then press Yes to run the launch task called 'Initialise Project'.

After initialising, it will offer to run the Setup Wizard, either go ahead or you can run it later by playing the task called "Run Setup Wizard".

I suggest you also run the Instructions task - it includes some instructions about setting up your phone settings (to control the sounds the notifications make).

If you get stuck, or you don't know how to do any of the above, let me know!

After you get it working on your phone I'll advise about setting up on the other phone.

Hope it works out easily!

Adrian Wood

unread,
Mar 1, 2020, 6:24:26 PM3/1/20
to Tasker

Rune Thorvaldsen

unread,
Mar 3, 2020, 4:28:41 AM3/3/20
to Tasker
Thank you so much.
I have too look on the setting for when I woke up it was fully charged and the plug was still on. I think your project works perfect and there is something wrong with the setting I used

Adrian Wood

unread,
Mar 3, 2020, 10:50:47 AM3/3/20
to Tasker
Launch autoremote, then on the home page (with the barcode) click on the log icon (like a sheet of writing paper), then from the Category drop down at the top choose 'Out' and look at what messages were sent overnight.

There should be lines that says something like

Sending: Text: "A0" to By Name

Sent Message to IFTTT: Text: "A0"

If not, what log entries are there?

If you get the above and A0 is the correct event name you need to check if IFTTT responded.

Note the time the message was sent by AutoRemote and then:

Go into the IFTTT app, tap your email address and tap view activity. Scroll down to time you noted. You should see something that says something like:

Applet ran ...

The event named "A0" occurred on the Maker Webhooks service

If Maker Event "A0", then turn Off Smart Plug...


You can tap on the above in IFTTT for more details.

Rune Thorvaldsen

unread,
Mar 6, 2020, 4:25:17 AM3/6/20
to Tasker
Hello again,
Sorry for the delay but I installed Autoremote (full) instead of the lite. After that it has worked perfect

I dont know what all the setting do but I guess I'll find out by testing to find whats best for me


Thank you so much again for spending your time on this

Adrian Wood

unread,
Mar 6, 2020, 12:17:08 PM3/6/20
to tas...@googlegroups.com
If you need me to explain any setting let me know.

I personally use mode 2 for overnight with the optional top-up.

So:

I've chosen option 2 and set if to start charging at 5am (05.00) and to stop at 80% . That way it is charged to 80% when I get up at 8am (I'm using a slow charger). 

I've set the top-up to on with default settings, so if the phone charge drops below 25% it charges the phone to 40% immediately and then after 05.00 it charges it to 80%.

I recommend using this top-up with mode 2, because otherwise, if the charge drops so low the phone turns itself off, it will never turn the charger on, so you'll wake up with a dead phone.

My night starts at 22.30 , the earliest I go to bed, and ends at 09.20 (I'm always up by then). 

Shall I advice how best to set AutoCharge up on your other device?

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/870f30e0-58ab-4519-aa58-ab5bb7f165c3%40googlegroups.com.

Rune Thorvaldsen

unread,
Mar 7, 2020, 6:06:01 AM3/7/20
to Tasker
Thanks.
Think I have it now. Installed all programs on the second today so got it. Just changed Ladeplugg (RT) with Ladeplugg (EG) and A0/ A1 with B0/ B1 :-)

Adrian Wood

unread,
Mar 7, 2020, 4:23:01 PM3/7/20
to Tasker
Great!
Reply all
Reply to author
Forward
0 new messages