What is the difference - specifically - between passive and active scanning for the configuration for Shelly devices that are acting as bluetooth gateways?
This is how it is explained at the HA Shelly Bluetooth Gateway setting interface:
Bluetooth scanning can be active or passive. With active, the Shelly requests data from nearby devices; with passive, the Shelly receives unsolicited data from nearby devices.
So in passive mode the Shelly is listening only (using less power and bandwidth), and in active mode the Shelly is actively requesting for data.
I configured a Shelly 2PM (fw 1.4.0) with the Active mode and Passive mode.
I them compared the scripts that HA sent to my Shelly and they are both equal.
I also compared the Shelly configuration (http://my-shelly-ip/rpc/Shelly.GetConfig) with Active mode and Passice mode and there is no change no matter the selected mode.
Can someone explain this?
The script that HA uploads to the Shelly should differ depending on the mode: In this line the %active%
is replaced with true
or false
.