Comments (10)
I am using the matter-bridge in order to connect an ESP32- running moddable javascript temperature/humidity sensor.
from matter.js.
Can you please be a bit more specific? Is this a link in the dodcs you mention or what?
from matter.js.
Sorry for the missing information:
npm run matter-bridge -- -type socket -num 2 -on1 "echo on1" -off1 "echo off1" -type2 socket -on2 "echo on2" -off2 "echo off2"
matter-run packages/matter-node.js-examples/src/examples/BridgedDevicesNode.ts -type socket -num 2 -on1 echo on1 -off1 echo off1 -type2 socket -on2 echo on2 -off2 echo off2
node:internal/modules/cjs/loader:1145
throw err;
^
Error: Cannot find module 'C:\Users\louis\projecten\matter.js\packages\matter-node.js-examples\dist\esm\examples\BridgedDevicesNode.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
at Module._load (node:internal/modules/cjs/loader:983: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: []
}
from matter.js.
Hm ... which version you use?
How you installed it?
from matter.js.
packages\matter-node.js-examples\package.json contains the line:
"matter-bridge": "matter-run src/examples/BridgedDevicesNode.ts",
while the actual filename is: src/examples/BridgedDeviceNode.ts. without an "s"
from matter.js.
Version 0.8.0-alpha.0-20240328-f7f45db5. Installed with the command: npm install
from matter.js.
Thank you, I will provide a fix for the next nightly!
from matter.js.
I rrenamed the JS file as expected ... there should be a new nightly, please try
from matter.js.
It is working now. THX for the quick response.
My compliments for this great project !!!
from matter.js.
Oohhh interesting ... and yes ... moddable project is awesome!
from matter.js.
Related Issues (20)
- ColorControl cluster error in the definition
- DeviceNode example, pairing works but lightswitch stays offline HOT 26
- Uncaught exception in MdnsServer HOT 2
- Wifi Credentials with spaces in the SSID HOT 1
- Manual DNS-SD device announcement is picked up by the Apple Home app, but no UDP communication attempts are made
- Any plans to create a class for WindowCoveringDevices ? HOT 12
- Cannot find module '@abandonware/noble' or its corresponding type declarations HOT 4
- Update attribute value validation
- Crash on apple hub upgrade
- Window Covering Cluster issue on the persist of attributes TargetPositionLiftPercent100ths and TargetPositionTiltPercent100ths HOT 4
- Shutdown Error "index was destroyed"
- Fabrics are not reported as changed when commissioning second device
- When OperationalCredentials are initialized/Changed on init node crashes
- OnOffLightSwitchDevice generated with IdentifyBehavior instead IdentifyServer
- DoorLockDevice probably not fully implemented HOT 6
- SubscriptionHandler not sending received events from bridged device added after matter server start and is connected HOT 1
- GeneralDiagnosticsCluster NetworkInterfaces attribute in CommissioningServer HOT 1
- npm shell <nodenum> does not work HOT 1
- matter-device cli error in ubuntu 20.04 HOT 2
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 matter.js.