Search found 330 matches

by ThomasB
17 Jul 2019, 05:55
Forum: ESP Easy: Software
Topic: Rules Timer ignore
Replies: 4
Views: 103

Re: Rules Timer ignore

It looks like your log level is set to info . Increase it to debug and review the expanded messages for clues to the problem. BTW, I see that Timer 1 has expired, then things go quiet for awhile; Maybe it hangs on MQTT. So, reconfirm the MQTT is working correctly. For example, check your broker and ...
by ThomasB
16 Jul 2019, 18:34
Forum: ESP Easy: General Discussion
Topic: Power Outage detector
Replies: 1
Views: 82

Re: Power Outage detector

There is no need to monitoring voltage or current just presence of the electricity? {snip} Just need a safe way. One safe way is to power the ESP device without UPS or backup battery. Have it send periodic heartbeat message using timer rule. When power is lost the heartbeat message stops and this c...
by ThomasB
15 Jul 2019, 17:09
Forum: ESP Easy: General Discussion
Topic: Oh no, not the PCF8591 again...
Replies: 14
Views: 402

Re: PCF8591 as comparator.

If you mean you want to enable ADS1115's differential mode, then configure its plugin for Differential operation. It's in the "Input Multiplexer" drop down list. Reading ADC values will use differential operation after you do that. If the ADC's differential mode trickery does not work as you expecte...
by ThomasB
15 Jul 2019, 02:50
Forum: ESP Easy: General Discussion
Topic: Oh no, not the PCF8591 again...
Replies: 14
Views: 402

Re: PCF8591 as comparator.

But I want to read the value, not the state...
OK, a comparator won't work. Wire up a ADC and put it to work.

- Thomas
by ThomasB
14 Jul 2019, 23:24
Forum: ESP Easy: General Discussion
Topic: Oh no, not the PCF8591 again...
Replies: 14
Views: 402

Re: PCF8591 as comparator.

Why single ended? Because I have high confidence single ended ADC operation will work without much fuss. I'm not convinced the differential input will work as you intended (it's there for applications that need noise immunity, not analog compare). But give it a try since experimentation is fun. And...
by ThomasB
14 Jul 2019, 18:50
Forum: ESP Easy: General Discussion
Topic: Oh no, not the PCF8591 again...
Replies: 14
Views: 402

Re: PCF8591 as comparator.

Ah, am I using the wrong terminology? OK, so what's the difference? A comparator changes logic state when the threshold voltage is exceeded. A differential ADC's two inputs are subtracted from the other. This is intended to reduce common mode noise on input signals. I've got an ADS1115 in the box, ...
by ThomasB
14 Jul 2019, 03:22
Forum: ESP Easy: General Discussion
Topic: Oh no, not the PCF8591 again...
Replies: 14
Views: 402

Re: PCF8591 as comparator.

