redfin icon indicating copy to clipboard operation
redfin copied to clipboard

Error 403 failed to set up

Open carealtor opened this issue 1 year ago • 9 comments

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. Screenshot 2025-01-01 184416 Screenshot 2025-01-01 184244

carealtor avatar Jan 02 '25 02:01 carealtor

Same. Deleted, restarted, added and get error 403.

foxalerts23 avatar Jan 02 '25 04:01 foxalerts23

add me to that list as well

broyuken avatar Jan 02 '25 14:01 broyuken

add me to that list as well

bindedig avatar Jan 02 '25 15:01 bindedig

Broken for me with 403 errors as of Jan 10, 2025.

gourdo1 avatar Jan 16 '25 16:01 gourdo1

@dreed47 isnt developing this anymore, it’s dead and gonna be removed from hacs

broyuken avatar Jan 16 '25 16:01 broyuken

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

gourdo1 avatar Jan 17 '25 08:01 gourdo1

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

kzaoaai avatar Jan 22 '25 20:01 kzaoaai

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

chilicheech avatar Jan 23 '25 18:01 chilicheech

Any trick to using the value in a statistics card?

ReenigneArcher avatar Jun 02 '25 00:06 ReenigneArcher