Posts: 411
	Threads: 103
	Joined: Oct 2016
	
Reputation: 
9
	 
 
	
	
		Hi
Is it possible somehow to force a client to reload the visualisation page(s) after I make a change?
Thank you
	
	
	
LM5Lp, firmware: 2018.08.22 and  2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
	
		
	
 
 
	
	
	
		
	Posts: 1807
	Threads: 7
	Joined: Jul 2015
	
Reputation: 
121
	 
 
	
		
		
		06.02.2017, 17:08 
(This post was last modified: 06.02.2017, 17:10 by Erwin van der Zwart.)
		
	 
	
		Hi,
Yes that is possible by custom javascript.
You need a event listener on a KNX object and a function to reload the client ( location.reload(); )
There is just 1 but... The client has to load the custom javascript first, so you have to reload them once after adding this, from then you can always force a client reload with your KNX object.
Can you do this or do i need to create a sample? (done this already on project so i must have it already somewhere)
BR,
Erwin
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 411
	Threads: 103
	Joined: Oct 2016
	
Reputation: 
9
	 
 
	
	
		May you please provide me a sample?
Thank you
	
	
	
LM5Lp, firmware: 2018.08.22 and  2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
	
		
	
 
 
	
	
	
		
	Posts: 411
	Threads: 103
	Joined: Oct 2016
	
Reputation: 
9
	 
 
	
	
		Perfect. It works like a charm on both visualisations.
Thank you
	
	
	
LM5Lp, firmware: 2018.08.22 and  2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
	
		
	
 
 
	
	
	
		
	Posts: 411
	Threads: 103
	Joined: Oct 2016
	
Reputation: 
9
	 
 
	
	
		Hi
I've found a problem. This script crashes LM. In my case everytime. I don't know if it depends on number of clients or size of the visu. Would it be possible to add some random delay for better load balancing?
Thank you
	
	
	
LM5Lp, firmware: 2018.08.22 and  2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
	
		
	
 
 
	
	
	
		
	Posts: 1807
	Threads: 7
	Joined: Jul 2015
	
Reputation: 
121
	 
 
	
		
		
		08.05.2018, 11:48 
(This post was last modified: 08.05.2018, 11:49 by Erwin van der Zwart.)
		
	 
	
		Hi,
This function runs client side and does nothing special other then refreshing the browser, same as pressing F5. When you press F5 on the client, do you see same issue? Are there errors in the browser console?
BR,
Erwin
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 8422
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481
	 
 
	
	
		How many active clients do you have?