How to control Domoticz over 3G?
Moderator: leecollings
-
- Posts: 12
- Joined: Monday 13 July 2015 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
How to control Domoticz over 3G?
I am a novice with Domoticz. I would like to Domoticz operate remotely over 3G on my iPhone with Pilot Home Automation. How can I arrange this via the server settings?
A huge thank you for your response.
A huge thank you for your response.
Last edited by ThinkPad on Monday 13 July 2015 16:19, edited 2 times in total.
Reason: Topictitle fix: 'via' > 'over'
Reason: Topictitle fix: 'via' > 'over'
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: How to control Domoticz via 3G
- Create a user with a difficult (!!!) password (something like: 'SDlfjk2348sxx@#$' you only have to enter it once on your phone) in Domoticz.
- Then create a port forward in your router (see Google for instructions "portforward <routermodel>"). If possible to select an outside port different to the internal: do that.
I have forwarded 8080 (internal Domoticz) to something like: 2389 or so (not a common used port, minimizes the amount of portscans). - If possible use HTTPS/SSL in Domoticz
I am not active on this forum anymore.
-
- Posts: 12
- Joined: Monday 13 July 2015 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G
Thinkpad, thanks for your response to my post. The three points you mentioned, I have arranged. What's the next step?
Thanks in advance!
Thanks in advance!
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: How to control Domoticz over 3G
Find out your external ip (http://www.icanhazip.com), fill it in in the app together with the outside port and then you should be done.
I am not active on this forum anymore.
-
- Posts: 12
- Joined: Monday 13 July 2015 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G?
Ok, everything I set exactly as indicated. unfortunately I do not get it working. The Ras Pi is coupled to an Apple Airport Time Capsule. Can this possibly cause problems?
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: How to control Domoticz over 3G?
Check with a website like http://www.yougetsignal.com/tools/open-ports/ if the port you forwarded is really openend.
P.S. Topic moved to "Functionalities and Protocols > Connection and Security"
P.S. Topic moved to "Functionalities and Protocols > Connection and Security"
I am not active on this forum anymore.
-
- Posts: 4
- Joined: Saturday 11 July 2015 1:28
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G?
Hi ThinkPad,
You write "If possible use HTTPS/SSL in Domoticz"
But how can you do that ? I'm on Synology RS2414+ and redirect http => https and I can't access at the app...
https://mydomain.info:8084 => not working
http://mydomain.info:8084 => work but I need to desactivate redirection http to https in my NAS.
Can you help me please ?
You write "If possible use HTTPS/SSL in Domoticz"
But how can you do that ? I'm on Synology RS2414+ and redirect http => https and I can't access at the app...
https://mydomain.info:8084 => not working
http://mydomain.info:8084 => work but I need to desactivate redirection http to https in my NAS.
Can you help me please ?
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: How to control Domoticz over 3G?
I don't know, i don't use it because i don't know how to enable it
I am not active on this forum anymore.
-
- Posts: 4
- Joined: Saturday 11 July 2015 1:28
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G?
Hi,
Thanks for your reply and too bad !!!
I don't want to use Domoticz without a minimum level of security.
I want manage my alarm too so without https it will be just stupid to use this app...
So sad.
If someone know how to do use Domoticz with https => PLEASE HELP
Thanks for your reply and too bad !!!
I don't want to use Domoticz without a minimum level of security.
I want manage my alarm too so without https it will be just stupid to use this app...
So sad.
If someone know how to do use Domoticz with https => PLEASE HELP
- Domosapiens
- Posts: 232
- Joined: Wednesday 20 August 2014 12:08
- Target OS: Windows
- Domoticz version: V3.5981
- Location: NL
- Contact:
Re: How to control Domoticz over 3G?
Forum search on HTTPS port gives:
HTTPS port 443
D
HTTPS port 443
D
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
-
- Posts: 625
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: How to control Domoticz over 3G?
If you install/activate a vpn on your router or nas, you don't need to worry about https.
-
- Posts: 20
- Joined: Wednesday 14 January 2015 21:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G?
Hi Jan,jan_nl wrote:If you install/activate a vpn on your router or nas, you don't need to worry about https.
I want the same as the topic starter, a safe 3G/4G connection to my domoticz.
But I also have a QNAP-NAS.
What would be better/easier to set up? (NAS/PI)
Set up A VPN in my pi as mentioned in the wiki looks difficult to me.
By with your post I understand I can also make a VPN connection with my QNAP?
And then it is easy to acces my domoticz/pi with 3G/4G??
-
- Posts: 625
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: How to control Domoticz over 3G?
That's how I connect over 3g/3.5g (no 4g yet )
Anyway, I have a Synology NAS on which I played with VPN, which worked. Now my VPN runs on my FRITZbox, since that is directly connected to the internet.
According to Google: https://www.qnap.com/i/nl/trade_teach/c ... wone&cid=3, VPN can be configured on a QNAP NAS.
Whenever I need access to my Domoticz, I set up a VPN connection to my Fritzbox (router), either via wifi or 3g/4g and connect directly to Domoticz (or every other home network appliance).
I once switched my lights from somewhere in Spain, when my son was at home, worked like a charm.
Anyway, I have a Synology NAS on which I played with VPN, which worked. Now my VPN runs on my FRITZbox, since that is directly connected to the internet.
According to Google: https://www.qnap.com/i/nl/trade_teach/c ... wone&cid=3, VPN can be configured on a QNAP NAS.
Whenever I need access to my Domoticz, I set up a VPN connection to my Fritzbox (router), either via wifi or 3g/4g and connect directly to Domoticz (or every other home network appliance).
I once switched my lights from somewhere in Spain, when my son was at home, worked like a charm.
-
- Posts: 20
- Joined: Wednesday 14 January 2015 21:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G?
Oke looks great for sure I will set up a VPN connection!jan_nl wrote:That's how I connect over 3g/3.5g (no 4g yet )
Anyway, I have a Synology NAS on which I played with VPN, which worked. Now my VPN runs on my FRITZbox, since that is directly connected to the internet.
According to Google: https://www.qnap.com/i/nl/trade_teach/c ... wone&cid=3, VPN can be configured on a QNAP NAS.
Whenever I need access to my Domoticz, I set up a VPN connection to my Fritzbox (router), either via wifi or 3g/4g and connect directly to Domoticz (or every other home network appliance).
I once switched my lights from somewhere in Spain, when my son was at home, worked like a charm.
One more question, so it is always necessary to first make the VPN connection with you phone and then acces domoticz with Pilot for example.
It is not possible when using pilot that pilot login automaticly with the VPN server?
Or is it a option always having the VPN connection on your phone connected?
Or are there be negative aspects with always using VPN with your phone?
-
- Posts: 625
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: How to control Domoticz over 3G?
In principle there are no downsides at having your VPN always on, on your phone.
But remember, all network traffic from your phone will be redirected (normally) via the VPN, so if your upload bandwith at home is not very high, internet etc on your phone will be slow(er).
Advantage is, you also can use this VPN when using a less trusted WIFI connection somewhere.
I do not know pilot, so I do not know if pilot can set up a VPN connection. But I guess not.
But remember, all network traffic from your phone will be redirected (normally) via the VPN, so if your upload bandwith at home is not very high, internet etc on your phone will be slow(er).
Advantage is, you also can use this VPN when using a less trusted WIFI connection somewhere.
I do not know pilot, so I do not know if pilot can set up a VPN connection. But I guess not.
-
- Posts: 20
- Joined: Wednesday 14 January 2015 21:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G?
Thanks for your info, I will try!jan_nl wrote:In principle there are no downsides at having your VPN always on, on your phone.
But remember, all network traffic from your phone will be redirected (normally) via the VPN, so if your upload bandwith at home is not very high, internet etc on your phone will be slow(er).
Advantage is, you also can use this VPN when using a less trusted WIFI connection somewhere.
I do not know pilot, so I do not know if pilot can set up a VPN connection. But I guess not.
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: How to control Domoticz over 3G?
I use 'Tasker' on my Android phone to automatically connect to my home VPN when it notices that my phone has connected to the WiFi-network of the company i work at. Have a look on Google "tasker automatically connect vpn wifi".
You could use it also the other way round: Connect to VPN when on wifi, unless <networkname> is in list of trusted networks (your home network for example).
For control over 3G i have made portforward (on a not so common port like '2834') and made a user with a strong(!!) password ('JJs0783xgx06' for example).
You could use it also the other way round: Connect to VPN when on wifi, unless <networkname> is in list of trusted networks (your home network for example).
For control over 3G i have made portforward (on a not so common port like '2834') and made a user with a strong(!!) password ('JJs0783xgx06' for example).
I am not active on this forum anymore.
-
- Posts: 20
- Joined: Wednesday 14 January 2015 21:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to control Domoticz over 3G?
unfortunately I have an Iphone6 and there is no tasker for this right?ThinkPad wrote:I use 'Tasker' on my Android phone to automatically connect to my home VPN when it notices that my phone has connected to the WiFi-network of the company i work at. Have a look on Google "tasker automatically connect vpn wifi".
So thats a tasker setting, looks great but again, I have no android.ThinkPad wrote: You could use it also the other way round: Connect to VPN when on wifi, unless <networkname> is in list of trusted networks (your home network for example).
Maybe I still will do this also, but it looks diffucult to me ad described in the wiki.ThinkPad wrote: For control over 3G i have made portforward (on a not so common port like '2834') and made a user with a strong(!!) password ('JJs0783xgx06' for example).
Maybe I'll backup my SD and just give it a try....
-
- Posts: 2
- Joined: Tuesday 08 September 2015 23:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v2.2563
- Location: France
- Contact:
Re: How to control Domoticz over 3G?
Hello to everybody
I hope I'm at the right place but it really seems so
Here are the facts
I have a domoticz set on a raspberry-Pi;
No problems to log in from the internal IP adress 192.168.0.148:8080 with my PC or my Ipad or my phone in Wifi mode (I have set a static IP for the raspberry) except sometimes it goes offline...I think it is when I try to connect from my smartphone in 3G mode because this connection is no more available...It used to be but I can't connect from outside my place anymore
My provider is Free and I have the Freebox revolution Box.
I have rerouted the ports 6144 to 6144 and 8000 to 8080 as I try to connect from MyIp 88.xxx.xxx.xxx:8000
I've tried countless combos of passwords and logins in Dromotica, Andromoticz...nothing happens (except crashes of my home Domoticz....)
I tried some days ago to set a time server but failed to write in the correct file...could it be a consequence ?
Thanks in advance
Looking forward to reading your answers
Gardendwarf (yes, I know, sounds like a superhero Name )
I hope I'm at the right place but it really seems so
Here are the facts
I have a domoticz set on a raspberry-Pi;
No problems to log in from the internal IP adress 192.168.0.148:8080 with my PC or my Ipad or my phone in Wifi mode (I have set a static IP for the raspberry) except sometimes it goes offline...I think it is when I try to connect from my smartphone in 3G mode because this connection is no more available...It used to be but I can't connect from outside my place anymore
My provider is Free and I have the Freebox revolution Box.
I have rerouted the ports 6144 to 6144 and 8000 to 8080 as I try to connect from MyIp 88.xxx.xxx.xxx:8000
I've tried countless combos of passwords and logins in Dromotica, Andromoticz...nothing happens (except crashes of my home Domoticz....)
I tried some days ago to set a time server but failed to write in the correct file...could it be a consequence ?
Thanks in advance
Looking forward to reading your answers
Gardendwarf (yes, I know, sounds like a superhero Name )
Who is online
Users browsing this forum: No registered users and 1 guest