I don’t think that was the issue.Actually the automation are set on 2 different state of charge:
1) equal to 80
2) more than 80
Is it correct? There should be no conflict.
Last edited:
I don’t think that was the issue.Actually the automation are set on 2 different state of charge:
1) equal to 80
2) more than 80
Is it correct? There should be no conflict.
The added if-statement should take care of it.
Yes. I did that in my automations. It won’t hurt.In both automations?
Yes. I did that in my automations. It won’t hurt.
Sure, one automation script will work.Just to get it in the right way.
The script you suggest should be add as an extra command?
View attachment 1944784
Anyway, I’m pretty sure that 1 automation that cut off power when the level raises up to 80 is enough, what do you think?
Thanks for your support, I’m a newbie in the automations world.
Appreciate it ?
I use a Wemo smart plug. When I added the Wemo smart plug in the Home app, I renamed it to Smart Plug. You will need to use the name of your smart plug that was created in the Home app when you installed it. the easiest way to do this is:I can’t make it work.
The sequence starts correctly
View attachment 1945946
.. but then
View attachment 1945947
Translation:
(An error occurs with the automation “when the libel rises up to 80%”. Accessory not available).
It is not able to turn off the smart plug because it can’t find it.
I tried single automation to turn on / off the smart plug at a specific time and it works properly.
What can I do?
I use a Wemo smart plug. When I added the Wemo smart plug in the Home app, I renamed it to Smart Plug. You will need to use the name of your smart plug that was created in the Home app when you installed it. the easiest way to do this is:
- In your Shortcuts Automation, select the if statement. You should see this:
if Input ConditionOtherwiseEnd if
- Select Input.
- In the Input Anything menu, choose: Select a Home Accessory.
- Select the name your smart plug device.
Did you create 2 scenes in the Home app, one to turn on the smart plug and one to turn off the smart plug?I follow your previous instruction and the name in the Home App is the same I pick up in the automations.
This morning I tried many test.
This may sound weird but if I try without the iOhone attached to the wire .. the automation works as a charm.
If I do the same, but with iPhone plugged in… boom: automation error, accessory not found.
Another thing: the very automation is for turn on the smart plug. It works, with and without the iohone plugged in.
Did you create 2 scenes in the Home app, one to turn on the smart plug and one to turn off the smart plug?
You need to create two scenes in the Home App first.
Then reference one of those scenes to turn the plug on and the other scene to turn it off.
I choose the scenes by choosing the Home App in “Apps” option then the on or off scene.
These are mine for my smart plug
Yesfor all you guys that use automations to stop at around 80%, have you disabled the optimized charge option?
@Taz Mangus @now i see it @BugeyeSTI
I have not experienced Accessory not found. Maybe it is related to the actual smart plug. I am using a Weno smart plug. My Automation is:The key for this is to have a "wait" command to wake up your phone otherwise you're going to keep getting the accessory not found error. Spent months trying to figure out a fix then I found it on here, can't remember the OP but credit to them.
So in "search for apps and actions" just search for "wait" and set it to whatever, I got it at 5 seconds, then have your Homekit action.
Mine looks like this:
Wait 5 seconds
Set Smart Plug
Wait 5 seconds
Set Smart Plug
I have an extra set of redundancy just because I struggled with the "accessory not found" error for a very long time lol.
My post was directed at the OP, @Jutah who seems to have the accessory not found issue. But congrats on not having it yourself!I have not experienced Accessory not found. Maybe it is related to the actual smart plug. I am using a Weno smart plug. My Automation is:
When Battery Level is 80%:
Set Smart Plug Off
Did you create 2 Scenes, one to turn on the smart plug and one to turn off the smart plug?The key for this is to have a "wait" command to wake up your phone otherwise you're going to keep getting the accessory not found error. Spent months trying to figure out a fix then I found it on here, can't remember the OP but credit to them.
So in "search for apps and actions" just search for "wait" and set it to whatever, I got it at 5 seconds, then have your Homekit action.
Mine looks like this:
Wait 5 seconds
Set Smart Plug
Wait 5 seconds
Set Smart Plug
I have an extra set of redundancy just because I struggled with the "accessory not found" error for a very long time lol.
Found it. Credit to @reppans You can ignore step 2 if you would like. Really what you want out of this is just the "wait" script in step 4.
Original Thread
![]()
I think the issue the OP has is due to not creating and using a Scene. But rather trying to set the device directly.My post was directed at the OP, @Jutah who seems to have the accessory not found issue. But congrats on not having it yourself!
The key for this is to have a "wait" command to wake up your phone otherwise you're going to keep getting the accessory not found error. Spent months trying to figure out a fix then I found it on here, can't remember the OP but credit to them.
So in "search for apps and actions" just search for "wait" and set it to whatever, I got it at 5 seconds, then have your Homekit action.
Mine looks like this:
Wait 5 seconds
Set Smart Plug
Wait 5 seconds
Set Smart Plug
I have an extra set of redundancy just because I struggled with the "accessory not found" error for a very long time lol.
Found it. Credit to @reppans You can ignore step 2 if you would like. Really what you want out of this is just the "wait" script in step 4.
Original Thread
Yes probably that was another issue.I think the issue the OP has is due to not creating and using a Scene. But rather trying to set the device directly.
Turn off Optimize Charging when using charging automation shortcuts.
Yesfor all you guys that use automations to stop at around 80%, have you disabled the optimized charge option?
@Taz Mangus @now i see it @BugeyeSTI