Pi/domoticz access

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
jacobsentertainment
Posts: 211
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Pi/domoticz access

Post by jacobsentertainment »

Not sure what went wrong, I have no access to my pi / domoticz when i'm on my mobile network. I do have access when I'm at home on my local network and this is blowing my mind.

Ill try to explain it to my best.
  • On mobile network
[*]No access to domoticz with use of ngrok tunnel
[*]No access with vnc to my pi (with domoticz installed)
[*]Access with vnc to my tablet/laptop with dashticz installed
  • On lokal network
[*]Access to domoticz on local ip/8080
[*]Access to domoticz with use of ngrok tunnel
[*]Access with vnc to the pi
[*]Access to the tablet/laptop with dashticz

So my troubleshooting mind, if it was the router firewall then I wouldn't get access to the tablet/laptop, anyway I checked same by disabling all and did not change any. I checked if the R-pi is connected to the internet by watching a video on youtube this works fine so this is not the issue.
I have access with a ngrok tunnel trough https and that works fine but only when I'm at home. I went to my company and tried to access from there trough the wifi and I'm not getting in.

I'm not sure on how to check if the ports are open (443,8080) to the internet, not sure if these would also be needed locall. But then why can't I connect with vnc from outside my network.... Damn this hurts.

I'm lost so I'm hoping there is some people here with some bright ideas!
User avatar
jacobsentertainment
Posts: 211
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Pi/domoticz access

Post by jacobsentertainment »

I have the vnc server back up, connected trough cloud service and it works. Still no luck on the domoticz site..
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: Pi/domoticz access

Post by erem »

i believe it is generally a BAD idea to expose these services directly to the internet.
i would suggest a vpn from your phone to your router.

you can use grc.com's shieldsup feature to see what ports you expose publicly if you want to see those
Regards,

Rob
User avatar
jacobsentertainment
Posts: 211
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Pi/domoticz access

Post by jacobsentertainment »

erem wrote: Thursday 23 September 2021 12:32 i believe it is generally a BAD idea to expose these services directly to the internet.
i would suggest a vpn from your phone to your router.

you can use grc.com's shieldsup feature to see what ports you expose publicly if you want to see those
Both have there won level of protection, at least that was my understanding. For ngrok you have an personal key and vnc you need password and login details.
At this moment I'm working on a clean installation, pfff lots of work :|
User avatar
jacobsentertainment
Posts: 211
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Pi/domoticz access

Post by jacobsentertainment »

It seems there are more issues with ngrok and it still bothers me!
I tested a new sd card with fresh install of debian, domoticz and ngrok no success same issue. I had some help with testing someone that also uses domoticz and ngrok and he at first had it working and al of a sudden his remote access also stopped and resulted in the same error "Tunnel 59e7-187-53-167-76.eu.ngrok.io not found"

Anyway after a lot of playing around finding other tunnel services and installing them I found one that does work cotunnel And for somebody that has minimal it skills it's easy to install. Hope this could help others!
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Pi/domoticz access

Post by waltervl »

I also tested some tunnels and it seems that a lot of those solutions do not like the auto refresh function updating the web UI of Domoticz.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Pi/domoticz access

Post by kiddigital »

Please also check how/where the DNS resolves to when at home (on the wifi, etc.) and when ‘outside’.

Because when at home, if your DNS sends you to the same ‘external’ ip (your IP address of your home from your ISP) that would mean that first you will been sent coming from an jnternal IP (on your wifi for example) to the external IP of your home (router). Most likely than your router has no clue how to go from internal-to-external-back-to-internal (your domoticz) again.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest