remotely restart the smarthub

  • 1
  • Question
  • Updated 2 years ago
Is there anyway to remotely restart (reboot) the smartHub without power cycling it?

Does Acurite support have any way of restarting the smarthub (besides updating the firmware)?

Is there anyway to tell how long the smartHub has been up?
Photo of Rob Terzi

Rob Terzi

  • 73 Posts
  • 8 Reply Likes

Posted 2 years ago

  • 1
Photo of George D. Nincehelser

George D. Nincehelser

  • 6741 Posts
  • 1249 Reply Likes
None that I'm aware of.

There is no real-time-clock on the SmartHUB.  It only knows what time it is from the timestamps coming back on the server response codes.
Photo of Rob Terzi

Rob Terzi

  • 73 Posts
  • 8 Reply Likes
Even without a RTC, there are clock ticks that can generally be translated into number of seconds since power-up or reset   Usually these are tied to an interrupt and there are registers to accumulate the number of ticks/interrupts.    Otherwise you couldn't do timers, etc.
Photo of George D. Nincehelser

George D. Nincehelser

  • 6741 Posts
  • 1249 Reply Likes
Yes, I know, but it doesn't change the fact it doesn't know the time.
Photo of Rob Terzi

Rob Terzi

  • 73 Posts
  • 8 Reply Likes
I'm not asking about real time.  I'm looking for the interval since boot.
Photo of George D. Nincehelser

George D. Nincehelser

  • 6741 Posts
  • 1249 Reply Likes
Again, I haven't seen anything that gives you that.
Photo of Jack Canavera

Jack Canavera

  • 403 Posts
  • 98 Reply Likes
I haven't tried this but I notice when you go to the hub page (that you access by typing your hub's ip address that your router assigns), there is a restart button in the smartHUB info box.  I'm assuming it does what it says without causing any other issues.
(Edited)
Photo of George D. Nincehelser

George D. Nincehelser

  • 6725 Posts
  • 1246 Reply Likes
Be cautious with curl.  I've tried using curl to force parameters with not much luck, and it upsets wunderground and sometimes myAcurite without much  provocation.  Sometimes pressing the "restart" button will fix it up.  Other times you need to re-download your wunderground credentials again.
Photo of Rob Terzi

Rob Terzi

  • 73 Posts
  • 8 Reply Likes
@tom, thanks for the timer suggestion.  Yes I could use something like an old school X10 module or a more modern wifi plug to power cycle remotelly if it came to that.  Was hoping for a software oriented solution.
Photo of Michael B

Michael B

  • 399 Posts
  • 101 Reply Likes
Rob here's the full string . I hide my mac address ,  station ID and my password because in the new build there shown on the IP page .
(Edited)
Photo of Rob Terzi

Rob Terzi

  • 73 Posts
  • 8 Reply Likes
@george - thanks for the curl warning.  That's very curious.  sounds like settings can be accidentally corrupted.
Photo of George D. Nincehelser

George D. Nincehelser

  • 6725 Posts
  • 1246 Reply Likes
Yes.  Be careful sending data to the SmartHUB that it doesn't expect.
Photo of AcuRite Jennifer

AcuRite Jennifer

  • 11801 Posts
  • 536 Reply Likes
Hello Rob,

There is no way of remotely starting the smartHUB, and there is no way to know how long it has been online. Thank you. Have a good day!
Photo of Dale Smith

Dale Smith

  • 72 Posts
  • 8 Reply Likes
If the alert system is working that would be a good way to tell if it's offline and for how long. Call me red neck but if all else fails put it on a Christmas light timer and turn it off and on that way. If I am not mistaken a power off reset is AcuRite favorite trouble shooting technique. ;-)
Photo of Rob Terzi

Rob Terzi

  • 73 Posts
  • 8 Reply Likes

Testing results with curl and with Boot Firmware Version 104 for anyone following this:

First, I verified that I could toggle the LEDs using curl.  This is the only button on the v.104 status page and is coded in HTML similarly to the reset button on the 2xx firmware.   Here is the command line that was successful.

$ curl -X POST --data led=toggle http://192.168.xx.yy/

Then I tried restart against the 104 firmware using the same form parameters from the v210 boot firmware page supplied above.  This perhaps unsurprisingly didn't work, but it was worth a shot since sometime all the capabilities don't get exposed in the GUI.  The command I tried was:

$ curl -X POST --data rst=Go http://192.168.xx.yy/

If anyone who has boot firmware v2xx and has curl handy, I'd like to know if the above command works to restart or not.

For reference, in case I missed anything obvious

v104 led toggle form:

<form method="post"> Toggle LEDs: <input type="submit" name="led" value="toggle" </form>

v210 restart form:

<form method="post"> ReStart <input type="submit" name="rst" value="Go"/></form>
(Edited)