hugopeters / dreamstream Goto Github PK
View Code? Open in Web Editor NEWImplementation of the DreamScreen protocol for use with IoT devices.
License: MIT License
Implementation of the DreamScreen protocol for use with IoT devices.
License: MIT License
Make a simple StaticString wrapper to allow for safer string operations.
First of all, awesome work on this! I've done a few small testruns and it works great!
However... I already have a few leds setup slightly differently which works quite nice as well but doesn't have DreamScreen integration.
For this I'm using esphomelib. esphomelib is a really nice library which allows for easy integration with Home Assistant and simple OTA updates.
It would be great if it would also function as a sidekick straight away. Personally I think the easiest method would be to add a "sidekick" effect to the list of possible effects (https://github.com/OttoWinter/esphomelib/blob/dev/src/esphomelib/light/addressable_light_effect.cpp) which activates the code from this library.
I realize this might be a tall order, but it would be really useful for me if I could somehow combine the two so I'm wondering how feasible it would be. I've looked through the code a bit and I'm a tad overwhelmed honestly, there's a lot of code in this project and I'm not entirely sure if the codebases would be compatible.
If it would work, it would immediately take care of MQTT support and (if you add home assistant to the mix) would support Philips Hue too.
As all setter functions will behave differently on an emulated device, is there a real point in keeping them in them as-is in the base class?
Let's look at a better way of dealing with this (perhaps multi-inheritance?) so that the logic can be sort of separated without ugly overrides everywhere.
Also, gotta think of a better naming convention for emulated and incoming devices.
For smaller devices, let's not unnecessarily eat up memory with debug strings.
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.