TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A smart plug to monitor your router and automatically reset power if WiFi fails

68 点作者 lukashed大约 9 年前

23 条评论

yoda_sl大约 9 年前
Interesting to see that. It turns out that around a month ago after seeing the Raspberry Pi project that send a tweet to Comcast when internet connection is slow, it gave me the motivation to use my Raspberry Pi 2 to do the following:<p>A- every 15 minutes check my internet connection: connectivity (reaching Goodle DNS host),<p>B- if connectivity fail, execute D-2 below, if not see next step below<p>C- then use SpeedTest download &#x2F; upload; if download&#x2F;upload speed are too slow then attempt a second test 30 seconds later<p>D- if the second attempt fail again then:<p>1- send an SMS with Twilio to my cell phone to let me know the modem will reboot, and wait 10 seconds<p>2- issue a &quot;off&quot; command to my Belkin Wemo (cable modem plugged into it), then wait another 30 seconds and issue a &quot;on&quot; command<p>On top of that I have installed InfluxDB + Grafana on my Pi so I can log the connection latency to Google DNS, and the download&#x2F;upload speed. Example:<p><a href="https:&#x2F;&#x2F;imgur.com&#x2F;gallery&#x2F;dgeFR" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;gallery&#x2F;dgeFR</a><p>The Belkin Wemo command do use only my local Wifi, so even if the modem is down since my Pi is on the same LAN it can control the Wemo without problem.<p>It was a fun little project for my Pi. All written in Python. If anyone interested I can probably post the code somewhere.<p>[<i>updated for formatting</i>]
评论 #11283170 未加载
评论 #11275401 未加载
LukeB_UK大约 9 年前
This is just the American version of the Kankun wireless plug with a script on it. The Kankun plug is like 1&#x2F;4 of the price: <a href="http:&#x2F;&#x2F;m.aliexpress.com&#x2F;item&#x2F;32613551938.html" rel="nofollow">http:&#x2F;&#x2F;m.aliexpress.com&#x2F;item&#x2F;32613551938.html</a><p>There&#x27;s a whole community about hacking these plugs: <a href="https:&#x2F;&#x2F;plus.google.com&#x2F;communities&#x2F;115308608951565782559" rel="nofollow">https:&#x2F;&#x2F;plus.google.com&#x2F;communities&#x2F;115308608951565782559</a>
评论 #11273754 未加载
评论 #11274055 未加载
评论 #11273478 未加载
评论 #11273259 未加载
benmorris大约 9 年前
A neat idea but why not take that $60 and buy a router that didn&#x27;t require resetting. They do exist. My Asus router just never needs reset. I have it on an ups unit and the only time it is reset is to do firmware upgrades.
评论 #11273452 未加载
评论 #11273873 未加载
评论 #11273162 未加载
评论 #11272952 未加载
评论 #11272910 未加载
评论 #11273349 未加载
评论 #11273437 未加载
justin_vanw大约 9 年前
Just buy a new router if you have a buggy one that needs restarted all the time.<p>This is silly and illogical, if you have a reliability problem fix it, adding more parts is not likely to help. What happens when this smart plug malfunctions and restarts your router every 5 minutes?
评论 #11274103 未加载
评论 #11274086 未加载
评论 #11275118 未加载
评论 #11274213 未加载
damian2000大约 9 年前
For half the price you could buy a Raspberry Pi that just runs a simple watchdog program doing the internet connectivity check. Upon a problem, it could connect to your modem&#x27;s web admin page and launch a restart from there.
评论 #11273015 未加载
mdip大约 9 年前
I&#x27;m a little skeptical about this product having had experience with some of these WiFi plug devices and as echoed by others, the price of this device is much higher than it should be.<p>I&#x27;ve been using Ankuoo and Maginon devices quite a bit at home -- they run around $25, are easy to setup, conveniently communicate information to Chinese owned domains (ok, that bit bugs me, but I&#x27;ve blocked the communication) and they are a script away from this product.<p>If this is based on the Marvell Chipset that so many of these devices are based on, I wonder how frequently it&#x27;ll reset the router not because WiFi went out but because the device dropped off the network due its own problems. I&#x27;ve had some <i>very</i> spotty results with a device that I had plugged into the same power strip as my router and a large number of other devices. Despite being 4 feet from the router, it continually dropped off the network until I moved it to a wall outlet far away from the power strip (I&#x27;m guessing interference from the myriad of moderately high wattage equipment I had plugged in but I&#x27;m no EE).<p>Something like this could be made on-the-cheap with a CHIP and a relay ($10 for the CHIP $5-10 for the relay, $~1-5 for USB power) and a little bit of scripting. Personally, I&#x27;ve wanted a feature like this since my router and cable modem are not easy to get to when I (rarely) need to cycle them. I purchased a 4-port relay and plan to pair it with a Banana Pro, wire it to Ethernet, set it up on WiFi and coupled with software running on my OpenWRT router, have it decide which to cycle in the event of an outage. Even with that complex of a build, I&#x27;m looking at $55.00 including power (which doesn&#x27;t count much for me since I&#x27;ve got a USB block with an available port that I plan to use).
lordnacho大约 9 年前
The WiFi may work without the internet working. Is there a plug that checks that? I get a lot of outages on the internet link side of things, not so many on the local wireless.
SideburnsOfDoom大约 9 年前
The @internetofshit Twitter account is already on this one:<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;internetofshit&#x2F;status&#x2F;708565761330176000" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;internetofshit&#x2F;status&#x2F;708565761330176000</a><p>&quot;On one level: this is a great idea On another level: WiFi routers shouldn&#x27;t be so shit that this exists&quot;<p>&quot;So many people saying they actually want this thing?! It&#x27;s apparently real&quot;
draw_down大约 9 年前
Is it normal for routers to need to be reset periodically? Seems like a pain.
评论 #11273455 未加载
评论 #11273351 未加载
评论 #11273994 未加载
评论 #11274057 未加载
dkopi大约 9 年前
This is one of those ingenious inventions that make you ask: &quot;Where have you been all of my life&quot;. Perfect for coffee shops, or when the router&#x27;s in a room that you can&#x27;t access without waking anyone up.<p>Of course in an ideal world, wireless routers would be smart enough to reset themselves, without having to add another $60 to their price. But we are only in 2016.
评论 #11272817 未加载
bhouston大约 9 年前
D-Link routers are the worst for this. About every 2 weeks it would require a set. I found ASUS to be way more reliable.
roylez大约 9 年前
Interestingly, this thing, made in China, has almost zero sales in China. Its price is a bit high, if compared to TL WR703n, which can do a lot more things. <a href="http:&#x2F;&#x2F;world.taobao.com&#x2F;search&#x2F;search.htm?_ksTS=1457807913660_20&amp;spm=a21bp.7806943.20151106.1&amp;search_type=0&amp;_input_charset=utf-8&amp;navigator=all&amp;json=on&amp;q=kankun&amp;cna=ZcrJDkAKZxgCAUCmbHpzICzD&amp;callback=__jsonp_cb&amp;abtest=_AB-LR517-LR854-LR895-PR517-PR854-PV895_2461" rel="nofollow">http:&#x2F;&#x2F;world.taobao.com&#x2F;search&#x2F;search.htm?_ksTS=145780791366...</a>
acd大约 9 年前
You can also add a watch scripts that pings a known address and if does not work it reboots the router. Zero hardware required which is better than throwing electronic waste in the environment.
MrQuincle大约 9 年前
&quot;Identification of a modem: automatically reset modem when anomalous behavior is detected.&quot;<p><a href="https:&#x2F;&#x2F;www.kickstarter.com&#x2F;projects&#x2F;dobots&#x2F;crownstone" rel="nofollow">https:&#x2F;&#x2F;www.kickstarter.com&#x2F;projects&#x2F;dobots&#x2F;crownstone</a><p>Prior art. So you can just get our open source power outlets without patent-pending stuff.
lttlrck大约 9 年前
A super cheap way to do this is proactively reset your router every night at 3am by power cycling it with a $12 plug-in timer. Of course it doesn&#x27;t fit every use case and it doesn&#x27;t solve every problem , but it will alleviate problems related to long running that all to many routers seem to suffer.
jarnix大约 9 年前
Where&#x2F;when do you live guys ? Who buys a router that needs to be restarted (and even fails) ? :) I have a Netgear something that acts as a wifi router and I do not have to restart it, I don&#x27;t understand :)
DiabloD3大约 9 年前
I have a Netgear WNDR4300.<p>I reboot it about once a year, as in, it has been rebooted three times that didn&#x27;t involve firmware updates in its entire life, or about five times total.<p>If your router is that flakey, just replace the router.
jkot大约 9 年前
Simpler version is mechanical timer with reset every N hours.
评论 #11272886 未加载
chris_wot大约 9 年前
Oh great, there&#x27;s a patent pending.
swiley大约 9 年前
SBCs are so cheap at this point just grab one of those and put hostapd and iptables on it.
评论 #11273985 未加载
lucio大约 9 年前
It&#x27;s like a physical IISreset. A recognition and acceptance of failure and&#x2F;or generalized bad quality.
nolite大约 9 年前
Where&#x27;s the EU version?
rythie大约 9 年前
I&#x27;d prefer a router with a AA battery slot, so it doesn&#x27;t go down in the first place.
评论 #11272821 未加载