logo elektroda
logo elektroda
X
logo elektroda

ESP8266 with temperature sensor, Domoticz, port forwarding and external access

wierzba123 654 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20380847
    wierzba123
    Level 16  
    Hello,
    I have started up an ESP8266 with a temperature sensor on Domoticz for a test.
    Everything works fine. I have an external IP and would like to be able to view the parameters from outside.
    There is a problem with port forwarding.
    Domoticz is on a laptop with a fixed ip address 192.168.1.111, ESP8266 logs in via this address on Domoticz.
    Domoticz after opening in the browser has the address 127.0.0.1:8081
    External address has from the pool 213.108.15....
    Redirects the prot on the router external 80 to the address 192.168.1.111 and internal port 8081

    Now entering the external IP with port 80 I should log in to Domoticz ?
  • ADVERTISEMENT
  • #2 20381102
    mas1o
    Level 18  
    127.0.0.1 is the address of your computer. What address does domoticz have on the local network?
  • ADVERTISEMENT
  • #3 20381838
    wierzba123
    Level 16  
    The computer has a fixed ip 192.168.1.111
    Domoticz has a standard 127.0.0.1
  • #4 20381945
    mas1o
    Level 18  
    Press start, type CMD, press enter.
    When the console starts, type: arp -a
    Send what is written there
  • ADVERTISEMENT
  • #5 20381977
    wierzba123
    Level 16  
    ESP8266 with temperature sensor, Domoticz, port forwarding and external access ESP8266 with temperature sensor, Domoticz, port forwarding and external access
    Such a thing I have computer 192.168.1.111 and Esp 192.168.1.50 have a fixed ip assigned on the router.
  • #6 20382277
    mas1o
    Level 18  
    What is domoticz on? Rasbery? What is its address
  • #7 20382348
    wierzba123
    Level 16  
    Domoticz is on a laptop is supposed to be on an arduino but for now I am testing how it works I want to use it to meter the heat pump from the Clima.
  • #8 20382358
    mas1o
    Level 18  
    If you have a domoticz server installed on your computer, forward the ports to your computer address. And that 127... is always the address of your computer
  • ADVERTISEMENT
  • #9 20383222
    wierzba123
    Level 16  
    I redirected external port 81 to internal port 8081 and ip 192.168.1.111. The address of the computer with the domoticz 192.168.1.111 domoticz is under port 8081.
    Now logging on to external ip address 213.108.15...:8081 I should call domoticz but it does not work for me.
  • #10 20383239
    mas1o
    Level 18  
    And can't you convert an external 8081 to an internal 8081? Domoticz does not use two ports?


    Show how the network settings of domoticz look like and how the forwarding on the router looks like. In the firewall on the system open ports to the outside?

Topic summary

The discussion revolves around setting up an ESP8266 with a temperature sensor on Domoticz and enabling external access through port forwarding. The user has configured Domoticz on a laptop with a fixed IP address (192.168.1.111) and is attempting to access it externally via an IP address (213.108.15...) on port 80. However, they encounter issues with port forwarding, as they need to access Domoticz at 127.0.0.1:8081. Suggestions include ensuring proper port forwarding settings, checking firewall configurations, and verifying the internal and external port mappings. The user later attempts to redirect external port 81 to internal port 8081 but still faces access issues.
Summary generated by the language model.
ADVERTISEMENT