![]() ![]() After a minute it should turn off and maybe there can be a Button on it which a Person could press to see the current status. When I start it should light Up to indicate that I am on my way. The Strip shouldn’t light up all the time. But I need a routine that takes my current Location, calculates the estimated time for me to reach home and transfers it into a device that starts a countdown based on that time and changes the Red LEDs Green as time passes. Visualizing a Timer is probably not that difficult. The LED Bar acts as a visual countdown and turns Green LED by LED as I get closer to home. My Idea is that I start a Trigger when I leave from work (Leaving a Zone or by pushing a Button) and at home a LED Bar Lights Up in Red. So I made up an Idea on how to visualize them when I am home. My Kids always asks my Wife “When does Daddy coming home?” and often she can’t give them an satisfying answer. My Idea is to create a LED Bar that indicates my Distance from home. I have an Idea for a Project but I am unsure where to Start and I hope maybe to get some hints or some tipps for the right direction. The lines in the following could be a little bit different for you.you need tocsearch the right linesġ.1 remove date: at the bottom would be to delete 2 lines at around line 411 and 412 where the code says let updatedAt = addStyledText(widget, 't: ' + timeFormatter.string(new Date()), updatedAtFont) ġ.I am quite new to openhab and everything considering IoT, Smart Home and so on, but everyone started from scratch once, right? Thank you so much regardless of how many of my further questions you can answer!
0 Comments
Leave a Reply. |