# eWeLink Web in an iframe doesn't work

**URL:** <https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268>\
**Category:** eWeLink CUBE\
**Created:** [November 12, 2024, 12:23pm UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268 "2024-11-12T12:23:44Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [November 12, 2024, 12:23pm UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/1 "2024-11-12T12:23:44Z")

</div>

Today eWeLink Web stopped working in an iframe.

---

<div class="post-metadata">

**Author:** ![Tamer\_Salah](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/tamer_salah/32/4047_2.png) [@Tamer\_Salah](https://forum.ewelink.cc/u/Tamer_Salah)\
**Post date:** [November 12, 2024, 12:47pm UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/2 "2024-11-12T12:47:55Z")

</div>

i guess due to ewelink web updated just now V 3.10.0 [2024.11.12]

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [November 13, 2024, 3:47am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/3 "2024-11-13T03:47:32Z")

</div>

Do you use the iframe on eWeLink CAST page or somewhere else?  
what about removing it and add again?

---

<div class="post-metadata">

**Author:** ![ward](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/ward/32/10437_2.png) [@ward](https://forum.ewelink.cc/u/ward)\
**Post date:** [November 13, 2024, 3:47am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/4 "2024-11-13T03:47:39Z")

</div>

We just tested WEB in iframe and it should work without issues.

Can you tell us more about your case?

 ![Screenshot 2024-11-13 at 11.46.09](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/e/eb6c2cf47f60dc055e921cce7b9d44faafda3324.png)

Here’s a tool to test iframe elements

> **[HTTPS iframe test - JSFiddle - Code Playground](https://jsfiddle.net/westonruter/6mSuK/)**
>
> JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [November 13, 2024, 3:57am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/5 "2024-11-13T03:57:06Z")

</div>

> [@Tamer\_Salah](#):
>
> i guess due to ewelink web updated

It was a good guess 🙂 It loads fine right now.  
The newly added battery tool needs further development as it seems not handling some devices rightly.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/9/9f3f63a57dbef583cf0323a813c100beef21f332.png)  
@ward Do R5’s report battery status at all?

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [November 13, 2024, 3:59am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/6 "2024-11-13T03:59:16Z")

</div>

> [@Teki](#):
>
> somewhere else?

Yes, somwhere else. It’s added to my HA dashboard as the sperate instance.

```auto
type: iframe
url: https://web.ewelink.cc/

```

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [November 13, 2024, 6:26am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/7 "2024-11-13T06:26:24Z")

</div>

> [@jam3](#):
>
> not handling some devices rightly.

The server does not store the product model for devices added before April 2024, these devices cannot be mapped to the corresponding battery models. The solution is to re-add these devices to eWeLink app. Or check the manual/label and select the battery models manually.

More details about the two features:

> [@New on eWeLink WEB V3.10: Introducing the Battery Insights and Timer Viewer](https://forum.ewelink.cc/t/new-on-ewelink-web-v3-10-monitor-manage-your-smart-home-smarter/87638/1):
>
> In eWeLink WEB V3.10 ( Nov 12, 2024) , we’ve developed these tools to make your smart home experience even more seamless: :battery:Battery Insights We understand how crucial it is to maintain your devices’ functionality. Our new Battery Insights feature offers centralized battery monitor, allowing you to check all your device battery levels in one dashboard. What You Can See On the Battery Insights page, you can now view important battery information: Current battery level Battery model N…

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [November 13, 2024, 8:08am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/8 "2024-11-13T08:08:52Z")

</div>

> [@Teki](#):
>
> check the manual/label and select the battery models manually.

Do R5’s report battery status at all?

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [November 14, 2024, 2:40am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/9 "2024-11-14T02:40:56Z")

</div>

Confirmed with SONOFF, R5 and S-mate do not report battery status.

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [November 14, 2024, 3:40am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/10 "2024-11-14T03:40:24Z")

</div>

> [@Teki](#):
>
> R5 and S-mate do not report battery status

So it is as I thought it would be. Fortunately, the batteries in the R5 last a long time. However, to avoid confusion and misunderstanding, I suggest removing the R5 and S-mate from the report view

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/9/9d448374f1ccbef7301d74c06680fb803e5cd8db.png)

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [November 14, 2024, 7:06am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/11 "2024-11-14T07:06:03Z")

</div>

For these devices that do not have battery data, we originally wanted to display them so that users can manually select the battery model and serve as a memo.  
We’ll see what we can do to improve this.

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [November 14, 2024, 7:23am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/12 "2024-11-14T07:23:05Z")

</div>

> [@Teki](#):
>
> and serve as a memo

Not everyone will come up with this explanation.  
The battery type used in the R5 and S-Mate is, after all, well-known. So why not substitute the value straight away?

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [November 14, 2024, 7:43am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/13 "2024-11-14T07:43:54Z")

</div>

> [@jam3](#):
>
> why not substitute the value straight away?

“battery model” need to match “device model”, as you can see the “device model” is also “unknown”, these devices don’t report device model and battery info, for now the only info that WEB server can get is - “this device contains battery”

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [November 14, 2024, 7:46am UTC](https://forum.ewelink.cc/t/ewelink-web-in-an-iframe-doesnt-work/87268/14 "2024-11-14T07:46:36Z")

</div>

You will remember my words when the confused begin to ask 😛
