cross-posted from: https://lemmy.ca/post/35018512

Far more than c/mildlyinfuriating

You are viewing a single thread.
View all comments
7 points
*

I found a “smart” Wi-Fi bulb in the trash and used a throwaway phone to pair it through its app. It was adjustable white and RGB, so I put it in the bathroom and thought I’d trigger it to be dim red (cicardian rhythm, you know) whenever it was night (using a built-in RTC, NTP or light sensor, heck, even a double switch click, whatever it was capable of). Well, nope! It only connects to Wi-Fi when powered on (understandable) and only takes orders from an external server god-knows-where, with limited local functionality (party-light cycling, WB matching, optionally remembering the last setting). It does not notify the server when its power turns on (events only work when switched via app or smart button by the server) so it cannot be configured as a “smart event”. The closest I could do would be to create a time event every minute:

22:00 turn on 25% red
22:01 turn on 25% red
22:02 turn on 25% red
•••
04:29 turn on 25% red
04:30 turn on 100% warm white
04:31 turn on 100% warm white
•••
21:59 turn on 100% warm white

I’m pretty sure there is a limit to timed actions and I can’t just do it this way, so I’m not writing a shell script that does the cca 10k keypresses required. I guess I know why it got trashed while still working as intended.

I’ll be looking into Home *Assistant and see if there is a compatible firmware to flash on this piece of shit. Or I’ll just use my electrical engineering skills to combine red and orange LEDs into another bulb and give it a separate switch. *(Edit)

permalink
report
reply
3 points

That’s how it started. Now I am at hundreds of smart devices, 3 servers and thousands of lines of code for all the logic 😏 And we also forgot how light switches work when we’re not home 😬

permalink
report
parent
reply

This is not my Life

!thisisnotmylife@lemm.ee

Create post

WTF humanity‽

Keep discussion civil, please. No trolling, flamebaiting, etc.

Community stats

  • 801

    Monthly active users

  • 24

    Posts

  • 76

    Comments