# SONOFF iPlug S40TPB power-on-state ignored (always stays off)

**URL:** <https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012>\
**Category:** Uncategorized\
**Created:** [June 1, 2022, 9:23pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012 "2022-06-01T21:23:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gordonmcdowell](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gordonmcdowell](https://forum.ewelink.cc/u/gordonmcdowell)\
**Post date:** [June 1, 2022, 9:23pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/1 "2022-06-01T21:23:25Z")

</div>

Think I’m filing a bug-report here.

I can’t keep either of my 2 S40TPB plugs to retain a power-on state when I unplug them and plug them back in. Their state changes to off.

Firmware on the plugs is 1.1.0.

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 2, 2022, 9:52pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/2 "2022-06-02T21:52:34Z")

</div>

And I presume you’ve selected the “Power- on state” option in your APP to “ON” or “Last state”?

---

<div class="post-metadata">

**Author:** ![gordonmcdowell](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gordonmcdowell](https://forum.ewelink.cc/u/gordonmcdowell)\
**Post date:** [June 2, 2022, 10:06pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/3 "2022-06-02T22:06:06Z")

</div>

Yes. “ON” seems to act like “OFF”.

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 2, 2022, 10:19pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/4 "2022-06-02T22:19:15Z")

</div>

So, before you unplug your socket from the wall is your appliance on or off?

---

<div class="post-metadata">

**Author:** ![gordonmcdowell](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gordonmcdowell](https://forum.ewelink.cc/u/gordonmcdowell)\
**Post date:** [June 2, 2022, 10:36pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/5 "2022-06-02T22:36:30Z")

</div>

On. S40 is providing power to a device.

S40 on. Device receiving power. Unplug the S40 (with device plugged in) from AC. Wait 5 sec. Plug S40 back in. I regain connectivity with eWeLink app but it is now off. I can turn it on with the app, or by tapping the button on side of S40, but it always seems to default to OFF when plugged in.

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 2, 2022, 11:13pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/6 "2022-06-02T23:13:49Z")

</div>

Have you gone into the App , selected your device gone into settings - top right, scrolled down and chosen “last state”?

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 2, 2022, 11:16pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/7 "2022-06-02T23:16:50Z")

</div>

Selecting “Last state” in your case should be the appliance turning back on

---

<div class="post-metadata">

**Author:** ![gordonmcdowell](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gordonmcdowell](https://forum.ewelink.cc/u/gordonmcdowell)\
**Post date:** [June 2, 2022, 11:51pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/8 "2022-06-02T23:51:19Z")

</div>

Ok, I’ll check that. They’re at work so can’t try until Monday. (Do you have one of these on-hand at your end? Wondering if it is working for someone else.)

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 3, 2022, 12:14am UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/9 "2022-06-03T00:14:04Z")

</div>

I have something very like it, not sure if it’s the same model as yours but they all work very similar. I’ll check tomorrow and I’ll get back to you.

---

<div class="post-metadata">

**Author:** ![gordonmcdowell](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gordonmcdowell](https://forum.ewelink.cc/u/gordonmcdowell)\
**Post date:** [June 4, 2022, 1:19am UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/10 "2022-06-04T01:19:21Z")

</div>

My wife brought home one of the S40TPB and I’m trying all the Power-On state settings… On, Off, Last-State and the S40 always returns to OFF after getting unplugged from the wall, then plugged back in.

Also tried with switch OFF when unplugged. Remained off when plugged back in.

Think I’ve tried all possible combinations (“Power-On State” and state-when-unplugged) and can’t think of anything else to try at my end.

Someone at eWeLink please check an S40TPB.

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 4, 2022, 11:35am UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/11 "2022-06-04T11:35:27Z")

</div>

Gordon, just to check, each time you alter the power state in your app are you also pressing “save” top right?

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 4, 2022, 11:45am UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/12 "2022-06-04T11:45:22Z")

</div>

