Search found 88 matches

by wim16
20 Sep 2022, 23:08
Forum: ESP Easy: General Discussion
Topic: PWM and serial possilbe on the same ESP8266?
Replies: 7
Views: 2380

Re: PWM and serial possilbe on the same ESP8266?

Thank you. I the mean time I will have to change my PCB to use another GPIO.
by wim16
20 Sep 2022, 15:27
Forum: ESP Easy: General Discussion
Topic: PWM and serial possilbe on the same ESP8266?
Replies: 7
Views: 2380

Re: PWM and serial possilbe on the same ESP8266?

Well, I have to correct my previous post.... It looks like the P1-device uses a P044_STATUS_LED on GPIO12, which 'of course' is the GPIO I intended use for the dimmer. Now the dimmer value (PWM) is interrupted by the status led of the P1 device. It would be nice if the status led GPIO was configurab...
by wim16
18 Sep 2022, 11:48
Forum: ESP Easy: General Discussion
Topic: PWM and serial possilbe on the same ESP8266?
Replies: 7
Views: 2380

Re: PWM and serial possilbe on the same ESP8266?

Ok, I did a test and it is working so far. Thanks for the information.
by wim16
17 Sep 2022, 11:16
Forum: ESP Easy: General Discussion
Topic: PWM and serial possilbe on the same ESP8266?
Replies: 7
Views: 2380

PWM and serial possilbe on the same ESP8266?

Hi, I am thinking of implementing a serial (P1) interface AND PWM-output (LED-dimmer) on 1 single ESP8266. Will this work or will the PWM interfere with the serial timing? In that case I will have to use seperate ESP's for each of the functions. Of course I can just try to see if it works but maybe ...
by wim16
29 Apr 2022, 21:13
Forum: ESP Easy: Software
Topic: DHT22 no longer working in release 20220427
Replies: 2
Views: 3868

Re: DHT22 no longer working in release 20220427

Ok, I created issue #4026
by wim16
29 Apr 2022, 13:31
Forum: ESP Easy: Software
Topic: DHT22 no longer working in release 20220427
Replies: 2
Views: 3868

DHT22 no longer working in release 20220427

I just upgraded from release 20220328 to 20220427 and see that my DHT22 is no longer working. The log states 'DHT protocol timeout'. 20220328 was working fine (and is again after downgrade). I used binary files ESP_Easy_mega_20220427_normal_ESP8266_4M1M.bin and ESP_Easy_mega_20220328_normal_302_ESP8...
by wim16
24 Jan 2021, 12:17
Forum: ESP Easy: Projects / Applications
Topic: Script Lua on Domoticz and OS Execute command - PI Raspbian
Replies: 2
Views: 9124

Re: Script Lua on Domoticz and OS Execute command - PI Raspbian

Are you sure you're checking the right devicename? I see: RelaisChevret vs ESP11_Relai1

Also have a look at ESPEasy plugin P029 Domoticz MQTT helper. Then you do not need LUA.
by wim16
30 Apr 2020, 10:38
Forum: ESP Easy: General Discussion
Topic: inexplicable Event
Replies: 7
Views: 7972

Re: inexplicable Event

I think you've bumped into this bug maybe:
https://github.com/letscontrolit/ESPEasy/issues/2834
by wim16
28 Jan 2020, 08:57
Forum: ESP Easy: Software
Topic: mqtt commands doesn't work
Replies: 1
Views: 4067

Re: mqtt commands doesn't work

You can not send a command this way; the Domoticz MQTT Helper accepts only messages in the format of Domoticz.
Also keep in mind that if you send a command not from Domoticz, the status of the switch in Domoticz will not change and will be wrong.
by wim16
16 Dec 2019, 10:46
Forum: ESP Easy: Software
Topic: Help needed with Rules (solved)
Replies: 13
Views: 7883

Re: Help needed with Rules

Maybe the problem is in your if statement.
When systime > sunset it is often also > sunrise (on the same day) and thus the result will be false.
by wim16
29 Apr 2019, 09:52
Forum: ESP Easy: General Discussion
Topic: temperature sensors not listed
Replies: 1
Views: 1870

Re: temperature sensors not listed

It's under 'Environment'.
by wim16
21 Feb 2019, 08:27
Forum: ESP Easy: Software
Topic: mqq instead of http to control pwm
Replies: 13
Views: 7966

Re: mqq instead of http to control pwm

You must keep subscribe topic to domoticz/out because that is the topic domoticz is publishing to.
by wim16
20 Feb 2019, 08:42
Forum: ESP Easy: Software
Topic: mqq instead of http to control pwm
Replies: 13
Views: 7966

Re: mqq instead of http to control pwm

