Comments (4)
I also have a problem with understanding how switches work.
Making a function node from example worked:
var msg = {
topic: "switch",
payload: {
value: 1
}
}
return msg;
But connecting two switches together with wire doesn't work.
Injecting number 0 or 1 to the switch doesn't do anything.
Seems like value
needs to be renamed to number
to make it work.
Also, it makes more sense to make switch type as boolean.
from node-red-contrib-smartthings.
No problem ;)
from node-red-contrib-smartthings.
Thanks, that function node actually helped, I couldn't get that to work either and now it does. Thanks so much
from node-red-contrib-smartthings.
Many thanks, I ran into the same issues!
from node-red-contrib-smartthings.
Related Issues (20)
- Can't unistall node-red-contrib-smartthings. States "in use" HOT 1
- Missing sensors node for "acceleration" and "3-axis" HOT 6
- Different value for status and sensor HOT 11
- Timestamp in payload HOT 2
- What permissions are necessary when creating the token? HOT 3
- Failed to install correctly? HOT 8
- Misleading name/value for "contact" HOT 1
- Injecting "update" only works once or twice? HOT 2
- did samsung pull the plug on smartapps? HOT 2
- Logging is way too much verbose HOT 3
- Webhook HOT 14
- OnOff - Wrong Syntax HOT 1
- Node Package failed to install HOT 1
- Failed to update smartapp settings due to constraint violation on node-red side HOT 1
- Problem parsing color
- SmartApp "Problems connecting. Check your internet and try again" HOT 3
- SmartThings Thermostat node is failing with an error that the `thermostat` capability is not a valid value HOT 3
- Create new integration not working HOT 1
- 400 Bad Request when attempting to add devices
- setup with samsung product is out of date
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-red-contrib-smartthings.