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

[BUG] HTTP Response Error in Log #135

Closed
simonnelli opened this issue Nov 25, 2020 · 1 comment
Closed

[BUG] HTTP Response Error in Log #135

simonnelli opened this issue Nov 25, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@simonnelli
Copy link

Describe the bug
Since updating to v2.0.0-nightly I often get following error message in the log. Everything works as expected as I can see.

[11/25/2020, 8:40:32 AM] [dingz] HTTP Response Error ->http://192.168.227.12/api/v1/dimmer/2/off/
[11/25/2020, 8:40:32 AM] [dingz] Request failed with status code 404
[11/25/2020, 8:40:32 AM] [dingz] 
[11/25/2020, 8:40:32 AM] [dingz] 404
[11/25/2020, 8:40:32 AM] [dingz] {
  connection: 'close',
  'content-type': 'text/html',
  'content-length': '0',
  'access-control-allow-origin': '*'
}

To Reproduce
Install v2.0.0-nightly, check log

Expected behavior
no errors in log

Plugin environment (please complete the following information):

  • dingz/myStrom Device Firmware Version [e.g. 1.49.0]
  • Homebridge Server: [e.g. Homebridge Docker]
  • Plugin Version [e.g. 1.5.0]
  • Node.js Version [e.g. 14.1.0]
  • Homebridge Version [e.g. 1.1.0]
  • Special settings [e.g. with/without auto-discovery]

Screenshots and Logs
If applicable, add screenshots to help explain your problem.

You can enclose log files, JSON output from API endpoints and other output in a code fence like this:

```
Code or Log output
```

This makes it easier to read for the developer (and yourself). You can even add the language used for better formatting:

```json 
{  
    "employee": {  
        "name":       "sonoo",   
        "salary":      56000,   
        "married":    true  
    }  
}  
```

will be rendered as

{  
    "employee": {  
        "name":       "sonoo",   
        "salary":      56000,   
        "married":    true  
    }  
}  

Additional context
Add any other context about the problem here.

@simonnelli simonnelli added the bug Something isn't working label Nov 25, 2020
johannrichard added a commit that referenced this issue Nov 28, 2020
- simplify device updates
- allows updating device info (core info) via platform
- implements (better) device recovery
- implements better error handling for devices
- streamlines code
- streamlines accessory interfaces & methods
- other small chores
- implements fixes #3, #103, #116, #123, #135
@johannrichard johannrichard changed the title HTTP Response Error in Log [BUG] HTTP Response Error in Log Nov 28, 2020
@johannrichard
Copy link
Owner

johannrichard commented Nov 28, 2020

Will be fixed when 70e88aa is merged into master (with the upcoming v2.0.0 release. Release candidates (npm i homebridge-dingz@next) should already have fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants