Search found 127 matches

by waspie
30 Jul 2018, 14:49
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

I'm an OH user as well (i've seen you post there thomas) and on my more critical ESP units I employ a watch dog. To be sure MQTT is working I "ping" the units every 5 minutes with an MQTT message and the ESP answers back via MQTT to be sure its receiving and sending. If there's no answer a...
by waspie
26 Jul 2018, 14:01
Forum: ESP Easy: General Discussion
Topic: Trigger sensor reading
Replies: 2
Views: 2039

Re: Trigger sensor reading

Yes you do a rule for that and trigger another task using TaskRun. Or you can just publish the current value when the switch is triggered. But you need to use rules either way. Yeah republish won't fit. If a switch changes it likely means the reading will change. taskrun...thanks, that'll probably ...
by waspie
26 Jul 2018, 13:46
Forum: ESP Easy: General Discussion
Topic: Trigger sensor reading
Replies: 2
Views: 2039

Trigger sensor reading

Is there a way to trigger a sensor reading besides just the time parameter in the device settings?

Say I'd like a switch that changes position to force an ultrasonic sensor to take a reading outside its regular 60 second timing.
Is that possible?
by waspie
26 Jul 2018, 01:39
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

all good, the board i designed has pads so i can bridge them or put in resistors. thanks!
by waspie
25 Jul 2018, 18:03
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

to take advantage of H/W serial using the pin swap option it needs to be wired like this, correct?
NextionHwSerialPinout1.jpg
NextionHwSerialPinout1.jpg (52.56 KiB) Viewed 169244 times
by waspie
23 Jul 2018, 02:42
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

Nice projects guys. Here are my 2 3.5" models. I have a few 2.4s in bedrooms for light/temp/vent control. In out main living room there are 4 (yeah, 4) small ceiling fan/lights. Previously, a single 3-way (2-way?) switch turned them on and off and you had to use pull chains at each fan to make ...
by waspie
19 Jul 2018, 14:47
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

I designed this communication to put more of the thinking in the Nextion, but it also more or less causes more often changes in the Nextion. This is not very user friendly while there is no easy way to update Nextion. Therefore I mostly use the id's and let Rules and Domoticz do the thinking. The d...
by waspie
18 Jul 2018, 02:52
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

I have a question about the Nextion display, maybe not the right place to ask but what version of the Nextion is most common for this plugin. I use the basic model. If I understand correctly I could have if/else/whatever statements on the nextion and the state of internal variables would determine ...
by waspie
17 Jul 2018, 16:21
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16680

Re: Water flow sensor YF-S201C

As an alternative idea: I'm using a pulse counter in one application but I didn't want so much data flowing so often to openhab over mqtt. I used a trinket to do the detection (or you could use it to do the math) and then turn a digital pin on/off when it met a given threshold. I then picked up this...
by waspie
17 Jul 2018, 16:17
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

Hello, I have a question about the Nextion display, maybe not the right place to ask but what version of the Nextion is most common for this plugin. On the Itead site i see two versions, the Basic Model and the Enhanced Model. Enhanced has more memory and faster CPU. Most likely not necessary for w...
by waspie
17 Jul 2018, 16:13
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

@BertB: Thanks for checking it. Let me know if any other issues come up. @Everyone: Would be great if there were others that could try it out. More feedback would be helpful. I found a CustomTaskSettings byte storage mistake in the Nextion Plugin. But fixing it did not solve the crash/brick when th...
by waspie
12 Jul 2018, 14:34
Forum: ESP Easy: Projects / Applications
Topic: MQTT input in rules
Replies: 19
Views: 24114

Re: MQTT input in rules

I don't know if that will work... It seems that this is just commands in the rule section. When I wrote button I mean a visual button in the browser. Sorry for the confusion. i don't think the espeasy is really meant to be used as a control panel (of sorts). it's more for setting up the device to c...
by waspie
12 Jul 2018, 02:50
Forum: ESP Easy: Projects / Applications
Topic: MQTT input in rules
Replies: 19
Views: 24114

Re: MQTT input in rules

joyNstay wrote: 11 Jul 2018, 15:11 Did this works if you want to set the rules for the lights too? I mean If you want to set a rule that opens the light and close it after 8 hours? or it is possible only for some seconds?
Thanks
the sky is the limit.

whatever is sending the mqtt should be able to send whenever you want it to...
by waspie
09 Jul 2018, 14:28
Forum: ESP Easy: General Discussion
Topic: ESP8266 entering AP mode when WiFi down
Replies: 6
Views: 11719

Re: ESP8266 entering AP mode when WiFi down

