Comments (3)
Ok, ist ein guter Punkt! Warum ich strings verwende ist eigentlich da zu Beginn dort der code gespeichert ist bzw. man kann dort eigene codes (z,B. vom Internet) speichern..
Um Die Fehlermeldung zu umgehen zu umgehen kannst auch setState("broadlink2.0.RM2:fernbedienung-wz.LearnedStates.TV anschalten"/*TV anschalten*/, "");
verwenden. Ich will später einbauen dass man codes oder Listen schicken kann und die dann ausgeführt werden.
Ich starte es kaum mit setState sondern mit sendTo("broadlink2.0","send","RM2:fernbedienung-wz.LearnedStates.TV anschalten");
, ein Grund dafür ist dass ich den Zustand nicht verändern will und auch weniger 'state change traffic' erzeugen will.
Ich arbeite auch an einem feature wo man Mehrere Kommandos hintereinander ausführen kann und damit eine Art von Szene abbilden kann.
Werd' mal sehen ob ich das ändern muss aber momentan kann man es so lassen.
from iobroker.broadlink2.
Prinzipiell ok, aber selbst wenn man beim Typ Button auf die "Buttons" unter Objekte klickt, werden die Werte auf true geändert.
Zum sendTo gibt es nur ein Problem: ich bin ein fauler Entwicker und mache einfache Skripte mit Blocky und da geht es nicht. ;-)
Die Szene Idee ist schon cool. Man könnte theoretisch zum Anlern-Button noch ein Szene-Anlernen-Start-Button hinzufügen und Tastenkombinationen nacheinander anlernen. Wäre im Prinzip nichts anderes als das jetzige, nur würden mehrere Codes hintereinander gespeichert. Zum Ausführen dann immer 1s zwischen den Befehle lassen... und wenn man fertig angelernt hat, den Szene-Anlernen-Stop-Button klicken.
Bin mal gespannt was noch kommt.
from iobroker.broadlink2.
V1.5.0 changed buttons to type boolean!
from iobroker.broadlink2.
Related Issues (20)
- RM3 Mini wird nicht korrekt erkannt HOT 5
- Eingelernte Signale werden nicht mehr angelegt
- Compatibility check to js-controller 4.0 HOT 1
- RF commands learned with iobroker do not work. HOT 1
- Code wird nicht gesendet HOT 3
- RM3 mini does not learn codes HOT 1
- Device discovered which operates in cloud mode and could not be authenticated RM4pro HOT 4
- [QA] activate eslint checks and fix source
- This object will not be created in future versions. Please report this to the developer. HOT 1
- Help: How to connect an RM4C Mini HOT 1
- Rename in objects not working anymore? HOT 1
- Update stable version in repo from 2.1.5 to 2.2.0 HOT 1
- Incorrect temperatures
- RM-Pro verliert Verbindung mit Failed to authenticate... HOT 2
- Unhandled promise rejection -> v2.2.0 HOT 6
- Remove outdated files HOT 1
- Add config paramater interface to io-package.json HOT 1
- Config paramater IP outdated HOT 1
- Update stable version in repo from 2.2.0 to 2.3.0 HOT 1
- RM4Pro Failed to authenticate device 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.broadlink2.