Posts: 48
	Threads: 5
	Joined: Jan 2020
	
Reputation: 
4  
	
	
		suddenly with today's auto update mqtt client stopped working for multiple instances. Rolling back to older released helped. In error log i can see initialization error for all objects in the rules. It seems i was too naive to have auto update enabled on LM, this update broke critical functionality right in the evening.
What happend with quality control for releases? i don't remember anything like that before.
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	
	
		@myg, an update has been published, see if it fixes the issue for you.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 48
	Threads: 5
	Joined: Jan 2020
	
Reputation: 
4  
	
	
		 (17.01.2025, 07:54) admin Wrote:  
works again, thank you for quick update
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 3
	Threads: 0
	Joined: Mar 2025
	
Reputation: 
0  
	
		
		
		28.03.2025, 12:59 
(This post was last modified: 28.03.2025, 13:02 by Pierluigi .) 
  
		
	 
	
		Good morning,Topic: callway/ad75adfd-b72a-4119-a34c-dfb372df9ecf/status/1/1 QoS: 2 {"data":[{"position":0,"position_type":"room","room":1,"status":"assistance","timestamp":"2025-03-28T10:01:06.000Z","ward":1}],"timestamp":"2025-03-28T11:29:16.000Z","type":"snapshot","uuid":"ad75adfd-b72a-4119-a34c-dfb372df9ecf","version":"1.0.0"} 
	
Attached Files Thumbnail(s)  
	
	
		
	
 
 
	
	
	
		
	Posts: 5284
	Threads: 29
	Joined: Aug 2017
	
Reputation: 
237  
	
	
		Click New Replay then you can attach images
	
	
	
------------------------------
	
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	
	
		Do you have a define mapping between text and numeric values?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 3
	Threads: 0
	Joined: Mar 2025
	
Reputation: 
0  
	
		
		
		28.03.2025, 13:03 
(This post was last modified: 28.03.2025, 13:05 by Pierluigi .) 
  
		
	 
	
		 (28.03.2025, 13:02) Daniel Wrote:  
i modified the previous message.
Thank you.
 (28.03.2025, 13:03) admin Wrote:  
idle : 0
call: 1
presence: 2
unhooked: 3
assistance: 4
emergency: 5
technical: 6
speech: 7
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	
	
		Remove JSON value path, use this Input script:
Code:
local map = {
		
	
 
 
	
	
	
		
	Posts: 3
	Threads: 0
	Joined: Mar 2025
	
Reputation: 
0  
	
	
		 (28.03.2025, 13:11) admin Wrote:  Code:
local map = {
It works, really thank you.  
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 238
	Threads: 66
	Joined: May 2018
	
Reputation: 
4  
	
		
		
		24.04.2025, 12:09 
(This post was last modified: 24.04.2025, 12:10 by tomnord .) 
  
		
	 
	
		Hello, MQTT client app works fine, but it would be nice to be able to edit topics in a texteditor or excel etc? If you have many topics, it is timeconsuming to add them all, or is this something that could be made in a script?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	
	
		Try this:
Code:
data = {
		
	
 
 
	
	
	
		
	Posts: 238
	Threads: 66
	Joined: May 2018
	
Reputation: 
4  
	
	
		thanks. Is there any easy way of implementing timestamp in the script?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	
	
		Timestamp for what? Explain your task in more detail.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 238
	Threads: 66
	Joined: May 2018
	
Reputation: 
4  
	
		
		
		25.04.2025, 09:47 
(This post was last modified: 25.04.2025, 09:50 by tomnord .) 
  
		
	 
	
		I would like a timestamp as an object in the JSON sendt from LM, can it be done in the script section. i see that "timestamp = os.time()" worked in script.
	
	
	
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	
	
		Yes, os.time() returns UNIX timestamp.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 238
	Threads: 66
	Joined: May 2018
	
Reputation: 
4  
	
	
		 (24.04.2025, 12:25) admin Wrote:  Code:
data = {
Regarding this, any good ideas on how to implement this based on GA names? As far as I can see we need to run the "save_topic" once for each new topic.
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
	
	
		Use tags. You can filter object list using wildcard search and assign tags using mass edit option.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 286
	Threads: 64
	Joined: Sep 2015
	
Reputation: 
0  
	
		
		
		30.05.2025, 16:07 
(This post was last modified: 30.05.2025, 16:14 by jmir .) 
  
		
	 
	
		Hi,
	
	
	
		
	
 
 
	
	
	
		
	Posts: 8413
	Threads: 45
	Joined: Jun 2015
	
Reputation: 
481  
 
	
	
	
		
	Posts: 286
	Threads: 64
	Joined: Sep 2015
	
Reputation: 
0  
	
	
		Hi,