Search found 119 matches
- 20 May 2021, 23:25
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
@Ath Please take a look at the code below. I want to make the backlight on and off intermittently, 1s period, when a switch change state. Seems a little too long ,for such a small job. Is there a better way,shorter,simpler? looptimer? on switch#state=1 do timerSet,3,1 let,3,=!%v3% // flip state if %...
- 20 May 2021, 22:42
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Settings.TaskDeviceTimer is an unsigned long, so it is a 32 bit value. We could extend the max allowed value, or use the unused bits for extra flags. Maybe we could add some flags like "no interval" or maybe other options. Switch plugin accept interval '0' value, aka non refresh..."n...
- 20 May 2021, 19:09
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
It is not possible to change task settings, like you want to change, from the rules. That could be a feature request, so you could create one in the ESPEasy issue-tracker in Github if you like. Feature request: Interval : from 1 to 65535. "O" is not allowed ,meaning never. Or accept more ...
- 20 May 2021, 18:43
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Maybe a bit "out of the box", but would it also help your use case to enable/disable the task? Then you can turn on the LCD task in a rule, acting on a GPIO event (in the rules) and set a timer to disable the task. I have already 3 task with LCD2004: lcdtemp with temperatures,humid,pressu...
- 20 May 2021, 18:19
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Improvement LCD2004 backlight Add a small resistor 560 ohm to 1kohm between K (cathode of LED backlight) and ground. The backlight will lit softly, enough to see display ,indoor. When lcdcmd,on is applied, the full brightness is enabled,internal transistor will short the added resistor. Risk-free.....
- 20 May 2021, 13:29
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Yes,Ath Starting from one blank LCD task, nothing on lines,no timeout,no interval set... YOU can do what you want,almost anything,almost everything ;) I started from lcdtemp, a valid task, with interval & timeout, and send some warning text via rule...I solved the problem with two tasks, I know ...
- 20 May 2021, 12:52
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Is there any command to disable parameter "interval" of LCD2004 plugin? Or modifying via some rule? Because does not accept value 0.Only more than 1.And maximum around 65235. "0" will be non-refreshing data on display. Load once the Lines with text and stays forever... Question 2...
- 19 May 2021, 07:43
- Forum: ESP Easy: Software
- Topic: How to set-up email notification for battery voltage
- Replies: 17
- Views: 12855
Re: How to set-up email notification for battery voltage
Yes, I know, that's the reason for using synology as intermediary smtp relay...just everything goes to "error connecting...".I think nothing reach to synology smtp server,unfortunately does not have any debug log available . Maybe plugin needs some overhaul? Smtp2go seems to be hungry :lol...
- 18 May 2021, 13:36
- Forum: ESP Easy: Software
- Topic: How to set-up email notification for battery voltage
- Replies: 17
- Views: 12855
Re: How to set-up email notification for battery voltage
Tried with gmail
- 18 May 2021, 12:12
- Forum: ESP Easy: Software
- Topic: How to set-up email notification for battery voltage
- Replies: 17
- Views: 12855
Re: How to set-up email notification for battery voltage
Of course I already read the instructions Nevermind, not so important Anyway, massive frustration for a guy like me, average IT user, not be able to set a f....ing smtp , aka "Simple Mail Transfer Protocol". Wild world,took me hours to set on my other crippled devices (without ssl) & s...
- 18 May 2021, 11:53
- Forum: ESP Easy: Software
- Topic: How to set-up email notification for battery voltage
- Replies: 17
- Views: 12855
Re: How to set-up email notification for battery voltage
Without "hostname" same result
Tried all combinations in hostname/server...nope
Tried with gmail
Tried all combinations in hostname/server...nope
Tried with gmail
- 18 May 2021, 11:26
- Forum: ESP Easy: Software
- Topic: How to set-up email notification for battery voltage
- Replies: 17
- Views: 12855
Re: How to set-up email notification for battery voltage
Today I tried to configure email on my ESP device I have a smtp server on my Synology, local LAN, which I use it for another devices without ssl encryption. The synology then forwards email to gmail, on my phone. After many trials, I figure to use "192.168.4.109:" as server adress, with &q...
- 17 May 2021, 11:10
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
ENHANCED lcd2004 PROJECT Scope: Warning message on LCD screen from a remote device connected to a residential alarm,fire alarm,water pump ,doorswitch etc... One ESP device has attached a hardware switch, switch#state. It's on remote location,another site,building or another town. Other one ESP has ...
- 17 May 2021, 10:23
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Thanks
Yes, %lcltime% is what I wanted, but needs a full row on LCD, so I stay on %systime%
Yes, %lcltime% is what I wanted, but needs a full row on LCD, so I stay on %systime%
- 16 May 2021, 21:55
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
@bonti69: I don't think Ath meant to say with "it is all software so everything is possible" that you need to change it yourself. It was probably meant as an encouragement to let your imagination go wild :) (or at least don't hold back on your imagination, thinking it might not be possibl...
- 16 May 2021, 21:36
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
In the "on system#boot do" event the initial text "System time %systime%" is displayed, and in the "on rules#timer=4 do" only the time is overwritten with the current time I copied both events here so you can easily find them. on rules#timer=4 do // Called often so pla...
- 16 May 2021, 16:27
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Dear Ath ESPEasy,or Tasmota does not fill my life entirely.Let's say low-level hardware is my playground,somehow,my youth ,my formation are on that field.Unfortunatelly, my job did't alow me to perform neither on software,neither on hardware, so let's say esp is a kind of hobby. Flashed my first son...
- 16 May 2021, 11:55
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Dear Ath, When you have time,please do one more code for a new LCD2004 scenario: Premise: LCD2004 task, with GPIO16 as "display button", timeout 10s BME280 sensor temperature,humidity,pressure Another task,as "switch input" ,let's say gpio14, switch#state What we want: LCD2004 wi...
- 16 May 2021, 09:09
- Forum: ESP Easy: Hardware
- Topic: GPIO mode: input or output?
- Replies: 6
- Views: 7822
Re: GPIO mode: input or output?
@TD-er
In Log we have instead of current time of the device those numbers, incremental. How can be those numbers converted in current time, some Hh:mm:ss. Will be more useful for forensic analysis...
Something like that:
In Log we have instead of current time of the device those numbers, incremental. How can be those numbers converted in current time, some Hh:mm:ss. Will be more useful for forensic analysis...
Something like that:
- 14 May 2021, 22:56
- Forum: ESP Easy: Hardware
- Topic: GPIO mode: input or output?
- Replies: 6
- Views: 7822
Re: GPIO mode: input or output?
How about this way?
- 14 May 2021, 17:00
- Forum: ESP Easy: Hardware
- Topic: GPIO mode: input or output?
- Replies: 6
- Views: 7822
Re: GPIO mode: input or output?
Thank you, TD-er I'm hardware orientated, so it's somehow difficult for me to understand. For my point of view, input and outputs are totally different things.The behaviour of a certain pin should be well defined at boot.If it's an input ,then CPU will monitor the logicall level of that pin, the int...
- 14 May 2021, 15:10
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Thank you,Ath
Much appreciate...
Genuine teacher.I love how you give explanations on every line of code.That means sharing the knowledge.
Kudos
Much appreciate...
Genuine teacher.I love how you give explanations on every line of code.That means sharing the knowledge.
Kudos
- 14 May 2021, 14:18
- Forum: ESP Easy: Hardware
- Topic: GPIO mode: input or output?
- Replies: 6
- Views: 7822
GPIO mode: input or output?
Today I tried to assign a GPIO as a switch. My intention was to be an output switch.Defined a new task, gpio15 as "switch", "normal switch". After that tried the toggle command via http. Response: "Failed" in browser. In log we have: 58221346: HTTP: GPIOtoggle,15 582213...
- 10 May 2021, 11:18
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
The only way is UP I agree with you, commander in chief.I have to, because my limited knowledge in programming. But, in that case, a gifted programmer can rebuild a new LCD2004 plugin, the existing one,less demanding,remains as is and the new,enhanced one, LCD frames, like OLED 1306 has... frame lcd...
- 10 May 2021, 10:07
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
One last word: Hardware attachment of an LCD2004 I2C to a ESP8266 board LCD 2004 requires 5V voltage supply. The i2c chip will work also at 5V . My LCD I2C board has also pullup resistors to Vcc, so the i2c lines will be pulled up to 5v also. Now , the ESP chip works at 3.3v,including the two gpio a...
- 10 May 2021, 09:47
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
I won't be adding a paging feature to the LCD plugin any time soon. (Your suggestion is at least not not backward compatible) We could try to find a way to update regularly from the rules (it is certainly doable), I'll try to work on that later. Why would not be back compatible? Just add some "...
- 10 May 2021, 08:23
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Holland uber alles When I think of Netherlands I remember the 80's, my first steps on electronics , my first colour TV with delta CRT, from the 70's,with 200W power consumption, and all of that under the greatest name: Philips Semiconductor...https://en.wikipedia.org/wiki/Philips maxresdefault.jpg 7...
- 09 May 2021, 19:05
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
OK,now we have something on display after boot...done. Now we have to refresh data sended to display,or else will have the values captured on last flip change,forever. On temp/humid/baro will be sufficient 10s, maybe more...But on current/power we need fast reading , one/sec and fast display on this...
- 09 May 2021, 15:11
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Da capo : Connected hardware to esp: one gpio assigned to a momentary pushbutton(active high)-gpio16 one LCD2004 one bme280 temp,humidity,pressure sensor one ina219 voltage,current,power Task on espeasy: bme /task 6 ina /task 7 lcdtemp /task 5 (display LCD2004 with temperature,pressure,humidity on ...
- 09 May 2021, 14:43
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
one small step for man one giant leap for mankind Code works...but needs minor improvement 1.On power on the LCD displays only ESP Easy, until first longpress,after that displays first set of data... 2.Even the "interval" for LCD2004 plugin is set to 1s, the time is loaded only once,after ...
- 09 May 2021, 13:56
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Seems like Netherland is "ground zero" for ESP, also tasmota is born there...keep on walking
- 08 May 2021, 23:23
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Thank you ,Ath I'll try tomorrow the code When you are deep involved in programming, you can do exactly what you want, on the shortest way. Unfortunately, I'm a beginner and my way is to squeeze out what the plugins can offer at the present time.More versatile the plugin is,more and various applicat...
- 07 May 2021, 22:23
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Thanks for suggestions... I understand now, no need for two LCD task, each of them with own sets of text/values, just send directly to LCD, the content of Line text. Needs more skil to manage rules,timers,variables etc...If I understand well. your code display 1st set of data for 5s then display 2nd...
- 07 May 2021, 11:22
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Improvement: Connected hardware to esp: one gpio assigned to a momentary pushbutton(active high)-gpio16 one LCD2004 one bme280 temp,humidity,pressure sensor one ina219 voltage,current,power Task on espeasy: bme /task 6 ina /task 7 lcdtemp /task 5 (display LCD2004 with temperature,pressure,humidity o...
- 06 May 2021, 18:32
- Forum: RPiEasy: Hardware
- Topic: Question about switch function.
- Replies: 4
- Views: 10414
Re: Question about switch function.
Premise: gpio 12 is assigned as input switch, pushbutton active on high. Same gpio/pushbutton is used to wakeup LCD, as "Display button:". Short press wake up the LCD.Now we want to use longpress function of same gpio,something like that: 1st longpress enable task 1, 2nd longpress disable ...
- 05 May 2021, 22:34
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
You should be able to that using rules. In pseudo-code: every second: count up by 1 if count = 5 flip a state if state = 1 display 1st set of data else display 2nd set of data endif reset count endif display time on line 4 Sounds interesting with display 1st set of data and display 2nd set of data ....
- 05 May 2021, 22:21
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Next project for LCD2004: Dimming the backlight On my display unit the backlight is driven from Vcc (5V) via a jumper to collector of a npn transistor with emitter grounded. The transistor base is driven from PCF 8574T via I2C (software on/off backlight) Like this: Zz5D5.jpg With another external tr...
- 05 May 2021, 22:00
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Works now, inversed logic...taadaaa Thank you,great job Meantime,playing with LCD2004, came to me the idea to frame this nice display,via some command... like I already said, measurement of voltage/current/power is occasionally,not constant monitoring... Something like that: WhatsApp Image 2021-05-0...
- 05 May 2021, 18:18
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Suppose we have a LCD2004 display connected to a device.We have 4 rows available for some text. Let's say task1 is a task where LCD displays temperature,pressure,humidity. On same device we have connected a current sensor Energy (DC) - INA219. This sensor reports Voltage,Current,Power. Now we creat...
- 05 May 2021, 18:01
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Inversed logic appears but not remain enabled after activation...
- 05 May 2021, 13:22
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
It's a wemos D1 R2 loaded with ESP_Easy_mega_20210223_normal_ESP8266_4M1M
- 05 May 2021, 11:47
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Thank you,Ath
I'm stuck here,sorry
I don't know how to download firmware.bin
"Open the Artifacts dropdown on the right side of that page (just above the big black section)"
Sorry again
I have to sign in to github,maybe ?
I'm stuck here,sorry
I don't know how to download firmware.bin
"Open the Artifacts dropdown on the right side of that page (just above the big black section)"
Sorry again
I have to sign in to github,maybe ?
- 05 May 2021, 10:14
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
I've created PR #3620 to enable your feature request. You can download a bin file from that link by getting the Binaries.zip file from the build-list at the bottom of that page (click on a Details link, look at the right side of that page for the 'Artifacts' dropdown) Please report your findings he...
- 05 May 2021, 09:46
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Suppose we have a LCD2004 display connected to a device.We have 4 rows available for some text. Let's say task1 is a task where LCD displays temperature,pressure,humidity. On same device we have connected a current sensor Energy (DC) - INA219. This sensor reports Voltage,Current,Power. Now we create...
- 03 May 2021, 16:59
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Yes, sir... "Inverted logic" should be the simple and effective way for LCD display timeout, related to the state of one gpio assigned to wake up the backlight...making easier direct connection with a cheap pir motion sensor, or some touch sensor like this: https://alltopnotch.co.uk/produc...
- 03 May 2021, 15:51
- Forum: ESP Easy: Hardware
- Topic: LCD2004
- Replies: 70
- Views: 35003
Re: LCD2004
Nice feature "Display button". A push button to activate the backlight for few seconds... "If that pin is pulled to GND, it will start a backlight timer, which will automatically turned off after set nr of seconds." Now starts the troubles: yes,the digital input usually has some ...
- 12 Apr 2021, 21:46
- Forum: ESP Easy: General Discussion
- Topic: Custom WebUI
- Replies: 39
- Views: 17683
Re: Custom WebUI
Oh, God, I didn't know...searched the wiki,throw me to the https://www.letscontrolit.com/wiki/index.php/Mini_Dashboard. I have no skills in HTML edit,php,javascript, I just wanted to click/clack the relay...Like I already said, on tasmota,when you assign an output, aka relay 1,2...8, you instantly g...
- 12 Apr 2021, 21:12
- Forum: ESP Easy: General Discussion
- Topic: Custom WebUI
- Replies: 39
- Views: 17683
Re: Custom WebUI
<head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .circle {width:120px; height:60px;border-radius:50%;display: inline-flex;cursor:pointer;color:white;font-size:90%;font-weight:bold;align-items:center;justify-content:center;} a {text-decoration: ...
- 12 Apr 2021, 19:43
- Forum: ESP Easy: General Discussion
- Topic: Custom WebUI
- Replies: 39
- Views: 17683
Re: Custom WebUI
Nice... Be more precise: href="webgui.esp?cmd=event,schalten" and [Relais#Status#O]. I assume you have a Task named "Relais" value "status" Scripture of "event"? [Relais#Status#O] meaning state On, Off? Tried with gpio5 [output0#State] and gpio14 [sck_gpio14#S...
- 11 Apr 2021, 11:58
- Forum: ESP Easy: General Discussion
- Topic: Custom WebUI
- Replies: 39
- Views: 17683
Re: Custom WebUI
Simple toggle <meta name="viewport" content="width=width=device-width, initial-scale=1"> <STYLE> * {font-family:sans-serif; font-size:16pt;} .button {margin: 1px; padding:8px 16px; background-color:#07D; color:#FFF; text-decoration:none; border-radius:8px} </STYLE> <HTML> <p><br ...