jnthas / clockwise

do-it-yourself, full-featured and smart wall clock device
https://clockwise.page
MIT License
263 stars 34 forks source link

Turn the display on/off (or adjust brightness) remotely #32

Closed joelhauxwell closed 1 year ago

joelhauxwell commented 1 year ago

I built this last week for my 6yo son and he LOVES it - thankyou for an amazing project.

It would be awesome if it could be controlled remotely - maybe via MQTT? He isn't in his room most of the day (while as school!) and i could set up an automation in home assistant/node red to turn it off/on.

Unfortunately I do not have the programming skills to add this feature and have no idea how big the task would be to know if its even reasonable to ask!

Some pics of the build for anyone interested (i used a photo frame from IKEA and 3D printed a bezel):

20230531_131747

20230531_132021

20230531_131959

20230531_132038

jnthas commented 1 year ago

That's amazing! I don't know if you like, but a matte acrylic in front of display with the frame will be even better. Congrats anyways. Please, if you share the design of 3d printed parts I will find some place to make it available for everyone.

Answering your question, it's possible make an HTTP request and set the display bright to zero. I replied a similar question here https://github.com/jnthas/clockwise/issues/18

joelhauxwell commented 1 year ago

Thankyou for the link to the previous question/answer about remote control - i have been able to integrate it with Home Assistant and its working great!

Of course id be happy to share more details of what I put together - just let me know when there is a place.

Joel.

mateuszdrab commented 1 year ago

Wow, I like that frame @joelhauxwell. I've just put my display on a tablet stand as I wasn't sure what to use as a frame.

I guess the best place to share would be your own github repo with a readme page and perhaps the 3d design files, maybe the link to the Ikea product.

If you do this, I'll definitely make one for myself.

jnthas commented 1 year ago

I agree. Please, share it in a Github repo or on websites like Thingiverse.