logo elektroda
logo elektroda
X
logo elektroda

Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project

Pe_Ka 15099 15
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17539000
    Pe_Ka
    Level 10  
    Thank you good
    I try my hand at IOT according to, it would seem, ready-made:
    http://flytomcio.pl/raspberry-pi/pomiar-zuzyc...ektrycznej-z-wykorzystaniem-diody-w-liczniku/
    Everything went smoothly until you had to communicate ESP and Domoticz with you. The author writes "Then we choose the GPIO port, and other settings, including the IDX device in Domoticz" well, my problem probably concerns these other ...
    To sum up: what and where do you need to specify in ESP and Domoticz, where what IPs, ports, logins, passwords and others to make it work?
    Do you have a problem with Raspberry? Ask question. Visit our forum Raspberry.
  • ADVERTISEMENT
  • #3 17539201
    Pe_Ka
    Level 10  
    I have seen the above article and if:
    - IP Controller is the IP of the computer from Domoticz
    - IDX is the value from the first column of the device list
    that's how I got it. The question is what is Unit No.?
    And how should Domoticz be configured? There are also several windows to fill in the configuration tab.
    Could it be a matter of setting up my home network?
    I have ESP-01 or should I upload soft for 1024?
  • ADVERTISEMENT
  • #4 17539624
    ekrzychoooo
    Level 17  
    Hello
    Soft 1024 to ESP would have to have 8Mbit flash.
    ESP01 probably has 4Mbit flash as standard, so soft 512k.
    I have a ceiling lamp made on ESP01.
    Here you have screenshots of my settings:
    Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT ProjectPrzechwyty..ie1.PNG Download (17.24 kB)
    Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT ProjectPrzechwyty..ie2.PNG Download (18.68 kB)
    Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT ProjectPrzechwyty..ie3.PNG Download (13.02 kB)
    Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT ProjectPrzechwyty..ie4.PNG Download (15.61 kB)
    Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT ProjectPrzechwyty..ie5.PNG Download (15.53 kB)

    The IP controller is an IP domoticza.
  • #5 17539697
    Pe_Ka
    Level 10  
    And is there a chance for a screen from the Domoticz configuration?
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #7 17539889
    Pe_Ka
    Level 10  
    I don't want to abuse the courtesy, but I meant the settings / configuration tab. Where there are passwords, logins, IPs, ports, lots of sliders at the bottom, etc.
  • #8 17539977
    ekrzychoooo
    Level 17  
    I think that at the beginning leave everything there as it is set by default.
    Maybe the Local Area Networks parameter (no password / login):
    127.0.0. *; 192.168.0. *
    If your local network is of type 192.168.1.xxx then:
    127.0.0. *; 192.168.1. *
    I have a lcd screen in raspberry, so 127.0.0 locally. * I have access without logging in.
  • #9 17539988
    Pe_Ka
    Level 10  
    OKAY. It's another approach tonight ;)

    Added after 7 [hours] 48 [minutes]:

    not bangla, this is how it looks on the screens

    Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project Configuring DOMOTICZ, ESP8266, ESPEASY: Setup, IPs, Ports, Logins, and IDX in IoT Project
    ESP-01 soft v0.9.5.2 -> ESPEasy R120 512
    IP computer with Domoticz 192.168.0.101
    do you have an idea what I'm doing wrong?
    And one more thing. How to reinstall domoticza so that it does not remember the entered data, passwords, devices? Cleaning Program Files and Chroma has no effect
  • #10 17541558
    Slawek K.
    Level 35  
    Buddy, you have IP addresses from different subnets, ESP has 192.168.1.21 and Domoticz 192.168.0.101 - it won't work without a router. Change the ESP IP address to e.g. 192.168.0.105 and check. The second issue is Controller User and Controller Password on ESP, you have empty, while on DOmoticz it has authentication set.
    Start with the standard Domoticz configuration (default) without security etc. and set the correct IP addresses to ESP, it must work.

    pozdr
  • #11 17541669
    Pe_Ka
    Level 10  
    ooooo cry !!!! shame !! but sometimes man turns around like that
    I did the order with IP, i.e. I logged on to the same router to which the computer is connected on the cable. now ESP from the machine got IP 192.168.0.104, the computer has 192.168.0.101 and of course I introduced it to ESP
    I reinstalled Domoticz, but a password (WWW security) jumps in some mega long string of characters. The user window is empty. I pasted this string to ESP and lime.
    Local networks (without password / login) I have 127.0.0. *; 192.168.0. *
    I do not know....
    in the evening i will try on a different computer

    Added after 12 [hours] 51 [minutes]:

    interesting fact, it worked on Firefox, on Chrome does not work ....
  • #12 17760704
    benon75
    Level 10  
    I need your help. Domoticz patient + EasyESP January edition uploaded to Wemos D1 mini. "Rules" loops if the switch responsible for changing the gpio status of the relay is quickly pressed. In rules I have a standard rule on .. to ... endon. When pressing with an interval of at least 2 seconds, everything works OK. If I reduce the time to about 1s. this is a lottery, but with a faster press the program loops and uncontrollably changes the gpio state responsible for controlling the relay. It turns on and off endlessly, only the D1 module reset helps.
    The internal pullup for the switch is on, I combined with 10k to Vcc and it did not change anything. I also combined with timers in rules but they do not help.
    Help me because for 2 days I have been fighting this and I hesitate whether to put ioT on Domoticz or not go to Supla, although the latter has a lot of catching up to do. In the spring I am starting the construction of a 1000m2 building and I would like to prepare for the implementation of some ioT solution.
  • #13 17786624
    credens
    Level 10  
    benon75 wrote:
    I need your help. Domoticz patient + EasyESP January edition uploaded to Wemos D1 mini. "Rules" loops if the switch responsible for changing the gpio status of the relay is quickly pressed. In rules I have a standard rule on .. to ... endon. When pressing with an interval of at least 2 seconds, everything works OK. If I reduce the time to about 1s. this is a lottery, but with a faster press the program loops and uncontrollably changes the gpio state responsible for controlling the relay. It turns on and off endlessly, only the D1 module reset helps.
    The internal pullup for the switch is on, I combined with 10k to Vcc and it did not change anything. I also combined with timers in rules but they do not help.
    Help me because for 2 days I have been fighting this and I hesitate whether to put ioT on Domoticz or not go to Supla, although the latter has a lot of catching up to do. In the spring I am starting the construction of a 1000m2 building and I would like to prepare for the implementation of some ioT solution.


    Set De-bounce to 200 or 250, it helped me. The relay status probably loops in communication with the domotics, because after unchecking 'Send to controler' everything works as it should with 'De-bounce' equal to 0 ms.
  • #14 17786634
    xury
    Automation specialist
    Recently, ESPeasy development releases are very unstable. I would recommend either using earlier (September-October 2018) or switching to Tasmota.
  • #15 17786652
    credens
    Level 10  
    xury wrote:
    Recently, ESPeasy development releases are very unstable. I would recommend either using earlier (September-October 2018) or switching to Tasmota.


    It's a fact. The latest espeasy at a high refresh rate from i2c sensors turned on the light bulbs myself ;)

    And as for the firmware I will try the releases from the period you are talking about, honestly I did not want to upload every available compilation and I ended up with the November releases, which also did not work stably, and I solved problems with half measures.

    EDIT:

    I changed espeasy mega to stable version esp R120 and the problem disappeared.
  • #16 20456341
    gregores-1
    Level 8  
    >>17541669
    Hello. Could my colleague explain what settings finally worked because I have a similar problem with sending data from ESP to Domoticz?

    Added after 6 [hours] 1 [minutes]:

    Hello. Can a colleague explain what the final settings should be in Domoticz and ESP to communicate correctly? I have a similar problem and can't solve it.

Topic summary

The discussion revolves around configuring Domoticz with ESP8266 and ESPEasy for an IoT project. Users face challenges in establishing communication between ESP and Domoticz, particularly regarding the correct settings for IP addresses, ports, logins, and IDX values. Key points include ensuring that the ESP and Domoticz are on the same subnet, configuring the Controller User and Password correctly, and using default settings initially. Users also share experiences with different firmware versions of ESPEasy, noting that older versions tend to be more stable. Additionally, issues with relay control and debounce settings are addressed, with recommendations to adjust debounce values to prevent looping issues. Screenshots of configurations are shared for clarity.
Summary generated by the language model.
ADVERTISEMENT