NEWS
Adapter: broadlink2
-
@SchuetzeSchulz
Meinst du so was?Die Art wie ich es mache ist:
All das will ich später in der neuen Konfig (inklusive anlernen) einbauen, das wird aber noch einige Tage/Wochen dauern!
Mein Ziel ist dass unter broadlink.0.L gelernt wird, mit Unterverzeichnissen für die einzelnen Geräte. Diese können dann auch in der Konfig mit-abgespeichert werden und somit auch zwischen rechnern transferiert werden.Wenn das mal funktioniert will ich dann importieren können, auch von anderen Web-quellen wo solche codes verfügbar sind. Die Original Broadlink-Cloud wird mir wohl verwehrt sein wenn keiner die broadlink-app am handy knackt
-
@Dischro
Sorry, habe mit tostring (statt toString) auch einen Fehler eingebaut und jetzt auf Git behoben... -
@frankjoke
er bleibt jetzt beim Start RF Sweep hängen2020-06-20 11:20:51.625 - warn: broadlink2.0 (8986) Error in StateChange for broadlink2.0.RM:RM4-pro-e4-8b-94._LearnRF = RangeError: toString() radix argument must be between 2 and 36at Number.toString ()at RM4P.sendPacket (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:552:70)at async RM4P.enterRFSweep (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:972:21)at async RM4P.learnRf (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink_fj.js:996:9)at async startLearning (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink2.js:109:54) 2020-06-20 11:23:55.309 - warn: broadlink2.0 (8986) Device RM:RM4-pro-e4-8b-94 is still in learning mode and cannot start it again! 2020-06-20 11:23:55.316 - warn: broadlink2.0 (8986) Error in StateChange for broadlink2.0.RM:RM4-pro-e4-8b-94._LearnRF = Error: Device RM:RM4-pro-e4-8b-94 is still in learning mode and cannot start it again!at startLearning (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink2.js:104:10)at A.stateChange (/opt/iobroker/node_modules/iobroker.broadlink2/broadlink2.js:202:50)at Immediate. (/opt/iobroker/node_modules/iobroker.broadlink2/fjadapter.js:221:24)at processImmediate (internal/timers.js:456:21)
-
broadlink2.0 2020-06-20 13:36:10.976 warn (25555) Error in StateChange for broadlink2.0.RM:Broadlink_RM4Pro._LearnRF = RangeError: toString() radix argument must be between 2 and 36at Number.toString (<anonymous>)at RM4P.sendPacket (/opt/iob broadlink2.0 2020-06-20 13:36:10.398 info (25555) Start RF-sweep with RM:Broadlink_RM4Pro: Please press button on RF remote until frequency found!
Das macht meiner mit der neuen Version auf GIT
und....bleibt im Learningmode und lernt keine RF.
Adapterneustart = reset. IR learning funktioniert wieder.broadlink2.0 2020-06-20 13:41:05.784 warn (25555) Error in StateChange for broadlink2.0.RM:Broadlink_RM4Pro._Learn = Error: Device RM:Broadlink_RM4Pro is still in learning mode and cannot start it again!at startLearning (/opt/iobroker/node_m broadlink2.0 2020-06-20 13:41:05.783 warn (25555) Device RM:Broadlink_RM4Pro is still in learning mode and cannot start it again!
-
@muckel
Verflixt, mit toString() auf eine Zahl braucht toString(16) für Hex-Ausgabe und auf einen buffer toString('hex')!
Das nennt man hard learning Auf git korrigiert! -
Ergebnis:
Keine Orange LED für Anlernmodus. Allerdings wieder frei nach der eingestellten Zeit.
RF-Learning nicht erfolgreich.broadlink2.0 2020-06-20 14:22:47.955 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:47.768 info (4762) Could not find frequency, will stop learning! broadlink2.0 2020-06-20 14:22:47.768 info (4762) Continue to press button on RF remote for maximal 1 seconds! broadlink2.0 2020-06-20 14:22:47.767 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:46.606 info (4762) Continue to press button on RF remote for maximal 2 seconds! broadlink2.0 2020-06-20 14:22:46.605 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:45.434 info (4762) Continue to press button on RF remote for maximal 3 seconds! broadlink2.0 2020-06-20 14:22:45.433 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:44.277 info (4762) Continue to press button on RF remote for maximal 4 seconds! broadlink2.0 2020-06-20 14:22:44.277 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:43.122 info (4762) Continue to press button on RF remote for maximal 5 seconds! broadlink2.0 2020-06-20 14:22:43.121 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:41.964 info (4762) Continue to press button on RF remote for maximal 6 seconds! broadlink2.0 2020-06-20 14:22:41.963 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:40.804 info (4762) Continue to press button on RF remote for maximal 7 seconds! broadlink2.0 2020-06-20 14:22:40.803 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The de broadlink2.0 2020-06-20 14:22:39.648 info (4762) Continue to press button on RF remote for maximal 8 seconds! broadlink2.0 2020-06-20 14:22:39.647 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:38.493 info (4762) Continue to press button on RF remote for maximal 9 seconds! broadlink2.0 2020-06-20 14:22:38.492 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:37.249 info (4762) Continue to press button on RF remote for maximal 10 seconds! broadlink2.0 2020-06-20 14:22:37.248 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:36.075 info (4762) Continue to press button on RF remote for maximal 11 seconds! broadlink2.0 2020-06-20 14:22:36.074 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:34.897 info (4762) Continue to press button on RF remote for maximal 12 seconds! broadlink2.0 2020-06-20 14:22:34.896 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:33.740 info (4762) Continue to press button on RF remote for maximal 13 seconds! broadlink2.0 2020-06-20 14:22:33.740 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:32.584 info (4762) Continue to press button on RF remote for maximal 14 seconds! broadlink2.0 2020-06-20 14:22:32.584 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:31.410 info (4762) Continue to press button on RF remote for maximal 15 seconds! broadlink2.0 2020-06-20 14:22:31.409 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:30.250 info (4762) Continue to press button on RF remote for maximal 16 seconds! broadlink2.0 2020-06-20 14:22:30.250 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:29.091 info (4762) Continue to press button on RF remote for maximal 17 seconds! broadlink2.0 2020-06-20 14:22:29.090 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:27.913 info (4762) Continue to press button on RF remote for maximal 18 seconds! broadlink2.0 2020-06-20 14:22:27.912 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:26.733 info (4762) Continue to press button on RF remote for maximal 19 seconds! broadlink2.0 2020-06-20 14:22:26.732 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:25.577 info (4762) Continue to press button on RF remote for maximal 20 seconds! broadlink2.0 2020-06-20 14:22:25.576 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:24.381 info (4762) Continue to press button on RF remote for maximal 21 seconds! broadlink2.0 2020-06-20 14:22:24.381 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:23.225 info (4762) Continue to press button on RF remote for maximal 22 seconds! broadlink2.0 2020-06-20 14:22:23.224 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:22.022 info (4762) Continue to press button on RF remote for maximal 23 seconds! broadlink2.0 2020-06-20 14:22:22.021 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:20.859 info (4762) Continue to press button on RF remote for maximal 24 seconds! broadlink2.0 2020-06-20 14:22:20.858 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:19.700 info (4762) Continue to press button on RF remote for maximal 25 seconds! broadlink2.0 2020-06-20 14:22:19.700 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:18.545 info (4762) Continue to press button on RF remote for maximal 26 seconds! broadlink2.0 2020-06-20 14:22:18.544 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:17.325 info (4762) Continue to press button on RF remote for maximal 27 seconds! broadlink2.0 2020-06-20 14:22:17.324 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:16.136 info (4762) Continue to press button on RF remote for maximal 28 seconds! broadlink2.0 2020-06-20 14:22:16.136 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:14.982 info (4762) Continue to press button on RF remote for maximal 29 seconds! broadlink2.0 2020-06-20 14:22:14.981 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:13.826 info (4762) Continue to press button on RF remote for maximal 30 seconds! broadlink2.0 2020-06-20 14:22:13.825 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:12.668 info (4762) sendPacket error: could not send command 0x6a after 3 trials!: SendPacketErr {cmd: 106,command: 238,cmdHex: '0xee',payload: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>,err: 'The d broadlink2.0 2020-06-20 14:22:12.451 info (4762) Start RF-sweep with RM:Broadlink_RM4Pro: Please press button on RF remote until frequency found! broadlink2.0 2020-06-20 14:21:54.853 info (4762) found macs: 24:df:a7:d3:27:57, 24:df:a7:7a:b0:5f broadlink2.0 2020-06-20 14:21:54.853 info (4762) broadlink2.0 started and found 2 devices named RM:Broadlink_RM4Pro, RM:Broadlink_RM3Mini broadlink2.0 2020-06-20 14:21:48.633 info (4762) Device RM:Broadlink_RM3Mini dedected: address=192.168.0.140, mac=24:df:a7:7a:b0:5f, typ=rm4, id=0x5f36 devtype=RM Mini 3 broadlink2.0 2020-06-20 14:21:48.626 info (4762) Device RM:Broadlink_RM4Pro dedected: address=192.168.0.141, mac=24:df:a7:d3:27:57, typ=rm4p, id=0x6026 devtype=rm4p broadlink2.0 2020-06-20 14:21:48.488 info (4762) discover [ '192.168.0.255', '255.255.255.255', '224.0.0.251' ] from 192.168.0.230:38036 broadlink2.0 2020-06-20 14:21:48.433 info (4762) Discover Broadlink devices for 10sec on broadlink2.0 broadlink2.0 2020-06-20 14:21:48.431 info (4762) macObjects: [ '24:df:a7:7a:b0:5f', '24:df:a7:d3:27:57' ] broadlink2.0 2020-06-20 14:21:48.430 info (4762) Devices to rename: broadlink2.0 2020-06-20 14:21:48.430 info (4762) Devices to add: [ [Array] ] 0x6026=rm4p broadlink2.0 2020-06-20 14:21:48.429 info (4762) Scanning additional IP's: broadlink2.0 2020-06-20 14:21:48.427 info (4762) broadlink2 initialization started... broadlink2.0 2020-06-20 14:21:48.335 info (4762) starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.broadlink2, node: v12.16.2, js-controller: 3.1.5 broadlink2.0 2020-06-20 14:21:44.016 info (2035) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason broadlink2.0 2020-06-20 14:21:44.016 info (2035) terminating broadlink2.0 2020-06-20 14:21:44.016 info (2035) Adapter disconnected and stopped with dostop(null) and callback(true) broadlink2.0 2020-06-20 14:21:44.015 info (2035) Got terminate signal TERMINATE_YOURSELF
-
Ok, habe gesehen dass der Befehl 0x6a gesendet wird und es scheinen die Daten für den RM4 anders liegen zu müssen als für die normalen RM's. habe das RM4-Protokoll testweise angeglichen.
Allerdings hab ich keinen RM4P und kann nur RMP testen, das funktioniert noch...p.s.: Das kommt davon wenn man sourcecode von anderen glaubt, war auch bei der LB1 das selbe dass der Original Python-code nicht funktioniert hat und ich rausfinden musste was da faul ist.
-
Wird immer besser!
Orange LED kommt! Leider wird der Code noch immer nicht angelernt.
Wie gesagt, wurde der Code in der Cloud App gefunden und hat funktioniert.broadlink2.0 2020-06-20 14:48:41.973 info (21909) Could not find frequency, will stop learning! broadlink2.0 2020-06-20 14:48:41.973 info (21909) Continue to press button on RF remote for maximal 1 seconds! broadlink2.0 2020-06-20 14:48:40.917 info (21909) Continue to press button on RF remote for maximal 2 seconds! broadlink2.0 2020-06-20 14:48:39.882 info (21909) Continue to press button on RF remote for maximal 3 seconds! broadlink2.0 2020-06-20 14:48:38.852 info (21909) Continue to press button on RF remote for maximal 4 seconds! broadlink2.0 2020-06-20 14:48:37.816 info (21909) Continue to press button on RF remote for maximal 5 seconds! broadlink2.0 2020-06-20 14:48:36.782 info (21909) Continue to press button on RF remote for maximal 6 seconds! broadlink2.0 2020-06-20 14:48:35.735 info (21909) Continue to press button on RF remote for maximal 7 seconds! broadlink2.0 2020-06-20 14:48:34.706 info (21909) Continue to press button on RF remote for maximal 8 seconds! broadlink2.0 2020-06-20 14:48:33.665 info (21909) Continue to press button on RF remote for maximal 9 seconds! broadlink2.0 2020-06-20 14:48:32.634 info (21909) Continue to press button on RF remote for maximal 10 seconds! broadlink2.0 2020-06-20 14:48:31.600 info (21909) Continue to press button on RF remote for maximal 11 seconds! broadlink2.0 2020-06-20 14:48:30.567 info (21909) Continue to press button on RF remote for maximal 12 seconds! broadlink2.0 2020-06-20 14:48:29.535 info (21909) Continue to press button on RF remote for maximal 13 seconds! broadlink2.0 2020-06-20 14:48:28.495 info (21909) Continue to press button on RF remote for maximal 14 seconds! broadlink2.0 2020-06-20 14:48:27.466 info (21909) Continue to press button on RF remote for maximal 15 seconds! broadlink2.0 2020-06-20 14:48:26.425 info (21909) Continue to press button on RF remote for maximal 16 seconds! broadlink2.0 2020-06-20 14:48:25.395 info (21909) Continue to press button on RF remote for maximal 17 seconds! broadlink2.0 2020-06-20 14:48:24.357 info (21909) Continue to press button on RF remote for maximal 18 seconds! broadlink2.0 2020-06-20 14:48:23.326 info (21909) Continue to press button on RF remote for maximal 19 seconds! broadlink2.0 2020-06-20 14:48:22.298 info (21909) Continue to press button on RF remote for maximal 20 seconds! broadlink2.0 2020-06-20 14:48:21.269 info (21909) Continue to press button on RF remote for maximal 21 seconds! broadlink2.0 2020-06-20 14:48:20.234 info (21909) Continue to press button on RF remote for maximal 22 seconds! broadlink2.0 2020-06-20 14:48:19.198 info (21909) Continue to press button on RF remote for maximal 23 seconds! broadlink2.0 2020-06-20 14:48:18.164 info (21909) Continue to press button on RF remote for maximal 24 seconds! broadlink2.0 2020-06-20 14:48:17.129 info (21909) Continue to press button on RF remote for maximal 25 seconds! broadlink2.0 2020-06-20 14:48:15.996 info (21909) Continue to press button on RF remote for maximal 26 seconds! broadlink2.0 2020-06-20 14:48:14.973 info (21909) Continue to press button on RF remote for maximal 27 seconds! broadlink2.0 2020-06-20 14:48:13.938 info (21909) Continue to press button on RF remote for maximal 28 seconds! broadlink2.0 2020-06-20 14:48:12.890 info (21909) Continue to press button on RF remote for maximal 29 seconds! broadlink2.0 2020-06-20 14:48:11.860 info (21909) Continue to press button on RF remote for maximal 30 seconds! broadlink2.0 2020-06-20 14:48:10.617 info (21909) Start RF-sweep with RM:Broadlink_RM4Pro: Please press button on RF remote until frequency found! broadlink2.0 2020-06-20 14:47:46.752 info (21909) found macs: 24:df:a7:d3:27:57, 24:df:a7:7a:b0:5f broadlink2.0 2020-06-20 14:47:46.752 info (21909) broadlink2.0 started and found 2 devices named RM:Broadlink_RM4Pro, RM:Broadlink_RM3Mini broadlink2.0 2020-06-20 14:47:40.483 info (21909) Device RM:Broadlink_RM3Mini dedected: address=192.168.0.140, mac=24:df:a7:7a:b0:5f, typ=rm4, id=0x5f36 devtype=RM Mini 3 broadlink2.0 2020-06-20 14:47:40.419 info (21909) Device RM:Broadlink_RM4Pro dedected: address=192.168.0.141, mac=24:df:a7:d3:27:57, typ=rm4p, id=0x6026 devtype=RM4 Pro broadlink2.0 2020-06-20 14:47:40.278 info (21909) discover [ '192.168.0.255', '255.255.255.255', '224.0.0.251' ] from 192.168.0.230:55706 broadlink2.0 2020-06-20 14:47:40.226 info (21909) Discover Broadlink devices for 10sec on broadlink2.0 broadlink2.0 2020-06-20 14:47:40.224 info (21909) macObjects: [ '24:df:a7:7a:b0:5f', '24:df:a7:d3:27:57' ] broadlink2.0 2020-06-20 14:47:40.223 info (21909) Devices to rename: broadlink2.0 2020-06-20 14:47:40.223 info (21909) Devices to add: [] broadlink2.0 2020-06-20 14:47:40.222 info (21909) Scanning additional IP's: broadlink2.0 2020-06-20 14:47:40.220 info (21909) broadlink2 initialization started... broadlink2.0 2020-06-20 14:47:40.159 info (21909) starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.broadlink2, node: v12.16.2, js-controller: 3.1.5
-
noch ein log im debug modus
broadlink2.0 2020-06-20 15:01:21.257 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = broadlink2.0 2020-06-20 15:01:21.256 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Could not find frequency, will stop learning! broadlink2.0 2020-06-20 15:01:21.255 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 1 seconds! broadlink2.0 2020-06-20 15:01:21.043 info (9399) Could not find frequency, will stop learning! broadlink2.0 2020-06-20 15:01:21.042 info (9399) Continue to press button on RF remote for maximal 1 seconds! broadlink2.0 2020-06-20 15:01:20.065 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 2 seconds! broadlink2.0 2020-06-20 15:01:20.019 info (9399) Continue to press button on RF remote for maximal 2 seconds! broadlink2.0 2020-06-20 15:01:19.000 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 3 seconds! broadlink2.0 2020-06-20 15:01:18.996 info (9399) Continue to press button on RF remote for maximal 3 seconds! broadlink2.0 2020-06-20 15:01:18.017 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 4 seconds! broadlink2.0 2020-06-20 15:01:17.972 info (9399) Continue to press button on RF remote for maximal 4 seconds! broadlink2.0 2020-06-20 15:01:16.981 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 5 seconds! broadlink2.0 2020-06-20 15:01:16.932 info (9399) Continue to press button on RF remote for maximal 5 seconds! broadlink2.0 2020-06-20 15:01:15.917 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 6 seconds! broadlink2.0 2020-06-20 15:01:15.870 info (9399) Continue to press button on RF remote for maximal 6 seconds! broadlink2.0 2020-06-20 15:01:14.855 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 7 seconds! broadlink2.0 2020-06-20 15:01:14.845 info (9399) Continue to press button on RF remote for maximal 7 seconds! broadlink2.0 2020-06-20 15:01:13.869 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 8 seconds! broadlink2.0 2020-06-20 15:01:13.822 info (9399) Continue to press button on RF remote for maximal 8 seconds! broadlink2.0 2020-06-20 15:01:12.806 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 9 seconds! broadlink2.0 2020-06-20 15:01:12.798 info (9399) Continue to press button on RF remote for maximal 9 seconds! broadlink2.0 2020-06-20 15:01:11.779 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 10 seconds! broadlink2.0 2020-06-20 15:01:11.774 info (9399) Continue to press button on RF remote for maximal 10 seconds! broadlink2.0 2020-06-20 15:01:10.793 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 11 seconds! broadlink2.0 2020-06-20 15:01:10.750 info (9399) Continue to press button on RF remote for maximal 11 seconds! broadlink2.0 2020-06-20 15:01:09.758 debug (9399) system.adapter.admin.0: logging true broadlink2.0 2020-06-20 15:01:08.707 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 13 seconds! broadlink2.0 2020-06-20 15:01:08.703 info (9399) Continue to press button on RF remote for maximal 13 seconds! broadlink2.0 2020-06-20 15:01:07.689 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 14 seconds! broadlink2.0 2020-06-20 15:01:07.678 info (9399) Continue to press button on RF remote for maximal 14 seconds! broadlink2.0 2020-06-20 15:01:06.660 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 15 seconds! broadlink2.0 2020-06-20 15:01:06.654 info (9399) Continue to press button on RF remote for maximal 15 seconds! broadlink2.0 2020-06-20 15:01:05.638 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 16 seconds! broadlink2.0 2020-06-20 15:01:05.630 info (9399) Continue to press button on RF remote for maximal 16 seconds! broadlink2.0 2020-06-20 15:01:04.599 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 17 seconds! broadlink2.0 2020-06-20 15:01:04.596 info (9399) Continue to press button on RF remote for maximal 17 seconds! broadlink2.0 2020-06-20 15:01:03.649 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 18 seconds! broadlink2.0 2020-06-20 15:01:03.565 info (9399) Continue to press button on RF remote for maximal 18 seconds! broadlink2.0 2020-06-20 15:01:02.547 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 19 seconds! broadlink2.0 2020-06-20 15:01:02.540 info (9399) Continue to press button on RF remote for maximal 19 seconds! broadlink2.0 2020-06-20 15:01:01.518 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 20 seconds! broadlink2.0 2020-06-20 15:01:01.507 info (9399) Continue to press button on RF remote for maximal 20 seconds! broadlink2.0 2020-06-20 15:01:00.477 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 21 seconds! broadlink2.0 2020-06-20 15:01:00.471 info (9399) Continue to press button on RF remote for maximal 21 seconds! broadlink2.0 2020-06-20 15:00:59.447 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 22 seconds! broadlink2.0 2020-06-20 15:00:59.441 info (9399) Continue to press button on RF remote for maximal 22 seconds! broadlink2.0 2020-06-20 15:00:58.406 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 23 seconds! broadlink2.0 2020-06-20 15:00:58.402 info (9399) Continue to press button on RF remote for maximal 23 seconds! broadlink2.0 2020-06-20 15:00:57.356 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 24 seconds! broadlink2.0 2020-06-20 15:00:57.351 info (9399) Continue to press button on RF remote for maximal 24 seconds! broadlink2.0 2020-06-20 15:00:56.315 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 25 seconds! broadlink2.0 2020-06-20 15:00:56.311 info (9399) Continue to press button on RF remote for maximal 25 seconds! broadlink2.0 2020-06-20 15:00:55.283 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 26 seconds! broadlink2.0 2020-06-20 15:00:55.279 info (9399) Continue to press button on RF remote for maximal 26 seconds! broadlink2.0 2020-06-20 15:00:54.248 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 27 seconds! broadlink2.0 2020-06-20 15:00:54.239 info (9399) Continue to press button on RF remote for maximal 27 seconds! broadlink2.0 2020-06-20 15:00:53.211 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 28 seconds! broadlink2.0 2020-06-20 15:00:53.204 info (9399) Continue to press button on RF remote for maximal 28 seconds! broadlink2.0 2020-06-20 15:00:52.575 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 29 seconds! broadlink2.0 2020-06-20 15:00:52.570 debug (9399) system.adapter.admin.0: logging false broadlink2.0 2020-06-20 15:00:52.169 info (9399) Continue to press button on RF remote for maximal 29 seconds! broadlink2.0 2020-06-20 15:00:51.185 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Continue to press button on RF remote for maximal 30 seconds! broadlink2.0 2020-06-20 15:00:51.140 info (9399) Continue to press button on RF remote for maximal 30 seconds! broadlink2.0 2020-06-20 15:00:49.904 info (9399) debug: ChangeState ack:true of RM:Broadlink_RM4Pro = Start RF-sweep with RM:Broadlink_RM4Pro: Please press button on RF remote until frequency found! broadlink2.0 2020-06-20 15:00:49.898 info (9399) Start RF-sweep with RM:Broadlink_RM4Pro: Please press button on RF remote until frequency found! broadlink2.0 2020-06-20 15:00:49.897 info } broadlink2.0 2020-06-20 15:00:49.897 info (9399) debug: Change broadlink2.0.RM:Broadlink_RM4Pro._LearnRF to { val: false, ack: false, ts: 1592658049893, q: 0, from: 'system.adapter.admin.0', user: 'system.user.admin', lc: 1592658049893 broadlink2.0 2020-06-20 15:00:06.367 debug (9399) system.adapter.admin.0: logging true
-
So, Hab noch etwas herausgefunden.
Wenn der RF-learning aktiv ist bleibt die orange LED 30 sekunden auf on. Kein RF signal von mir ausgesendet!
Wenn ich im RF-learning die FB kontinuierlich drücke, geht die LED nach einer gewissen zeit aus. wie wenn er einen code empfangen hätte. Die zeit im Adapter läuft weiter. Code findet er im Adapter allerdings keinen. -
Genau das wars was gefehlt während dieser 30 Sekunden sucht er die Frequenz und jede Sekunde fragt der Adapter ob sie gefunden wurde. Wenn ja war das der Zeitpunkt als die Led ausging, der Adapter bekam das aber anscheinend nicht mit, habe eine kleine Änderung gemacht damit der Adapter die Antwort eventuell besser interpretiert... Anscheinend ist die Antwort bei R auf git!
-
Du bist ein Genie! Funktioniert!
Wie ist deine PayPal Adresse, damit ich dich auf ein Bier einladen kann! -
Dann bin ich froh! Es ist nicht so leicht wenn man kein Gerät hat um selbst die Erfahrung zu machen...
Aber bitte nochmal von git laden, habe mit der Fehlerausgabe noch einen bug eingebaut der bei Bestimmten Fehlern zum Abbruch führt anstatt ihn zu loggen... Hab's gerade geändert!
Übrigens, der Adapter wird jetzt auch auf nodejs V14 getestet und funktioniert dort auch! Das wollte ich für V2.1 noch machen, allerdings braucht er jetzt mindestens V10.1!
p.s.: frankjoke@hotmail.com
-
Hab die neue Version vom GIT installiert.
Danke für deinen Einsatz.
Falls du wieder einen Tester für einen Broadlink brauchst, funk mich einfach an.
Prost -
-
-
Lass es dir schmecken. Du hast es dir verdient.
Bin gerade am programmieren mit meinem Home-Cinema, da ja jetzt, dank dir, meine Leinwand funktioniert.
Bei dem wunderschönen Wetter ein guter Zeitvertreib.Eine Frage hätte ich allerdings noch:
Wenn ich einen state auf true setze, damit dein Adapter ein IR, oder RF Signal abgibt, bleibt er auf true, dann muss ich ihn wieder auf false setzten, damit er später wieder dieses Signal abgibt.
Oder hab ich da einen Denkfehler? -
@muckel sagte in Adapter: broadlink2:
@frankjoke
...
Wenn ich einen state auf true setze, damit dein Adapter ein IR, oder RF Signal abgibt, bleibt er auf true, dann muss ich ihn wieder auf false setzten, damit er später wieder dieses Signal abgibt.
Oder hab ich da einen Denkfehler?Du kannst immer einfach true schicken, brauchst nicht auf false setzten.
Wenn du die Admin-Objekte-Ansicht nicht auf Expertenmodus hast erscheint statt dem true/false ein button (so wie die Glocke bei einer Rezeption) und auf den kannst einfack klicken ohne noch true/false eingeben zu müssen!
-
-
@frankjoke
Temperaturen und Luftfeuchtigkeit werden nicht angezeigt, aber das soll auch nur mit dem speziellen USB Kabel gehen. Kommt diese Woche wahrscheinlich bei mir an.
Gebe dann Info ob es geht oder nicht,