SmartThings Battery Replacement Cheat Sheet

I’m a heavy SmartThings user. Sometimes it can be pretty tricky knowing what batteries I need when I get notifications from different sensors telling me that they are running low and need a replacement. Battery Cheat Sheet: SmartThings Multi-Purpose Sensor Doors / Windows / Garage Doors 2450 SmartThings Water Leak Sensor Sinks / Appliances / … Continue reading SmartThings Battery Replacement Cheat Sheet

Planning a Home Automation System using SmartThings

I recently helped my Aunt and Uncle in California to plan a home automation / home security system using SmartThings and Arlo. In order to get the system setup they needed to make some upgrades to their home network. Their objectives were the following: Add better security to their detached garage Prevent packages from being … Continue reading Planning a Home Automation System using SmartThings

Unit Test Service Fabric Actors when Actors call other Actors

In order to be able to effectively unit test Azure Service Fabric Actors we use a NuGet package called "ServiceFabric.Mocks”. It’s truly fantastic. As the name implies it allows you to Mock all Service Fabric services, not just Actors but the Actor model has unique structure that makes it exceptionally helpful in testing. The way … Continue reading Unit Test Service Fabric Actors when Actors call other Actors

Updating Service Fabric version for an Actor: Step by Step

ONE. Upgrade Actor Projects to .NET Core 2.1 TWO. Update Remoting Provider Decorator [assembly: FabricTransportActorRemotingProvider(RemotingListenerVersion = RemotingListenerVersion.V2, RemotingClientVersion = RemotingClientVersion.V2)] THREE. Remove all references from Tests Project First remove all references to dependent projects (Actor, Actor.Interfaces, Actor.Mocks, Actor.Model). Second open the Package Manager console and run the following commands: Uninstall-Package Microsoft.ServiceFabric Uninstall-Package Microsoft.ServiceFabric.Services Uninstall-Package Microsoft.ServiceFabric.Services.Remoting … Continue reading Updating Service Fabric version for an Actor: Step by Step

DLLHell 2018: Upgrading Service Fabric Project from v3.1.283 to v3.2.176

I’m getting an error from each of my xUnit test projects that there is a package downgrade from Microsoft.NETCore.App from 2.0.9 to 2.0.0. I tried isolating the issue to one project so I unloaded all the test projects in my solution. Then I tried upgrading the version of .NET Core from v2.0 to v2.1. However … Continue reading DLLHell 2018: Upgrading Service Fabric Project from v3.1.283 to v3.2.176

Doing Public Cloud in China: Getting Started with Alibaba Cloud

Setting up Alibaba Cloud is very similar to AWS. However you need to do a couple of extra steps. Activate RAM Cloud Service Every service on Alibaba Cloud requires you to authorize its use. I think this is to make it clear that each service could result in costs being incurred. I actually like this … Continue reading Doing Public Cloud in China: Getting Started with Alibaba Cloud