Error 403 failed to set up
I've tried to re-install Redfin several times over the last several days. Never works and I get error 403 and failed to set up.
Same. Deleted, restarted, added and get error 403.
add me to that list as well
add me to that list as well
Broken for me with 403 errors as of Jan 10, 2025.
@dreed47 isnt developing this anymore, it’s dead and gonna be removed from hacs
FWIW, my quick and dirty workaround for this integration being abandoned is to use a NodeRed Exec node with the below command line and push the result into a sensor node:
curl -k -L "{YOUR_PROPERTY'S_REDFIN_URL}" -A "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:134.0) Gecko/20100101 Firefox/134.0" | grep -E -o '"predicted_value".{20}' | cut -d: -f2 | cut -d, -f1
curl -k -L "{YOUR_PROPERTY'S_REDFIN_URL}" -A "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:134.0) Gecko/20100101 Firefox/134.0" | grep -E -o '"predicted_value".{20}' | cut -d: -f2 | cut -d, -f1
Thanks for the inspiration. I created a simple command_line sensor based on it.
- sensor:
name: Redfin Price
unique_id: redfin_price
command: >
curl -k -L '{URL_GOES_HERE}' -A 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:134.0) Gecko/20100101 Firefox/134.0' | grep -E -o '\"predicted_value\".{20}' | cut -d: -f2 | cut -d, -f1 | awk '{if ($1 > 0) print $1; else print "ERROR"}'
device_class: monetary
unit_of_measurement: "$"
scan_interval: 86400
curl -k -L "{YOUR_PROPERTY'S_REDFIN_URL}" -A "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:134.0) Gecko/20100101 Firefox/134.0" | grep -E -o '"predicted_value".{20}' | cut -d: -f2 | cut -d, -f1
Thanks for the inspiration. I created a simple command_line sensor based on it.
- sensor: name: Redfin Price unique_id: redfin_price command: > curl -k -L '{URL_GOES_HERE}' -A 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:134.0) Gecko/20100101 Firefox/134.0' | grep -E -o '\"predicted_value\".{20}' | cut -d: -f2 | cut -d, -f1 | awk '{if ($1 > 0) print $1; else print "ERROR"}' device_class: monetary unit_of_measurement: "$" scan_interval: 86400
Thanks for this. I modified it a bit for my needs (aka, setting the unit to USD, which is what the monetary device class expects), removing the escaping of the double quotes in the grep command, and breaking up the long line into multiple lines:
- sensor:
name: Redfin Price
unique_id: redfin_price
command: >
curl -skL '{URL_GOES_HERE}'
-A 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:134.0) Gecko/20100101 Firefox/134.0'
| grep -Eo '"predicted_value".{20}'
| cut -d: -f2
| cut -d, -f1
| awk '{if ($1 > 0) print $1; else print "ERROR"}'
device_class: monetary
unit_of_measurement: USD
scan_interval: 86400
Any trick to using the value in a statistics card?