Code Monkey home page Code Monkey logo

hyperion.rs's People

Contributors

alixinne avatar renovate[bot] avatar tuxuser avatar vtavernier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tuxuser

hyperion.rs's Issues

Switch `--dump-config` returns `Error, 0: values must be emitted before tables`

This error when trying to read config from db and also expecting human readble TOML output via --dump-config.

Using both commits:

commandline invocation: ./target/debug/hyperiond --dump-config -d ~/.hyperion/db/hyperion.db

Output:

± COLORBT_SHOW_HIDDEN=1 RUST_BACKTRACE=full ./target/debug/hyperiond --dump-config -d ~/.hyperion/db/hyperion.db
Error: 
   0: values must be emitted before tables

Location:
   /rustc/1.57.0/library/core/src/result.rs:1914

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: color_eyre::config::EyreHook::default::ha2b10c87eb2b3da1
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/color-eyre-0.5.11/src/config.rs:1016
      1014 │     pub(crate) fn default(&self, error: &(dyn std::error::Error + 'static)) -> crate::Handler {
      1015 │         let backtrace = if lib_verbosity() != Verbosity::Minimal {
      1016 >             Some(backtrace::Backtrace::new())
      1017 │         } else {
      1018 │             None
   2: color_eyre::config::EyreHook::into_eyre_hook::{{closure}}::h30ad4038bcf58826
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/color-eyre-0.5.11/src/config.rs:1070
      1068 │             + 'static,
      1069 │     > {
      1070 >         Box::new(move |e| Box::new(self.default(e)))
      1071 │     }
      1072 │ }
   3: eyre::capture_handler::hf7ad12ffb0bcefcb
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/eyre-0.6.5/src/lib.rs:551
       549 │         .as_ref();
       550 │ 
       551 >     let mut handler = hook(error);
       552 │ 
       553 │     #[cfg(track_caller)]
   4: eyre::error::<impl eyre::Report>::from_std::hd935e64f96ba806d
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/eyre-0.6.5/src/error.rs:90
        88 │ 
        89 │         // Safety: passing vtable that operates on the right type E.
        90 >         let handler = Some(crate::capture_handler(&error));
        91 │ 
        92 │         unsafe { Report::construct(error, vtable, handler) }
   5: eyre::error::<impl core::convert::From<E> for eyre::Report>::from::h54ab36d177286976
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/eyre-0.6.5/src/error.rs:464
       462 │     #[cfg_attr(track_caller, track_caller)]
       463 │     fn from(error: E) -> Self {
       464 >         Report::from_std(error)
       465 │     }
       466 │ }
   6: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual::h11483fc5e6dc3c24
      at /rustc/1.57.0/library/core/src/result.rs:1914
   7: hyperiond::run::{{closure}}::h697ca7346ef4dc97
      at /home/tuxuser/Development/personal/lgtv/hyperion/hyperion.rs/src/main.rs:58
        56 │     // Dump configuration if this was asked
        57 │     if opts.dump_config {
        58 >         print!("{}", config.to_string()?);
        59 │         return Ok(());
        60 │     }
   8: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h6c46cacf7eb1bcc6
      at /rustc/1.57.0/library/core/src/future/mod.rs:80
   9: tokio::park::thread::CachedParkThread::block_on::{{closure}}::h90e382ba19834e4a
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/park/thread.rs:263
       261 │ 
       262 │         loop {
       263 >             if let Ready(v) = crate::coop::budget(|| f.as_mut().poll(&mut cx)) {
       264 │                 return Ok(v);
       265 │             }
  10: tokio::coop::with_budget::{{closure}}::he0ab9a520b313cf9
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/coop.rs:106
       104 │         let _guard = ResetGuard { cell, prev };
       105 │ 
       106 >         f()
       107 │     })
       108 │ }
  11: std::thread::local::LocalKey<T>::try_with::hd7310bf8dbd6ec8d
      at /rustc/1.57.0/library/std/src/thread/local.rs:399
  12: std::thread::local::LocalKey<T>::with::h198970fbbd7731fb
      at /rustc/1.57.0/library/std/src/thread/local.rs:375
  13: tokio::coop::with_budget::h831320107823800a
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/coop.rs:99
        97 │     }
        98 │ 
        99 >     CURRENT.with(move |cell| {
       100 │         let prev = cell.get();
       101 │ 
  14: tokio::coop::budget::h6a8faedd8a4fdc5a
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/coop.rs:76
        74 │ #[inline(always)]
        75 │ pub(crate) fn budget<R>(f: impl FnOnce() -> R) -> R {
        76 >     with_budget(Budget::initial(), f)
        77 │ }
        78 │ 
  15: tokio::park::thread::CachedParkThread::block_on::hd3f261bbf661b69c
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/park/thread.rs:263
       261 │ 
       262 │         loop {
       263 >             if let Ready(v) = crate::coop::budget(|| f.as_mut().poll(&mut cx)) {
       264 │                 return Ok(v);
       265 │             }
  16: tokio::runtime::enter::Enter::block_on::h953be7dfa59116b9
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/runtime/enter.rs:151
       149 │ 
       150 │             let mut park = CachedParkThread::new();
       151 >             park.block_on(f)
       152 │         }
       153 │ 
  17: tokio::runtime::thread_pool::ThreadPool::block_on::h5b533fdef1d51e24
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/runtime/thread_pool/mod.rs:77
        75 │     {
        76 │         let mut enter = crate::runtime::enter(true);
        77 >         enter.block_on(future).expect("failed to park thread")
        78 │     }
        79 │ }
  18: tokio::runtime::Runtime::block_on::h0f9d09219537eb5d
      at /home/tuxuser/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/runtime/mod.rs:463
       461 │                 Kind::CurrentThread(exec) => exec.block_on(future),
       462 │                 #[cfg(feature = "rt-multi-thread")]
       463 >                 Kind::ThreadPool(exec) => exec.block_on(future),
       464 │             }
       465 │         }
  19: hyperiond::main::he880ed14205e9bc5
      at /home/tuxuser/Development/personal/lgtv/hyperion/hyperion.rs/src/main.rs:253
       251 │         .enable_all()
       252 │         .build()?;
       253 >     rt.block_on(run(opts))
       254 │ }
  20: core::ops::function::FnOnce::call_once::h6a958c2ff15fc2a1
      at /rustc/1.57.0/library/core/src/ops/function.rs:227
  21: std::sys_common::backtrace::__rust_begin_short_backtrace::ha4a18d8c66594778
      at /rustc/1.57.0/library/std/src/sys_common/backtrace.rs:123
  22: std::rt::lang_start::{{closure}}::h16d579df5c4f95dc
      at /rustc/1.57.0/library/std/src/rt.rs:146
  23: std::rt::lang_start_internal::h8366be35fc5c8ffb
      at <unknown source file>:<unknown line>
  24: std::rt::lang_start::h7462bf10acf95871
      at /rustc/1.57.0/library/std/src/rt.rs:145
  25: main<unknown>
      at <unknown source file>:<unknown line>
  26: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>
  27: _start<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