Just checked mine, works perfectly. So when appliance is on before power cut it turns back on when power is restored. All this happens when power state in app is set to “last state” and SAVED

---

<div class="post-metadata">

**Author:** ![gordonmcdowell](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gordonmcdowell](https://forum.ewelink.cc/u/gordonmcdowell)\
**Post date:** [June 4, 2022, 4:01pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/13 "2022-06-04T16:01:13Z")

</div>

Yes, I’m hitting SAVE. (Tried again just to be sure I wasn’t missing something obvious.) It seems to remember the setting (I kill the app and go back to device and check) even if it doesn’t act on it.

Model: S40  
FW Name: SN-BL602-S40-01  
Firmware: 1.1.0

Do you want me to try record a video of this?

---

<div class="post-metadata">

**Author:** ![ecopluselectrical](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@ecopluselectrical](https://forum.ewelink.cc/u/ecopluselectrical)\
**Post date:** [June 4, 2022, 5:10pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/14 "2022-06-04T17:10:35Z")

</div>

Yeh, maybe that the best thing, might show problem in more detail!

---

<div class="post-metadata">

**Author:** ![julio.viquez](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@julio.viquez](https://forum.ewelink.cc/u/julio.viquez)\
**Post date:** [August 30, 2022, 2:37pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/15 "2022-08-30T14:37:27Z")

</div>

Same thing happening to me. Just bought the SONOFF S40 Maga Save 4 Pack and all 4 devices are doing the same… as soon you plug it in, it goes off independent of what you select for the Power-On State.

Tried updating the firmware from 1.1.0 to 1.2.0, but I got the same behavior.

Model S40TPB / FW Name SN-BL602-S40-01

---

<div class="post-metadata">

**Author:** ![Erin](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@Erin](https://forum.ewelink.cc/u/Erin)\
**Post date:** [August 31, 2022, 1:43am UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/16 "2022-08-31T01:43:52Z")

</div>

Would you please try to delete the device and pair it again, then set the Power-on State to “ON” to see if that helps?

---

<div class="post-metadata">

**Author:** ![julio.viquez](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@julio.viquez](https://forum.ewelink.cc/u/julio.viquez)\
**Post date:** [September 7, 2022, 5:30pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/17 "2022-09-07T17:30:50Z")

</div>

I already did that, with the 4 of them… the same result… it tries to come back on and then immediately goes to the off status… I did it with a load plug-in and then unpluged, same result.

I can record a short video if you want to see the exact behavior.

---

<div class="post-metadata">

**Author:** ![Erin](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@Erin](https://forum.ewelink.cc/u/Erin)\
**Post date:** [September 8, 2022, 1:39am UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/18 "2022-09-08T01:39:28Z")

</div>

It would be helpful to record a video and send it to us in a feedback ticket. Besides, please tick “Upload corresponding information” in the ticket.

 ![upload info.PNG](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/65ee2d8422987ecd5f8612e692f1c53dbce7247f.jpeg)

---

<div class="post-metadata">

**Author:** ![gordonmcdowell](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gordonmcdowell](https://forum.ewelink.cc/u/gordonmcdowell)\
**Post date:** [September 19, 2022, 6:16pm UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/19 "2022-09-19T18:16:17Z")

</div>

Back on this. Can confirm the problem persisted with S40 FW 1.1.0 and now 1.3.0 is available and upgrading to 1.3.0 fixed the issue. I’ve got 2 S40 devices and confirmed not-working 1.1.0 and now-working 1.3.0 on both.

---

<div class="post-metadata">

**Author:** ![yitie](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/yitie/32/3613_2.png) [@yitie](https://forum.ewelink.cc/u/yitie)\
**Post date:** [September 20, 2022, 6:27am UTC](https://forum.ewelink.cc/t/sonoff-iplug-s40tpb-power-on-state-ignored-always-stays-off/1012/20 "2022-09-20T06:27:42Z")

</div>

Unlisted on September 20, 2022, 6:27am UTC


