lpgera / dirigera-web Goto Github PK
View Code? Open in Web Editor NEWA progressive web app for controlling Dirigera smart home devices.
License: MIT License
A progressive web app for controlling Dirigera smart home devices.
License: MIT License
Title says it all. I have a Starkvind Air Purifier in my Tradfri Setup and this leads to an error because the enum does not know it (accessorytype is 10 for the air purifier). I already tried updating node-tradfri-client and adding it to the code of tradfri-web-ui, but it seems to be not that easy as I now have another error.
It would be nice and useful to have the version number somewhere on the homepage.
Thanks
Aldo
Hi! I'm trying to run the container through Portainer stacks, this is my configuration
version: "3"
services:
dirigera-web:
image: ghcr.io/lpgera/dirigera-web
container_name: DirigeraWeb
env_file: stack.env
ports:
- "4000:4000"
#restart: unless-stopped
(stack.env is what Portainer calls the .env
for a stack)
This is how the .env
is populated
When I run it, I cannot access it at port 4000 because it's just crashing, this is the log output I get
start
npm run start -w backend
start
node -r dotenv/config dist/index.js dotenv_config_path=../.env
node:internal/modules/cjs/loader:1152
throw err;
^
Error: Cannot find module '/usr/src/app/backend/dist/index.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
at Module._load (node:internal/modules/cjs/loader:990:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v21.6.0
npm ERR! Lifecycle scriptstart
failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: backend
npm ERR! at location: /usr/src/app/backend
Is there anything I'm doing wrong? Thanks!
in the "Running with Node.js natively" the command: "git clone [email protected]:lpgera/dirigera-web.git" it is possible that it must be "git clone https://github.com/lpgera/dirigera-web.git"?
Error starting from scratch, mode "Running with Node.js natively":
npm run build
build
npm run build -ws
build
swc src -d dist --strip-leading-paths
Bus error (core dumped)
npm error Lifecycle script build
failed with error:
npm error Error: command failed
npm error in workspace: backend
npm error at location: /home/domoticz/dirigera-web/backend
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.