DB:
hyperion_db.zip

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

cargo
Cargo.toml
  • ambassador 0.3
  • async-trait 0.1
  • base64 0.22
  • byteorder 1.5
  • bytes 1.5
  • chrono 0.4
  • color-eyre 0.6
  • cookie 0.18
  • derive_more 0.99
  • dirs 5.0
  • drop_bomb 0.1
  • flatbuffers 23.5
  • futures 0.3
  • futures-io 0.3
  • git-version 0.3
  • hex 0.4
  • hostname 0.3
  • image 0.24
  • lazy_static 1.4
  • lru 0.12
  • num_cpus 1.16
  • palette 0.7
  • parse-display 0.9
  • paw 1.0
  • pnet 0.34
  • prost 0.12
  • pyo3 0.20
  • pythonize 0.20
  • regex 1.10
  • serde 1.0
  • serde_derive 1.0
  • serde_json 1.0
  • sha2 0.10
  • slotmap 1.0
  • spidev 0.6
  • sqlx 0.7
  • structopt 0.3
  • strum 0.26
  • strum_macros 0.26
  • thiserror 1.0
  • tokio 1.36
  • tokio-stream 0.1
  • tokio-util 0.7
  • toml 0.8
  • tracing 0.1
  • tracing-error 0.2
  • tracing-subscriber 0.3
  • uuid 1.7
  • validator 0.16
  • warp 0.3
  • criterion 0.5
  • rand 0.8
  • prost-build 0.12
github-actions
.github/workflows/build.yml
  • actions/checkout v4
  • arduino/setup-protoc v2
  • actions-rs/toolchain v1
  • actions-rs/cargo v1
  • actions-rs/cargo v1
  • actions-rs/cargo v1
  • actions/checkout v4
  • arduino/setup-protoc v2
  • actions/cache v4
  • actions-rs/toolchain v1
  • actions-rs/cargo v1
  • actions/upload-artifact v4
  • actions/download-artifact v4
  • ubuntu 22.04
  • ubuntu 22.04
