r12f / divoom Goto Github PK
View Code? Open in Web Editor NEWRust Library for controlling divoom devices that support REST APIs, such as pixoo-64.
License: Apache License 2.0
Rust Library for controlling divoom devices that support REST APIs, such as pixoo-64.
License: Apache License 2.0
Would it be possible to sniff the bluetooth packets and reverse engineer the initial setup of the Pixoo64 over bluetooth, so that the Divoom app is no longer needed?
https://hackaday.com/2021/03/23/a-crash-course-on-sniffing-bluetooth-low-energy/
Thank you.
Better showing enum instead of int.
This will make the gateway becoming stateful essentially, because there is no way to reconcile the state with the device.
It sucks, but for the simplicity, we will start with this and also use in-process memory store for now.
When attempting to install via cargo or compile locally the build errors out with:
error[E0308]: mismatched types
--> /Users/mccoole/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-cron-scheduler-0.7.6/src/job/mod.rs:346:41
|
346 | .checked_add_signed(time::Duration::seconds(
| ______________________------------------_^
| | |
| | arguments to this method are incorrect
347 | | instant.duration_since(Instant::now()).as_secs() as i64,
348 | | ))
| |_____________________^ expected `chrono::Duration`, found `time::Duration`
|
= note: `time::Duration` and `chrono::Duration` have similar names, but are actually distinct types
note: `time::Duration` is defined in crate `time`
--> /Users/mccoole/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.1.45/src/duration.rs:45:1
|
45 | pub struct Duration {
| ^^^^^^^^^^^^^^^^^^^
note: `chrono::Duration` is defined in crate `chrono`
--> /Users/mccoole/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.31/src/duration.rs:55:1
|
55 | pub struct Duration {
| ^^^^^^^^^^^^^^^^^^^
note: method defined here
--> /Users/mccoole/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.31/src/datetime/mod.rs:377:12
|
377 | pub fn checked_add_signed(self, rhs: OldDuration) -> Option<DateTime<Tz>> {
| ^^^^^^^^^^^^^^^^^^
It appears that an update to tokio-cron-scheduler
is needed. I have a working branch with tokio-cron-scheduler
updated to 0.9.4 and a few other changes necessary from that change. I will open a PR and reference this issue.
Better change the output to yaml or json
Will nee options to control the fit, such as CenterAndCrop / StretchToFit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.