https://github.com/mannkind/redfin2mqtt
https://github.com/mannkind/redfin2mqtt
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mannkind/redfin2mqtt
- Owner: mannkind
- License: mit
- Created: 2021-05-20T01:02:19.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T02:52:26.000Z (about 2 years ago)
- Last Synced: 2025-02-07T14:14:36.888Z (over 1 year ago)
- Language: C#
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# redfin2mqtt
[](https://github.com/mannkind/redfin2mqtt/blob/main/LICENSE.md)
[](https://github.com/mannkind/redfin2mqtt/actions)
[](http://codecov.io/github/mannkind/redfin2mqtt?branch=main)
An experiment to publish Redfin estimates to MQTT.
!!! The Redfin API is super unofficial, this will 100% break !!!
## Use
The application can be locally built using `dotnet build` or you can utilize the multi-architecture Docker image(s).
### Example
```bash
docker run \
-e REDFIN__RESOURCES__0__RPID="69103754" \
-e REDFIN__RESOURCES__0__Slug="home" \
-e REDFIN__MQTT__BROKER="localhost" \
-e REDFIN__MQTT__DISCOVERYENABLED="true" \
mannkind/redfin2mqtt:latest
```
OR
```bash
REDFIN__RESOURCES__0__RPID="69103754" \
REDFIN__RESOURCES__0__Slug="home" \
REDFIN__MQTT__BROKER="localhost" \
REDFIN__MQTT__DISCOVERYENABLED="true" \
./redfin2mqtt
```
## Configuration
Configuration happens via environmental variables
```bash
REDFIN__POLLINGINTERVAL - [OPTIONAL] The delay between zestimates lookups, defaults to "1.00:03:31"
REDFIN__RESOURCES__#__RPID - The n-th iteration of a Redfin Property ID for a specific property
REDFIN__RESOURCES__#__Slug - The n-th iteration of a slug to identify the specific Redfin Property ID
REDFIN__MQTT__TOPICPREFIX - [OPTIONAL] The MQTT topic on which to publish the collection lookup results, defaults to "home/redfin"
REDFIN__MQTT__DISCOVERYENABLED - [OPTIONAL] The MQTT discovery flag for Home Assistant, defaults to false
REDFIN__MQTT__DISCOVERYPREFIX - [OPTIONAL] The MQTT discovery prefix for Home Assistant, defaults to "homeassistant"
REDFIN__MQTT__DISCOVERYNAME - [OPTIONAL] The MQTT discovery name for Home Assistant, defaults to "redfin"
REDFIN__MQTT__BROKER - [OPTIONAL] The MQTT broker, defaults to "test.mosquitto.org"
REDFIN__MQTT__USERNAME - [OPTIONAL] The MQTT username, default to ""
REDFIN__MQTT__PASSWORD - [OPTIONAL] The MQTT password, default to ""
```