@megamarco83: You should use an MQTT-helper device in which you specify the idx of the device in Domoticz.
If you define a dimmer in Domoticz the MQTT-helper even changes pwm according to Domoticz percentage.
by wim16
23 Jul 2018, 18:53
Forum: ESP Easy: Software
Topic: MQTT <> Domoticz
Replies: 3
Views: 4047

Re: MQTT <> Domoticz

Yes, it is a workaround.
But maybe you can implement a better solution and enhance EspEasy...
by wim16
23 Jul 2018, 13:04
Forum: ESP Easy: Software
Topic: MQTT <> Domoticz
Replies: 3
Views: 4047

Re: MQTT <> Domoticz

You can use a device 'Domoticz MQTT Helper' to set switches or dimmers through MQTT.
by wim16
20 Jul 2018, 12:55
Forum: ESP Easy: Hardware
Topic: RF wall mounted light switch [discussion]
Replies: 18
Views: 11750

Re: RF wall mounted light switch [discussion]

With the Kaku plugin you only need a rf-receiver attached to ESP.
http://www.letscontrolit.com/forum/viewtopic.php?t=2032
by wim16
20 Jul 2018, 10:51
Forum: ESP Easy: Hardware
Topic: RF wall mounted light switch [discussion]
Replies: 18
Views: 11750

Re: RF wall mounted light switch [discussion]

I use an RFLink (Arduino) connected to Domoticz through USB because I have more KaKu devices.
I think there is also a KaKu plugin for EspEasy.
by wim16
20 Jul 2018, 09:50
Forum: ESP Easy: Hardware
Topic: RF wall mounted light switch [discussion]
Replies: 18
Views: 11750

Re: RF wall mounted light switch [discussion]

grovkillen wrote: 20 Jul 2018, 08:48 So essentially, a wireless good looking button that can easily be mounted on the wall making it look like a light switch.
I use one of these (dutch): https://www.klikaanklikuit.nl/nl/awst-8 ... elaar.html
It's powered by a CR2032 battery.
by wim16
19 Jul 2018, 09:48
Forum: ESP Easy: Projects / Applications
Topic: MQTT input in rules
Replies: 19
Views: 23958

Re: MQTT input in rules

And you might store the %eventvalue% in a dummy variable so that it is still available when there is no network connection.
by wim16
17 Jul 2018, 10:42
Forum: ESP Easy: Projects / Applications
Topic: Trying to make an auto-adjusting light timer
Replies: 17
Views: 11862

Re: Trying to make an auto-adjusting light timer

That's a nice workaround indeed. I did not know timers can be set for as long as 24 hours.
by wim16
17 Jul 2018, 09:37
Forum: ESP Easy: Projects / Applications
Topic: Trying to make an auto-adjusting light timer
Replies: 17
Views: 11862

Re: Trying to make an auto-adjusting light timer

But that is for 'after sunset', not before.
I use a BH1750 Lux-meter to 'adjust the sunset'
by wim16
16 Jul 2018, 21:55
Forum: ESP Easy: Projects / Applications
Topic: Trying to make an auto-adjusting light timer
Replies: 17
Views: 11862

Re: Trying to make an auto-adjusting light timer

I think %sunset% was introduced in 20180618.
by wim16
01 Jul 2018, 11:07
Forum: ESP Easy: Hardware
Topic: Wemos D1 not supported ?
Replies: 3
Views: 2897

Re: Wemos D1 not supported ?

Have you read the wiki?
It mentions Wemos D! as being supported but also stated GPIO15 (D8) should not be used for connecting DHT22.
by wim16
30 Jun 2018, 10:38
Forum: ESP Easy: General Discussion
Topic: Sending a serial command from ESPeasy to Arduino
Replies: 16
Views: 19661

Re: Sending a serial command from ESPeasy to Arduino

If you want a rule to execute when the switch changes state you must use that as the on condition instead of serial#raw
So:

Code: Select all

