Search found 3613 matches
- 09 Aug 2020, 17:20
- Forum: ESP Easy: Projects / Applications
- Topic: timer issue
- Replies: 6
- Views: 13893
Re: timer issue
TD-er added a pull-request implementing a timer with milliseconds resolution, and 2 repeating (loop) timers (no need to restart after the timer fired, with seconds and milliseconds resolutions). It can be found here: https://github.com/letscontrolit/ESPEasy/pull/3204 There are downloads available fr...
- 09 Aug 2020, 17:15
- Forum: ESP Easy: General Discussion
- Topic: Timer adds additional 1 second delay
- Replies: 13
- Views: 18000
Re: Timer adds additional 1 second delay
TD-er added a pull-request implementing a timer with milliseconds resolution, and 2 repeating (loop) timers (no need to restart after the timer fired, with seconds and milliseconds resolutions). It can be found here: https://github.com/letscontrolit/ESPEasy/pull/3204 There are downloads available fr...
- 09 Aug 2020, 10:20
- Forum: ESP Easy: General Discussion
- Topic: mqtt rule - help needed
- Replies: 15
- Views: 19910
Re: mqtt rule - help needed
Adding an 'eventlog' line in the script is often quite helpful:
Code: Select all
On Rules#Timer=1 Do
EventLog,"%sysname%/%unit%/IP,%ip%" // removed some quotes!
Publish,"%sysname%/%unit%/IP","%ip%"
timerSet,1,30 //Resets the Timer 1 for another 30 seconds
EndOn
- 08 Aug 2020, 22:28
- Forum: ESP Easy: General Discussion
- Topic: mqtt rule - help needed
- Replies: 15
- Views: 19910
Re: mqtt rule - help needed
But are you (also) starting the timer in the on mqtt#connected rule? It doesn't start by itself...
- 08 Aug 2020, 21:25
- Forum: ESP Easy: Hardware
- Topic: Sonoff as wall plug
- Replies: 6
- Views: 11377
Re: Sonoff as wall plug
Those very compact plugs are usually quite hard to disassemble in a way they can be safely re-assembled later. It seems to suggest in the picture it is tuya based, meaning that alternative firmware is possible, but I've never tried to flash ESPEasy in that way. (A tuya update tool can be found by th...
- 06 Aug 2020, 11:40
- Forum: ESP Easy: Hardware
- Topic: Shelly Dimmer
- Replies: 6
- Views: 9565
Re: Shelly Dimmer
And you seem to have gpio0 hard-wired to gnd? I ground it during reset, hold it down for a few more seconds, then release it.
You already have a nice breadboard in use, you could easily add a couple of buttons for reset and 'pgm'
You already have a nice breadboard in use, you could easily add a couple of buttons for reset and 'pgm'
- 06 Aug 2020, 11:33
- Forum: ESP Easy: Projects / Applications
- Topic: P095 With 1.4 TFT shield
- Replies: 2
- Views: 11644
Re: P095 With 1.4 TFT shield
P095 is meant to drive a ILI9341, not the ST7735s, and I'm not sure how compatible these chips are.
The TS_CS should be a chip-select signal, to be able to have multiple displays on the same SPI bus, but I don't know if that is supported by ESPEasy (don't own that type of display, so can't test)
The TS_CS should be a chip-select signal, to be able to have multiple displays on the same SPI bus, but I don't know if that is supported by ESPEasy (don't own that type of display, so can't test)
- 06 Aug 2020, 11:24
- Forum: ESP Easy: General Discussion
- Topic: Working with rules, makes ESPEasy prompt for password
- Replies: 4
- Views: 5888
Re: Working with rules, makes ESPEasy prompt for password
Are you using a SysLog server? That seems to cause issues with some ESP's or configurations. You could try switching that off.
- 05 Aug 2020, 20:32
- Forum: ESP Easy: General Discussion
- Topic: Timer adds additional 1 second delay
- Replies: 13
- Views: 18000
Re: Timer adds additional 1 second delay
If you could connect the LED on a standard GPIO port, then you could use the
command to turn it on for a number of milliseconds, using a higher resolution timer.
Code: Select all
longpulse_ms,<GPIO>,<state>,<duration>
- 05 Aug 2020, 20:26
- Forum: ESP Easy: General Discussion
- Topic: Timer adds additional 1 second delay
- Replies: 13
- Views: 18000
Re: Timer adds additional 1 second delay
After installing the latest release from https://github.com/letscontrolit/ESPEasy/releases on your device, you might also read this thread about the 'accuracy' of the timers: https://www.letscontrolit.com/forum/vie ... f=2&t=7849
- 05 Aug 2020, 19:54
- Forum: ESP Easy: Projects / Applications
- Topic: Clock#Time versus %systime% on certain days
- Replies: 10
- Views: 15227
Re: Clock#Time versus %systime% on certain days
Time problem for Presence simulation on Light#Lux do if [Light#Lux] < 25 and %systime% < 23:15:00 and %systime% > 16:30:00 GPIO,2,0 elseif [Light#Lux] < 35 and %systime% < 7:30:00 and %systime% > 6:30:00 GPIO,2.0 else GPIO,2,1 endif endon on dummy#switch=0 do event,lightoff on dummy#switch=1 do eve...
- 05 Aug 2020, 17:07
- Forum: ESP Easy: Hardware
- Topic: Shelly Dimmer
- Replies: 6
- Views: 9565
Re: Shelly Dimmer
Have you tried swapping RX and TX?
Some tend to document it as a 1:1 connection, instead of a TX -> RX and RX -> TX (crossed) connection.
It doesn't hurt the unit if you had them connected in the wrong way, AFAIK
Some tend to document it as a 1:1 connection, instead of a TX -> RX and RX -> TX (crossed) connection.
It doesn't hurt the unit if you had them connected in the wrong way, AFAIK
- 02 Aug 2020, 22:37
- Forum: ESP Easy: General Discussion
- Topic: Analog mqtt message does not have unit number
- Replies: 7
- Views: 7206
Re: Analog mqtt message does not have unit number
We would appreciate if you could share the details, please.
- 02 Aug 2020, 19:13
- Forum: ESP Easy: General Discussion
- Topic: Can't see device from playground plugin
- Replies: 7
- Views: 5963
Re: Can't see device from playground plugin
SendToHTTP 172.19.0.63,80,/json.htm?type=command¶m=udevice&idx=1009&nvalue=0&svalue=[SI1145#UV] That smells like you are using Domoticz, right? You should be able to use the Domoticz HTTP or MQTT controllers to send that data there. After setting up the controller, you should on...
- 02 Aug 2020, 17:44
- Forum: ESP Easy: General Discussion
- Topic: Can't see device from playground plugin
- Replies: 7
- Views: 5963
Re: Can't see device from playground plugin
Ehm, since release mega-20200426, the ILI9341 plugin has been included as P095, but I'm not sure if it is included in any of the standard builds (it's quite large when all libraries are linked in). You could suffice with just enabling it in define_plugin_sets.h for the PLUGIN_SET_TESTING or add it t...
- 02 Aug 2020, 15:59
- Forum: ESP Easy: General Discussion
- Topic: Can't see device from playground plugin
- Replies: 7
- Views: 5963
Re: Can't see device from playground plugin
Have you added #define USE_CUSTOM_H somewhere in your source or in your build environment?
- 01 Aug 2020, 16:53
- Forum: ESP Easy: Hardware
- Topic: PCD8544 - Nokia 5110/3310 LCD - beta plugin
- Replies: 88
- Views: 141153
Re: PCD8544 - Nokia 5110/3310 LCD - beta plugin
Then don't worry! I just won't be using these displays with espeasy. I will attach them to arduino. The advantage of these displays over the OLed displays is that they are a bit larger, thus easier to read from some 'distance' (~1 meter), while an average OLed requires me to be within ~60 cm to be ...
- 01 Aug 2020, 15:14
- Forum: ESP Easy: Hardware
- Topic: PCD8544 - Nokia 5110/3310 LCD - beta plugin
- Replies: 88
- Views: 141153
Re: PCD8544 - Nokia 5110/3310 LCD - beta plugin
I have two such displays. I would like to use them in ESPeasy. Maybe someone will give me a fresh build, including a plugin for NOKIA5110? Well, it's a bit hard (for me at least) to create a build, for a couple of reasons. a) It is an older plugin, and uses no longer supported functions and objects...
- 30 Jul 2020, 19:52
- Forum: ESP Easy: General Discussion
- Topic: ESP8266 does not control LEDs, buzzers. Syntax Error
- Replies: 6
- Views: 6056
Re: ESP8266 does not control LEDs, buzzers. Syntax Error
What version of ESPEasy is installed on your board?
- 28 Jul 2020, 08:03
- Forum: ESP Easy: Hardware
- Topic: Sonoff T0EU2C support
- Replies: 13
- Views: 25946
Re: Sonoff T0EU2C support
Any time sofar that I encountered issues like that, my wiring was broken (I tend to use patch wires for that), so you might want to check or replace your wiring.
- 27 Jul 2020, 21:29
- Forum: ESP Easy: Software
- Topic: New rules, about RULES for using " or '
- Replies: 1
- Views: 5322
Re: New rules, about RULES for using " or '
Have you read this support issue: https://github.com/letscontrolit/ESPEasy/issues/2724 ? You have your quotes mixed up, no need to combine ' and " around a single token. something like this, copied from your post and quoted as intended Publish homebridge/to/set,'{"name":"ESP62.Le...
- 25 Jul 2020, 13:32
- Forum: ESP Easy: General Discussion
- Topic: Analog mqtt message does not have unit number
- Replies: 7
- Views: 7206
Re: Analog mqtt message does not have unit number
A few more questions:
- What version (.bin filename is the most informative) of ESPEasy do you have installed on your ESP's?
- What type of ESP's do you have, ESP8266 or ESP32?
- What version (.bin filename is the most informative) of ESPEasy do you have installed on your ESP's?
- What type of ESP's do you have, ESP8266 or ESP32?
- 24 Jul 2020, 08:03
- Forum: ESP Easy: Hardware
- Topic: Dust Sensor SDS011 Reading too low
- Replies: 9
- Views: 17083
Re: Dust Sensor SDS011 Reading too low
Due to the nature of the sensor it seems appropriate to ask if you cleaned it, before putting it back to use?
These kind of sensors seem quite sensitive, and excessive dust inside the sensor sounds like a plausible cause of malfunctioning.
These kind of sensors seem quite sensitive, and excessive dust inside the sensor sounds like a plausible cause of malfunctioning.
- 21 Jul 2020, 20:35
- Forum: ESP Easy: General Discussion
- Topic: Send temp value to other ESP before sleep
- Replies: 3
- Views: 5593
Re: Send temp value to other ESP before sleep
You can go 3 ways to have the temperatures sent from the TempEsp to the OLedEsp: Use SendToHttp ( the most generic and independent* ) Use the Inter-ESPEasy network ( the easiest to use* ) Use the ESPEasy P2P Networking controller ( a bit finicky but quite doable* ) (* that is my opinion , not a verd...
- 19 Jul 2020, 20:29
- Forum: ESP Easy: Projects / Applications
- Topic: Project: Shelly 1PM with HW patch
- Replies: 10
- Views: 22064
Re: Project: Shelly 1PM with HW patch
Well, as said, I mostly took up this project to try and apply the hardware 'patch' on the shelly, and even though I still can't measure voltage and current, the original challenge succeeded for most part. Voltage and current would have been 'nice to have', but I can live without it :) I haven't been...
- 19 Jul 2020, 14:37
- Forum: ESP Easy: Projects / Applications
- Topic: Project: Shelly 1PM with HW patch
- Replies: 10
- Views: 22064
Re: Project: Shelly 1PM with HW patch
When looking at the shunt (first photo, above) it most likely has a 1 mOhm resistance, at least the print on R20 can be read as '0.1'. That is also the defined value in the source, and should result in the correct factor. My multimeter isn't accurate enough to effectively measure that kind of resist...
- 19 Jul 2020, 09:58
- Forum: ESP Easy: Projects / Applications
- Topic: Project: Shelly 1PM with HW patch
- Replies: 10
- Views: 22064
Re: Project: Shelly 1PM with HW patch
I'm pretty confident the bulb doesn't have a switching powersupply, but I don't think it's halogen either, that may be from my imagination, or some text on the box it came in, I can't recall that, and the box went down the paper 'archive'.
It's this closeup:
It's this closeup:
- 18 Jul 2020, 13:52
- Forum: ESP Easy: Projects / Applications
- Topic: Project: Shelly 1PM with HW patch
- Replies: 10
- Views: 22064
Re: Project: Shelly 1PM with HW patch
Are you certain about the correct factor for the power? Well, with a 53 watt 'eco' bulb (halogen) I got a power value of around 180, so I corrected for that. The other values are the sensor defaults. Quite often those power measurement chips only output the VA and not the power in Watt. So they don...
- 12 Jul 2020, 22:19
- Forum: ESP Easy: Projects / Applications
- Topic: Project: Shelly 1PM with HW patch
- Replies: 10
- Views: 22064
Project: Shelly 1PM with HW patch
I recently bought me a Shelly 1 PM WiFi switch with the intention of using the Power, Voltage and Current measurements. After receiving the aparatus, I realized I didn't do my due diligence properly, as this specific device doesn't actually support Voltage and Current measuring :o Luckily, a user of...
- 07 Jul 2020, 13:07
- Forum: ESP Easy: General Discussion
- Topic: Log: Tail possible
- Replies: 9
- Views: 16195
Re: Log: Tail possible
Well, you can open an extra browser-tab with the log, and do your action(s) in the initial tab, the log-update should continue
- 25 Jun 2020, 17:15
- Forum: ESP Easy: General Discussion
- Topic: Flashing esp wroom- 32 espeasy
- Replies: 15
- Views: 28909
Re: Flashing esp wroom- 32 espeasy
TD-er wrote down a procedure to flash ESP32 boards here: https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=7697&p=44667&hilit=esp32+flash#p44622 You shouldn't use the download from that post, as they are a bit 'old' now, you'd better get the latest from the releases page I linked a...
- 25 Jun 2020, 13:12
- Forum: ESP Easy: General Discussion
- Topic: Flashing esp wroom- 32 espeasy
- Replies: 15
- Views: 28909
Re: Flashing esp wroom- 32 espeasy
They are included in recent builds of ESPEasy, in the bin directory. Latest releases can be found here: https://github.com/letscontrolit/ESPEasy/releases
- 24 Jun 2020, 21:36
- Forum: ESP Easy: General Discussion
- Topic: Flashing esp wroom- 32 espeasy
- Replies: 15
- Views: 28909
Re: Flashing esp wroom- 32 espeasy
Hi, welcome to the forum! Most ESP32 boards have 2 buttons, one usually labeled Boot or B and one Reset or EN. To go into flash mode, press and hold the Boot button, and then press the Reset button shortly (about half a second is fine). I usually hold the Boot button for a few more seconds, and then...
- 22 Jun 2020, 21:58
- Forum: ESP Easy: Projects / Applications
- Topic: repetitive logs in domoticz
- Replies: 1
- Views: 11047
Re: repetitive logs in domoticz
How do you think it can be configured so that if there is no change of state then there is only one record in the log? Well, that is completely against the nature of logging. Logging is to be sent out of, and away from, a system or application, to prevent being compromised when that system/applicat...
- 21 Jun 2020, 19:03
- Forum: ESP Easy: Projects / Applications
- Topic: which solution to remote control ESP by phone ?
- Replies: 4
- Views: 14554
Re: which solution to remote control ESP by phone ?
First a warning: Don't make ESP devices running ESPEasy directly accessible from the internet (you have probably read that before on this forum, I just want to emphasize it again). At lease include some type of VPN or other secure remote control option. The limited security that is available in ESPE...
- 14 Jun 2020, 20:14
- Forum: ESP Easy: Software
- Topic: ESP Easy FW Dec.2019 Vs. June 2020 FW
- Replies: 2
- Views: 5535
Re: ESP Easy FW Dec.2019 Vs. June 2020 FW
With the newer ESPEasy versions, you might want to uncheck the 'Append Unit Number to hostname' option on the Config page.
- 14 Jun 2020, 20:10
- Forum: ESP Easy: Software
- Topic: Wemos D1 reboots every minute
- Replies: 6
- Views: 7049
Re: Wemos D1 reboots every minute
You say you changed the ip-address, does that mean you sent data to a non-existing ip with the sendtohttp command? If so, it could explain the reboots, as sendtohttp waits for an ack from the destination, but as that doesn't respond, the watchdog timer forces a reboot as the unit is not responding d...
- 07 Jun 2020, 20:00
- Forum: ESP Easy: Projects / Applications
- Topic: ADS1115 as Switch Input
- Replies: 4
- Views: 12370
Re: ADS1115 as Switch Input
Ah, I already was afraid you were going to say something like that :D When you tried to modify the plugin, did you add 'case PLUGIN_TEN_PER_SECOND:' just above the line with 'case PLUGIN_READ:' so the values are read 10 times per second, and if the response is (still) too slow, you could even try PL...
- 07 Jun 2020, 16:18
- Forum: ESP Easy: Projects / Applications
- Topic: ADS1115 as Switch Input
- Replies: 4
- Views: 12370
Re: ADS1115 as Switch Input
What other I/O boards do you have laying around? Maybe a MCP23017? With that controller you can connect up to 16 buttons (and AFAIR 12 for the PCF8574) when using the Keypad PCF8574/MCP23017 plugin from the Testing build. It may need some careful wiring if the switches aren't close to the controller...
- 07 Jun 2020, 14:28
- Forum: ESP Easy: General Discussion
- Topic: syntax question
- Replies: 27
- Views: 53079
Re: syntax question
Not sure if then the [MCP#n] variables can be used? AFAICS that's not possible, as [var#name] is referring to Device names and variables. We could use the 16 custom variables for that, something like this: on mcp#18 do let 1,%eventvalue% Event,triggering=%v1%,%v2%,%v3% endon on mcp#17 do let 2,%even...
- 07 Jun 2020, 14:04
- Forum: ESP Easy: General Discussion
- Topic: syntax question
- Replies: 27
- Views: 53079
Re: syntax question
To me it is at least 'strange' that the event is fired without any values, only the commas, do you have a screenshot of your Devices page, showing the MCP settings?
- 06 Jun 2020, 20:25
- Forum: ESP Easy: General Discussion
- Topic: syntax question
- Replies: 27
- Views: 53079
Re: syntax question
Hm, the if doesn't have a do, it's just the if and a condition/test, you might want to read the documentation on that again: https://espeasy.readthedocs.io/en/lates ... Rules.html
- 06 Jun 2020, 19:30
- Forum: ESP Easy: General Discussion
- Topic: syntax question
- Replies: 27
- Views: 53079
Re: syntax question
You need to add [ and ] around the variable(s) in the 'if' lines, (but not in the 'on' lines).
- 02 Jun 2020, 20:22
- Forum: ESP Easy: Software
- Topic: command LongPulse: possible to pulse between state 0 and state 2?
- Replies: 10
- Views: 9043
Re: command LongPulse: possible to pulse between state 0 and state 2?
Is my relay board so special? Well, most likely the high value (1) of the ESP, working on 3.3V, isn't high enough to be recognized as high by the 5V input of your relay board. Quite good described in this Hackaday article You could add level shifters between the ESP and the inputs to resolve this, ...
- 31 May 2020, 14:39
- Forum: Experimental
- Topic: E-paper on batteries
- Replies: 6
- Views: 29756
Re: E-paper on batteries
Great results so far!
Btw: Are those numbers anything real, like from a PV installation, or just something random?
Btw: Are those numbers anything real, like from a PV installation, or just something random?
- 31 May 2020, 12:21
- Forum: ESP Easy: Software
- Topic: TaskValueSet and unit of measurement
- Replies: 7
- Views: 8411
Re: TaskValueSet and unit of measurement
Didn't add the L/l transformation, but R/r as that's in line with the other transformations (using the first letter of the 1-state value, where possible, and Left/Right seems more appropriate then Right/Left) Had to resort to the L/l transformations, as R is an already existing transformation, that...
- 29 May 2020, 20:09
- Forum: ESP Easy: Software
- Topic: TaskValueSet and unit of measurement
- Replies: 7
- Views: 8411
Re: TaskValueSet and unit of measurement
I created a PR for just this small feature: https://github.com/letscontrolit/ESPEasy/pull/3094 Didn't add the L/l transformation, but R/r as that's in line with the other transformations (using the first letter of the 1-state value, where possible, and Left/Right seems more appropriate then Right/Le...
- 29 May 2020, 07:48
- Forum: ESP Easy: Software
- Topic: HTTP control without password???
- Replies: 7
- Views: 5119
Re: HTTP control without password???
Edit:
So I stepped into a spammer trap. Removed the reply.
So I stepped into a spammer trap. Removed the reply.
- 29 May 2020, 07:29
- Forum: ESP Easy: General Discussion
- Topic: Read data from domoticz
- Replies: 3
- Views: 6256
- 28 May 2020, 21:54
- Forum: ESP Easy: Software
- Topic: TaskValueSet and unit of measurement
- Replies: 7
- Views: 8411
Re: TaskValueSet and unit of measurement
two seconds later, I'll hand over Hm, why would you use 1 dummy variable to display 2 different values? Well, ok, it's possible :D Assuming you have 2 separate events where that is happening, you could set an extra dummy variable (Dummy2 / Direction) for the direction, and use a transformation on t...