Virtuino IoT - Web Socket connection with ESP8266 part2

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 13

  • @JAQ1921
    @JAQ1921 ปีที่แล้ว

    Why can't I connect to the application using the access point (ESP32) to read the temperature from the DS18B20 sensor (OneWire and DallasTemperature library)? When I enter the IP address in the application, there is no connection, but when I remove the code responsible for the DS118b20 sensor, I connect to the application.

    • @iliaslamprou
      @iliaslamprou  ปีที่แล้ว

      Hello, the phone has to be connected to the esp access point network form the wifi settings.

    • @JAQ1921
      @JAQ1921 ปีที่แล้ว

      @@iliaslamprou Hi, the phone is connected to the ESP network

    • @iliaslamprou
      @iliaslamprou  ปีที่แล้ว +1

      @@JAQ1921 I am sorry for the previous answer. I have no idea about this issue. I need more information and some screenshots. Please ask this question to Virtuino forum

  • @SuperRob32
    @SuperRob32 ปีที่แล้ว

    Does the connection only happen if my Virtuino IoT app phone and ESP8266 are on the same LAN? Because if I am outside the local network and connected to the operator's network, the connection does not occur.

    • @iliaslamprou
      @iliaslamprou  ปีที่แล้ว

      Hello, you can controll the ESP8266 outside of the LAN using the data connection. You have to "portforward" the internal IP and port in your router settings. Check your router settings for this.
      This documentation will help you:
      virtuino.com/index.php/virtuino/documentation/virtuino-ip-settings-for-internet-connection
      but you can find unlimited tutorials on youtube.
      On Esp8266 code you don't need to do nothing.
      On Virtuino project you have to change the internal IP with the external ip and port
      On your router settings you have to make the port forwarding.
      This is the reason Virtuino IoT supports two IPs. You can add both ips (internal and extrernal).

  • @ThanhNguyen-yj4vn
    @ThanhNguyen-yj4vn ปีที่แล้ว

    I have 1 Virtuino IOT application, when ESP8266 and smartphone are connected to 1 wifi, they can control each other. When the smartphone switches to 4G and the ESP8266 uses wifi, they cannot control each other. Please help me! Thank you!

    • @iliaslamprou
      @iliaslamprou  ปีที่แล้ว

      Hello, you have to "portforward" the internal IP and port of the ESP8266 in your router settings. Check your router settings for this.
      This documentation will help you:
      virtuino.com/index.php/virtuino/documentation/virtuino-ip-settings-for-internet-connection
      but you can find unlimited tutorials on youtube.
      On Esp8266 code you don't need to do nothing.
      On Virtuino project you have to add the external IP as "Alternative IP"
      This is the reason Virtuino IoT supports two IPs. You can add both ips (internal and extrernal).
      On your router settings you have to make the port forwarding.

    • @ThanhNguyen-yj4vn
      @ThanhNguyen-yj4vn ปีที่แล้ว

      @@iliaslamprou Hello sir! Thank you for your guidance. I tried to install it but it still doesn't work.😄

    • @iliaslamprou
      @iliaslamprou  ปีที่แล้ว

      ​@@ThanhNguyen-yj4vn Hello, I think you have to use a Port Forward tester to be sure that the port is open and the communication is allowed. www.yougetsignal.com/tools/open-ports/

    • @ThanhNguyen-yj4vn
      @ThanhNguyen-yj4vn ปีที่แล้ว

      @@iliaslamprou hello sir! Thanks for the guide. i tried it but no port is open.

    • @iliaslamprou
      @iliaslamprou  ปีที่แล้ว

      @@ThanhNguyen-yj4vn I can't help you with this. You have to check the router settings. First of all you have to disable the firewall.