.github/workflows/docs.yml
  • actions/checkout v4
  • arduino/setup-protoc v2
  • actions/cache v4
  • actions-rs/toolchain v1
  • actions-rs/cargo v1
  • peaceiris/actions-gh-pages v3
  • ubuntu 22.04

  • Check this box to trigger a request for Renovate to run again on this repository

Flatbuffer / JSON servers report: not enough LED data for device: 41 missing

Hey again.

Maybe you have an idea about this or it's my setup being at fault:

The problem

hyperion.rs logs show that only the first LED (index: 0) contains valuable data.

Error message: not enough LED data for device: 41 missing

Source: https://github.com/vtavernier/hyperion.rs/blob/master/src/instance/device.rs#L97

Jan 24 00:16:00.753 DEBUG hyperion::global::paths: found development root path=/home/tuxuser/Development/hyperion/hyperion.rs
Jan 24 00:16:00.753 DEBUG hyperion::global::paths: found user root path=/home/tuxuser/Development/hyperion/hyperion.rs
Jan 24 00:16:00.762  INFO hyperiond: discovered 39 effects
Jan 24 00:16:00.763 DEBUG hyperion::instance::muxer: cleared all inputs
Jan 24 00:16:00.763 DEBUG hyperion::instance::muxer: current priority changed priority=256
Jan 24 00:16:00.763 DEBUG hyperion::color: computed RGB whitepoint rgb_whitepoint=Rgb { red: 65535, green: 65535, blue: 65535, standard: PhantomData } temperature=6600
Jan 24 00:16:00.763  INFO hyperion::global: registered instance id=0
Jan 24 00:16:00.764  INFO hyperion::servers: Flatbuffers server listening address=0.0.0.0:19400
Jan 24 00:16:00.764  INFO hyperion::servers: JSON server listening address=0.0.0.0:19444
Jan 24 00:16:00.764  INFO hyperion::servers: Protobuf server listening address=0.0.0.0:19445
Jan 24 00:16:00.765  INFO hyperion::web: Webconfig server listening address=0.0.0.0:8090
Jan 24 00:16:02.624 DEBUG handle_client{peer_addr=127.0.0.1:43326}: hyperion::servers::json: accepted new connection
Jan 24 00:16:02.625  INFO handle_client{peer_addr=127.0.0.1:43326}: hyperion::global: registered new input source source=`JSON(127.0.0.1:43326)` (id = 1, priority = None)
Jan 24 00:16:02.625 DEBUG run{self=Instance { id: 0 }}: hyperion::instance::muxer: current priority changed priority=50
Jan 24 00:16:02.626  INFO handle_client{peer_addr=127.0.0.1:43326}: hyperion::global: unregistered input source source=`JSON(127.0.0.1:43326)` (id = 1, priority = None)
Jan 24 00:16:02.626  INFO hyperion::servers: client disconnected peer_addr=127.0.0.1:43326
Jan 24 00:16:02.667  WARN run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device: not enough LED data for device: 41 missing

Jan 24 00:16:02.668  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  0 red= 52 green=  0 blue=  0
Jan 24 00:16:02.668  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  1 red=  0 green=  0 blue=  0
Jan 24 00:16:02.668  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  2 red=  0 green=  0 blue=  0
Jan 24 00:16:02.668  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  3 red=  0 green=  0 blue=  0
Jan 24 00:16:02.668  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  4 red=  0 green=  0 blue=  0
Jan 24 00:16:02.668  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  5 red=  0 green=  0 blue=  0
Jan 24 00:16:02.668  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  6 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  7 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  8 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  9 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 10 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 11 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 12 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 13 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 14 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 15 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 16 red=  0 green=  0 blue=  0
Jan 24 00:16:02.669  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 17 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 18 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 19 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 20 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 21 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 22 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 23 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 24 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 25 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 26 red=  0 green=  0 blue=  0
Jan 24 00:16:02.670  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 27 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 28 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 29 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 30 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 31 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 32 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 33 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 34 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 35 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 36 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 37 red=  0 green=  0 blue=  0
Jan 24 00:16:02.671  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 38 red=  0 green=  0 blue=  0
Jan 24 00:16:02.672  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 39 red=  0 green=  0 blue=  0
Jan 24 00:16:02.672  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 40 red=  0 green=  0 blue=  0
Jan 24 00:16:02.672  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 41 red=  0 green=  0 blue=  0

