Comments (3)
Logs below:
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:46:12] "GET /rf/learn?type=0x27a9&host=192.168.1.142&mac=780f776317bc HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.6/dist-packages/flask_restful/init.py", line 272, in error_router
return original_handler(e)
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.6/dist-packages/flask_restful/init.py", line 272, in error_router
return original_handler(e)
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/broadlinkmanager/broadlinkmanager.py", line 284, in sweep
return jsonify('{"data":"' + data + '"}')
TypeError: must be str, not bytes
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:21] "GET /repeats HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:21] "GET /js/index.js HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:21] "GET /js/generator.js HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:21] "GET /js/pageActions.js HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:21] "GET /js/demo.js HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:21] "GET /repeats HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:47] "GET / HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:47] "GET / HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:52] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:53] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:54] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:55] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:56] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:57] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:57] "GET /rf/continue HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:58] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:55:59] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:56:00] "GET /rf/status HTTP/1.1" 200 -
[I.P.ADD.R.ESS] - - [15/Jun/2020 02:56:00] "GET /rf/learn?type=0x27a9&host=192.168.1.142&mac=780f776317bc HTTP/1.1" 500 -
from broadlinkmanager-docker.
And finally, to help debug, using the Home Assistant broadlink.learn command manual method, this is an example result of code generated by the remote:
Received packet is: sgD8AKIzDBkMGQwZGA0MGRkNGA0LGgwZDBkYDRgOFw0MGQwZDBoMGQwZDBkMGQwZDBoLGRgOGA0YDRgNDBkMGQwZDBkMGgwZGA0MGRgNDBkYDQwZGAABI6EzDBkMGgsaFw0MGhcOGA0LGgwZDBkYDhcOGA0LGgsaDBkMGgsaCxoLGgsaCxoLGhgNGA0YDRgNDBkMGgsZDBoLGgwZGA0MGRgNDBkYDgsaGAABIaE0DBkLGgsaGA0MGRgNGA0MGgsaDBkYDRgNGA0MGQwZDBoLGgsaCxoLGgwZDBkMGRgOFw4XDhgNCxoLGgwZDBkLGwsaFw4LGhcOCxoXDgwZGAAF3AAAAAAAAAAAAAAAAA==
from broadlinkmanager-docker.
Fixed with commit 59f2f13
BIG thank you!
from broadlinkmanager-docker.
Related Issues (20)
- How to use it with Homeassistant HOT 2
- Codes learned are not the same format as whats being converted with this. HOT 2
- Please add RM4 Mini 0x648d HOT 1
- Tutoria for install and use HOT 1
- Add new device? HOT 2
- Broadlink Manager Windows see invalid device, docker version sees nothing? HOT 12
- Can I send rf comands throw cli or web call? HOT 1
- ERROR: Exception in ASGI application HOT 2
- No interface or no devices HOT 5
- Add Broadlink manager to Home Assistant panel HOT 1
- New Version - does not have WebUI HOT 1
- RM4 Mini 0x5216 not supported HOT 1
- Exposing the Broadlink RM 4 in BroadLink Manager is possible only after I change location/room in the Broadlink app.
- Unsupported upgrade request
- Device Not Supported - 0x5216 - RM4 Mini HOT 1
- Translation for Device Id and Model? HOT 4
- Home Assistant repo added but add-on not found
- "Authentication failed" HOT 1
- typo in GitHub project description HOT 1
- Where can i find my device id ? I got one from aliexpress that supports 300 + 433mhz ir and rf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broadlinkmanager-docker.