Documentation and examples: https://kb.logicmachine.net/
	
	
	
	
| 
				
				 
					Documentation
				 
			 | 
		
| 
	 
		
		
		02.11.2016, 11:39 
		
	 
	
		Hi, just a note:  
	
	
	
Initially I downloaded the PDF version of the LUA Reference manual. It seems to be out of date, eg. the grp.all() function is not mentioned. It also mentions a subset api, object.xxx() functions, which seems to be removed in the updated online version of the doc (that API is probably replaced by grp.xxx() functions ?) - Oyvind 
		
		
		02.11.2016, 12:10 
		
	 
	
		Online HTML reference is the latest one. You should use that.
	 
	
	
	
		
		
		30.01.2017, 06:13 
		
	 
	
		I've stumbled across the db:getall() and db:update() functions in a few threads here, yet cant find any documentation about them. Are they supported or documented features?
	 
	
	
	
		
		
		30.01.2017, 07:34 
		
	 
	
		In most cases you should not access the internal database directly. Are you missing some specific functionality?
	 
	
	
	
		
		
		13.03.2017, 12:17 
		
	 
	
		Here is another nice documentation for different programming languages (localized for different countries): https://learnxinyminutes.com
	 
	
	
	
		
		
		13.04.2017, 11:21 
		
	 
	
		Could we make a script repository if there isnt one already?
	 
	
	
	
		
		
		15.10.2018, 09:38 
		
	 
	
		I am new to LM and LUA, 
	
	
	
There are many good things to learn from reading this forum. For instance, I learned about the reserved name _SCRIPTNAME to obtain the name of the current running script. In other threads, I learned about event.getvalue() and event.dst to read what triggered the current script. I would like to learn more: Where do I find more holistic documentation on specifically: - All reserved (and useful) variables (such as _SCRIPTNAME) - The full specification for the "event" class (all its methods and variables) Thx 
		
		
		18.10.2018, 12:46 
		
	 
	(15.10.2018, 09:38)mjaanes Wrote: I am new to LM and LUA, event is a table just execute following script log (event) and you will see what it consist of 
		
		
		13.12.2018, 14:27 
		
	 
	
		Hi, 
	
	
	
In the documentation the description of the object fields is: address - object group address updatetime - latest update time in UNIX timestamp format. Use os.date() to convert to readable date formats name - unique object name datatype - object data type decoded - set to true when decoded value is available value - decoded object value But in samples I found additional fields like: id, data. Where I can find the full actual documentation? 
		
		
		13.12.2018, 18:24 
		
	 
	
		Hi, 
	
	
	
Make a backup and browse current.db with sqlite browser (: BR, Erwin  | 
| 
				
	 
					« Next Oldest | Next Newest »
				 
			 | 
		
