<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Custom_menu</id>
	<title>Custom menu - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Custom_menu"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Custom_menu&amp;action=history"/>
	<updated>2026-09-18T23:48:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Custom_menu&amp;diff=18267&amp;oldid=prev</id>
		<title>Walter vl: /* Installation */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Custom_menu&amp;diff=18267&amp;oldid=prev"/>
		<updated>2023-09-07T14:16:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Settings Active menu.png|right|frameless]]&lt;br /&gt;
In the tab Custom you can place your own Domoticz menu or info pages.&lt;br /&gt;
&lt;br /&gt;
The Custom menu has to be enabled in the menu [[User Management|Setup - Users]] for each user able to see this menu&lt;br /&gt;
&lt;br /&gt;
It will only show the menu if there is a custom page or multiple custom pages installed.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; The non Domoticz data shown in these custom pages are not protected by the domoticz authorisation mechanisms!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Custom menu.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
===Installation===&lt;br /&gt;
Place your custom page .html files in the folder &amp;lt;code&amp;gt;domoticz/www/templates&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
When using Docker you have to make an extra mount to &amp;lt;code&amp;gt;domoticz/www/templates&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;./config/domoticz/templates:/opt/domoticz/www/templates&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Custom dashboard example====&lt;br /&gt;
For example rename the existing file &amp;lt;code&amp;gt;custom.example&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;custom.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you start/refresh Domoticz, you should now see a &amp;#039;Custom&amp;#039; dropdown menu linking to a dashboard page.&lt;br /&gt;
&lt;br /&gt;
For an explanation of this custom.html file see page [[CustomStatusPage]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So every .html file in domoticz/www/templates will create a menu entry in the Custom tab.&lt;br /&gt;
&lt;br /&gt;
====Grafana external====&lt;br /&gt;
To show your Grafana dashboard from this menu  in a new browser window create a &amp;lt;code&amp;gt;grafana.html&amp;lt;/code&amp;gt; file with the following contents:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;window.open(&amp;#039;&amp;lt;nowiki&amp;gt;http://IPAddress:Port/?orgId=1&amp;#039;&amp;lt;/nowiki&amp;gt;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With the window.open statement every website can be opened.&lt;br /&gt;
&lt;br /&gt;
====Grafana embedded====&lt;br /&gt;
To open the external website in the context  of the Domoticz website (embedded) make an .html file containing:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;IFRAME SRC=&amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://IPAddress:Port/?orgId=1&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; height=&amp;quot;800&amp;quot; width=&amp;quot;100%&amp;quot;&amp;gt;&amp;lt;/IFRAME&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE: Not all websites allow embedding in another webpage. You will see an error.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Another example====&lt;br /&gt;
Example of Zigate UI plugin embedded in Domoticz:&lt;br /&gt;
&lt;br /&gt;
[[File:Custom menu page.png]]&lt;br /&gt;
&lt;br /&gt;
====Custom menu by Python plugins====&lt;br /&gt;
Also Python Plugins can create custom menu pages, see page [[Developing a Python plugin#Setup custom page within plugin]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Walter vl</name></author>
	</entry>
</feed>