Pit Meter - iPhone app for the HeaterMeter


 
Steve's right. For iOS push notifications, the HM needs to be able to make an HTTP POST from an alarm script. I recommended to use what I am most familiar with in a command line environment - openssl. If there's a better alternative in stock HM that would be great.
 
Ah now I understand. I didn't know there was a custom alarm script portion. There isn't anything that can do https by default built into the firmware, you're right. Did v10 have openssl-util on it? It wasn't supposed to!
 
Ah now I understand. I didn't know there was a custom alarm script portion. There isn't anything that can do https by default built into the firmware, you're right. Did v10 have openssl-util on it? It wasn't supposed to!

Nope, it didn't. If you select push notifications from inside of the PitMeter app, you're sent an email with instructions on how to install openssl-utils and the script to use. Upgrading from LinkMeter v10 to v11 requires the re-installation of openssl-utils
 
I had an email from a user on how to access his HM from his mobile data plan. Here are the steps to follow. Troy, please let us know if you have any troubles following these steps.

1. Write down your Heatermeter IP address - this would be the IP address you use on wifi to load the HM web pages.
2. Login to your router config. This and some of the steps to follow will depend a lot on your ISP and your specific router hardware/software.
3. Find a section called Port Forwarding. It might also be called Remote Access or similar.
4. Once there, you'll need to enter this sort of info. Some of the labels will be different.
LAN IP address: <Enter the IP you wrote down in step 1>
LAN port: 443
Remote Starting port: 8443
Remote Ending port: 8443
5. Save the config.
6. Open the following URL to get your external IP address. Write it down. https://www.google.com/search?q=what's+my+ip
7. Go on your phone and turn off wifi. Now, bring up the web browser and go to URL: https://ip_from_step_6:8443, replacing ip_from_step_6 with whatever IP address your wrote down in step 6.
8. If that loads, then go into the Pit Meter app settings and enter ip_from_step_6:8443 that into Host Name/IP.
9. Check to see if Pit Meter now works.
10. You might want to make sure that Pit Meter uses your LAN IP address on your wifi, and your external IP address on other networks. To do this, continue with the next steps.
11. Go into your Wifi settings on your phone, and tap the (i) next to your home wifi. Write down the IP Address and the Subnet Mask.
12. Go to this URL. http://www.subnetonline.com/pages/subnet-calculators/ip-subnet-calculator.php
13. Enter the IP Address and Subnet Mask that you wrote down in step 11 and hit calculate.
14. Take "Network Address" from results and write it down.
15. Go into the Pit Meter settings, Advanced LAN section.
16. In LAN HM Host, enter the IP address you wrote down all the way back in step 1. In LAN Subnet, enter the IP address that you wrote down in step 14.
17. If everything is configured correctly, you should now be able to access your HM no matter if wifi is turned on or off.
18. Final note: Your ISP may change your IP address, in which case the IP address from step 6 is no longer valid and some steps need to be repeated for it to work again. I'd recommend setting up a dynamic DNS service and use that instead of the IP address. Several free ones can be found online.
 
Hey Darren, I don't know if it is something that would be ultimately useful, but the HeaterMeter Device Registration data can be accessed through json with the url
Code:
http://heatermeter.com/devices/?fmt=json

At that point you'd need to go through the list of interfaces to see which ones you can connect to. The web page usually tries to pull http://xxxx/luci/lm/conf just to see there's a UCID field. HeaterMeter also broadcasts itself on Bonjour if the iPhone has built in support for that.

None of this helps you connect to a HeaterMeter if you're not on the wifi with it, but auto-discovery might be a neat feature for the app.
 
Bonjour would be very cool. I'm under the impression that iOS should have pretty good API's for it too. Thanks for the heads up Bryan.
 
I think there is another APP for Apple products already?

EDIT: oops, I thought this was the Pit-Droid thread about the app for android phones....
 
I don't think I'm at a stage where I'd like to open source the app, especially because I have a v2 version that is partially complete. I'll try to make time to take v2 off the back burner. iPad support was a major goal. Actually with the iPhone 6 I'd like to refactor the app to use adaptive layouts.
 
Darren thanks for the app.
I have a dyndns service, but I am unable to figure out how to enter the settings into the app.
I tried the following already:

Host Name/IP: my dyndns.org address
Username: my dyndns.org username
Password: my dyndns.org password

Host Name/IP: my dyndns.org address
Username: root
Password: my HM password
 
Darren thanks for the app.
I have a dyndns service, but I am unable to figure out how to enter the settings into the app.
I tried the following already:

Host Name/IP: my dyndns.org address
Username: my dyndns.org username < Incorrect
Password: my dyndns.org password < Incorrect

Host Name/IP: my dyndns.org address
Username: root < Correct
Password: my HM password < Correct

From your phone, can you get to http://rubensbbq.dyndns.org ?

Have you done any port forwarding on your router to get to your HM from the outside world?
 
Darren thanks for the app.
I have a dyndns service, but I am unable to figure out how to enter the settings into the app.
I tried the following already:

Host Name/IP: my dyndns.org address
Username: my dyndns.org username
Password: my dyndns.org password

Host Name/IP: my dyndns.org address
Username: root
Password: my HM password

It's likely that you need to use another port besides 80 (http default) to get to your home IP. A lot of ISPs block port 80 for personal accounts (so you can't run a web hosting business from your house).
RubenP.heatermeter.dynds.org:8080
then on your router, forward requests from RubenP.heatermeter.dynds.org:8080 to HM.IP:80
 
It was my router, I had in the past opened up the port 80, but for some reason it was not longer open.
All things are working perfectly now.
Thanks guys.
 
When I try and set low or high alarm points I enter the number and push save but the setting doesn't change. I go back in and it's back to what it was previously. What am I missing?
 
When I try and set low or high alarm points I enter the number and push save but the setting doesn't change. I go back in and it's back to what it was previously. What am I missing?

If you can view, but not set anything, then your password in the config settings of the app is incorrect.
 

 

Back
Top