从团队中的Microsoft图形将您的状态镜像到LIFX或Hue偏光

During the Microsoft Build keynote last week - that you can watch free online here - we snuck in a LOT of detail and easter eggs. We planned the whole thing out like a live stage play (I have a background in theatre) and one of the things that mattered to me was lighting.

在上周的Microsoft Build主题演讲中(您可以在这里免费在线观看) ,我们在其中详细介绍很多细节和复活节彩蛋。 我们把整个事情计划得像现场表演(我在剧院有背景)一样,而对我来说最重要的事情之一就是照明

If you're going to watch something you for an extended time you'll need a little visual interest. Ya gotta mix it up! So I partnered with LIFX and Isaac Levin to accomplish two things:

如果您想长时间观看某些东西,则需要一点视觉上的兴趣。 你要把它混起来! 因此,我与LIFXIsaac Levin合作完成了两件事:

  • Can we change room lighting to match Teams/Skype/Slack/Whatever presence status?

    我们可以更改房间照明以匹配“团队” /“ Skype” /“松弛” /“任何状态”吗?
  • Can we change room lighting to match the Windows Theme/Background accent color?

    我们可以更改房间的灯光以使其与Windows主题/背景的配色相匹配吗?
    • If I'm not mirroring my pretense status, pull the accent color out and change the light.

      如果我没有镜像自己的伪装状态,请拉出强调色并更改灯光。

Here's what it looked like in the keynote:

主题演讲如下:

Purple light and Purple background
Green light and green background

The PresenceLight app is open source and up on Github by Isaac Levin and you can get it on the Windows Store free or in Chocolatey, WinGet, or download a nightly build.

PresenceLight应用程序是开源的,由Isaac Levin在Github上启动,您可以在Windows Store中免费获取它,也可以在Chocolatey,WinGet中获取它,或下载每晚版本。

So what's needed? We need an API to pull presence from and an API to push our chosen color to. So that's the Microsoft Graph that includes presence APIs. On the lighting side, using LIFX as an example, they have a great clean LIFX HTTP API.

那么需要什么呢? 我们需要一个API来吸引用户,并需要一个API来推动我们选择的颜色。 这就是包含状态显示APIMicrosoft Graph 。 在照明方面,以LIFX为例,它们具有出色的LIFX HTTP API

RANDOM: If you're looking for my wallpapers from the BUILD keynote, I've put them up here.

随机:如果您要从BUILD主题演讲中寻找我的壁纸,请把它们放在这里

Here's what the app looks like. You can auth against Phillips Hue, Yeelight or LIFX. The code for LIFX, as an example, is very clean.

这是应用程序的外观。 您可以对Phillips Hue,Yeelight或LIFX进行身份验证。 举例来说,LIFX代码很干净

PresenceLight

Check out Isaacs detailed blog post about PresenceLight with code samples and explanations! The LIFX folks also set up a 10% off coupon "BUILD" for use on their online store. I'm sure they'll sell out, but the LIFX Beam that I have is $99 refurbished.

查看Isaacs关于PresenceLight的详细博客文章,其中包含代码示例和说明! LIFX员工还设置了10%的优惠券“ BUILD”,可在其在线商店中使用。 我敢肯定他们会卖光的,但我拥有LIFX Beam已翻新了99美元

翻译自: https://www.hanselman.com/blog/mirroring-your-presence-status-from-the-microsoft-graph-in-teams-to-lifx-or-hue-bias-lighting

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值