Hi, i made a refresh block for my dashboard.
I like to use this block on more pages and it must refresh the current page and stay there,,,
With my current config (specific url) i cant reuse this block..
Is there a way to do this?
blocks['f5'] =
{
title: '',
icon: 'fas fa-light fa-arrow-rotate-right',
width: 1,
url: 'http://<ip>:83/index.html?folder=custom_fs',
hide_data: true,
switch: true,
last_update: false,
newwindow: 0,
};
generic f5 function Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
generic f5 function
Last edited by pvklink on Friday 05 May 2023 13:03, edited 2 times in total.
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: generic f5 function
You can add start_page as parameter to the Dashticz URL to let Dashticz start at that specific page. Add:
You have to create a block for everything page you want to have a refresh button on. Or, if you are creative, generate the blocks with a js function.
Code: Select all
&start_page=3
Who is online
Users browsing this forum: No registered users and 1 guest