Jan 24 00:16:02.709  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  0 red=136 green=  0 blue=  0
Jan 24 00:16:02.709  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  1 red=  0 green=  0 blue=  0
Jan 24 00:16:02.709  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  2 red=  0 green=  0 blue=  0
Jan 24 00:16:02.709  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  3 red=  0 green=  0 blue=  0
Jan 24 00:16:02.709  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  4 red=  0 green=  0 blue=  0
Jan 24 00:16:02.709  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  5 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  6 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  7 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  8 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led=  9 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 10 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 11 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 12 red=  0 green=  0 blue=  0
Jan 24 00:16:02.710  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 13 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 14 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 15 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 16 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 17 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 18 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 19 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 20 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 21 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 22 red=  0 green=  0 blue=  0
Jan 24 00:16:02.711  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 23 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 24 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 25 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 26 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 27 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 28 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 29 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 30 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 31 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 32 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 33 red=  0 green=  0 blue=  0
Jan 24 00:16:02.712  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 34 red=  0 green=  0 blue=  0
Jan 24 00:16:02.713  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 35 red=  0 green=  0 blue=  0
Jan 24 00:16:02.713  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 36 red=  0 green=  0 blue=  0
Jan 24 00:16:02.713  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 37 red=  0 green=  0 blue=  0
Jan 24 00:16:02.713  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 38 red=  0 green=  0 blue=  0
Jan 24 00:16:02.713  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 39 red=  0 green=  0 blue=  0
Jan 24 00:16:02.713  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 40 red=  0 green=  0 blue=  0
Jan 24 00:16:02.713  INFO run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: led= 41 red=  0 green=  0 blue=  0
Jan 24 00:16:02.749 DEBUG run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: LED Count 42
Jan 24 00:16:02.749 DEBUG run{self=Instance { id: 0 }}:set_led_data{self=Device { name: "Test instance" }}: hyperion::instance::device::dummy: [Rgb { red: 209, green: 0, b

Test environment

Hyperion.rs versions tested:

Client applications tested:

  • Hyperion.NG v2.0.12
  • Hyperion.NG built from src (commit 98654e4)

hyperion.rs config:

[instances.0.instance]
friendlyName = 'Test instance'
enabled = true

[instances.0.device]
type = 'dummy'
hardwareLedCount = 42

Invocation of hyperion.rs: ./target/debug/hyperiond --config config.toml -vv

Invocations of Hyperion.NG clients:

X11 Screengrabber

./bin/hyperion-x11 -a 127.0.0.1
hyperion-x11:
	Version   : 2.0.12 ((HEAD detached at df149583) (GitHub-dc6aa4dd/df149583-1637501177))
	build time: Nov 21 2021 16:48:29
Qt: Session management error: None of the authentication protocols specified are supported
2022-01-24T00:04:46.622  X11GRABBER            : <INFO> XRandR=[available] XRender=[available] XShm=[available] XPixmap=[available]
2022-01-24T00:04:46.622  X11GRABBER            : <INFO> Update of screen resolution: [0x0]  to [5360x1440]
2022-01-24T00:04:46.622  X11GRABBER            : <INFO> Using XRender for grabbing
2022-01-24T00:04:46.622  X11GRABBER            : <INFO> Update output image resolution: [0x0]  to [670x180]
2022-01-24T00:04:46.623  X11GRABBER            : <INFO> Capture interface is now enabled
2022-01-24T00:04:46.623  FLATBUFCONN           : <INFO> Connecting to Hyperion: 127.0.0.1:19400
2022-01-24T00:04:46.664  X11GRABBER            : <INFO> Update of screen resolution: [5360x1440]  to [5360x1440]
2022-01-24T00:04:46.664  X11GRABBER            : <INFO> Using XRender for grabbing
2022-01-24T00:04:46.664  X11GRABBER            : <INFO> Update output image resolution: [670x180]  to [670x180]
2022-01-24T00:04:51.444  FLATBUFCONN           : <INFO> No connection to Hyperion: 127.0.0.1:19400
2022-01-24T00:04:56.399  FLATBUFCONN           : <INFO> Connected to Hyperion: 127.0.0.1:19400

Remote

./bin/hyperion-remote -c FF0000 -a 127.0.0.1
hyperion-remote:
	Version   : 2.0.12 ((HEAD detached at df149583) (GitHub-dc6aa4dd/df149583-1637501177))
	build time: Nov 21 2021 16:48:23

EDIT: Could very well be that the config.toml is vastly incomplete, so only a single LED is represented, sort of as a minimum placeholder...
I am currently working on getting a hyperion.db imported..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.