Git Product home page Git Product logo

somfy-home-controller's Introduction

coko-banner

Hey, I'm Coko

I like computers and stuff

๐Ÿ˜ whoami?

I am lazy and curious.

  • Lazy because I'd rather spend time automating tasks rather than executing them manually. As soon as something becomes repetitive, I will look for a way to automate it. I can't help it.
  • Curious because I love to learn about the world of computing. There is so much to discover that I will never see the end of it, and that's where the fun stems from.

It's really amazing how far computers have come. The more I learn about computers, the more I realize how little I know about them.

๐Ÿ“š Keep on learning

I enjoy learning new things, this is what keeps me going in life.

While I have a preference for writing code, I love to learn about everything that has to do with computers and how they work.

I have done a lot of web development because this has always been the easiest way for me to share what I create with others. Ultimately though, as long I find an idea, project, or technology interesting, I will certainly have fun working with it.

One of my most memorable projects was starting from scratch and making a fully working minimalistic CPU using logic gates (only virtually though, I have yet to build it for real). It was very different from web development, but that's precisely why I had so much fun working on it.

๐Ÿ‘๏ธ Privacy focus

I am a privacy-focused guy and I like to be mindful of where my data goes. I spend a lot of time picking the tools and apps I want to use, and making sure they align with my values.

I strongly support the Open-source-software movement and apart from the few indie games I play, I rely primarily on FLOSS for my daily usage. I have listed some of the apps I use in the my-floss repository.

This naturally lead me to Linux, and I prefer to stay away from Windows and Microsoft when I can.

But, setting aside the data collection aspect, the reason I pick Linux over Windows is for the ability to customize my system exactly how I want it.

Check out my system config files if you are interested. Arch user btw.

๐Ÿ› ๏ธ Familiar Techs

Checkout THE LIST to get an idea of things I have used (languages, software, tools, etc.)

๐Ÿšถ Computer Journey

I am keeping a history of the important milestones and events that populate my computer journey. You can find it here

somfy-home-controller's People

Contributors

coko7 avatar riceeter avatar

Watchers

 avatar

somfy-home-controller's Issues

Use suncalc npm package to get sunrise/sunset

Thanks to ChatGPT, it appears that there was already a package for getting sun positions based on latitude, longitude and timestamp all along!

It is the suncalc package by mourner: https://www.npmjs.com/package/suncalc

Very easy to use and good enough documentation too.

The next step is to replace the current implementation to use this package instead of reading sun positions from a prefetched CSV file. The times are relatively the same as the ones in the CSV, but they should be even more accurate as you can provide the exact latitude, longitude and altitude as well.

Add unit tests

Add unit tests for testing whether certain actions are executed at the right time of the day.
External lib such as Jest can be used.

Add more logs

It would be useful to have the following logs:

  • When the script starts for the first time, log the time of the next event (open shutters if before sunrise, close shutters if before sunset)
  • After each event, log the time of the next event (time of open / close)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.