Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RM4Pro not working #118

Open
cobra98 opened this issue Feb 11, 2021 · 8 comments
Open

RM4Pro not working #118

cobra98 opened this issue Feb 11, 2021 · 8 comments

Comments

@cobra98
Copy link

cobra98 commented Feb 11, 2021

Seems like the adapter can only beeing installed by broadlink app
https://www.amazon.de/gp/product/B07CNP9MGS/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Guess not possible to use it iobroker or?
Any RF Adapter working? Or can i make it run by setting the correct device type? 0xabcd=RM4 or other code?
Is there a list of devicetypes and code available or how to know the correct one?

@benep
Copy link

benep commented Feb 13, 2021

Works without problems. Read the readme.md (https://github.com/frankjoke/ioBroker.broadlink2#note-on-new-rm4lb1-devices)

Then search for the device type id in your logs and add for example 25916=RM4P to your settings. The P is important.

0xabcd=RM4 is for RM4 Mini without RF
0xabcd=RM4P is for RM4 Pro with RF

@serav993
Copy link

hi, i've nearly the same prob.
I'm not able to bring the rm4pro into my wifi with "e smart home or e-control" App. Do you may know any other well working method for this ?

@benep
Copy link

benep commented Feb 24, 2021

I used the new BroadLink app "Universal TV Remote". But I had to switch my router manually to WiFi 3 (802.11b+g) mode and only 2.4GHz. Just for the pairing, afterwards you can use whatever mode you want.
When the app ask you to give your RM4P a name, close the app and go to ioBroker.

@serav993
Copy link

serav993 commented Feb 24, 2021

I'll try it tonight.
Edit: It works!!! Thanks a lot!!
But I also needed to set the IOBroker Adapter Instance to Beta, to get the newest Update V 2.15. In stable version 2.0.3, it doesn't work for me!

@serav993
Copy link

Work perfect. Thank a lot!!

@ChrisWoehrle
Copy link

Kann mir jemand helfen? Habe wie beschrieben den RM4Pro im WLAN eingeloggt und dann die App beende ohne Name usw.
Die Instanz findet das Gerät auch, zeigt mir aber keinen Learn Button in den Datenpunkten an.

image

Hier meine Settings in der Instanz:
image

Und hier der Log nach Neustart der Instanz
`

2021-12-23 08:44:23.359 - info: host.raspberrypi stopInstance system.adapter.broadlink2.0 (force=false, process=true)

2021-12-23 08:44:23.385 - info: broadlink2.0 (19746) Got terminate signal TERMINATE_YOURSELF
2021-12-23 08:44:23.386 - info: broadlink2.0 (19746) Close all connections...
2021-12-23 08:44:23.391 - info: broadlink2.0 (19746) Adapter disconnected and stopped with dostop(null) and callback(true)
2021-12-23 08:44:23.392 - info: broadlink2.0 (19746) terminating
2021-12-23 08:44:23.395 - info: broadlink2.0 (19746) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2021-12-23 08:44:23.400 - info: host.raspberrypi stopInstance system.adapter.broadlink2.0 send kill signal
2021-12-23 08:44:24.106 - info: host.raspberrypi instance system.adapter.broadlink2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2021-12-23 08:44:26.449 - info: host.raspberrypi instance system.adapter.broadlink2.0 started with pid 25845
2021-12-23 08:44:28.143 - info: broadlink2.0 (25845) starting. Version 2.1.5 in /opt/iobroker/node_modules/iobroker.broadlink2, node: v12.22.1, js-controller: 3.3.21
2021-12-23 08:44:29.419 - info: broadlink2.0 (25845) broadlink2 initialization started...
2021-12-23 08:44:29.422 - info: broadlink2.0 (25845) Scanning additional IP's: 192.168.1.199
2021-12-23 08:44:29.425 - info: broadlink2.0 (25845) Devices to add: 0xabcd=RM4P
2021-12-23 08:44:29.426 - info: broadlink2.0 (25845) Devices to rename: LB:hostName-aa-bb-cc=LB:SmartBulb
2021-12-23 08:44:29.427 - info: broadlink2.0 (25845) broadlink2 has 0 old devices!
2021-12-23 08:44:29.431 - info: broadlink2.0 (25845) interface to be used: { netmaskBits: 24, address: '192.168.178.122/24', addrs: [ 192, 168, 178, 122 ], cidr: '192.168.178.122/24', bcaddr: '192.168.178.255'
}:
2021-12-23 08:44:29.432 - info: broadlink2.0 (25845) macObjects: []
2021-12-23 08:44:29.464 - info: broadlink2.0 (25845) Discover Broadlink devices for 10sec on broadlink2.0
2021-12-23 08:44:29.486 - info: broadlink2.0 (25845) interface to be used: { netmaskBits: 24, address: '192.168.178.122/24', addrs: [ 192, 168, 178, 122 ], cidr: '192.168.178.122/24', bcaddr: '192.168.178.255'
}:
2021-12-23 08:44:29.488 - info: broadlink2.0 (25845) discover [ '192.168.178.255', '255.255.255.255', '224.0.0.251' ] from 192.168.178.122:34410
2021-12-23 08:44:29.658 - info: broadlink2.0 (25845) Device UN:BroadLink-WiFi-Device-23-ae-58 detected: address=192.168.178.69, mac=ec:0b:ae:23:ae:58, typ=unknown, id=0x649b devtype=UKN
2021-12-23 08:44:29.674 - warn: broadlink2.0 (25845) Unknown UN:BroadLink-WiFi-Device-23-ae-58 with { address: '192.168.178.69', port: 80, devtype: 25755, oname: '智能遥控', cloud: 0, maco: , mac: 'ec:0b:ae:23:ae:58', type: 'unknown', name: 'UN:BroadLink-WiFi-Device-23-ae-58', devname: 'UKN', devhex: '0x649b', names: [ 'BroadLink-WiFi-Device-23-ae-58' ], iname: 'UN:BroadLink-WiFi-Device-23-ae-58'
}
2021-12-23 08:44:34.712 - info: broadlink2.0 (25845) interface to be used: { netmaskBits: 24, address: '192.168.178.122/24', addrs: [ 192, 168, 178, 122 ], cidr: '192.168.178.122/24', bcaddr: '192.168.178.255'
}:
2021-12-23 08:44:34.714 - info: broadlink2.0 (25845) discover [ '192.168.1.199' ] from 192.168.178.122:50905
2021-12-23 08:44:38.955 - warn: broadlink2.0 (25845) Invalid State without name or 'on' string: { name: 'Christbaumlichter', on: '', off: '' }
2021-12-23 08:44:38.956 - warn: broadlink2.0 (25845) Invalid State without name or 'on' string: { name: '', on: '', off: '' }
2021-12-23 08:44:38.957 - warn: broadlink2.0 (25845) Invalid State without name or 'on' string: { name: '', on: '', off: '' }
2021-12-23 08:44:38.967 - warn: broadlink2.0 (25845) Unknown UN:BroadLink-WiFi-Device-23-ae-58 with { address: '192.168.178.69', port: 80, devtype: 25755, oname: '智能遥控', cloud: 0, maco: , mac: 'ec:0b:ae:23:ae:58', type: 'unknown', name: 'UN:BroadLink-WiFi-Device-23-ae-58', devname: 'UKN', devhex: '0x649b', names: [ 'BroadLink-WiFi-Device-23-ae-58' ], iname: 'UN:BroadLink-WiFi-Device-23-ae-58'
}
2021-12-23 08:44:38.969 - info: broadlink2.0 (25845) interface to be used: { netmaskBits: 24, address: '192.168.178.122/24', addrs: [ 192, 168, 178, 122 ], cidr: '192.168.178.122/24', bcaddr: '192.168.178.255'
}:
2021-12-23 08:44:38.971 - info: broadlink2.0 (25845) discover [ '192.168.178.69' ] from 192.168.178.122:57865
2021-12-23 08:44:41.189 - info: broadlink2.0 (25845) Poll every 30 secods.
2021-12-23 08:44:41.192 - info: broadlink2.0 (25845) broadlink2.0 started and found 1 devices named UN:BroadLink-WiFi-Device-23-ae-58
2021-12-23 08:44:41.193 - info: broadlink2.0 (25845) found macs: ec:0b:ae:23:ae:58
2021-12-23 08:45:41.195 - info: broadlink2.0 (25845) interface to be used: { netmaskBits: 24, address: '192.168.178.122/24', addrs: [ 192, 168, 178, 122 ], cidr: '192.168.178.122/24', bcaddr: '192.168.178.255'
}:
2021-12-23 08:45:41.198 - info: broadlink2.0 (25845) discover [ '192.168.178.69' ] from 192.168.178.122:55847

`

@benep
Copy link

benep commented Dec 23, 2021

Dein Gerät wird vom Adapter schon gefunden. Sieht aus als hättest du meine Beispiel-ID bei der Konfiguration verwendet. Wenn ich mich recht erinnere musst du die ID (0x und dann 4 Zeichen) von deinem Gerät in den Logs suchen und bei "Neues Gerätetype(n)" in der Konfiguration verwenden.

@ChrisWoehrle
Copy link

Klasse, danke für die schnelle Hilfe! Das wars!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants