Comments (6)
please try:
on("mihome.0.devices.switch_158d0002b221d8.click", function(obj){
if(obj.newState.val){
setState("yeelight-2.0.ceiling1-0x000000000370088e.control.power", true);
}
});
from iobroker.yeelight-2.
no, the same...
type | ID | val | ack | from | Timestamp | Last change |
---|---|---|---|---|---|---|
stateChange | yeelight-2.0.ceiling1-0x000000000370088e.control.power | false | true | yeelight-2.0 | 2019-01-21 21:22:43.917 | 2019-01-21 21:22:43.917 |
stateChange | yeelight-2.0.ceiling1-0x000000000370088e.info.connect | true | true | yeelight-2.0 | 2019-01-21 21:22:43.916 | 2019-01-20 23:33:01.154 |
stateChange | yeelight-2.0.ceiling1-0x000000000370088e.control.power | true | true | yeelight-2.0 | 2019-01-21 21:22:35.530 | 2019-01-21 21:22:35.511 |
stateChange | yeelight-2.0.ceiling1-0x000000000370088e.info.connect | true | true | yeelight-2.0 | 2019-01-21 21:22:35.528 | 2019-01-20 23:33:01.154 |
stateChange | yeelight-2.0.ceiling1-0x000000000370088e.control.power | true | false | javascript.0 | 2019-01-21 21:22:35.511 | 2019-01-21 21:22:35.511 |
from iobroker.yeelight-2.
do you have any suggestions why this is happening?
from iobroker.yeelight-2.
no i havent, i also have a problem with the scene value if i send it from the object everything works, if i send it from a script it dosnt work. if i have some free time i will chekc this
from iobroker.yeelight-2.
Also happens when trying to set values via Node Red.
Anything we can do to help debugging it?
Edit:
Setting the adapter to debug shows that there is a send command:
(16729) SEND STATE: id:0x0000000005443143, state: rgb, value: #ff9800
when doing it via the "Objects" page.
Sending the same via Node-Red causes no reaction in the debug log.
from iobroker.yeelight-2.
Ah, k. Figured out my NR issue:
Line 34 in a20085f
!state.ack
, so sending new values as "Command" works.from iobroker.yeelight-2.
Related Issues (20)
- No acknowledgement from Devices HOT 1
- Getting Lightgroups to objects HOT 2
- Strip 1s wird nicht gefunden HOT 2
- Cant Start Adapter with NodeJs18 HOT 15
- Update stable version in repo from 1.1.2 to 1.2.1 HOT 1
- Nach Node.js 18.15 update error HOT 29
- TypeError: The "options.port" property must be one of type number or string. Received null
- LED Desklamp 1S HOT 2
- State change very slow when pushing hardware button on bedside lamp 1
- TypeError: The "options.port" property must be one of type number or string. Received null
- Please You can describe the paramers in more detail HOT 1
- TypeError: The "options.port" property must be one of type number or string. Received null
- TypeError: The "options.port" property must be one of type number or string. Received null
- Error: write ECONNRESET
- TypeError: The "options.port" property must be one of type number or string. Received null
- Error: write EPIPE
- Adapter crashes if device is offline on startup HOT 2
- Datenpunkte nicht aktuell, Zeitstempel ändern sich nicht
- Update stable version in repo from 1.2.1 to 1.3.1 HOT 1
- Update stable version in repo from 1.3.1 to 1.4.0 HOT 1
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 iobroker.yeelight-2.