Let’s say we have a power meter like the one that sense makes. Let’s also say that the API for this power meter is a little underwhelming. In this hypothetical situation, we can fetch the current home power usage so we could certainly wire up an observable stream to this API and (assuming we’re using…
Category Archives: Angular
Home Automation Dashboard
Hardware I recently put together this Home Automation Dashboard. The screen was pulled from an old laptop and the computer is an older SFF PC running linux. The application is a relatively simple Angular application that streams most of the data from a Home Assistant websocket. The PC sits in a box in the wall…
Watch/transpile/refresh loop with an Angular 6 component library
TL;DR Update tsconfig.json to reference the library project instead of the dist folder The Problem With recent updates to the angular cli, it’s now trivial to setup and package an angular component library. However, developing changes in that component library can be a clunky process. The goal of this post is to get your components…