Comments (3)
Yes that's possible if the machine you're running the script is in the same network as your homebase.
mainP2pLocal()
is the method to start in index.ts
, but first you need to provide your P2P_DID
and ACTOR_ID
in the .env
-file. That information you can get by calling the mainHttp()
method in the index.ts. You only have to do that once till you have the P2P_DID
and ACTOR_ID
. Then change the hard coded IP of 192.168.68.101
to your homebase ip.
With this command you can set the arming mode:
// CMD_SET_ARMING # 0 => away 1 => home, 2 => schedule, 63 => disarmed
devClientService.sendCommandWithInt(CommandType.CMD_SET_ARMING, 1);
Remove or uncomment the line below: devClientService.sendCommandWithIntString(CommandType.CMD_SET_DEVS_OSD, 1, 0);
to not change the OSD settings.
from eufy-node-client.
thank you for the fast response!
well, i am no real dev sadly - i am struggling where to start actually..
So installation first..
and then where to run the command? Is it possible via GET/POST request like an API? That would be easy to use...
from eufy-node-client.
Sorry.. for a non developer this is currently to complicated. Currently I'm working to provide more features instead of adding a REST-like-API. Sorry you'll have to wait till this is further.
from eufy-node-client.
Related Issues (17)
- Very interested! HOT 1
- Example HOT 5
- Environment Setup
- Doorbell without homebase HOT 1
- Feature: Disconnect from P2P-Device-Client
- LocalLookupService.lookup timeout but works with CloudLookupService.lookup HOT 18
- Doorbell working? HOT 17
- Experiencing issues in homebridge HOT 16
- PushRegisterService HOT 1
- help starting node.js HOT 2
- Implementing this for Node-Red? HOT 1
- EuFy Security: Petition for open source API’s, a Dev share program, and direct App to hardware communication
- Some additional debug information you might want HOT 4
- Misconception: first/last multipart message HOT 1
- http requests help HOT 8
- Push notification no longer works correctly HOT 30
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 eufy-node-client.