SamZorSec / Open-Home-Automation

Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
MIT License
960 stars 197 forks source link

Help with ha_mqtt_binary_sensor_ble_scanner #38

Open drbent15 opened 6 years ago

drbent15 commented 6 years ago

First I would like to thank you for this sketch, just what I been looking for.

  1. 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.)
  2. 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
Wirefren commented 4 years ago
  1. because if more than 5s the program will be slowed to read and excetuted