Git Product home page Git Product logo

nest-scrape's People

Contributors

jeffwilliams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rpkish mnorayr

nest-scrape's Issues

Firefox Permissions

Jeff,

I KNEW someone would have devised this workaround to Nest's unresponsiveness in providing API access to the temperature sensor. Thanks!

I executed the command and it just sat there staring at me. So I ran it with verbosity:

nest-scrape -v 1
browser: running browser using cmd '/usr/bin/firefox --marionette --headless --profile /home/pi/.nest-scrape/firefox-profile'
dial tcp 127.0.0.1:2828: getsockopt: connection refused
browser: retrying connection in 1 second
dial tcp 127.0.0.1:2828: getsockopt: connection refused
browser: retrying connection in 1 second
...

The connection refused message is repeated until I interrupt it with Ctrl-C. Can you provide some guidance as to what the issue might be?

Thank you.

Mike

Unable to login - Error: When finding login field by id email, got an error: Unable to locate element: email

me@mes-Mac-Studio ~/D/c/p/nest-scrape> nest-scrape --verbose=1 --show=true --login-only=true
browser: running browser using cmd '/Applications/Firefox.app/Contents/MacOS/firefox --marionette --profile /Users/me/Documents/code/projects/nest-scrape'
dial tcp 127.0.0.1:2828: connect: connection refused
browser: retrying connection in 1 second
2022-07-17 23:25:01.534 plugin-container[60340:934591] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-07-17 23:25:01.534 plugin-container[60340:934591] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-07-17 23:25:01.536 plugin-container[60340:934591] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-07-17 23:25:01.536 plugin-container[60340:934591] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-07-17 23:25:01.536 plugin-container[60340:934602] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-07-17 23:25:01.536 plugin-container[60340:934602] nil host used in call to allowsAnyHTTPSCertificateForHost:
Navigating to site
UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
Checking if login is required
Waiting for thermostat location to load (element css selector .puck-item > a)
Finding thermostat location (element with id .puck-item > a)
Waiting for login field to load (element id email)
Finding login field (element with id email)
Error:  When finding login field by id email, got an error: Unable to locate element: email
Login failed: When finding login field by id email, got an error: Unable to locate element: email

Screen Shot 2022-07-17 at 11 25 34 PM

Install instructions need to be updated

I'm using go version go1.18.4 darwin/arm64

The install instructions say If Go is installed, this should be as easy as go get github.com/jeffwilliams/nest-scrape

It really looks like the install command is go install github.com/jeffwilliams/nest-scrape@latest

me@mes-Mac-Studio ~/D/c/projects> go get github.com/jeffwilliams/nest-scrape
go: go.mod file not found in current directory or any parent directory.
    'go get' is no longer supported outside a module.
    To build and install a command, use 'go install' with a version,
    like 'go install example.com/cmd@latest'
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
me@mes-Mac-Studio ~/D/c/projects> go install github.com/jeffwilliams/nest-scrape
go: 'go install' requires a version when current directory is not in a module
    Try 'go install github.com/jeffwilliams/nest-scrape@latest' to install the latest version
me@mes-Mac-Studio ~/D/c/projects> go install github.com/jeffwilliams/nest-scrape@latest
go: finding module for package gopkg.in/yaml.v2
go: finding module for package github.com/ogier/pflag
go: finding module for package github.com/njasm/marionette_client
go: found github.com/njasm/marionette_client in github.com/njasm/marionette_client v0.0.7
go: found github.com/ogier/pflag in github.com/ogier/pflag v0.0.1
go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0
me@mes-Mac-Studio ~/D/c/projects>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.