allterco / fleet-management Goto Github PK
View Code? Open in Web Editor NEWShelly outbound websocket server
Shelly outbound websocket server
I got the following error when I run start.sh. The error is on the backend side. I think there is no problem with frontend and BLE server side. Only on backend.
starting backend...
@fleet-management/[email protected] start
node dist/boot.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '/Users/selimbayhan/evcc/fleet-management/fleet-management-main/packages/backend/dist/boot.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! Lifecycle script start
failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @fleet-management/[email protected]
npm ERR! at location: /Users/selimbayhan/evcc/fleet-management/fleet-management-main/packages/backend
When connection is closed on shelly device side for some reason such as power outage. Server side code does not replace the new incoming connection so the code writes duplicate values to the database. I think there is a code for replacing new connection with the old one but it is not working.
logger.info('There is already existing websocket connection for this device. Replacing. shellyID:[%s]', shellyID);
found.setTransport(new WebSocketTransport(ws));
found.status = message.params;
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.