Comment on A new quest appears...
Zikeji@programming.dev 1 day agoTake it a step further with Tasker and your sleep taking app. Lights go off when I start sleep tracking, lights come on with alarm.
Comment on A new quest appears...
Zikeji@programming.dev 1 day agoTake it a step further with Tasker and your sleep taking app. Lights go off when I start sleep tracking, lights come on with alarm.
nodiratime@lemmy.world 22 hours ago
You can do that in HO no problem. No need for proprietary stuff (tasker has really lost it’s charm).
Zikeji@programming.dev 19 hours ago
HO? DJ you mean HA or something else I’m unfamiliar with? I didn’t see any option in the companion app or when creating and automation to trigger based on an Android intent.
nodiratime@lemmy.world 18 hours ago
Sorry, I meant HA. I just recently set this up, it’s not 100% the same, but very, very similar. I have some wake up system, and when I go to bed, I scan a ncf Tag (just hold the unlocked phone next to it). There is an android next alarm sensor in the companion app, and when this changes (under time conditions), the next alarm is set in HA. The Tag kills all lighting and sets the alarm (which was set earlier) to active, triggering the wake up system some time before the next alarm is set to go off.
djdarren@piefed.social 3 hours ago
Meanwhile, I just have a big button on my Home Assistant home screen on my phone that turns off all my lights. It’s great.
Zikeji@programming.dev 17 hours ago
I don’t consider that similar.
My current workflow I use the Sleep as Android app, I click “Start sleep tracking” and the lights go off (+ other stuff). When the app wakes me up the lights come on. The app has support for Tasker’s plugin system, which makes it easily possible. I could use Automate, another proprietary app, but prefer Tasker thanks to the support I received from the dev (in fact I’ve received good support from both Sleep and Tasker).
If I was to switch to a physical setup that required an NFC tag, I’d probably still use Tasker to initiate sleep tracking in Sleep as Android.
Funky_Beak@lemmy.sdf.org 18 hours ago
I have it linked to my watch sleep mode. Hit sleep lights turn off.