家庭自动化图书馆

发布于 2024-07-10 11:25:21 字数 1560 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

情徒 2024-07-17 11:25:21

我们发现 Insteon 确实没有太多开发人员支持,除非您想购买他们的 SDK 并同意他们相当严厉的许可协议。 我们没有走这条路,而是编写了自己的 .NET 库,名为 FluentDwelling 并将其开源。 如果您点击该链接,您可以找到下载链接和一些入门代码示例。

源代码附带一整套单元测试(需要 NUnit,也是免费的),因此您可以根据需要添加改进并进行更改。

We found there really wasn't much developer support for Insteon unless you wanted to buy their SDK and agree to their rather heavy-handed license agreement. Rather than go that route, we wrote our own .NET library called FluentDwelling and we open-sourced it. You can find a download link, and some get-you-started code samples if you follow that link.

The source code comes with a full suite of unit tests (requires NUnit, also free), so you can add improvements and make changes if you like.

韶华倾负 2024-07-17 11:25:21

我会像躲避瘟疫一样避开 X10。 在现代电视和电源板、桥接电源接线盒和普通奇怪的接线等之间,X10 信号往往会“消失”,永远不会到达目的地。

如果你真的想尝试一下 X10,我车库里有一盒 X10 的东西,价值 250 多美元,是全新的,但在我家里完全没用,所以你可以拥有它。 其中一些在我的老房子里有用,但它连我现在住的地方两个插座的灯都开不了。

X10 被大多数现代电子产品视为线路上的“噪音”(从技术上讲,确实如此),需要过滤掉而不是传递或单独留下。

I would avoid X10 like the plague. Between things like modern TV's and power strips, bridged power junction boxes and just plain strange wiring, X10 signals tend to just "disappear" and never get to their destination.

If you really want to give X10 a shot, I've got a box of X10 stuff in the garage that was worth $250+ new and it's all completely useless in my house, so you can have it. Some of it worked in my old house, but it won't so much as turn a light on 2 outlets away where I live now.

X10 is viewed by most modern electronics as "noise" on the line (which, technically, it is) and something to be filtered out rather than passed along or left alone.

初懵 2024-07-17 11:25:21

我不记得它是否涵盖了您提到的具体技术,但您绝对应该查看这个.NET Rocks 的一集。 他们讨论了家庭自动化可以做的所有不同的事情,以及如何做的很多内容。 我相信要点之一是 Microsoft Robotics Studio 是一个很好用的工具,因为它使用了许多与您原本使用的相同的抽象。

I can't remember if it covers the specific technologies you mention but you should definately check out this episode of .NET Rocks. They talk about all the different stuff you can do with home automation and a lot about how to do it. I believe one of the main points was that Microsoft Robotics Studio was a good tool to use, as it uses a lot of the same abstractions as you would otherwise use.

反差帅 2024-07-17 11:25:21

我知道这篇文章发表已有很长时间了,但是我想知道您是否选择了一条路线,以及此后您最终对家庭自动化做了什么。

我一直在使用许多可用的技术来做这类事情,但我总是在一个名为 homeseer 的产品之上完成它。 .net 插件以及 vb.net 和 c# 脚本编写可以在此基础上完成。 我一直在考虑自己推出类似于您所描述的内容。 你有什么想法、建议、决定等吗?

I know it's been a long time since this post was made, however I was wondering if you'd picked a route, and what you've ended up doing with home automation since.

I've been doing this kind of stuff with many of the technologies available, but I've always done it on top of a product called homeseer. .net plug-ins and vb.net and c# scripting can be done on top of this foundation. I've been thinking of rolling my own similar to what you were describing. Any thoughts, tips, decisions you've made etc?

触ぅ动初心 2024-07-17 11:25:21

有点偏离主题,但请听一下最新一集的 d​​ot net rock,我的 .net 故事的决赛入围者之一构建了一个家庭自动化解决方案,这确实让我想再次深入研究家庭自动化。
完全很棒的解决方案。

http://www.dotnetrocks.com/default.aspx?showNum=518

A bit off topic, but listen to the latest episode of dot net rocks, one of the finalists of my .net story built an home automation solution that really made me want to dive into home automation again.
Totally awsome solution.

http://www.dotnetrocks.com/default.aspx?showNum=518

琴流音 2024-07-17 11:25:21

我认为这将是一个起点
insteon sdk

I think this would bee a place to start
insteon sdk

世界如花海般美丽 2024-07-17 11:25:21

通过 Google 进行的一些寻找 Insteon SDK 的研究只能产生早先的东西2005。 仅有关串行端口接口(无 USB)的信息,并且唯一提到的语言是称为 DockLight 脚本,看起来自 2005 年以来就没有更新过。

X10,另一方面,它还支持 C++、VisualBasic、VB Script 和 JavaScript。 未列出 .Net,但 VisualBasic/VB 脚本可能意味着您可以轻松导入以在 C# 中使用的 COM 对象。 它们对 USB 也更加友好,而且该套件的成本是 Insteon 套件的 1/4(50 美元 vs 200 美元)。

如果您实际上正在构建产品,我会理解可靠性问题。 但由于这是一个家庭项目,我认为 X10 会给你带来更好的运气。

Some research via Google looking for an Insteon SDK only yields stuff from way back in 2005. There's only information on serial port interfaces (no USB) and the only language mentioned is something called DockLight scripting that also looks like it hasn't been updated since 2005.

X10, on the other hand, boasts support for C++, VisualBasic, VB Script, and JavaScript. No .Net listed, but VisualBasic/VB Script likely implies a COM object you can easily import for use in C#. They're also much more USB friendly, and the kit costs 1/4 of the Insteon kit ($50 vs $200).

If you were actually building a product I would understand the reliability concern. But since this is a home project I think you'll have much better luck with X10.

甜警司 2024-07-17 11:25:21

您可以尝试 Clipsal(施耐德)的 C-bus,它是免费的。

you can try C-bus by Clipsal(schneider) it's free.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文