Belkin 让我智能开关失效了。我在没有他们的应用程序的情况下让它重新工作了。
我在十多年前从Belkin购买了一个WiFi开关,但应用程序已经停止服务。<p>我想用这个开关来自动化我的驱蚊器。不幸的是,它仍然在运行圣诞节时设置的定时器,这意味着它关得太早了。这影响了我昨晚的睡眠。<p>早上第一件事我打开了应用程序,想要更改定时器。<p>但应用程序离线,我在网上看到它已经停用。现在这个开关基本上变成了垃圾。<p>起初我很生气,但随后我给我的AI助手下了一个指令:<p>“在我的本地网络中找到WiFi开关。应用程序已经结束生命周期。尝试连接到它,并将定时器设置为晚上10点开启,早上8点关闭。”<p>几分钟后,它告诉我已经完成。<p>我让它解释是如何做到的。<p>它在网络中找到了设备,并发现了一个开放协议,因此可以快速地开关设备。<p>它深入挖掘,找到了pywemo,这是一个开源库,允许它读取设备中保存的定时器。<p>它自己备份了现有的定时器。<p>然后,它使用这个库将新的定时器推送到设备。这意味着即使没有WiFi或我的电脑,开关也能独立工作。<p>我是一名程序员,我本来也可以做到这一点,但我认为我至少需要一天的时间来完成这一切。它在几分钟内就完成了。<p>我真的很高兴Belkin关闭了他们糟糕的应用程序。反正用户体验也不好。<p>现在我可以通过我的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'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>"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"<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.