sbernhard / node-red-contrib-bt-presence

Node-RED node to scan for available bluetooth devices using l2ping
https://bernhard-suttner.de
Apache License 2.0
1 stars 4 forks source link

Report every ping #6

Closed borpin closed 1 year ago

borpin commented 5 years ago

Rather than create a separate node for each device to be pinged, I have created a branch (https://github.com/borpin/node-red-contrib-bt-presence/tree/bpo) that will use a new listener I have created for bt-presence (https://github.com/cmvee/bt-presence/pull/9) to return every ping result.

This has 2 additional configuration items, a topic item and a checkbox to set whether to output all pings or just the original output.

The specified topic will be prepended onto the mac address as the output topic. This can then be easily used in the likes of Home Assistant.

By default this is not a breaking change.

I have not pushed it as it requires the modified bt-presence node. If you wish it could go into a new Branch.

sbernhard commented 5 years ago

Very cool idea! Would love to merge it. Hopefully it gets merged soon into bt-presence. Than we can merge this feature back in node-red-contrib-bt-presence.

Thank you!