70 lines
1.9 KiB
Markdown
70 lines
1.9 KiB
Markdown
# has
|
|
|
|
- [has](#has)
|
|
- [Integrations](#integrations)
|
|
- [mqtt](#mqtt)
|
|
- [zigbee2mqtt](#zigbee2mqtt)
|
|
- [Broadlink](#broadlink)
|
|
- [Hosting](#hosting)
|
|
- [Editing and Maintenance](#editing-and-maintenance)
|
|
|
|
## Integrations
|
|
|
|
### mqtt
|
|
|
|
MQTT (aka MQ Telemetry Transport) is a machine-to-machine or “Internet of Things” connectivity protocol on top of TCP/IP. It allows extremely lightweight publish/subscribe messaging transport.
|
|
|
|
[mqtt integration](https://www.home-assistant.io/integrations/mqtt)
|
|
|
|
[mosquitto setup git repo](https//git.limbosolutions.com/marcio.fernandes/mosquitto)
|
|
|
|
Requires port 1883 access from home assistant to mosquitto server (mqtt.lan).
|
|
|
|
### zigbee2mqtt
|
|
|
|
Not using home assistant integration. Currently configured as a docker container on homesrv01 ([git repo](https//git.limbosolutions.com/marcio.fernandes/homesrv01.dev.lan#zigbee2mqtt)).
|
|
|
|
### Broadlink
|
|
|
|
The [broadlink integration](https://www.home-assistant.io/integrations/broadlink) allows you to control and monitor Broadlink universal remotes, smart plugs, power strips, switches and sensors.
|
|
|
|

|
|
|
|
Devices:
|
|
|
|
- RM4 mini (IR Blaster)
|
|
|
|
Requires port 80 access from home assistant to Broadlink devices.
|
|
|
|
## Hosting
|
|
|
|
Currently hosted on [homesrv01.dev.lan](https://git.limbosolutions.com/marcio.fernandes/homesrv01.dev.lan).
|
|
|
|
Using portainer stack connected to this repo.
|
|
|
|

|
|
|
|
Docker volumes should be restored from backups.
|
|
Repo version of docker volumes exists only for history and documentation.
|
|
|
|
## Editing and Maintenance
|
|
|
|
Using code server docker container on homesrv01 with volume has_config bind to repo folder volumes/config
|
|
|
|
```yaml
|
|
---
|
|
version: '3'
|
|
services:
|
|
code-server:
|
|
....
|
|
volumes:
|
|
....
|
|
- has_config:/config/workspace/has/volumes/config
|
|
....
|
|
volumes:
|
|
...
|
|
has_config:
|
|
name: has_app_config
|
|
...
|
|
```
|