The PCF8591 does not provide user access to its internal comparator (it's assigned to the successive approximation logic). But using the differential input feature with a low reference voltage is a trick worth playing with if the rule based concept does not work. Keep in mind that this is not the sa...
by ThomasB
14 Jul 2019, 02:54
Forum: ESP Easy: Software
Topic: Problem with WEB-interface
Replies: 8
Views: 246

Re: Problem with WEB-interface

It seems to work ok for now, and I´ll see if it comes back next power outage, or before!
Glad to hear you fixed it.

- Thomas
by ThomasB
14 Jul 2019, 01:18
Forum: ESP Easy: Software
Topic: Problem with WEB-interface
Replies: 8
Views: 246

Re: Problem with WEB-interface

If I use sysinfo I come directly to the web interface, and it seems to work, everything except the homepage. Anything in the sysinfo report to be concerned about? For example, are Free Mem and Free Stack values normal? Do you think I should try updating firmware from web interface? That is a good i...
by ThomasB
14 Jul 2019, 00:50
Forum: ESP Easy: Projects / Applications
Topic: Controlling AC throught Openhab and ESP Easy
Replies: 1
Views: 242

Re: Controlling AC throught Openhab and ESP Easy

Thanks for sharing your setup. I'm also using ESPEasy with Openhab home control. Compatibility between them is excellent thanks to MQTT. And giving a voice to ESPEasy devices is possible using Openhab's Alexa Control Binding. Telling Alexa to control a ESPEasy device and/or have her provide voice re...
by ThomasB
14 Jul 2019, 00:33
Forum: ESP Easy: Software
Topic: Problem with WEB-interface
Replies: 8
Views: 246

Re: Problem with WEB-interface

I have tried a couple reboots with pulling the fuse to the vent unit, and got it to reboot "manually", that dit not work. Hmm, that should have solved the problem. It seems to me that the firmware is corrupted or the device is broken. If it's installed in a hot attic then that can be a cruel enviro...
by ThomasB
13 Jul 2019, 22:43
Forum: ESP Easy: Software
Topic: Problem with WEB-interface
Replies: 8
Views: 246

Re: Problem with WEB-interface

Have you tried a remote reboot using http?
http://<DEVICE_IP>/?cmd=reboot

- Thomas
by ThomasB
13 Jul 2019, 18:24
Forum: ESP Easy: General Discussion
Topic: Oh no, not the PCF8591 again...
Replies: 14
Views: 402

Re: PCF8591 as comparator.

I'm not sure how big a deal that will be. Getting familiar with the PlatformIO IDE will probably be the hardest part. You mentioned that you want to use the PCF8591 as a comparator. This can be done in ESPEasy's rules. Read the ADC channel, then have a rule compare it to the "reference" voltage (an...
by ThomasB
13 Jul 2019, 05:30
Forum: ESP Easy: General Discussion
Topic: Oh no, not the PCF8591 again...
Replies: 14
Views: 402

Re: PCF8591 as comparator.

The plugin only provides simple analog reads of the four inputs. No other functions are supported.

-Thomas
by ThomasB
11 Jul 2019, 16:52
Forum: ESP Easy: Software
Topic: Serial data from arduino uno to espeasy
Replies: 7
Views: 359

Re: Serial data from arduino uno to espeasy

You are able to flash firmware to the Wemos D1 V2.x knockoff so the ESP8266's serial port is alive. Maybe the cloner made a mistake in the board layout on the RX and TX I/O pins. Or perhaps the two "470 ohm" resistors on the CH340G (at pins TXD & RXD) were stuffed with the incorrect value. So if you...
by ThomasB
11 Jul 2019, 03:09
Forum: ESP Easy: General Discussion
Topic: Talking to each other.
Replies: 2
Views: 308

Re: Talking to each other.

Some useful details on how to do it with ESPEasy P2P Networking (and other methods) are found here: viewtopic.php?f=4&t=5830

- Thomas
by ThomasB
10 Jul 2019, 23:07
Forum: ESP Easy: Software
Topic: Serial data from arduino uno to espeasy
Replies: 7
Views: 359

Re: Serial data from arduino uno to espeasy

Check the revision on your Wemos D1 mini. If it is a V3.x series I suspect that there will be a conflict with the onboard USB/Serial chip. I suggest lifting the TXD pin (PIN-2) on the CH340C. This will prevent attenuating the externally transmitted data signal level that is going to the Wemos's "RX"...
by ThomasB
06 Jul 2019, 00:25
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6628

Re: Hardware Watchdog Reboots

Thanks for digging deep into the reboot issue. It's been a persistent problem for some of us. Your findings are interesting and it appears you are close to solving it.

I don't have any useful information to help in your debugging adventure; Just wanted to stop by and cheer you on.

- Thomas
by ThomasB
01 Jul 2019, 02:28
Forum: ESP Easy: Hardware
Topic: SONOFF MINI
Replies: 2
Views: 873

Re: SONOFF MINI

No experience with it, but flashing ESPEasy appears to be possible. It has a ESP8265 (1MB) and four solder pads for the serial interface. See PCB photos here: https://fccid.io/2APN5-MINI/Internal-Photos/Internal-Photos-4291787 The bad news is that the photos show that most GPIO pins don't have conve...
by ThomasB
28 Jun 2019, 18:59
Forum: ESP Easy: Projects / Applications
Topic: Solved! Since update endless feedback loop of a switching command between ESP EASY and Domoticz
Replies: 6
Views: 907

Re: Since update endless feedback loop of a switching command between ESP EASY and Domoticz

That would eliminate my feedback problem, but then I would lose the status display of the fan in Domoticz.
The status data can be sent to Domoticz by your ESPEasy rules (use the publish command).

- Thomas
by ThomasB
26 Jun 2019, 20:39
Forum: ESP Easy: General Discussion
Topic: P2P networking node monitoring?
Replies: 1
Views: 882

Re: P2P networking node monitoring?

The typical way is to use timer rules on the host. One timer for each temperature sensor. The sensor data would be configured to report periodically, for example once every 30 secs. When the temperature data is received from a sensor its assigned timer is re-initialized to a period that is 2X longer...
by ThomasB
25 Jun 2019, 21:08
Forum: ESP Easy: General Discussion
Topic: Setting WiFi channel
Replies: 1
Views: 951

Re: Setting WiFi channel

Presently it doesn't seem possible to do that. But a workaround is to power cycle (cold reboot) the ESP device so it can perform a new SSID scan. Repeat these cold reboots (if necessary) until your preferred connection is found. BTW, a warm reboot should retain the last connection's SSID. So no worr...
by ThomasB
25 Jun 2019, 05:12
Forum: ESP Easy: General Discussion
Topic: DST Information
Replies: 2
Views: 1012

Re: DST Information

This screenshot shows PST timezone. It observes UTC- 8 hours (-480 mins). Because the DST box is checked the time zone offset is automatically corrected to -7 hours during daylight savings time.
.
espeasyDST.jpg
DST Settings.
espeasyDST.jpg (88.47 KiB) Viewed 1009 times
- Thomas
by ThomasB
24 Jun 2019, 21:15
Forum: ESP Easy: General Discussion
Topic: Advice on rule design
Replies: 3
Views: 1262

Re: Advice on rule design

I was trying to mess around with variables but didn’t have much luck.
This discussion should help you: viewtopic.php?t=6288

- Thomas
by ThomasB
23 Jun 2019, 02:09
Forum: ESP Easy: Hardware
Topic: problems flashing sonoff basic r2 power v1
Replies: 3
Views: 1146

Re: problems flashing sonoff basic r2 power v1

What am I doing wrong? A couple tips: 1. Your Sonoff has a ESP8265 with 1MB memory that uses DOUT. Be sure that you flash the correct firmware file. Hint: Use the latest Mega release that is compatible with your device. 2. Be sure to press and hold the push switch when you power it up. This enables...
by ThomasB
22 Jun 2019, 18:25
Forum: ESP Easy: General Discussion
Topic: show remaining timer value
Replies: 2
Views: 1196

Re: show remaining timer value

I expected a list of timers the System Variables overview, but the timers aren't there. Am I missing something?
We can't directly read the system timer values. The workaround is to create a companion timer (via rules) that "countdowns" a dummy var every second.

- Thomas
by ThomasB
22 Jun 2019, 18:20
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6628

Re: Hardware Watchdog Reboots

I don't know where I read it, but someone stated that the current spikes during WiFi negotiations has increased in later core releases. This would suggest a reason for the voltage "noise" related reboots not affecting older firmware versions.

- Thomas
by ThomasB
21 Jun 2019, 18:22
Forum: ESP Easy: General Discussion
Topic: Question regarding correct firmware
Replies: 4
Views: 1329

Re: Question regarding correct firmware

... could you please point me to the section in the wiki that explains how to use the serial to log when booting? 1. Connect PC to USB port on ESP Module. 2. Launch your favorite serial terminal program (e.g. PuTTY). 3. Connect using 115200 baud (8 bit / 1 stop / No Parity). 4. Push Reset Button on...
by ThomasB
21 Jun 2019, 05:19
Forum: ESP Easy: General Discussion
Topic: Question regarding correct firmware
Replies: 4
Views: 1329

Re: Question regarding correct firmware

When I say, not worked, I mean that the flash writes just fine but I never see the device on the network. I don't see it's private WiFi access point or the device on my network at all. You might learn more about what is going on by monitoring the serial log. Check for any useful messages during the...
by ThomasB
20 Jun 2019, 20:07
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 1886

Re: ESPEasy to guard meter-box

I agree that using that circuit sensor inside the load center (mains electrical panel) is a low cost elegant solution. But it's not my cup of tea; Along with general safety concerns, I don't want to give my home insurance provider a reason to deny a claim due to unaccepted devices inside the panel. ...
by ThomasB
20 Jun 2019, 17:44
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 1886

Re: ESPEasy to guard meter-box

Found one that checks 8 groups in one board. Looks OK, or am I missing something? I'm using the single channel version in a washing machine. Although designed for 220VAC, it is reliably sensing North American 120VAC. But I am VERY hesitant to recommend these Chinese made boards. They seem to have v...
by ThomasB
20 Jun 2019, 17:17
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6628

Re: Hardware Watchdog Reboots

I tend to believe there is somewhere a bug (can be in our code, or in the core libraries) related to some buffer size not including a 0 termination character, or not setting it. I suspect that kind of problem too. Or possibly a var pointer with an address that isn't initialized. Are there any archi...
by ThomasB
20 Jun 2019, 03:44
Forum: ESP Easy: Software
Topic: Rules and triggers
Replies: 12
Views: 1571

Re: Rules and triggers

Is there an event that I can listen for that fires when an MQTT Publish happens? Instead of using a plugin's Send to Controller option, you can create rules that are triggered when the device's value changes. In the rule you can publish the MQTT message, plus call a timer rule that winks the LED. -...
by ThomasB
20 Jun 2019, 02:42
Forum: ESP Easy: Software
Topic: Rules and triggers
Replies: 12
Views: 1571

Re: Rules and triggers

I flashed ESP_Easy_mega-20190607_normal_core_241_ESP8266_1M to the Wemos and it installed fine. Would this be the latest version?
At the moment it is the latest.
... both rules work perfectly!
Congrats on your success.

- Thomas
by ThomasB
20 Jun 2019, 00:29
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6628

Re: Hardware Watchdog Reboots

I still regret we made the change to core 2.4.x with so many changes that there's no way back. In rare cases core 2.4.x is golden too. All my ESPEasy's (a mix of NodeMCU and Sonoff modules) have reboot issues. Except one gifted Sonoff that has not rebooted since it was deployed. Now reporting a sys...
by ThomasB
19 Jun 2019, 23:59
Forum: ESP Easy: Software
Topic: Rules and triggers
Replies: 12
Views: 1571

Re: Rules and triggers

From what I'm reading, I don't think I can run mega (easily) on this little 1 mg Wemos As mentioned earlier, I tested your rule examples with ESP_Easy_mega-20190409_normal on a 1MB Sonoff module. Your 1MB Wemos should work fine too if you flash with a MEGA release that was built for your 1M modules...
by ThomasB
19 Jun 2019, 20:51
Forum: ESP Easy: Hardware
Topic: Connecting the ds18b20 | Pull-up resistor needed?
Replies: 3
Views: 1492

Re: Connecting the ds18b20 | Pull-up resistor needed?

The article mentions that the data line pullup resistor can be omitted in special circumstances (Low Dallas device count, short cable lengths). It's a solution that uses the ESP module's programmable internal weak pullup (~50K ohms) that can be enabled on a I/O pin. Ideal for those users that want t...
by ThomasB
19 Jun 2019, 19:08
Forum: ESP Easy: Software
Topic: Rules and triggers
Replies: 12
Views: 1571

Re: Rules and triggers

ESPEasy_R120_1024.bin is old legacy code. It might not support what you are trying to do. Install the latest MEGA release and try again.

- Thomas
by ThomasB
19 Jun 2019, 18:36
Forum: ESP Easy: Software
Topic: Rules and triggers
Replies: 12
Views: 1571

Re: Rules and triggers

I’ll check the logs but why would that be diffferent? It should show entries for GPIO-16 and other events so you can debug the problem. But you should use Serial Log (not web log) because the WiFi and MQTT rule actions will occur before web log has begun. BTW, I tested ESP_Easy_mega-20190409_normal...
by ThomasB
19 Jun 2019, 02:15
Forum: ESP Easy: General Discussion
Topic: EVENT not being publish
Replies: 1
Views: 1373

Re: EVENT not being publish

am I missing something? It's very difficult to offer casual advice on custom plugins. And without screenshots of the device and controller settings we can't offer feedback on the basic setup. But as a primitive test, use a rule to publish your Air Quality values to the broker. Success with that wil...
by ThomasB
18 Jun 2019, 17:21
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy LoRa: Mail Box Alert
Replies: 15
Views: 2582

Re: ESPEasy LoRa: Mail Box Alert

Did they take your LoRa notifier too? Fortunately the mail thieves didn't touch the LoRa device. It's back in service. The mangled mail box took a month to be replaced. Our neighborhood had to visit the post office for mail pickup while we waited for the replacement. The long wait was because the p...
by ThomasB
18 Jun 2019, 03:54
Forum: ESP Easy: Software
Topic: (SOLVED) Trying to understand how ESPEasy works with MQTT
Replies: 3
Views: 1466

Re: Trying to understand how ESPEasy works with MQTT

You're welcome. It's good to know you got it working.

- Thomas
by ThomasB
18 Jun 2019, 03:06
Forum: ESP Easy: Hardware
Topic: Manually entered address for 1-Wire device (DS18B20)
Replies: 3
Views: 1495

Re: Manually entered address for 1-Wire device (DS18B20)

I need to connect 8 DS18B20 sensors to ESP Easy. Apparently there is some problem with the address discovery ... Before giving up on auto discovery: (1) Use 3-wire configuration (Gnd, Data, Vcc). Do not use "One wire" (Gnd, Data). (2) Use very short wiring during your discovery debugging. Once thin...
by ThomasB
18 Jun 2019, 01:15
Forum: ESP Easy: Software
Topic: (SOLVED) Trying to understand how ESPEasy works with MQTT
Replies: 3
Views: 1466

Re: Trying to understand how ESPEasy works with MQTT

In order to do this I first have to setup a controller correct? I chose the OpenHAB MQTT based on what I read in the Wiki. OpenHab MQTT works well with ESPEasy. But first test your OpenHAB MQTT controller and confirm it is working correctly. Next I need to setup the DS18B20 on the device tab. After...
by ThomasB
17 Jun 2019, 21:24
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 1886

Re: ESPEasy to guard meter-box

What comes to mind is link an ESP unit to each group, sending out a heartbeat every few minutes. This way the Domoticz server could keep track, and raise an alarm (e-mail) if a unit dies because the power is cut. As you have recognized, there is no need to monitor voltages because a missing heartbe...
by ThomasB
16 Jun 2019, 18:07
Forum: ESP Easy: Projects / Applications
Topic: RS485 Serial options?
Replies: 5
Views: 1657

Re: RS485 Serial options?

... does ESPEasy have any support for "serial" data coming in and just pushing the values out over MQTT? It seems to me that the closest thing would be the Ser2Net plugin. It's for use with controllers that have Ser2Net gateways. https://www.letscontrolit.com/wiki/index.php?title=Ser2Net Your appli...
by ThomasB
16 Jun 2019, 04:29
Forum: ESP Easy: Projects / Applications
Topic: RS485 Serial options?
Replies: 5
Views: 1657

Re: RS485 Serial options?

Hardware wise, you can adapt the ESP serial port to RS485 with something like these:
https://ebay.to/2WEm3O4
https://ebay.to/2INiC2x

But software wise, I suspect you will need to create your own custom plugin for the ventilation fan.

- Thomas
by ThomasB
14 Jun 2019, 19:08
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 100
Views: 6628

Re: Hardware Watchdog Reboots

I went in to "Tools / Advanced' and set the "Inter-ESPEasy Network" UDP port number to zero on all my units. At the same time I unticked the "Enable serial port" box - again on all of my [5] units. Good ideas, may help someone reduce their reboots. I have observed that serial activity can invite mo...
by ThomasB
14 Jun 2019, 18:43
Forum: ESP Easy: Projects / Applications
Topic: Advice on what sensors to use
Replies: 3
Views: 1780

Re: Advice on what sensors to use

I need to find something like that on aliexpress since they don't see that anymore.
Ebay has several sources at low cost. https://ebay.to/2ZvVhcF

But if you must order from AliExpress then perhaps these might work out: https://bit.ly/2wS6Kqy

- Thomas