Home

Home Assistant, and Kubernetes, and Z-Wave, Oh My!

Home Assistant + Z-Wave For the last 3 years or so, I’ve been running Home Assistant for my home automation needs. I’ve gone through a couple iterations with it being hosted on bare metal on a raspberry pi, in a python virtual environment, and within a docker container. I started off mainly with just smart lights so wi-fi bulbs worked pretty wel...

Read more

When Errors are Promises

Under what circumstances will the following code end up logging the rejected promise message to the console? foo() .catch((err) => { console.log(`Promise Rejected. reason = '${err}'`); }); When foo returns a rejected promise like so const foo = () => { return Promise.reject('Rejected Promise'); }; The console will l...

Read more