Comments (6)
Will be included in the refactor, but unfortunately I don't have much time to work on that right now
from streamdeck-homeassistant.
@tobimori I played with this a little today, seems like using home-assistant-js-websocket is not a good option as it is not possible to use modules in streamdecks SDK, since their internal file loading does not set the mime type correctly for the js engine to accept it.... did you stumble over this already ? any Ideas what to do about it ?
from streamdeck-homeassistant.
@tobimori I played with this a little today, seems like using home-assistant-js-websocket is not a good option as it is not possible to use modules in streamdecks SDK, since their internal file loading does not set the mime type correctly for the js engine to accept it.... did you stumble over this already ? any Ideas what to do about it ?
You'd need to setup a build process, e.g. using vercel/ncc to compile the js files.
from streamdeck-homeassistant.
ok, sounds kind of straight forward... I did play with HAs websocket API yesterday, it is actually really straight forward to implement... but I guess using the complete implementation makes sense... thanks
from streamdeck-homeassistant.
Hm but ncc looks like a tool mainly intended for usage with node.... but streamdeck uses a browser instance... so many things ncc assumes do not work...
from streamdeck-homeassistant.
did it with webpack therefore ;-)
from streamdeck-homeassistant.
Related Issues (6)
- Does not work with non-signed certificates and HTTPS HOT 1
- Does not work after putting computer to sleep HOT 1
- Setup HOT 18
- Logging HOT 2
- Rewrite Status? HOT 1
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 streamdeck-homeassistant.