<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Philips Hue - Category - GoToGuy Blog</title><link>https://gotoguy.blog/categories/philips-hue/</link><description>Philips Hue - Category - GoToGuy Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 11 Dec 2020 08:58:42 +0000</lastBuildDate><atom:link href="https://gotoguy.blog/categories/philips-hue/" rel="self" type="application/rss+xml"/><item><title>Blog Series - Power'ing up your Home Office Lights: Part 10 - Subscribe to Graph and Teams Presence to automatically set Hue Lights based on my Teams Presence!</title><link>https://gotoguy.blog/2020/12/11/blog-series-powering-up-your-home-office-lights-part-10-subscribe-to-graph-and-teams-presence-to-automatically-set-hue-lights-based-on-my-teams-presence/</link><pubDate>Fri, 11 Dec 2020 08:58:42 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/11/blog-series-powering-up-your-home-office-lights-part-10-subscribe-to-graph-and-teams-presence-to-automatically-set-hue-lights-based-on-my-teams-presence/</guid><description>This blog post is part of the Blog Series: Power&amp;rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&amp;mdash;powering-up-your-home-office-lights-using-power-platform&amp;mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
In this last part of the blog series, we will build on the previous blog post where we could get the presence status from Teams to the Hue Power App. Now we will use Microsoft Graph and subscribe to change notifications for presence, so that both the Power App and my Hue Lights will automatically change status based on the presence.</description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 9 - Using Microsoft Graph to get Teams Presence and show state in PowerApp.</title><link>https://gotoguy.blog/2020/12/10/blog-series-powering-up-your-home-office-lights-part-9-using-microsoft-graph-to-get-teams-presence-and-show-state-in-powerapp/</link><pubDate>Thu, 10 Dec 2020 15:12:49 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/10/blog-series-powering-up-your-home-office-lights-part-9-using-microsoft-graph-to-get-teams-presence-and-show-state-in-powerapp/</guid><description>This blog post is part of the Blog Series: Power&amp;rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&amp;mdash;powering-up-your-home-office-lights-using-power-platform&amp;mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
In this part 9 we will use Microsoft Graph to get the logged in user Teams Presence, and show that state in the PowerApp.
I have previously written another post on Teams Presence, Microsoft Graph and requirements here: Subscribing to Teams Presence with Graph API using Power Platform | GoToGuy Blog .</description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 8 - Using Power Automate Flows to Get and Set Lights State</title><link>https://gotoguy.blog/2020/12/09/blog-series-powering-up-your-home-office-lights-part-8-using-power-automate-flows-to-get-and-set-lights-state/</link><pubDate>Wed, 09 Dec 2020 22:33:00 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/09/blog-series-powering-up-your-home-office-lights-part-8-using-power-automate-flows-to-get-and-set-lights-state/</guid><description>This blog post is part of the Blog Series: Power&amp;rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&amp;mdash;powering-up-your-home-office-lights-using-power-platform&amp;mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
In Part 7 we built the main screen of the PowerApp, the topic for today is to build Flows and the PowerApp screen for controlling the Hue Lights:
If you want a quick summary of how this screen works, take a look at this video:</description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 7 - Building the PowerApp for Hue to Get Config and Link user</title><link>https://gotoguy.blog/2020/12/08/blog-series-powering-up-your-home-office-lights-part-7-building-the-powerapp-for-hue-to-get-config-and-link-user/</link><pubDate>Tue, 08 Dec 2020 20:45:26 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/08/blog-series-powering-up-your-home-office-lights-part-7-building-the-powerapp-for-hue-to-get-config-and-link-user/</guid><description><![CDATA[This blog post is part of the Blog Series: Power&rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&mdash;powering-up-your-home-office-lights-using-power-platform&mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
With the Power Automate Flows we&rsquo;ve built in the previous parts, we should now be able to get the Link and Whitelist the user and get the Hue Bridge Configuration details. It is time to build the main screen of the &ldquo;Hue PowerApp&rdquo;!]]></description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 6 - Using Power Automate Flow to Link Button and Whitelist user</title><link>https://gotoguy.blog/2020/12/07/blog-series-powering-up-your-home-office-lights-part-6-using-power-automate-flow-to-link-button-and-whitelist-user/</link><pubDate>Mon, 07 Dec 2020 16:08:49 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/07/blog-series-powering-up-your-home-office-lights-part-6-using-power-automate-flow-to-link-button-and-whitelist-user/</guid><description>This blog post is part of the Blog Series: Power&amp;rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&amp;mdash;powering-up-your-home-office-lights-using-power-platform&amp;mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
In the previous part 5 we created the first Power Automate Flow of the solution, for retreiving the Access Token and getting the configuration of the Hue Bridge via Remote API. To get all the configuration details of the Bridge, we were dependent on that the user had a Whitelist Identifier in the Microsoft List, and this is the Flow we will be working on in this blog post.</description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 5 - Using Power Automate Flow to Get Access Token and Config</title><link>https://gotoguy.blog/2020/12/06/blog-series-powering-up-your-home-office-lights-part-5-using-power-automate-flow-to-get-access-token-and-config/</link><pubDate>Sun, 06 Dec 2020 22:08:50 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/06/blog-series-powering-up-your-home-office-lights-part-5-using-power-automate-flow-to-get-access-token-and-config/</guid><description><![CDATA[This blog post is part of the Blog Series: Power&rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&mdash;powering-up-your-home-office-lights-using-power-platform&mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
In previous parts we have built the logic for authorizing and getting Bearer Token for Hue Remote API, and storing that as a Secret in Azure Key Vault, now it&rsquo;s time to move over to the user side of things.]]></description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 4 - Using Logic Apps to Get Access Token and Renew Access Token if needed</title><link>https://gotoguy.blog/2020/12/05/blog-series-powering-up-your-home-office-lights-part-4-using-logic-apps-to-get-access-token-and-renew-access-token-if-needed/</link><pubDate>Sat, 05 Dec 2020 16:00:50 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/05/blog-series-powering-up-your-home-office-lights-part-4-using-logic-apps-to-get-access-token-and-renew-access-token-if-needed/</guid><description>This blog post is part of the Blog Series: Power&amp;rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&amp;mdash;powering-up-your-home-office-lights-using-power-platform&amp;mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
After building the Logic App in part 3 that will authorize and get access token via Oauth2, we will now create another Logic App that will retrieve the Bearer Token from the Key Vault secret, and renew the Token using Refresh Token whenever it is expired.</description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 3 - Using Logic Apps to Authorize and Get Access Token using Oauth and Hue Remote API</title><link>https://gotoguy.blog/2020/12/04/blog-series-powering-up-your-home-office-lights-part-3-using-logic-apps-to-authorize-and-get-access-token-using-oauth-and-hue-remote-api/</link><pubDate>Fri, 04 Dec 2020 11:15:45 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/04/blog-series-powering-up-your-home-office-lights-part-3-using-logic-apps-to-authorize-and-get-access-token-using-oauth-and-hue-remote-api/</guid><description>This blog post is part of the Blog Series: Power&amp;rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&amp;mdash;powering-up-your-home-office-lights-using-power-platform&amp;mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
Now that we have registered the application for Hue Remote API, and stored the client Id and Secret in Azure Key Vault, we can start build the Logic App that will authorize and get access token via Oauth2.</description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 2 - Prepare Azure Key Vault for storing your API secrets</title><link>https://gotoguy.blog/2020/12/03/blog-series-powering-up-your-home-office-lights-part-2-prepare-azure-key-vault-for-storing-your-api-secrets/</link><pubDate>Thu, 03 Dec 2020 15:05:17 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/03/blog-series-powering-up-your-home-office-lights-part-2-prepare-azure-key-vault-for-storing-your-api-secrets/</guid><description>This blog post is part of the Blog Series: Power&amp;rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
[https://gotoguy.blog/2020/12/02/blog-series&amp;mdash;powering-up-your-home-office-lights-using-power-platform&amp;mdash;introduction/ ](https://gotoguy.blog/2020/12/02/blog-series---powering-up-your-home-office-lights-using-power-platform---introduction/ )
Continuing on Part 1, where we created an App Registration for Hue Remote API, I will need a secure place to store the App credentials like Client ID and Secret. I will also need to store the Access Token and Refresh Token, so that I can retrieve it when I need to call the Hue Remote API, and use the Refresh Token to renew the Access Token when it expires.</description></item><item><title>Blog Series - Power'ing up your Home Office Lights: Part 1 - Get to know your Hue Remote API and prepare for building your solution</title><link>https://gotoguy.blog/2020/12/02/blog-series-powering-up-your-home-office-lights-part-1-get-to-know-your-hue-remote-api-and-prepare-for-building-your-solution/</link><pubDate>Wed, 02 Dec 2020 13:41:10 +0000</pubDate><author>Jan Vidar Elven</author><guid>https://gotoguy.blog/2020/12/02/blog-series-powering-up-your-home-office-lights-part-1-get-to-know-your-hue-remote-api-and-prepare-for-building-your-solution/</guid><description><![CDATA[This blog post is part of the Blog Series: Power&rsquo;ing up your Home Office Lights with Power Platform. See introduction post for links to the other articles in the series:
https://gotoguy.blog/2020/12/02/blog-series&mdash;powering-up-your-home-office-lights-using-power-platform&mdash;introduction/ In this first part I wanted to introduce the requirements and preparations for automating with your Home Lights API. In my case I&rsquo;m using Philips Hue, as Hue has a well developed API that also can be accessed from remote.]]></description></item></channel></rss>