it's quite rare that it happens for me but i did post to join in the laughter when i do a firmware upgrade on my APs and all of a sudden i have 15 extra wifi networks showing up :lol: :lol: :lol: :lol:
by waspie
05 Jul 2018, 01:30
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

Okay, I have something to try for you. Great! I've used all my ESP8266 boards but have more coming. So it might take a week or two before I can give feedback. I guess we should have a new mode to set all these settings at once to be able to use hardware serial for some plugins. I agree. If porting ...
by waspie
05 Jul 2018, 01:22
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 44311

Re: nodemcu on battery

[...] i wired straight to battery, they never produce enough current to ctally put out 5v when charging But then you also miss a lot of charging moments on cloudy days. I would say adding some kind of step-up is a good idea, but maybe you should also look for an ESP board with LiPo connector and in...
by waspie
04 Jul 2018, 14:06
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 44311

Re: nodemcu on battery

Hi all, thinking of putting this to the next level. I have some solar panels that, when fully in sunlight, produce 5V. I do have a charger board like the one described above for the battery but as the sunlight drops, the battery is no longer charged. So I was wondering if I could do the following: ...
by waspie
04 Jul 2018, 06:08
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 44311

Re: nodemcu on battery

Hi, I connected the polulu to the V3 in and with a full battery it now runs about 24 hours. I believe my battery is 4400mAh. Currently my NodeMCU wakes up every 10 minutes. Considering it is only working approx 3 minutes per hour, this is 540mA. This result is a bit more less than 9 hours. Is there...
by waspie
03 Jul 2018, 16:41
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 44311

Re: nodemcu on battery

Hi, I connected the polulu to the V3 in and with a full battery it now runs about 24 hours. I believe my battery is 4400mAh. Currently my NodeMCU wakes up every 10 minutes. Considering it is only working approx 3 minutes per hour, this is 540mA. This result is a bit more less than 9 hours. Is there...
by waspie
03 Jul 2018, 04:09
Forum: ESP Easy: Software
Topic: MQTT Import - stability problems ...?
Replies: 12
Views: 8650

Re: MQTT Import - stability problems ...?

I use only one MQTT Import with only one value. But because a non optimal software configuration i send the value 20 times per minute (10 times within 2-3 seconds). After some hours the ESP-Easy don't get new/changed MQTT values. I open the webpage and check this within device-view. An external MQT...
by waspie
29 Jun 2018, 17:02
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

