Update sonoff.py by AviPaperno · Pull Request #17 · lucien2k/sonoff-python · GitHub
Skip to content

Update sonoff.py#17

Open
AviPaperno wants to merge 1 commit into
lucien2k:masterfrom
AviPaperno:master
Open

Update sonoff.py#17
AviPaperno wants to merge 1 commit into
lucien2k:masterfrom
AviPaperno:master

Conversation

@AviPaperno

Copy link
Copy Markdown

Fixed error with get_devices()

It returned Error 400

Fixed error with get_devices()

It returned Error 400
@VDigitall

Copy link
Copy Markdown
Contributor

@muhannad17

Copy link
Copy Markdown

Actually I had the same problem as (Snusmumrick), I managed to get it fixed by adding GET Parameters to the (api/user/device) Request ( find attached code ).

And the commit is necessary for the app to get the devices list. Maybe the api response is country dependant !

sonoff.txt

@ndg63276

ndg63276 commented May 8, 2020

Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

4 participants