Potential bug(Adding LR device) beta version mobile app

Good morning. Not sure if this is a bug but wanted to drop it here for the developers.
I was trying to add a LR Z wave device on my app but for some reason i do not show the + icon on the devices page to allow me to add anything. I believe this is because i'm not logged on locally but rather it's logging on the could. After discussing here - it was suggested that i download the beta app. which i did. Despite using the beta app and other troubleshooting - im not able to get the mobil app to connect local

Trouble shooting

  • Updated Hub to latest firmware. 2.4.1.154
  • Shouldn't make a difference but also ensured the hub was connected to the wifi network in the house. But also plugged into the router
  • Removed the standard app and downloaded the beta app v. 2.1.1 (390)
  • Disabled the cellular communications on my mobile to ensure the connectivity was to the wireless
  • I only have the 1 wireless network in the home, therefor the mobile is definitely on the same network that the hub is physically connected to
  • Checked IOS settings to ensure that Local Network was selected in the Hubitat Ap
  • still unable to log on local network.

Or maybe im doing something wrong....but uncertain what that might be.
Regards
Mac

IMG_7566


IMG_7562

I don't know if this is affecting this particular issue or not, but if your hub is connected via ethernet, you should remove your wifi settings from the hub's Network Settings page.

The hub can only do one or the other, so if there are wifi credentials entered while on ethernet, it risks network confusion for the hub. There should probably be better clarification about that on the Network Settinsg page, but it is what it is.

Unfortunately, the hub cannot use wifi as an automatic fall-back for ethernet, so if you're on ethernet, your wifi settings should all be blank.

When i started trying to add the LR device to the App, thew hub was connected only via ethernet cable. I added the wifi to the web interface just as a troubleshooting step. which does lead me to think of one more troubleshooting step.
I'll check again with the cable only, then the wifi only and see if the app will allow me to be local.
thanks
Mac

Update. I unplugged the network cable from the hub so both the hub and my mobile are ensured to be on the same network. Mobil app still shows cloud.
Mac

If your ethernet connection is working well, there's no need to put the hub on wifi for anything -- as far as the app and hub are concerned, "local" just means a connection to your own network (your ethernet stuff + wifi stuff), it doesn't mean just wifi-only.

Do you use VLANs, unique firewall rules or any other sort of unusual (for lack of a better term) network setup/rules?

Adding the wifi to the hub was just for a troubleshooting step. Ive since removed and am connected again via ethernet cable.
As for the internet. I don't use anything special of the router or internet. However i don know enough to know what the ISP provider had set up when they installed my home internet.
regards
Mac

Looks like the mobile device may still be trying to connect via celluar (and thus the cloud) instead of wifi, try turning off its celluar data.

Changed the title slightly to differientiate this from your other topic, also moving to the Mobile section.

thanks.
I thought of that soon after i started troubleshooting. Even with the cellular off it still connected to the cloud. As i'm overseas, i also have a VPN on my phone to watch US shows. Disabled that too. No joy.

Cheers
Mac

Can you disconnect the router from the internet? (Connect through the cloud won’t be available as an option - still a bug but might allow you to continue.)

Wait a minute. You said you’re overseas, IIRC Zwave LR is currently only available in the US are you sure the device is supported where you’re at?

1 Like

I would be interested to see the IP of the mobile device (as reported by the mobile device in the Wifi settings). And also the IP of the hub.

1 Like

I can give that a try. Isn’t super critical. I added the device as a normal zwave but given the option (once i figure out how to set the mobile to local ) I’ll remove the device and add LR.
My hub is set to US zwave protocol.
Regards
Mac

All of the IP addresses have the same 1st 7 digits. The only part of the address that's different is after the last . (dot)

