Page 1 of 1
Solution to integrate the Energy page into a widget
Posted: Wednesday 19 August 2026 18:58
by pfloryann
I integrated the Energy page into an html widget in dynamic dashboard through an iframe, it works very well but only locally. From outside for security reasons it is blocked. What solutions would be to make it work?
Re: Solution to integrate the Energy page into a widget?
Posted: Wednesday 26 August 2026 9:37
by pfloryann
Finally, we managed to display the energy page without the domoticz header in an html widget in Dynamic Dashboard.
After adding the html code below to the html widget(must check Allow backend API access ) and the mentioned settings, it will be displayed exactly as in the image above.
<div style="width:100%; height:850px; overflow:hidden;">
<iframe
src="/#/Energy" scrolling="no"
style="
width:100%;
height:950px;
border:0;
margin-top:-255px;
margin-left:-25px
">
</iframe>
</div>
*height and margins it must be set according to the size of your widget.
Re: Solution to integrate the Energy page into a widget
Posted: Wednesday 26 August 2026 13:31
by Doler
Works great.
Re: Solution to integrate the Energy page into a widget
Posted: Friday 28 August 2026 19:47
by gizmocuz
We already have a energy dashboard widget that should display all stats? (except the custom sensors)
Re: Solution to integrate the Energy page into a widget
Posted: Saturday 29 August 2026 10:45
by Doler
You are absolutely right but the Energy Dashboard page adds to that the energy flow so you see at a glance what is going on. The Energy Dashboard widget shows (of course) the same values but is more static. It would be nice if the Energy Dashboard page could be added natively as a widget.