Compare commits
48 Commits
b8b9cb65af
...
master
Author | SHA1 | Date | |
---|---|---|---|
69c1b183ca | |||
5baa2e8128 | |||
82d04079fc | |||
c4110b2e4d | |||
fb237da658 | |||
47b57de557 | |||
e61b527818 | |||
7f664ecfa3 | |||
2f1a335cf6 | |||
c93998e4a6 | |||
99eebb161c | |||
d7fcdf97b5 | |||
4b56b49a2b | |||
66f6770d8f | |||
636dfbba1b | |||
3b9993ec00 | |||
d654f884cb | |||
0da4fc071a | |||
0ecb365adb | |||
d41586f672 | |||
f0a371cea0 | |||
ef3279aee5 | |||
c0209bb621 | |||
4d398baf0a | |||
a9647b1ab4 | |||
1d084451ba | |||
bb4b7d5e60 | |||
343ab2df40 | |||
9e817e9452 | |||
4511bb4b12 | |||
173a6f5e88 | |||
e6f1ed0e8e | |||
15b1e3bbfe | |||
35892c831d | |||
cc39d82e19 | |||
9412c93002 | |||
3375d9f557 | |||
284b955872 | |||
d9bf9cc6e7 | |||
5f063fdcca | |||
c5e6b7cc82 | |||
1958002f64 | |||
7e6e5f4788 | |||
6c3babace3 | |||
e77f1a41c3 | |||
516241dec3 | |||
43087a6a41 | |||
7b825975aa |
95
.drone.yml
Normal file
95
.drone.yml
Normal file
@ -0,0 +1,95 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
|
||||
- name: Test HA stable
|
||||
pull: always
|
||||
image: homeassistant/home-assistant:latest
|
||||
commands:
|
||||
- mv mock_secrets.yaml secrets.yaml
|
||||
- cp -r . /config/
|
||||
- hass -c /config --script check_config
|
||||
|
||||
- name: Test HA rc
|
||||
pull: always
|
||||
image: homeassistant/home-assistant:rc
|
||||
commands:
|
||||
- cp -r . /config/
|
||||
- hass -c /config --script check_config
|
||||
|
||||
- name: Test HA dev
|
||||
pull: always
|
||||
image: homeassistant/home-assistant:dev
|
||||
commands:
|
||||
- cp -r . /config/
|
||||
- hass -c /config --script check_config
|
||||
- rm secrets.yaml
|
||||
|
||||
- name: ssh
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
from_secret: ssh_host
|
||||
username:
|
||||
from_secret: ssh_username
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
script:
|
||||
- mkdir -p /home/sthope/testingdocker/iamhere
|
||||
|
||||
- name: scp
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host:
|
||||
from_secret: ssh_host
|
||||
user:
|
||||
from_secret: ssh_username
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
command_timeout: 2m
|
||||
target: /home/sthope/testingdocker/iamhere
|
||||
source:
|
||||
- ./*
|
||||
|
||||
- name: discord
|
||||
pull: always
|
||||
image: appleboy/drone-discord
|
||||
environment:
|
||||
DISCORD_WEBHOOK_ID:
|
||||
from_secret: discord_webhook_id
|
||||
DISCORD_WEBHOOK_TOKEN:
|
||||
from_secret: discord_webhook_token
|
||||
settings:
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
|
||||
|
||||
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||
```
|
||||
{{commit.message}}
|
||||
```
|
||||
🌐 <{{ build.link }}>
|
||||
{{else}}
|
||||
❌ Build #{{build.number}} of `{{repo.name}}` failed.
|
||||
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
|
||||
```
|
||||
{{commit.message}}
|
||||
```
|
||||
🌐 <{{ build.link }}>
|
||||
{{/success}}
|
||||
|
||||
|
||||
# when:
|
||||
# event:
|
||||
# - push
|
||||
# - tag
|
||||
# - pull_request
|
||||
# - deployment
|
||||
# status:
|
||||
# - changed
|
||||
# - failure
|
||||
# - success
|
61
.gitignore
vendored
Normal file
61
.gitignore
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
# You can whitelist files/folders with !, these will not be ignored.
|
||||
# !*.yaml
|
||||
# !.git
|
||||
# !*.md
|
||||
|
||||
*.pid
|
||||
*.xml
|
||||
*.csr
|
||||
*.crt
|
||||
*.key
|
||||
*.lo*
|
||||
OZW_Log.txt
|
||||
home-assistant.log
|
||||
home-assistant_v2.db
|
||||
*.db-journal
|
||||
lib
|
||||
deps
|
||||
emulated_hue_ids.json
|
||||
known_devices.yaml
|
||||
entity_registry.yaml
|
||||
pyozw.sqlite
|
||||
ecobee.conf
|
||||
phue.conf
|
||||
tts
|
||||
update.sh
|
||||
.ios.conf
|
||||
.HA_VERSION
|
||||
.uuid
|
||||
.gitignore
|
||||
configurator.py
|
||||
.storage/
|
||||
.cloud/
|
||||
html5_push_registrations.conf
|
||||
automations.yaml
|
||||
.spotify-token-cache
|
||||
.finish_06_gmail_com.tile.conf
|
||||
|
||||
# Personal
|
||||
ip_bans.yaml
|
||||
secrets.yaml
|
||||
|
||||
# zwave
|
||||
zwscene.xml
|
||||
zwave_device_config.yaml
|
||||
|
||||
# Software modules
|
||||
node_modules/
|
||||
|
||||
# Tensorflow
|
||||
tensorflow/
|
||||
|
||||
# Custom components
|
||||
/themes
|
||||
|
||||
# Harmony remote configs
|
||||
harmony*.conf
|
||||
|
||||
# Plugins
|
||||
/node-red/
|
||||
/www/
|
||||
custom_components/
|
@ -10,3 +10,9 @@ group: !include groups.yaml
|
||||
automation: !include automations.yaml
|
||||
script: !include scripts.yaml
|
||||
scene: !include scenes.yaml
|
||||
|
||||
mqtt:
|
||||
broker: !secret MQTT_BROKER
|
||||
port: !secret MQTT_PORT
|
||||
username: !secret MQTT_USER
|
||||
password: !secret MQTT_PWD
|
@ -1,4 +0,0 @@
|
||||
2021-09-02 11:04:49 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 3ee876494e4a8c364ae351b69a80fd10d9fd8608ebb7fe6d5451fa90536ed999 from 192.168.1.148
|
||||
2021-09-02 11:04:49 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 3ee876494e4a8c364ae351b69a80fd10d9fd8608ebb7fe6d5451fa90536ed999 from 192.168.1.185
|
||||
2021-09-02 11:04:50 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 3ee876494e4a8c364ae351b69a80fd10d9fd8608ebb7fe6d5451fa90536ed999 from 192.168.1.117
|
||||
2021-09-02 11:04:52 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 3ee876494e4a8c364ae351b69a80fd10d9fd8608ebb7fe6d5451fa90536ed999 from 192.168.1.173
|
@ -1,3 +0,0 @@
|
||||
2021-09-02 11:01:16 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 3ee876494e4a8c364ae351b69a80fd10d9fd8608ebb7fe6d5451fa90536ed999 from 192.168.1.148
|
||||
2021-09-02 11:01:16 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 3ee876494e4a8c364ae351b69a80fd10d9fd8608ebb7fe6d5451fa90536ed999 from 192.168.1.185
|
||||
2021-09-02 11:01:17 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 3ee876494e4a8c364ae351b69a80fd10d9fd8608ebb7fe6d5451fa90536ed999 from 192.168.1.173
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
6
mock_secrets.yaml
Normal file
6
mock_secrets.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
some_password: xxxxx
|
||||
MQTT_BROKER: 192.168.1.1
|
||||
MQTT_PORT: 12835
|
||||
MQTT_USER: xxxxxx
|
||||
MQTT_PWD: xxxxxxx
|
||||
pat_xaroca: xxxxxxx
|
@ -1,4 +0,0 @@
|
||||
|
||||
# Use this file to store secrets like usernames and passwords.
|
||||
# Learn more at https://www.home-assistant.io/docs/configuration/secrets/
|
||||
some_password: welcome
|
Reference in New Issue
Block a user