I Phone ( cell turned off) XXX. YYY. Z. 15 ( from the settings / wifi / Info )
IP listed on the Mobile Hub App XXX. YYY. Z. 2 ( Hubitat app, Hub details )
IP of my computer XXX. YYY. Z. 35 ( OSX / System Settings / Network / Wifi /Details
IP of the Hub XXX. YYY. Z. 52 ( Hubitat Local / Settings / Network Settings )

regards
Mac

There is no reason to mask the IP of your LAN, no one can do anything harmful with them.

Anyway, I was poking around in the app, can you confirm the IP's the app is detecting are also correct. This is the info the app is using to help make its decision, so I want to confirm.

Tap hub name on home page to see detected IP of the hub. I just tested it and it shows my local hub IP even on cloud mode (it gets it from the cloud portal).

Device IP is in More > App Settings.

If either of those is being detected incorrectly it could throw the app into cloud mode.

3 Likes

As noted above you can share your IP addresses on your LAN without any worry about security.

And not sharing the full IPs can in some cases make it difficult for folks to help solve problems.

Wasn't sure if listing the full IP address was a security issue.

The IP on my phone ( IOS settings / wifi / info) is the same as the IP setting that's listed in the Mobile Hubitat App (More / app settings)
And after rebooting the app, deleting and reinstalling the beta version of the app...no plus button under devices to allow me to add a device.

What does seem a little odd is that the IP address that's listed for the hub when i look at the app ( main page of the app, select the hub at the top ..where the HUB ID and MAC address is listed) is different to the hub address when i look at it on the web ( Web interface / settings / network setup)

The IP on my computer is 192.168.1.35

The IP on my iPhone is 192.169.1.15

The IP listed on the HE App is 192.168.1.2 (Mobil App / select the hub name at the top / IP address is listed as well as the HUB ID and Mac Address
The IP on the hub is 192.168.1.52 ( web interface / settings / network setup / wifi settings)

The IP for the Hub that is listed in the HE App is 192.168.1.15 ( Mobil app / More / App Settings)

Regards
Mac

Ok now we are getting somewhere.
Your Phone IP is 192.168.1.15 (I assume the 169 was a typo)
Your Hub is reporting two different IPs, 192.168.1.2 (per mobile app) or 192.168.1.52 (per hub itself). This is probably what is causing the issue.

Are you CERTIAN that you cleared the Wifi settings from the hub so that it can only connect via ethernet currently? Do you have the hub set for Static or DHCP?

Do you have a reserved IP for the hub set on the router DHCP?

Go to : My Hubitat > Registered Hubs > Hub Details
Look for IP Address and Last Checkin on that page, what do those show?

1 Like

Well...some how i have success.
At the time I pulled the IP addresses, the Hub, my computer and my phone were all WIFI only.
I just finished:

  • Deleted the app, rebooted my phone and reinstalled the beta version of the app ( wifi only - cell data remains off)
  • Turned off the wifi on my computer and rebooted it
  • Disconnected the WIFI on the hub and rebooted it

Now the computer and hub and on LAN, the phone is on wifi only
And now - my app is showing local. And there is a plus button on my devices page when my phone is connected wifi only and when connected wifi and cellular

I don't know what that gremlin was as i had done all of those steps previously too ( short of rebooting my computer...though i did switch the wifi on and off multiple times when trouble shooting)

Here are the updated IP addresses

  • Computer 192.168.1.34
  • I Phone ( IOS settings / WIFI)
  • App 192.268.1.15 ( Mobile app / more / app settings)
  • App 192.168.1.2 ( Mobile App / Home / select the hub / IP address )

The Hub is connected DCHP - yes. I had a previous problem with some Broad link Infrared devices i have changing their IP addresses and when researching it, the suggestion here was to set to DCHP ) To be honest - i don't use those any more so i can change that setting if need be ...but would still like the option to control my fans through the Broadlink if that's possible if i change the DHCP setting)

There is no reserved number in the router for the hub. I tried to set that up but the IP sis provider wanted a charge for a static IP address

Either way - its working now and I'm about to exclude the Zen 37 and try adding it as LR.

Appreciate the help.
Mac

1 Like

I suspect having devices connected to both ethernet and Wifi, and/or switching back and forth constantly is what was causing the issues with the IP not syncing up to the Hubitat system.

None of this makes sense, do you mean you have a static IP set on the hub? If it was set to DHCP then the hub could change its IP during reboots or router down time. It sounds like you cannot easily set a DHCP reservation on the router itself, since it is ISP equipment (also what they wanted to charge you for is not what you need anyway).

Anyway.... if you have a static IP set on the hub and its working I would leave it alone.

If you are still confused you can post a screenshot of the Network Setup page on the hub. There should not be any sensitive information there.

This is what DHCP on the hub looks like.
The hub will ask the router for an IP when it boots.


Static IP on the hub all of this would be filled in, and it would say Static at the top

No static IP.
And...unfortunately...what ever i did during the troubleshooting has undone.....the app is now set back to cloud....and lost the ability to add devices again.

Mac

Check what the app and HE portal thinks your Hubs IP is:

Here: Mobile App / Home / select the hub / IP address

And here: My Hubitat > Registered Hubs > Hub Details
- Look for IP Address and Last Checkin on that page, what do those show?


Also, have you updated to the newest beta version of the mobile app? You don't need to delete it, just update. The newest notes say there was additional fixes for cloud/local detection.

Thanks. I have a gremlin somewhere
A few days ago it was stuck on the cloud.
Yesterday after all the troubleshooting it went to local….then back to cloud.
Today it’s back to local.

I’m presuming I’m on the latest version of the beta app. Downloaded it yesterday. 2.1.1 (390)

Both IP addresses are the same in the two areas you mentioned.
If it goes back to the cloud I’ll grab screen shots of the IP addresses. But working today :slight_smile: