add: status for mqtt
fix: refactor connection handlers
This commit is contained in:
		
							parent
							
								
									2bc11ee829
								
							
						
					
					
						commit
						6c6e5023da
					
				
					 19 changed files with 534 additions and 183 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,11 @@
 | 
			
		|||
[controller]
 | 
			
		||||
name = new emgauwa device
 | 
			
		||||
 | 
			
		||||
: 4422 for testing; 4421 for dev-env; 4420 for testing-env; 4419 for prod-env
 | 
			
		||||
discovery-port = 4422
 | 
			
		||||
: 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
 | 
			
		||||
mqtt-port = 1886
 | 
			
		||||
 | 
			
		||||
relay-count = 10
 | 
			
		||||
database = controller_db.lmdb
 | 
			
		||||
log-level = debug
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,4 +8,7 @@ not-found-content-type = text/plain
 | 
			
		|||
 | 
			
		||||
: 4421 for dev-env; 4420 for testing-env; 4419 for prod-env; 4422 for testing
 | 
			
		||||
discovery-port = 4422
 | 
			
		||||
: 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
 | 
			
		||||
mqtt-port = 1886
 | 
			
		||||
 | 
			
		||||
log-level = debug
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue