wfdudley / T-watch-2020

a watch project for the TTGO T-watch-2020 version 1
BSD 3-Clause "New" or "Revised" License
84 stars 27 forks source link

BLE Beacon #7

Closed anarchking closed 3 years ago

anarchking commented 3 years ago

I think it would be very useful to have an app that you click a button and it turns on the ble Beacon Broadcasting so other devices can be scanning in all rooms so you're so you're smart home can recognize what room you're in.

Example: https://github.com/nkolban/ESP32_BLE_Arduino/blob/master/examples/BLE_iBeacon/BLE_iBeacon.ino

wfdudley commented 3 years ago

I've never heard of that. I'll research that. My biggest worry is that it will run the battery down quickly.

Bill Dudley

This email is free of malware because I run Linux.

On Sun, Nov 1, 2020 at 9:11 AM Stephen Littman notifications@github.com wrote:

I think it would be very useful to have an app that you click a button and it turns on the ble Beacon Broadcasting so other devices can be scanning in all rooms so you're so you're smart home can recognize what room you're in.

Example: https://github.com/nkolban/ESP32_BLE_Arduino/blob/master/examples/BLE_iBeacon/BLE_iBeacon.ino

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wfdudley/T-watch-2020/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYU7KKSFCLSHKTF2UB43SNVUBHANCNFSM4TGRMX7A .

anarchking commented 3 years ago

I was thinking a way to make a option to turn it on when connected to home network or mqtt server and only run when motion is active, maybe even a timer for not running in the middle of the night.

wfdudley commented 3 years ago

One problem is that the watch goes to sleep regularly, or the battery will quickly die. I don't know how to keep the bluetooth system alive during those sleep times. I don't see how this can work. But I'm also not expert enough in power management on the T-watch 2020 to be able to speak authoritatively.

Bill Dudley

This email is free of malware because I run Linux.

On Sun, Nov 1, 2020 at 1:05 PM Stephen Littman notifications@github.com wrote:

I was thinking a way to make a option to turn it on when connected to home network or mqtt server and only run when motion is active, maybe even a timer for not running in the middle of the night.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wfdudley/T-watch-2020/issues/7#issuecomment-720128221, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYUYMDG5TO2JYII2YH53SNWPODANCNFSM4TGRMX7A .

wfdudley commented 3 years ago

Since I don't know anything about the problem space, and have no way to test if it works or not, I won't be working on this.