Comments (2)
i did the offline/online by my self, with a setTimeout and "isReachable"..
But do you have a clue, why i can't get the name of the Shelly? There is a option in the Shelly GUI where one could put a name to the shelly.. but in the "discover" phase of your tool, i don't get the "name" property, it's always "undefined"
Also i think the "setAuthCredentials" didn't do any thing... at least for me..
from node-shellies.
Are you sure it should be this.shellies.staleTimeout
and not shellies.staleTimeout
?
Device names aren't included in the CoAP API. After a device has been discovered, you can retrieve the name using the HTTP API by calling the device.getSettings()
method.
setAuthCredentials()
will affect all subsequent HTTP requests.
from node-shellies.
Related Issues (18)
- Supporting new devices HOT 4
- addMembership EINVAL HOT 2
- Report RGB as one entity HOT 3
- Feature: add voltage as prop for battery powered devices. HOT 6
- energyCounter for Shelly4Pro HOT 2
- powerFactor for Shelly EM HOT 3
- Docker execution HOT 2
- CoIoT coap library released
- Support for unicast HOT 10
- shellies listen is working on one device and not on another on the same network HOT 1
- Use prettier
- Would you consider typescript
- Support for Shelly 1 Plus HOT 1
- CoAP for Motion Sensor 1 not parsed HOT 1
- Project status? HOT 1
- Not auto discovering despite lots of mcast traffic
- Shellies looses contact to Shelly UNI, updates stop coming in
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 node-shellies.