Search found 53 matches
- 15 Feb 2021, 09:32
- Forum: ESP Easy: General Discussion
- Topic: Using SMD module for ESP32
- Replies: 1
- Views: 4892
Using SMD module for ESP32
Hello, I was using NODEMCU ESP32 devkit until now, but now I am thinking of integrating the ESP32 SMD module with the relays and avoid using NODEMCU. Can anyone suggest me how to code ESP32 SMD module? Should I program first and then solder ESP32 SMD module on the board? What is the scenario if some...
- 08 Dec 2020, 09:29
- Forum: ESP Easy: General Discussion
- Topic: Automate password change between domoticz and ESPeasy
- Replies: 4
- Views: 9421
Re: Automate password change between domoticz and ESPeasy
Just for the sake of argument, imagine it would be possible. So you update the password in Domoticz and the password on all connected devices also changes. Now think of a reason WHY you change a password. One reason could be because the old password was compromised, or it is simply policy, which ha...
- 08 Dec 2020, 09:27
- Forum: ESP Easy: General Discussion
- Topic: Automate password change between domoticz and ESPeasy
- Replies: 4
- Views: 9421
Re: Automate password change between domoticz and ESPeasy
Agreed. Fair enough.Ath wrote: ↑08 Dec 2020, 07:42 That is not possible, nor in any way safe.
How often do you change the password on Domoticz? After that, all equipment connecting to it need to have their settings updated.
It's like when changing your e-mail password, you'll have to update all e-mail clients. Manually.
- 08 Dec 2020, 06:58
- Forum: ESP Easy: General Discussion
- Topic: Automate password change between domoticz and ESPeasy
- Replies: 4
- Views: 9421
Automate password change between domoticz and ESPeasy
Hello, I am just curious to know is there any way that if we change the login user id and password in domoticz the userid and password of the controller in ESPeasy will automatically change? Or does someone have any suggestions so that I can work on it? Or I should move on to continue with what I ha...
- 12 Nov 2020, 12:08
- Forum: ESP Easy: Hardware
- Topic: esp lost connection
- Replies: 7
- Views: 23799
Re: esp lost connection
This setting you refer to is about counting the number of failed connect attempts. However if it isn't connected to WiFi at all, there will be no connect attempt. What you can do is keep track of the events in the rules and issue a reboot if it fails to connect or reconnect. Just some example of ho...
- 12 Nov 2020, 06:48
- Forum: ESP Easy: Hardware
- Topic: esp lost connection
- Replies: 7
- Views: 23799
Re: esp lost connection
Hello everyone,
I am using ESP32 NODEMCU and working on reset on connection lost. But ESP32 is not resetting when there is no connection between the ESP32 & the wifi. Need some help. I am using ESPeasy(ESP32), Domoticz, and a local host wifi router.
I am using ESP32 NODEMCU and working on reset on connection lost. But ESP32 is not resetting when there is no connection between the ESP32 & the wifi. Need some help. I am using ESPeasy(ESP32), Domoticz, and a local host wifi router.
- 09 Nov 2020, 13:22
- Forum: ESP Easy: General Discussion
- Topic: GPIO 4 flickering on reset
- Replies: 6
- Views: 13279
Re: GPIO 4 flickering on reset
GPIO 4 & 5 should be the most 'stable' ones during boot. See also: https://rabbithole.wwwdotorg.org/2017/03/28/esp8266-gpio.html But you're writing about a "pull down" resistor. Why a pull-down resistor? It is more common to have a pull-up resistor and use the switch to pull the signa...
- 26 Oct 2020, 05:32
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9603073
Re: Support for PZEM 004T Energy monitor
What do you mean? This sensor is using the (Hardware) serial port, so you must uncheck "Enable Serial port:" on the Tools->Advanced page. This does make sure no logs are sent to the serial port and also any incomming data is not interpreted as commands and thus allows exclusive access to ...
- 26 Oct 2020, 05:29
- Forum: ESP Easy: General Discussion
- Topic: GPIO 4 flickering on reset
- Replies: 6
- Views: 13279
- 26 Oct 2020, 05:29
- Forum: ESP Easy: General Discussion
- Topic: GPIO 4 flickering on reset
- Replies: 6
- Views: 13279
Re: GPIO 4 flickering on reset
Have you configured a de-bounce value for the input? (50 - 100 msec), and does that GPIO have a physical pull-up resistor installed? (~4k7-10k, the internal pull-up is ~80-100k so a bit 'weak'). What length are the wires that connects the input to GPIO5? I have not configured the De-bounce value......
- 23 Oct 2020, 07:30
- Forum: ESP Easy: General Discussion
- Topic: GPIO 4 flickering on reset
- Replies: 6
- Views: 13279
GPIO 4 flickering on reset
Hello, I am currently using ESP8266 for controlling 4 relays along with ESPeasy and Raspberry Pi. But every time I reset the ESP8266-NodeMCU the GPIO4 starts flickering and I need to reset it 2-4 times to make it stable. Input is taken from a manual switch at GPIO5 with the same IDX as GPIO4 to cont...
- 19 Oct 2020, 07:20
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9603073
Re: Support for PZEM 004T Energy monitor
Disable on the Hardware I2C Interface tab and on the Tools tab advanced Serial port. I flushed my ESPeasy and reinstalled the firmware and the sensor works perfectly fine with the 217 plugin without disabling I2C interface or serial port. Will it have any adverse effect in long term? or is it fin i...
- 17 Oct 2020, 08:17
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9603073
Re: Support for PZEM 004T Energy monitor
Well that configuration just simply is wrong. You cannot have an I2C address set and GPIO pins. That's not using the correct ESPEasy serial wrapper calls. I am using plugin 251 from the ESPeasy plugin and it is set by default. Can anyone suggest a perfect plugin without an I2C address? link of plug...
- 17 Oct 2020, 08:09
- Forum: ESP Easy: General Discussion
- Topic: automatic switching of the GPIO
- Replies: 11
- Views: 15187
Re: automatic switching of the GPIO
Thanks, everyone!!! Using 5V worked perfectly for me!
- 17 Oct 2020, 07:52
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9603073
- 17 Oct 2020, 06:48
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9603073
Re: Support for PZEM 004T Energy monitor
Well that configuration just simply is wrong. You cannot have an I2C address set and GPIO pins. That's not using the correct ESPEasy serial wrapper calls. I am using plugin 251 from the ESPeasy plugin and it is set by default. Can anyone suggest a perfect plugin without an I2C address? link of plug...
- 16 Oct 2020, 09:19
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9603073
Re: Support for PZEM 004T Energy monitor
Hello, I am trying to connect PZEM-004t with nodemcu with the following configuration:- Nodemcu is connected to a laptop USB. 5V, GND for PZem is taken from raspberry pi, and TX of PZem is connected to D7, and RX is connected to D6. pzem.png It gives me Nan in all the fields. I have disabled serial ...
- 15 Oct 2020, 12:50
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9603073
Re: Support for PZEM 004T Energy monitor
Hi,
Can someone please provide connection diagram for connecting PZEM-004t withesp8266 nodemcu and load? I am unable to get any value on ESPeasy web interface.
Can someone please provide connection diagram for connecting PZEM-004t withesp8266 nodemcu and load? I am unable to get any value on ESPeasy web interface.
- 15 Oct 2020, 12:48
- Forum: ESP Easy: General Discussion
- Topic: automatic switching of the GPIO
- Replies: 11
- Views: 15187
Re: automatic switching of the GPIO
[...] The relay is a 5v active relay. but all the 3 relays are the same and others are operating efficiently That's what Ton suggested... With a lower than usual driving level the tolerances of parts may have a lot more effect. So i should use level converter in between ESP and relay. Am I right?
- 15 Oct 2020, 10:40
- Forum: ESP Easy: General Discussion
- Topic: automatic switching of the GPIO
- Replies: 11
- Views: 15187
Re: automatic switching of the GPIO
But ESP8266 has no provision of 5V on its GPIO so we are bound to use 3.3V. And on checking using multimeter the input to the relay is 3.12 V and another relay switches at the same voltage. Well, you can use a level converter for that (a transistor and a few resistors can make you one). 3.12V is ju...
- 15 Oct 2020, 08:22
- Forum: ESP Easy: General Discussion
- Topic: automatic switching of the GPIO
- Replies: 11
- Views: 15187
- 15 Oct 2020, 08:21
- Forum: ESP Easy: General Discussion
- Topic: automatic switching of the GPIO
- Replies: 11
- Views: 15187
Re: automatic switching of the GPIO
Is your relay input 5V or 3.3V? It may be that the relay input isn't stable enough at the high level of the ESP (3.3V) if the relay is for 5V. But ESP8266 has no provision of 5V on its GPIO so we are bound to use 3.3V. And on checking using multimeter the input to the relay is 3.12 V and another re...
- 14 Oct 2020, 13:26
- Forum: ESP Easy: General Discussion
- Topic: automatic switching of the GPIO
- Replies: 11
- Views: 15187
automatic switching of the GPIO
Hello, I have implemented a 4 relay circuit using ESPeasy and domoticz at my home and it's been 2 months now!! But nowadays relay connected to GPIO 4 switches off randomly without any reason. I checked the log but the connection between ESP and raspberry pi is active but still, the relay switches of...
- 22 Sep 2020, 07:16
- Forum: ESP Easy: General Discussion
- Topic: Power measurement of AC loads using ESP32
- Replies: 7
- Views: 11979
Re: Power measurement of each device using ESP32
If I use the I2C sensor I guess ESP32 supports only two I2C devices. As Ton already stated, for those sensors that only have a limited set of I2C addresses, you can use a multiplexer to overcome this issue. About the recent changes of I2C plugins. The update is intended to add support for multiple ...
- 22 Sep 2020, 07:14
- Forum: ESP Easy: General Discussion
- Topic: Power measurement of AC loads using ESP32
- Replies: 7
- Views: 11979
Re: Power measurement of each device using ESP32
OK, I just googled the ACS712 sensor (didn't know it) and it is just an analog output sensor (Hall effect sensor) So you can just use the ADC plugin. Just make sure you don't use pins connected to ADC2 of the ESP32 as those do not work well when WiFi is used. Okay, thank you for this information. :D
- 21 Sep 2020, 08:33
- Forum: ESP Easy: General Discussion
- Topic: Power measurement of AC loads using ESP32
- Replies: 7
- Views: 11979
Re: Power measurement of each device using ESP32
Recently I2C multiplexer support was added, but it is, because of build-size issues, only included in the 'normal' builds of ESPEasy. Alternatively, you can make a custom build of ESPEasy to enable support for this feature (search for FEATURE_I2CMULTIPLEXER in define_plugin_sets.h, it is inhibited ...
- 21 Sep 2020, 07:24
- Forum: ESP Easy: General Discussion
- Topic: Power measurement of AC loads using ESP32
- Replies: 7
- Views: 11979
Power measurement of AC loads using ESP32
Hello all, I am trying to configuring 4 switches on a switchboard with domoticz and ESPeasy. I am able to configure it successfully. Now, I want to measure the power consumption of each device on the switchboard. I tried using ACS712 but the readings where nonlinear(using a simple Arduino code as I ...
- 21 Sep 2020, 07:15
- Forum: ESP Easy: Software
- Topic: ESP32 Firmware Anfängerfrage
- Replies: 16
- Views: 33038
- 15 Sep 2020, 08:12
- Forum: ESP Easy: Software
- Topic: ESP32 Firmware Anfängerfrage
- Replies: 16
- Views: 33038
Re: ESP32 Firmware Anfängerfrage
will try that and let you knowTD-er wrote: ↑14 Sep 2020, 17:38 Can you try this test build? https://github.com/letscontrolit/ESPEasy/pull/3254
- 14 Sep 2020, 10:58
- Forum: ESP Easy: Software
- Topic: ESP32 Firmware Anfängerfrage
- Replies: 16
- Views: 33038
Re: ESP32 Firmware Anfängerfrage
Okay. Cool..waiting for the update.
Thank You!!
Thank You!!
- 14 Sep 2020, 10:42
- Forum: ESP Easy: Software
- Topic: ESP32 Firmware Anfängerfrage
- Replies: 16
- Views: 33038
Re: ESP32 Firmware Anfängerfrage
Well the SettingsStruct we use was not updated on all aspects before we started using ESP32 builds. ESP8266 only has GPIO 0 ..16, so there are no fields in the struct for more. See this in the source code: int8_t PinBootStates[17]; // FIXME TD-er: this is ESP8266 number of pins. ESP32 has double. I...
- 14 Sep 2020, 10:25
- Forum: ESP Easy: Software
- Topic: ESP32 Firmware Anfängerfrage
- Replies: 16
- Views: 33038
Re: ESP32 Firmware Anfängerfrage
Sorry for posting it under this link but I am unable to create a new post. I am using GPIO 16,17,18,191,21 as input pins from the switch to ESP32 but I cannot update the same in the hardware tab of ESPeasy. Why there are no more pins after GPIO16 in the hardware section of ESP32? Or is it still unde...
- 02 Sep 2020, 09:01
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
And your 'wall switch' is connected to GPIO14 and the device-name is 'Hall_light' ? And GPIO14 has a pull-down/pull-up resistor? Is the switch connected to 3.3V or ground? The state of the switch device only go to a value 11, when the longpress-time has passed. State 0 occurs immediately. You can s...
- 02 Sep 2020, 08:15
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
Look here: https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules under TaskValueSet. But what should the variable do? The basic description of what the rule should do is still missing. Only: Switch Hall_light=On then change GPIO16 to 1 and when switch Hall_light=Off the change GPIO16 back to ...
- 02 Sep 2020, 07:07
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
- 31 Aug 2020, 14:43
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
Maybe it's better to activate "LongPress"-event and use: On Hall_light#state=10 do (or On Hall_light#state=11 do) to switch your output-GPIO. This avoids short (0-500ms) switching operations. My idea: On Hall_light#state=11 do GPIO,16,1 endon On Hall_light#state=0 do GPIO,16,0 endon Or,.....
- 31 Aug 2020, 14:30
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
Don't feel sorry, it is just that I do read lots of threads, so every now and then I also start to feel lost in the information needed. So it was just to make sure I didn't miss any info and also for someone else jumping in the conversation a summary like this is also helping to get the information...
- 31 Aug 2020, 12:50
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
Maybe you can give the complete rules and some summary of what is intended purpose. This thread is already quite long and several things have been proposed, so it is hard to find exactly what is intended, what problems you currently see and what the full rules are you're using. So: - rules - How is...
- 31 Aug 2020, 11:21
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
What is the 'source' of the Hall_light ? Is that also working on GPIO 16? How is that switch task (assuming it is using the switch plugin) configured? As "normal switch" or "active low" or "active high" ? Source of Hall light is a physical switch connected to gpio,14 w...
- 31 Aug 2020, 10:51
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
You first have to make sure rules are enabled (Tools -> Advanced) Then you can start having a look at the timerset documentation here: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?highlight=timerset#timer In this topic (as in this forum topic, not the documentation link) a number of ru...
- 26 Aug 2020, 12:15
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
You first have to make sure rules are enabled (Tools -> Advanced) Then you can start having a look at the timerset documentation here: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?highlight=timerset#timer In this topic (as in this forum topic, not the documentation link) a number of ru...
- 26 Aug 2020, 07:54
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
Sounds like there may be a delay and queue of rules event processing. What you can do is to start a timer and store the right state where you now try to set the GPIO pin. For example, you store the state in variable 1 and set the (new) msec timer. As soon as this timer expires, you set the GPIO to ...
- 25 Aug 2020, 07:07
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
You're welcome and glad it is working now. Hello again, I am facing a problem in the same scenario. When I turn ON and OFF the switch continuously with high frequency the relay goes into the toggle mode and then I had to reset the NodeMCU to get it back to normal functioning. Is there any solution ...
- 21 Aug 2020, 10:32
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
Do you have a password set to Domoticz? Or does your configuration only accept traffic on HTTPS? Edit: Just thinking... I'm not 100% sure Domoticz should return some acknowledgment. But returning a 401 is just strange. It's working now...I had website protection switched on Domoticz. I just removed...
- 21 Aug 2020, 09:24
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
- 21 Aug 2020, 09:08
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
On ESPEasy you can add a Switch device (name: Relay), connected to GPIO-14 (mine is on GPIO-12) and the matching IDX in Domoticz, to get the status from your ESP to Domoticz. To control that same relay from Domoticz, you add a device MQTT Helper, that you give the same IDX and GPIO value. And I als...
- 21 Aug 2020, 08:59
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
- 21 Aug 2020, 08:59
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
Ah, and, assuming you run Domoticz on a Raspberry Pi, did you also install Mosquitto there, as the MQTT add-on to Domoticz? I think to us 'techies', that's kind of default/standard, because out of the box, Domoticz doesn't speak MQTT :shock: Okay. Will install MQTT on raspberry pi and restart. Btw ...
- 21 Aug 2020, 07:17
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
On ESPEasy you can add a Switch device (name: Relay), connected to GPIO-14 (mine is on GPIO-12) and the matching IDX in Domoticz, to get the status from your ESP to Domoticz. To control that same relay from Domoticz, you add a device MQTT Helper, that you give the same IDX and GPIO value. And I als...
- 20 Aug 2020, 15:35
- Forum: ESP Easy: General Discussion
- Topic: Rules using 'OR"
- Replies: 50
- Views: 188619
Re: Rules using 'OR"
You have to add a Domoticz controller (preferrably MQTT) and make sure you link the task to that controller. Only a few controllers support IDX values, so if you see a controller to be linked to the task and it is a Domoticz controller you will see the IDX field. In Domoticz, when you add a (dummy)...