Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command crashes when trying to connect to device #99

Open
FernandoWahl opened this issue Aug 16, 2019 · 1 comment
Open

Command crashes when trying to connect to device #99

FernandoWahl opened this issue Aug 16, 2019 · 1 comment

Comments

@FernandoWahl
Copy link

  • pySonoffLAN version: 0.3.0
  • Python version: 3.7.3
  • Operating System: Macbook

Description

Command crashes when trying to connect to device

What I Did

 pysonofflan --host 192.168.68.109 --loglevel DEBUG state
2019-08-16 00:53:07,517 - info: Initialising SonoffSwitch with host 192.168.68.109
2019-08-16 00:53:07,518 - debug: Initializing SonoffLANModeClient class in SonoffDevice
2019-08-16 00:53:07,518 - debug: send_updated_params_loop is active on the event loop
2019-08-16 00:53:07,518 - debug: Starting loop waiting for device params to change
2019-08-16 00:53:07,518 - debug: send_updated_params_loop now awaiting event
2019-08-16 00:53:07,518 - debug: setup_connection is active on the event loop
2019-08-16 00:53:07,518 - debug: setup_connection yielding to connect()
2019-08-16 00:53:07,518 - debug: Connecting to websocket address: ws://192.168.68.109:8081/


@mattsaxon
Copy link
Collaborator

Looks like you are on firmware v3, use my fork here https://github.com/mattsaxon/pysonofflan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants