Open-Home-Automation
Open-Home-Automation copied to clipboard
Help with ha_mqtt_binary_sensor_ble_scanner
First I would like to thank you for this sketch, just what I been looking for.
- Can you help me understand how to use "MAX_NON_ADV_PERIOD"? (Edit.: I think I understand it but anything over 5000 (5 secs) doesn't seem to work.)
- How best to implement a feature to only publish to mqtt when (RSSI() > -##)? "##" being any number enter by the user, like (65,75, or 80). This way I can kinda limit the area it can see the ble device. I have no Arduino sketching experience, so I wouldn't dare mess with a sketch that was written so beautifully. So your help would be much appreciated. Thanks in advanced
- because if more than 5s the program will be slowed to read and excetuted