mjg59 / python-broadlink

Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs
MIT License
1.35k stars 477 forks source link

RM Mini 3 Not Connecting #804

Open Jab2870 opened 2 weeks ago

Jab2870 commented 2 weeks ago

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

Nardol commented 2 weeks ago

Is your computer only connected to the Broadlink access point so not using E.G. Ethernet?

Nardol commented 2 weeks ago

Or did you try to specify a broadcast address E.G. broadlink.setup('myssid', 'mynetworkpass', 3, ip_address='192.168.0.255')

Jab2870 commented 2 weeks ago

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.

Jab2870 commented 2 weeks ago

And just to add, even if the broadcast was failing, I'd spill expect to see the device connected to the network after authenticating.

palamosteliaro commented 2 weeks ago

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'"