RM Mini 3 Not Connecting
Hi
I've recently got a new RM mini 3. Following the instructions in the readme, I connect to it's access point.
However, the setup function doesn't appear to do anything. No errors, but also no output.
>>> import broadlink
>>> broadlink.setup('mysmartnetwork','password',3, ip_address='192.168.10.255')
However, the device never appears to connect to my network - nothing in my router anyway. Not really sure where to go next in terms of debugging.
Thanks in advance
Is your computer only connected to the Broadlink access point so not using E.G. Ethernet?
Or did you try to specify a broadcast address E.G. broadlink.setup('myssid', 'mynetworkpass', 3, ip_address='192.168.0.255')
Thanks for the prompt reply.
Is your computer only connected to the Broadlink access point so not using E.G. Ethernet?
Yes, only connected to the Broadlink device, although re-connects to my home network once the device's AP goes down.
Or did you try to specify a broadcast address E.G.
broadlink.setup('myssid', 'mynetworkpass', 3, ip_address='192.168.0.255')
Yes, the broadcast address for the network I am trying to connect it to is 10.255, but I did try that.
And just to add, even if the broadcast was failing, I'd spill expect to see the device connected to the network after authenticating.
I have the same issue with a RM4 mini. No output, just a new line and the device doesn't connect on my network, it stays connected to the laptop's wifi. Trying to specify the ip of the RM4M in the command gives error "setup() got an unexpected keyword argument 'ip_address'"
I had this same issue trying to connect my RM Mini 3 using an existing 2.4 Ghz SSID
I managed to solve this by creating a new SSID using Legacy mode on 2.4Ghz just for the RM Mini 3 to connect to.
My WAPs are running OpenWRT, examples for SSID and Key:
SSID = EXAMPLE-SSID-JUST-FOR-RM-MINI3
Encryption mode = WPA-PSK/WPA2-PSK Mixed Mode
Cipher = auto
Key = mysupersecretkey
Put the RM Mini 3 into AP mode and connected to it using my iPhone
This network is 192.168.10.x so you need to use 192.168.10.255 as the broadcast address below for this to work.
I used the iOS App a-shell - https://holzschu.github.io/a-Shell_iOS/ to run the following python code:
pip install broadlink
python
import broadlink
broadlink.setup('EXAMPLE-SSID-JUST-FOR-RM-MINI3', 'mysupersecretkey', 4, ip_address='192.168.10.255')
The RM Mini 3 then successfully joined my network.