https://github.com/smacker/pc321-to-ha
https://github.com/smacker/pc321-to-ha
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/smacker/pc321-to-ha
- Owner: smacker
- Created: 2024-07-23T01:37:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T11:55:22.000Z (almost 2 years ago)
- Last Synced: 2025-03-05T00:34:46.397Z (over 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Owon PC321-W to Home Assistant
Convert messages published by PC321-W to the format understandable by Home Assistant.
## Docker compose
```yaml
services:
pc321-to-ha:
image: smacker/pc321-to-ha
restart: unless-stopped
user: ${PUID}:${PGID}
command: -topic device//report -broker tcp://:1883 -user -password
```
Replace ``, `` and `` with the actual values of your MQTT message broker that is connected to PC321-W and Home Assistant.
## Docker build
```bash
docker build --platform linux/amd64 . -t smacker/pc321-to-ha
docker push smacker/pc321-to-ha
```