mirror of
				https://github.com/adrianjagielak/home-assistant-futurehome.git
				synced 2025-10-31 02:07:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			737 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			737 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/with-contenv bashio
 | |
| # ==============================================================================
 | |
| # s6-overlay docs: https://github.com/just-containers/s6-overlay
 | |
| # ==============================================================================
 | |
| 
 | |
| set -e
 | |
| 
 | |
| export FH_HUB_IP=$(bashio::config 'hub_ip')
 | |
| export FH_USERNAME=$(bashio::config 'username')
 | |
| export FH_PASSWORD=$(bashio::config 'password')
 | |
| export DEMO_MODE=$(bashio::config 'demo_mode')
 | |
| 
 | |
| export MQTT_HOST=$(bashio::services mqtt "host")
 | |
| export MQTT_PORT=$(bashio::services mqtt "port")
 | |
| export MQTT_USER=$(bashio::services mqtt "username")
 | |
| export MQTT_PWD=$(bashio::services mqtt "password")
 | |
| 
 | |
| export LOG_LEVEL=${LOG_LEVEL:-info}
 | |
| 
 | |
| /usr/bin/node /usr/src/app/dist/index.js
 |