Developing on a Raspberry Pi using Gulpjs
Developing on one machine and running on another is a tedious process but sometimes you need to when a library has different features for ARM vs x64 and the then there is always the Windows vs Linux issues. This was the issue I had when I was working on a Raspberry Pi project using Python, I got everything working on Windows and then copied it over to the Pi thinking the libraries would work the same between the two but they didn’t.
more...Making a Hass.io add-ons for Life360
When I moved from SmartThings to Home Assistant one of the features I lost was the Life360 integration so I decided to try and create an addon instead of moving to something like OwnTracks. I have been using Life360 for years and I have had a great experience with them in the past so I wanted to at least try to integrate it into Home Assistant. Since then I have heard that a few of the location tracking platforms in Home Assistant aren’t 100% reliable so I am glad I went this route. Again, I have no experience with other location tracking platforms so it is just word of mouth.
more...Home Automation with HASS.io and Home Assistant
When it comes to managing a smart home I like to have everything in one places and up until a few weeks ago, I did that using SmartThings. Recently I found out I needed to spend $100 to get the new hub to allow for some new features I wanted so I started looking at alternatives. Somehow I ran across Bruh Automation’s videos on YouTube where he talks about Home Assistant and it seemed like a good platform so I took one of my spare Raspberry Pi’s and threw it on there and I was sold on it!
more...Using base classes in SignalR 2 and Angular 2
On one of my projects I used SignalR pretty extensivly in an Angular 1.6 application and I was using the angular-signalr-hub library to integrate it into my application. It worked very well but I am moving to Angular 2 so I needed to find a way to do it without having to use the library and I was hoping to get to a more object oriented way of doing it.
With Typescript you can use base classes so I ended up coming up with the following and overall I really like how it came out. Everything that comes from the server passes through here so I can intercept whatever I need which actually came in handy. For date values I had some instances where they came through as strings and arrays came through as array-like objects. I just parsed them internally and my calling code know the difference.
more...