on [wemosUP#Switch]=1
publish /123, test
endon
by wim16
28 Jun 2018, 21:56
Forum: ESP Easy: General Discussion
Topic: Sending a serial command from ESPeasy to Arduino
Replies: 16
Views: 19661

Re: Sending a serial command from ESPeasy to Arduino

The wiki page you refer to is about sending commands to ESPEasy.
I think in your case you should use a serial server device. Do not have any experience with that myself but you may find some info on the forum.
by wim16
25 Jun 2018, 10:39
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 42980

Re: nodemcu on battery

I think the best way to reduce power consumption is to use a ESP directly instead of NodeMCU. The NodeMCU has some components (voltage regulator, UART) that consume power even when the ESP is in deep sleep. If you don't want to use the regulator you should use 3.3V input and not Vin. See also: https...
by wim16
09 May 2018, 23:43
Forum: ESP Easy: Software
Topic: GPIO14 status by http
Replies: 4
Views: 3460

Re: GPIO14 status by http

You can use a controller to make ESPEasy send the values to some server or maybe query the JSON output.
by wim16
09 May 2018, 20:41
Forum: ESP Easy: Software
Topic: GPIO14 status by http
Replies: 4
Views: 3460

Re: GPIO14 status by http

According to the wiki the status command is to Get a status set by GPIO/PWM/Servo command.
So, not for reading temp or humidity I guess.
by wim16
28 Apr 2018, 14:38
Forum: ESP Easy: General Discussion
Topic: Using rules to dim led strip ?
Replies: 1
Views: 2115

Re: Using rules to dim led strip ?

You can add a duration to the pwm command in EspEasy to make it fade in or out. See the wiki.
by wim16
23 Apr 2018, 18:16
Forum: ESP Easy: Software
Topic: rule not triggering for distance SR04 (solved)
Replies: 9
Views: 5627

Re: rule not triggering for distance SR04

What if you leave out the condition in the on statement?
And what firmware do you use?
Rules are not easily tested indeed, you might change the loglevel to see if it shows more info.
by wim16
23 Apr 2018, 17:26
Forum: ESP Easy: Software
Topic: rule not triggering for distance SR04 (solved)
Replies: 9
Views: 5627

Re: rule not triggering for distance SR04

Your rule test on values < 100 but the values in the log are all > 100 so it is correct the rule is not being executed.
by wim16
18 Apr 2018, 10:55
Forum: ESP Easy: Software
Topic: Log and events
Replies: 1
Views: 1774

Re: Log and events

These are just log entries that tell you the distance sensor measured something.
The setup of your device determines what is being sent to a controller.
by wim16
11 Apr 2018, 14:57
Forum: ESP Easy: Software
Topic: Rules MQTT
Replies: 4
Views: 6027

Re: Rules MQTT

I notice 2 things in your rules, not sure if they cause the problem.
1. You do not set timer1 on boot so the second rule will never fire.
2. Maybe there must be a comma after ' publish' instead of the space.
by wim16
08 Feb 2018, 08:35
Forum: ESP Easy: Software
Topic: Read switch state from json/domoticz
Replies: 7
Views: 7993

Re: Read switch state from json/domoticz

Well, then a MQTT retained message may be the way to go.
A nice explanation is here http://www.hivemq.com/blog/mqtt-essenti ... d-messages
You will need a script on Domoticz side to publish the (retained) message and
a MQTT import device on ESPEasy to retrieve it after wakeup.
by wim16
07 Feb 2018, 10:33
Forum: ESP Easy: Software
Topic: Read switch state from json/domoticz
Replies: 7
Views: 7993

Re: Read switch state from json/domoticz

I understand you want to retrieve the status of the virtual switch in Domoticz. I have never seen an example of that and a lux sensor seems a simpler solution indeed. Do you realize that in this setup it may take an hour between setting the switch and turning on the lights (depending on the sleeptim...
by wim16
06 Feb 2018, 22:11
Forum: ESP Easy: Software
Topic: Serial output of RFlink and rules
Replies: 3
Views: 2916

Re: Serial output of RFlink and rules

Do you see the eventvalue in the log (after =)?
I think your if statement at least needs some quotes around the value you're testing.
by wim16
02 Feb 2018, 13:49
Forum: ESP Easy: General Discussion
Topic: Sonoff Basic not responsive since v2.0-20180124
Replies: 4
Views: 3629

Re: Sonoff Basic not responsive since v2.0-20180124

Well, it seems not a lot of people have experienced this problem too :roll:. In the mean time a have been investigating a little myself and found that the problem is probably in _P036_framedOLED plugin. I have compiled ESPEasy from V2.0 20180130 source and it did not work. However, if I replace P036...
by wim16
30 Jan 2018, 14:16
Forum: ESP Easy: Software
Topic: would need to add date and some variables in the email notification
Replies: 10
Views: 7301

Re: would need to add date and some variables in the email notification

I think gmail requires username and password which are not in ESPEasy.
by wim16
30 Jan 2018, 14:08
Forum: ESP Easy: General Discussion
Topic: Sonoff Basic not responsive since v2.0-20180124
Replies: 4
Views: 3629

Sonoff Basic not responsive since v2.0-20180124

Today I decided to 'upgrade' my Sonoff Basic from v2.0-20180112 to v2.0-20180130 and saw that the webpages are no longer responding. I tried several nightlies and the v2.0-20180123 is the last build that works ok; all the later builds are not working well. The Sonoff boots normally but does not resp...