so there's no "canned" way to do the workaround? Here's the debug code: void ICACHE_RAM_ATTR ESPeasySoftwareSerial::rxRead() { // Advance the starting point for the samples but compensate for the // initial delay which occurs before the interrupt is delivered pinMode(5, OUTPUT); // DEBUG d...
by waspie
21 Jun 2018, 18:50
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

TD-er wrote: 14 Jun 2018, 23:51
Just to be clear, I don't get paid anything for ESPeasy.
[/quote]

i know english isn't your first language so i hope you know i was joking!
by waspie
21 Jun 2018, 18:48
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

mine does the same so i just never used the value portion. if this were to actually work i may be able to cut down on the size of my rules files :O
by waspie
14 Jun 2018, 21:55
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

If you need some extra commands to make the rules easier, just ask. What I need then is: - Command-name - Parameters + description - Description of the call to the Nextion, based on such parameters. We can add commands to the Nextion plugin, which can be called from rules. If the discussion about w...
by waspie
14 Jun 2018, 21:44
Forum: ESP Easy: Software
Topic: MQTT Import - stability problems ...?
Replies: 12
Views: 8650

Re: MQTT Import - stability problems ...?

Hi waspi, which firmware do you use. With "older" fw (last year) i don't see such problems too, but i flash the current because the "wlan-setting-writes kill the flash" problem. i configure another ESP (NodeMCU), point to the same MQTT topic for import and get the same result. B...
by waspie
14 Jun 2018, 21:37
Forum: ESP Easy: Software
Topic: MQTT Import - stability problems ...?
Replies: 12
Views: 8650

Re: MQTT Import - stability problems ...?

[..] I also compile my own because I like to remove unused plugins. I don't alter any sketches (generally). A bit off-topic; If you have some good "minimal" set of plugins, could you share that list? I was thinking about adding some "minimal" version to the pre-built list and I ...
by waspie
14 Jun 2018, 14:46
Forum: ESP Easy: Hardware
Topic: Support for AMG8833 aka Grid-eye?
Replies: 0
Views: 1761

Support for AMG8833 aka Grid-eye?

I tried looking around but didn't see any topics related is there anyone out there using a AMG8833? I'm still fighting with reliable presence detection and this thing though expensive looks like it would actually work. And for that I wouldn't mind paying...for something that actually works. more inf...
by waspie
14 Jun 2018, 14:40
Forum: ESP Easy: Software
Topic: MQTT Import - stability problems ...?
Replies: 12
Views: 8650

Re: MQTT Import - stability problems ...?

Hi waspi, which firmware do you use. With "older" fw (last year) i don't see such problems too, but i flash the current because the "wlan-setting-writes kill the flash" problem. i configure another ESP (NodeMCU), point to the same MQTT topic for import and get the same result. B...
by waspie
10 Jun 2018, 14:11
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

Ok, let me think about that. A lot of the stuff is pretty repetitive but I don't know how else to do it. I'll get back to you on Monday when I'm at work and have time to tinker
by waspie
09 Jun 2018, 20:39
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

is there a way to make a button with a cropped picture change based on a variable without refreshing the page? say page0.b0 has picc 1 (on) and 2 (off) and there's a global variable va0 used to storing that state for when pages are changed. trying to keep espeasy, the button, and openhab (mqtt) invo...
by waspie
08 Jun 2018, 14:18
Forum: ESP Easy: Software
Topic: MQTT Import - stability problems ...?
Replies: 12
Views: 8650

Re: MQTT Import - stability problems ...?

This is the last I see in the log: 2391086: IMPT : [MQTT-IN#State] : 600.00 2391087: EVENT: MQTT-IN#State=600.00 2391158: ACT : gpio,12,1 2391160: SW : GPIO 12 Set to 1 2391163: ACT : timerSet,1,1 2391173: Command: timerset 2391183: ACT : timerSet,2,600*60 2391193: Command: timerset 2391195: ACT : ...
by waspie
05 Jun 2018, 17:15
Forum: ESP Easy: Software
Topic: MQTTImport more than 4?
Replies: 2
Views: 2218

Re: MQTTImport more than 4?

TD-er wrote: 05 Jun 2018, 13:55 There is currently a hard limit to 4 values per plugin.
So it's not that easy to change.
It will affect stored settings and use a lot more RAM due to the way data structures are stored in memory right now.
roger that, thanks
by waspie
04 Jun 2018, 15:32
Forum: ESP Easy: Software
Topic: MQTTImport more than 4?
Replies: 2
Views: 2218

MQTTImport more than 4?

Any reason why Device[deviceCount].ValueCount = 4; couldn't be changed to say...8? Sometimes I use several and I run multiple import devices, but if i could just hop this up a little more 1 would be fine. I'm not home with all my stuff to test is why I ask. plus people much smarter than me may have ...
by waspie
01 Jun 2018, 17:17
Forum: ESP Easy: Software
Topic: Rules: Multiple IF statements?
Replies: 3
Views: 3837

Re: Rules: Multiple IF statements?

Yes you can use this but it might not be as responsive as you like. The loop will have to run multiple runs to go through the list. yeah that's fine, i'm just trying different things to see what's going to work best for me. thanks for letting me know. I'm new to using the nextion and want to make t...
by waspie
01 Jun 2018, 13:52
Forum: ESP Easy: Software
Topic: Rules: Multiple IF statements?
Replies: 3
Views: 3837

Rules: Multiple IF statements?

I can't find anything that states whether you can have multiple IF statements or not. I'm not trying to nest them, just having more than one in a rule. With a Nextion, a button press = a number. If you have lots of buttons it would be nice to have one rule to intercept the press and then spin off al...
by waspie
29 May 2018, 02:32
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

I have trying for days now to get my nextion working as thermostat control I'm using the following on for the logic on the nextion for a up / increment button va0.val=va0.val+2 if(va0.val>9) { va1.val=va1.val+1 va0.val=va0.val-10 } if(va1.val>25) { va1.val=va3.val va0.val=va4.val } cov va0.val,t9.t...
by waspie
23 May 2018, 02:23
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

I started to create a WIKI in the devices list, but it is in its very preprepre stadium. https://www.letscontrolit.com/wiki/index.php/NEXTIONDisplay Nice! I may go in there and at least fix grammatical issues. on another note, for you or hopefully anyone else that can answer... How can I get import...
by waspie
21 May 2018, 01:26
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 2301640

Re: Nextion display plugin

I just got my first nextion and i'm already making some progress. I have to say, it's a bit confusing... someone should make a nice noob summary at some point (pointing at me too, don't worry :P ) This will be great with openhab / mqtt. I don't plan to use a slider yet, but i may at least test so I ...
by waspie
13 May 2018, 14:54
Forum: ESP Easy: Software
Topic: aggressive wifi reconnect, use as beacon
Replies: 2
Views: 2200

Re: aggressive wifi reconnect, use as beacon

enesbcs wrote: 13 May 2018, 08:15
waspie wrote: 13 May 2018, 02:24 I need it to keep retrying endlessly to the provided wifi credentials. how can this be accomplished?
Maybe try the WifiMan plugin with killap setting.
viewtopic.php?f=6&t=2846&p=21857&hilit=killap#p21857
That might work, thanks!
by waspie
13 May 2018, 02:24
Forum: ESP Easy: Software
Topic: aggressive wifi reconnect, use as beacon
Replies: 2
Views: 2200

aggressive wifi reconnect, use as beacon

I would like to use ESPEasy as a beacon in our cars. For this I need it to aggressively try to connect to the wifi. I used a beacon firmware that would try every 500ms but i couldnt do *anything* but use it as an on/off switch. espeasy allows me to do more events based on uptime, +12v sense for igni...
by waspie
18 Apr 2018, 13:33
Forum: ESP Easy: Software
Topic: ultrasonic sr04 false readings
Replies: 2
Views: 2303

Re: ultrasonic sr04 false readings

i wonder if this is why i get whacky readings (distance in millions of cm) when there's nothing in range. sure sounds like it...
i might have to try the resistor trick
by waspie
18 Apr 2018, 02:14
Forum: ESP Easy: Software
Topic: GPIO 0 on ESP32
Replies: 0
Views: 1450

GPIO 0 on ESP32

why is GPIO 0 not available on the ESP32?

it seems from pinouts/diagrams its a normal IO but in espeasy i cannot select it for a switch (its non existent)
by waspie
13 Apr 2018, 20:42
Forum: ESP Easy: Hardware
Topic: what sensor for driveway car detection?
Replies: 4
Views: 3017

Re: what sensor for driveway car detection?

that was starting to be my next option. add in a switch input connected to a switched 12v to determine car running or not.
i was only trying to avoid it since i had already built the beacons and they were in and done. :\
thanks
by waspie
13 Apr 2018, 19:32
Forum: ESP Easy: Hardware
Topic: what sensor for driveway car detection?
Replies: 4
Views: 3017

Re: what sensor for driveway car detection?

i have a beacon in the cars. the problem is accurately figuring out whether the car is coming or going (beacon turns on and off with car) or staying. i use US sensors to determine when the garage space is occupied or not but say you pull up the garage (door opens) but you don't pull in. hours later ...
by waspie
13 Apr 2018, 03:39
Forum: ESP Easy: Hardware
Topic: what sensor for driveway car detection?
Replies: 4
Views: 3017

what sensor for driveway car detection?

I've done some looking around but figured someone might know better... i'm trying to find a way to detect cars sitting in the driveway. i was going to use hc-sr04s but they don't have the range if the cars arent right up by the garage doors. this will aid in my logic for deciding when to open/close ...
by waspie
06 Apr 2018, 02:16
Forum: ESP Easy: Hardware
Topic: HC-SR04 default value for over max distance
Replies: 2
Views: 3106

HC-SR04 default value for over max distance

I've been banging my head against a wall trying to get 2 US sensors working right. I have second esp running with 2 and it's been fine but i made another with 2 more US sensors in a different position and I cannot get solid readings from them. But I think I finally figured it out. Most of the time t...
by waspie
05 Apr 2018, 13:54
Forum: ESP Easy: Software
Topic: ESP-32 plans for ESPEasy (?)
Replies: 58
Views: 54720

Re: ESP-32 plans for ESPEasy (?)

do i see in github that the esp32 build is now running both cores?

i don't know how to read this stuff that well but i got the impression from some commits
by waspie
05 Mar 2018, 13:31
Forum: ESP Easy: Software
Topic: Can't PUBLISH at System#Boot
Replies: 3
Views: 3058

Can't PUBLISH at System#Boot

I had been publishing several MQTT topics at System#Boot and it was working in builds from january but recently (late feb, early march) things will no longer publish at boot. I watched over serial and it seems to subscribe some short amount of time after system boot but too slow to run them right aw...
by waspie
01 Mar 2018, 16:05
Forum: ESP Easy: Software
Topic: Release/Stop Driving Servo?
Replies: 20
Views: 15964

Re: Release/Stop Driving Servo?

edited the servo file to detach after 2 seconds. works perfectly. Which file (name of the ino) and what source code has been changed ? i was in process of finding it.... I've been using mine like this for many months now without issue it's _P001_Switch.ino find: { case 1: //IRAM: doing servo stuff ...
by waspie
01 Mar 2018, 15:44
Forum: ESP Easy: Software
Topic: Release/Stop Driving Servo?
Replies: 20
Views: 15964

Re: Release/Stop Driving Servo?

edited the servo file to detach after 2 seconds. works perfectly.