Improving Eurolite Mk2 Serial Number discovery/config
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 28/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- backend, embedded-iot
Hướng nghiên cứu
No files or tests are named. Start by reviewing the existing Eurolite Mk2 serial-number configuration and startup behavior, then define how blank configuration values should trigger discovery and where discovered serials should be stored. Done means the workflow is specified and verified without requiring users to inspect logs or run lsusb.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I don't know what you think about this (maybe as a future enhancement for another PR):
- Start up OLAd in enable_eurolite_mk2
- If no (non-blank) eurolite_mk2_serial set (at startup), it adds each found one to the list
- So workflow wise you could plug in your Eurolite dongles, turn on the setting, run up OLA. Turn off the setting and plug in your other devices.
- Upsides you wouldn't have to read logs or find serial numbers via other methods
- Downsides some potential confusion if you don't follow the right workflow
- Alternative suggestion is do the same thing but put them in another key (e.g. discovered_eurolite_mk2_serial) which you could rename if required.
Originally posted by @peternewman in https://github.com/OpenLightingProject/ola/pull/1888#pullrequestreview-1587276197
I was just trying to think through how someone will use it. If like you I've got one Eurolite Mk2 and one Enttec, I find I can't use them both together unless I enable the serial number mode, but how do I find the serial number? If what's printed on the bottom of the unit is exactly what I need to type in, then perfect, but otherwise I was thinking OLA could effectively pull either any serials it finds, or the serials it found in the last run, into the config file, for you to copy and paste. Otherwise you need to either use lsusb or trawl through all the OLA logs or similar. But you're the one using the kit, does that make sense as a workflow or seem redundant?
Originally posted by @peternewman in https://github.com/OpenLightingProject/ola/issues/1888#issuecomment-1825690013
Someone would now indeed have to look at the OLA output or lsusb to find the serial number -- this is indeed not super user friendly. What would be really useful is if this could be configured on the web interface (including that the interface would show the serial numbers), but that's a whole different scope ;). What's currently implemented at least demonstrates the use of the serial number to solve the conflict. In fact, given that quite some modules conflict with each other, a future idea could even be to incorporate this in a more generic way so that the user would be shown the possible serial ids and select the right device for it.
Originally posted by @aroffringa in https://github.com/OpenLightingProject/ola/issues/1888#issuecomment-1890999788
- Ngôn ngữ chính
- C++
- Star
- 773
- Fork
- 233
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenLightingProject/ola
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognizedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởquestion Type-DeviceSupport
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
OpenLightingProject/ola#2056 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
OpenLightingProject/ola#2053 · 1 bình luận ·
-
v0.11.0Có thể làm lại được @peternewman đã nhận 227 ngày trước và không có pull request nào đang mở. Đang mở
OpenLightingProject/ola#2038 · 18 bình luận · 2 người được giao ·
Tất cả issue của OpenLightingProject/ola
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
antlr/grammars-v4#5219 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[内容勘误] STL常用模式章节实战演练中代码有问题Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#335 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
deepseek-ai/DeepEP#830 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
google-ai-edge/LiteRT-LM#4701 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PX4/PX4-Autopilot#29898 ·
Maintainer thường phản hồi trong vòng 1 ngày