Comments (3)
You can use environment variables to configure room-assistant in Docker, as described in the wiki. Either you set the specific variables in as shown in the examples for each component - or you just paste the whole configuration JSON into the NODE_CONFIG
env variable.
Alternatively you can also map your config json file into the container to the /room-assistant/config
folder (but the env variable approach is cleaner).
from room-assistant.
Sorry I am dumb.. could you just give me a small writeup how to do this? Sorry for this noob question but i am absolutely new to docker.. How would a config file look like anbd how to use the env variable..
Help is reaaallyy appreciated :)
from room-assistant.
I think the easiest way would be using docker-compose, then you just need to create file called docker-compose.yml
like this in a folder somewhere on your machine:
version: '2'
services:
room-assistant:
image: mkerix/room-assistant:latest-arm32
restart: always
network_mode: host
environment:
SERVICES: mqtt,ble
ROOM: your-room-name
MQTT_URL: mqtt://127.0.0.1
MQTT_USERNAME: username
MQTT_PASSWORD: password
Then navigate to that folder in your command line and run docker-compose up
.
Alternatively you can also run room-assistant without creating that config file directly from the command line:
docker run --network=host --restart=unless-stopped -d --name room-assistant -e SERVICES=mqtt,ble -e ROOM=your-room-name -e MQTT_URL=mqtt://127.0.0.1 -e MQTT_USERNAME=username -e MQTT_PASSWORD=password mkerix/room-assistant:latest-arm32
This config gets you started with what you need for detecting presence around your house using Docker and a Raspberry Pi. Make sure to replace all the sample values with the stuff you need. If you're not running on a Raspberry Pi remove the -arm32
from the image name. For all the other settings check the wiki or ask again in here. :)
from room-assistant.
Related Issues (20)
- Home/Room Assistant cannot find my Samsung S20+ device HOT 2
- Track room-assistant companion app via ESPHome HOT 3
- iOS Room Assistant App is not keeping the BLE alive for detection HOT 36
- Bluetooth stops working on multiple pi's after some time, reset fails HOT 15
- BLE input via MQTT integration
- room-assistant stopped working on Home Assistant HOT 9
- Pi Zero W service restarting constantly HOT 7
- Is room-assistant no longer maintained? HOT 8
- BLE ID changes with every restart - identification via peripheral designation possible?
- rpi4 with bullseye doesn't get mdns to work with room-assistant HOT 3
- Compatibility with other HomeAutomation Systems HOT 1
- Room Assistant wont start HOT 1
- - error - HomeAssistantService: connect ECONNREFUSED HOT 1
- Stuck on installing on raspzero HOT 2
- Please make it possible (and clearly document) to reduce loglevel from INFO to WARNING.
- Room Assistant hanging HOT 6
- Home assistant complaints about MQTT entity names HOT 25
- Missing devices (working in HomeAssistant iBeacon integration) HOT 3
- TP-Link Bluetooth adapter doesn't properly work on RPi 4 on HAOS HOT 1
- MQQT is connected but shows now devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from room-assistant.