1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.5k stars 775 forks source link

presenceUseBeaconUuid doesn't work anymore since V1.7.0 #1839

Open RoBra81 opened 6 months ago

RoBra81 commented 6 months ago

Describe the bug Since version 1.7.0 although presenceUseBeaconUuid is activated mac address will be send in MQTT presence message. Work find till version 1.6.0

To Reproduce Steps to reproduce the behavior:

  1. Enable HASS presence: mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"hasspresence":true}'
  2. Enable presenceUseBeaconUuid: mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"presuseuuid":true}'
  3. Check MQTT messages

Expected behavior The uuid should be used as id within MQTT message

Environment (please complete the following information):

absentwallaby commented 6 months ago

I'm having the same issue.

1technophile commented 6 months ago

Could you try to set the minimum rssi to -10 https://docs.openmqttgateway.com/use/ble.html#setting-the-minimum-rssi-accepted-to-publish-device-data-default-100

And see if it works

This would enable to confirm an hypothesis

absentwallaby commented 6 months ago

ok - this is what I have set in ".../MQTTtoBT/config"

{"presuseuuid":true,"pubuuid4topic":true,"presenceawaytimer":60000,"save":true,"minrssi":-10}

RoBra81 commented 5 months ago

Any news on this?

1technophile commented 5 months ago

I will check it before releasing the new version

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 90 days with no activity.