From 9b255ac04765cc1d761b89989c12f319936e0bd1 Mon Sep 17 00:00:00 2001 From: Robert Dunmire III Date: Mon, 21 Mar 2022 08:45:09 -0400 Subject: [PATCH 1/3] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f701db..34177e1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,16 @@ This is an endpoint agent for Windows and Linux for collecting metrics for Home- ## Description -I wanted to have the ability to interact and connect with my computers to Home-Assistant (https://www.home-assistant.io/). Collect sesnor data and trigger notifications right on my desktop. +I wanted to have the ability to connect my servers and computers to [Home-Assistant](https://www.home-assistant.io/). Collect sesnor data, call services and trigger notifications right on my desktop. + +Test endpoints: + - HP Laptop + - ASUS Server + - Raspberry Pi 3 (My Car) + - GeeekPi 4 Channel Relay Board HAT [link](https://wiki.52pi.com/index.php/EP-0099) + - Sixfab 4G LTE/GPS HAT [link](https://sixfab.com/hardware/) + - Pisugar 2 Pro UPS/RTC [link](https://github.com/PiSugar/PiSugar) + - USB to CAN module [amazon link](https://www.amazon.com/gp/product/B07P9JGXXB/) ## Connectors From ef776248f804502882a1814d85c9fc2a8c8f03e9 Mon Sep 17 00:00:00 2001 From: Robert Dunmire III Date: Mon, 21 Mar 2022 08:47:49 -0400 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34177e1..faf29a8 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ git clone https://github.com/slackr31337/home-agent.git - Add system user ``` -sudo adduser --system --home ${DIR} --no-create-home --disabled-login homeagent +sudo adduser --system --home /opt/home-agent --no-create-home --disabled-login homeagent sudo addgroup homeagent chown homeagent /opt/home-agent ``` From f98649475ba500b3096250c44b340ecb0952a156 Mon Sep 17 00:00:00 2001 From: Robert Dunmire III Date: Mon, 21 Mar 2022 10:37:34 -0400 Subject: [PATCH 3/3] Update README.md --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index faf29a8..cf48bc1 100644 --- a/README.md +++ b/README.md @@ -114,13 +114,9 @@ deactivate ## Running home-agent -``` -cd /opt/home-agent -user@laptop:/opt/home-agent$ source env/bin/activate -(env) user@laptop:/opt/home-agent$ -(env) user@laptop:/opt/home-agent$ python3 run.py -h -[ run.py: main()] INFO Starting Home Agent endpoint +``` +user@laptop:/opt/home-agent$ python3 run.py -h usage: run.py [-h] [-c CONFIG] [-s] [-d] Home Agent endpoint @@ -131,6 +127,12 @@ optional arguments: Set config.yaml file -s, --service Run as service -d, --debug Turn on DEBUG logging +``` + +``` +cd /opt/home-agent +user@laptop:/opt/home-agent$ source env/bin/activate +(env) user@laptop:/opt/home-agent$ (env) user@laptop:/opt/home-agent$ python3 run.py -s -c secrets.yaml [ run.py: main()] INFO Starting Home Agent endpoint