Change/Add Port the Heater Meter is listening on....


 
That looks right to me, as long as your http XXXX and https XXXX are actually different numbers. Did you reboot after making the change? There shouldn't be any limit to how many ports it will listen on, as long as that port isn't in use already.
 
Thank you--the SSH editing method worked; however, is there a reason why I am unable to edit these ports using the method described in the 1st post? I've been trying to figure out what I could have done wrong on my end...
 
Last edited:
The reason is that the snapshot is using uhttpd instead of lucid, so the commands are slightly different.

To add port 8080 to the listening HTTP ports, it would be:

Code:
uci add_list uhttpd.main.listen_http=0.0.0.0:8080
uci commit uhttpd
/etc/init.d/uhttpd restart

Similarly for HTTPS, if you wanted to use 8443 it would be:

Code:
uci add_list uhttpd.main.listen_https=0.0.0.0:8443
uci commit uhttpd
/etc/init.d/uhttpd restart
 
The reason is that the snapshot is using uhttpd instead of lucid, so the commands are slightly different.

To add port 8080 to the listening HTTP ports, it would be:

Code:
uci add_list uhttpd.main.listen_http=0.0.0.0:8080
uci commit uhttpd
/etc/init.d/uhttpd restart

Similarly for HTTPS, if you wanted to use 8443 it would be:

Code:
uci add_list uhttpd.main.listen_https=0.0.0.0:8443
uci commit uhttpd
/etc/init.d/uhttpd restart

Thank you- I will try that; I thought I'd broken something and was going to re-image... The SSH method works perfectly though. I used it to delete some SMTP settings as that I created when trying to get SMS working as well.

I have to say that I was slightly dubious about another "homebrew" project; however, although I haven't used it for a real cook yet this is proving to be a very stable platform.

setting up my microdamper tonight...
 
Thanks for that info Steve...
What is the cutoff on HM version for this change? Let me know and I will update the first post to reflect the different methods required for the different versions.
 
If you're running a snapshot image since December 2016 it will be this way.

It's also easy to tell if you SSH into the HM as you'll see the LEDE banner.

Code:
     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r3799-13006712ea)
    \________\/    -----------------------------------------------------------
 
Actually I think any of the snapshots use uhttpd, but I know the first git commit where it switched was Aug 26, 2016. You can also put both (lucid and uhttpd) and it will work for both release and snapshot.
 
It appears that ATT Uverse router will not allow port 80.

Is SSH into the config file the only way to add another listening port, or can it be configured from the web interface?

Thanks!
 
Last edited:
You can add the commands to the System -> Startup -> Local Startup and reboot once. It will run the command on the next startup and add the port for you. You'll want to remove the commands at that point because otherwise it will add them on every bootup until something ends up crashing.
 
You can add the commands to the System -> Startup -> Local Startup and reboot once. It will run the command on the next startup and add the port for you. You'll want to remove the commands at that point because otherwise it will add them on every bootup until something ends up crashing.

Thanks Bryan,

You are referring to within the web interface?
 
The latest snapshot also includes the luci-app-uhttpd that I ran into trying to located another uhttpd problem so there's now a webui tab you can manage the listening ports with under Services -> uHTTPd.
 

 

Back
Top