贝尔金毁了我的智能开关。我不用他们的应用程序又把它修好了。

7作者: gaborme7 天前
我十多年前从 Belkin 买了一个 Wi-Fi 开关,但它的应用程序已经停用了。 我想用这个开关来自动化我的驱蚊器。不幸的是,它仍然运行着我从圣诞节设置的计时器,这意味着它过早地关闭了。这毁了我昨晚的睡眠。 一早醒来,我打开应用程序,想更改计时器。 应用程序离线了,我在网上查到它已经停产了。这个开关现在基本上成了垃圾。 我一开始很生气,但随后我给我的 AI 代理下了这样的指令: “在我的本地网络中找到这个 Wi-Fi 开关。应用程序已经停止支持。尝试连接它并将其计时器设置为晚上 10 点开启,直到早上 8 点。” 几分钟后,它告诉我它完成了。 我让它解释了它是如何做到的。 它在网络上找到了设备,并发现了一个开放协议,因此可以快速地开关它。 它深入挖掘,找到了 pywemo,一个开源库,让它能够读取设备上保存的计时器。 它自己备份了现有的计时器。 然后它使用该库将新的计时器推送到设备。这意味着,即使没有 Wi-Fi 或我的电脑,开关也能自主工作。 我是一名程序员,我也可以做到这一点,但我认为我至少需要一天的时间才能把这一切弄好。它在几分钟内就完成了。 我很高兴 Belkin 停用了他们糟糕的应用程序。反正用户体验也很差。 我现在可以通过我的 Hermes 代理在 Discord 上与我的开关聊天。
查看原文
I bought a wifi switch from Belkin over 10 years ago, but the app got turned off.<p>I wanted to use the switch to automate my mosquito repellent. Unfortunately it still had my timer running from Christmas, which meant it turned off too early. It ruined my last night&#x27;s sleep.<p>First thing in the morning I opened the app and wanted to change the timer.<p>The app was offline and I read online that it is discontinued. The switch is basically garbage now.<p>I was pissed at first, but then I gave my AI agent the following prompt:<p>&quot;Find the wifi switch in my local network. The app is end of life. Try to connect to it and change the timer to 22:00 ON until 8am&quot;<p>A few minutes later it told me that it was done.<p>I let it explain how it did it.<p>It found the device on the network and found an open protocol so it could quickly turn it on and off.<p>It dug deeper and found pywemo, an open source library that let it read the saved timer from the device.<p>It made a backup of the existing timer by itself.<p>Then it used the library to push the new timer to the device. This meant that even without wifi or my computer, the switch worked autonomously.<p>I am a programmer and I could have done this too, but I think it would have taken me at least a day to put this all together. It did it all in a few minutes.<p>I am really happy that Belkin turned off their crappy app. It was not a good user experience anyway.<p>I can now just chat with my switch on Discord through my Hermes agent.