Search found 43 matches

by rudloffl
11 Feb 2020, 06:29
Forum: ESP Easy: Hardware
Topic: optimyze deep sleep with PCF8591
Replies: 5
Views: 11818

Re: optimyze deep sleep with PCF8591

I like the idea, but it's way beyond my skills ! Thanks for your input.

Would use a GPIO "high on boot" such as SD2 or SD3 help me in your mind? I will test and let you know
https://espeasy.readthedocs.io/en/lates ... /GPIO.html

Thanks again
by rudloffl
09 Feb 2020, 17:50
Forum: ESP Easy: Hardware
Topic: optimyze deep sleep with PCF8591
Replies: 5
Views: 11818

Re: optimyze deep sleep with PCF8591

I agree with your idea, but I was looking for something more elegant. The led is only draining mildly the battery, I would like to make sure there is not something more consuming running in the background (and is most likely consuming much more than the led). My project was up and running all night ...
by rudloffl
09 Feb 2020, 06:50
Forum: ESP Easy: Hardware
Topic: optimyze deep sleep with PCF8591
Replies: 5
Views: 11818

optimyze deep sleep with PCF8591

Hello all, I'm working on a project I called "growinator" (esp + PCF8591 with 4 soil moisture sensors) :D I will use the deep-sleep model, but I noticed that when in sleep mode, the LED on the PDF8591 is still on (therefore draining the battery). I'm looking for a solution, but I need your...
by rudloffl
18 Jan 2020, 01:03
Forum: ESP Easy: Hardware
Topic: [SOLVED] 4 capacitive moisture sensor with a PCF8591
Replies: 4
Views: 8613

Re: 4 capacitice moisture sensor with a PCF8591

Yep ! I took of the jumpers and it works !

Thanks
by rudloffl
17 Jan 2020, 17:53
Forum: ESP Easy: Hardware
Topic: [SOLVED] 4 capacitive moisture sensor with a PCF8591
Replies: 4
Views: 8613

Re: 4 capacitice moisture sensor with a PCF8591

I kept the jumpers.

I will test tonight and keep you informed.

Thanks
by rudloffl
17 Jan 2020, 17:13
Forum: ESP Easy: Hardware
Topic: ADS1115 recognized as PCF8591
Replies: 2
Views: 4452

Re: ADS1115 recognized as PCF8591

Very old post, but always good to ask.

I get a similar problem (see here viewtopic.php?f=5&t=7364), do you have a solution ?
by rudloffl
17 Jan 2020, 05:46
Forum: ESP Easy: Hardware
Topic: [SOLVED] 4 capacitive moisture sensor with a PCF8591
Replies: 4
Views: 8613

[SOLVED] 4 capacitive moisture sensor with a PCF8591

Hi all, I'm working on a device that will monitor the ground moisture and pilot sprinklers. I'm planning to have 4 sensors ( https://www.amazon.com/Gikfun-Capacitive-Corrosion-Resistant-Detection/dp/B07H3P1NRM/ref=sr_1_1?keywords=ek1940&qid=1579233908&s=industrial&sr=8-1 ) with a pcf8591...
by rudloffl
23 Oct 2019, 18:26
Forum: ESP Easy: Software
Topic: Generate a random number
Replies: 1
Views: 5753

Generate a random number

Hello all,

I have a LED strip controller, and I would like to create a rainbow/random feature (via a rule).

Is there a feature in the rules that can create a random number (I have not found it here https://www.letscontrolit.com/wiki/inde ... rial_Rules ?)
by rudloffl
26 Sep 2019, 04:40
Forum: ESP Easy: General Discussion
Topic: Issue with PCF8574 & Relays
Replies: 20
Views: 20973

Re: Issue with PCF8574 & Relays

did you use that scheamtic https://www.letscontrolit.com/wiki/index.php/Relais ? The PCF is powered via 3.3 but the relay board is powered via with 5V VCC/JD Are you powering the relays from the PCF8574 or are you using the JD-VCC on the relay board ? I took off the jumper and power the relay direct...
by rudloffl
23 Sep 2019, 19:17
Forum: ESP Easy: General Discussion
Topic: Issue with PCF8574 & Relays
Replies: 20
Views: 20973

Re: Issue with PCF8574 & Relays

Are you powering the relays from the PCF8574 or are you using the JD-VCC on the relay board ?

I took off the jumper and power the relay directly
by rudloffl
23 Sep 2019, 19:12
Forum: ESP Easy: Hardware
Topic: Need some help with a PCA9685 to pilot a LED ribbon
Replies: 3
Views: 9042

Re: Need some help with a PCA9685 to pilot a LED ribbon

Victory !!!

I got it to work, I "just" had to change teh mode2 to "0x14"
by rudloffl
15 Sep 2019, 04:59
Forum: ESP Easy: Hardware
Topic: Need some help with a PCA9685 to pilot a LED ribbon
Replies: 3
Views: 9042

Re: Need some help with a PCA9685 to pilot a LED ribbon

I used the espesy GPIO directly to control the transistor and it works perfectly fine.

However, I would like to understand why I can't get the PCA9685 to work.
Do I need to had a small transistor between the one controling the 12v Leds and the PCA ?
Any idea what I should do to get it to work ?
by rudloffl
13 Sep 2019, 19:43
Forum: ESP Easy: General Discussion
Topic: PCA9685 PWM Signal
Replies: 1
Views: 2438

Re: PCA9685 PWM Signal

Did you find a solution ?
I might have a similar problem with the PCA9685
by rudloffl
13 Sep 2019, 06:03
Forum: ESP Easy: Hardware
Topic: Need some help with a PCA9685 to pilot a LED ribbon
Replies: 3
Views: 9042

Re: Need some help with a PCA9685 to pilot a LED ribbon

I will try to control LEDs without the PCA9685. Let me know if I should use a different piece of hardware.
by rudloffl
12 Sep 2019, 05:44
Forum: ESP Easy: Software
Topic: convert hexa to pwm values
Replies: 1
Views: 4953

convert hexa to pwm values

Hello all, I'm working an a led ribbon system that will communicate with my home automation system (Jeedom via generic HTTP). The home automation system can easily populate colors code (RGB) in hexa, e.g. #FFFFFF. I want the espeasy to read the code directly. Is there a formula (not listed here : ht...
by rudloffl
12 Sep 2019, 05:37
Forum: ESP Easy: Hardware
Topic: Need some help with a PCA9685 to pilot a LED ribbon
Replies: 3
Views: 9042

Need some help with a PCA9685 to pilot a LED ribbon

Hello all, I need some help to get my project to work. I want to control a LED ribbon (12v) from a wemos D1 (with the latest Mega) via a PCA9685. It's highly inspired from that https://mellbell.cc/blogs/projects/rgb-thermometer-using-pico . I cant find the solution to control the transistors from th...
by rudloffl
01 Sep 2019, 21:12
Forum: ESP Easy: Hardware
Topic: pcf8574 can not actuate a relay (only it's LED)
Replies: 8
Views: 14781

Re: pcf8574 can not actuate a relay (only it's LED)

I actually have an other problem... When I power up the complete system, the relay is changing state --> it is a big problem when you want to use it as a controller for the garage door. (I risk to open the garage each time there is an outage, a reboot has no effect) Is there a work around to make su...
by rudloffl
25 Aug 2019, 21:30
Forum: ESP Easy: Hardware
Topic: pcf8574 can not actuate a relay (only it's LED)
Replies: 8
Views: 14781

Re: pcf8574 can not actuate a relay (only it's LED)

I got it to work with a 10K and 330ohm. Thank you all
by rudloffl
25 Aug 2019, 17:57
Forum: ESP Easy: Hardware
Topic: pcf8574 can not actuate a relay (only it's LED)
Replies: 8
Views: 14781

Re: pcf8574 can not actuate a relay (only it's LED)

The relay will be activated with the +5V (or3.3V). Should I wire it like add a resistor somewhere ?
by rudloffl
25 Aug 2019, 07:03
Forum: ESP Easy: Hardware
Topic: pcf8574 can not actuate a relay (only it's LED)
Replies: 8
Views: 14781

pcf8574 can not actuate a relay (only it's LED)

Hello all, My question is not directly related to espeasy, but I'm sure someone knows the solution to my problem. I want to actuate my relay via a PCF8574, the relay is a "single" version (one relay on the board, with 3 pins: a VCC, a GND and a S). The relay is connected to the 5V and the ...
by rudloffl
21 Aug 2019, 05:12
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 7
Views: 13549

Re: extra IO with PIR or distance snsor

Indeed... I have been overthinking... Just for my curiosity, is it possible to monitor a PCF8574 like described here ? https://espeasy.readthedocs.io/en/latest/Rules/Rules.html on System#Boot do Monitor GPIO,15 endon on GPIO#15=0 do if [Plugin#GPIO#Pinstate#13]=0 // do something endif endon on GPIO#...
by rudloffl
20 Aug 2019, 05:56
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 7
Views: 13549

Re: extra IO with PIR or distance snsor

I'm back to that project ! Here where I am: - 2 distance sensors directly on the esp - 1 PCF8574 for 2 relays (both are OK and functional) and 1 for a PIR and a door sensor (those are less ok...) Here are my questions: - How do I monitor a PCF port ? What I tried below does not work? - Is the monito...
by rudloffl
06 Aug 2019, 05:55
Forum: ESP Easy: Software
Topic: SendToHTTP usgae ?
Replies: 4
Views: 3633

Re: SendToHTTP usgae ?

I'm not a big fan to hard code a API key in an espeasy (no offense to the team !).
I'm using Lunorak's plugin for espeasy (using http general). I prefer to avoid the usage of a different plugin on the jeedom side.
TD-er provided a solution with taskrun

Thanks again for the feed back
by rudloffl
06 Aug 2019, 05:50
Forum: ESP Easy: Software
Topic: [SOLVED] - Force controller update for dummy value
Replies: 3
Views: 5485

Re: Force controller update for dummy value

Yep, exactly what I was looking for !

Taskrun works as expected, many thanks
by rudloffl
05 Aug 2019, 06:19
Forum: ESP Easy: Software
Topic: [SOLVED] - Force controller update for dummy value
Replies: 3
Views: 5485

[SOLVED] - Force controller update for dummy value

Hello everyone, I'm still working on my sprinkler system (8 relais + 8 buttons + LCD display). I'm storing the value of the active sprinkler in a dummy variable (1 to 8), and I would like to update the controller (jeedom over general http) immediately. I can use the interval update to put lower refr...
by rudloffl
05 Aug 2019, 01:22
Forum: ESP Easy: Software
Topic: SendToHTTP usgae ?
Replies: 4
Views: 3633

Re: SendToHTTP usgae ?

Did you find a solution @cdx ?

I have the same problem, I was hoping that a publish would do the job.
by rudloffl
25 Jul 2019, 04:52
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 7
Views: 13549

Re: extra IO with PIR or distance snsor

I have to put that project on hold for now (Sprinkler is the priority, the grass is not getting any greener...)

I have never heard of easyEDA, I will play with it
by rudloffl
21 Jul 2019, 01:10
Forum: ESP Easy: Software
Topic: Create rules for 8 buttons/relays + LCD display
Replies: 6
Views: 6650

Re: Create rules for 8 buttons/relays + LCD display

Thanks for your feedback Thomas, it helps a lot.
I will update the code and keep you informed.
by rudloffl
20 Jul 2019, 21:58
Forum: ESP Easy: Software
Topic: Create rules for 8 buttons/relays + LCD display
Replies: 6
Views: 6650

Re: Create rules for 8 buttons/relays + LCD display

I think the problem comes from my schematic (the short test I did over the HTTP are ok), see the code below. What's the best way to connect a switch to the pcf8574 (where to put the resistor) ? On System#Boot Do event,alloff endOn on button8#State Do if [button8#State]=1 Event,button=8,5 endif EndOn...
by rudloffl
20 Jul 2019, 21:12
Forum: ESP Easy: Software
Topic: Create rules for 8 buttons/relays + LCD display
Replies: 6
Views: 6650

Re: Create rules for 8 buttons/relays + LCD display

Let me know if you need anything else
Capture d’écran du 2019-07-20 14-11-28.png
Capture d’écran du 2019-07-20 14-11-28.png (220.48 KiB) Viewed 6635 times
by rudloffl
20 Jul 2019, 16:50
Forum: ESP Easy: Software
Topic: Create rules for 8 buttons/relays + LCD display
Replies: 6
Views: 6650

Re: Cretae rules for 8 buttons/relays + LCD display

A picture of the beast for some context
20190718_223836_resized.jpg
20190718_223836_resized.jpg (669.48 KiB) Viewed 6649 times
by rudloffl
20 Jul 2019, 16:45
Forum: ESP Easy: Software
Topic: Create rules for 8 buttons/relays + LCD display
Replies: 6
Views: 6650

Create rules for 8 buttons/relays + LCD display

Hello all, Still working on my sprinkler system. The esp8266 is connected to 2 PCF8574 (relays and buttons), 1 LCD display and thermometer (GPIO). I tried to link the button pressing acting on the relay: - one pression turns the selected relay on - one other pression turns off the relay - A pression...
by rudloffl
20 Jul 2019, 15:29
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 7
Views: 13549

Re: extra IO with PIR or distance snsor

Thanks for your feedback. I will work on a proof of concept
by rudloffl
18 Jul 2019, 05:18
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 7
Views: 13549

extra IO with PIR or distance snsor

Hello to all, Is it possible to use an IO extension (Via i2c) and connect to it distance sensors or PIRs ? I would like to automate my garage door and might be short on IOs for my requirement: - 2 distance sensors (2 IO each) - 1 PIR would be great (an other IO) - 2 relays (those will be on an IO ex...
by rudloffl
08 Jul 2019, 03:41
Forum: ESP Easy: Software
Topic: Timer set to zero
Replies: 5
Views: 3511

Re: Timer set to zero

Does a timer set to zero trigger the rule ?
From what I see No, but I want to make sure.
Thanks
by rudloffl
04 Jul 2019, 23:20
Forum: ESP Easy: Software
Topic: Create a rule note based on a device
Replies: 11
Views: 8255

Re: Create a rule note based on a device

I can control via http with:

Code: Select all

http;//...event,RelayToggle=1,5
by rudloffl
04 Jul 2019, 22:42
Forum: ESP Easy: Software
Topic: Create a rule note based on a device
Replies: 11
Views: 8255

Re: Create a rule note based on a device

I have done some progress, below is my code inspired from what you shared. What it can do: - It can switch the relay each time you press a button - Works with 2 zones, should be able to expand to 8.... What I can't do yet: - Control the system via http, I tried a "http:// ....PCFPulse,9,0,250&q...
by rudloffl
04 Jul 2019, 19:58
Forum: ESP Easy: Software
Topic: Create a rule note based on a device
Replies: 11
Views: 8255

Re: Create a rule note based on a device

Thank you Grovkillen, I will work on that solution.

Really appreciate the help, stay tuned !
by rudloffl
04 Jul 2019, 19:24
Forum: ESP Easy: Software
Topic: Create a rule note based on a device
Replies: 11
Views: 8255

Re: Create a rule note based on a device

by "internal variables" you mean "Generic - Dummy device" ?

To control the relays with my home automation service, can I overwrite the press-button status via http ?
by rudloffl
04 Jul 2019, 19:03
Forum: ESP Easy: Software
Topic: Create a rule note based on a device
Replies: 11
Views: 8255

Re: Create a rule note based on a device

But I need to transmit the relays status. When you say "internal", you mean GPIO address directly in rules ? I can try to use devices for each press-buttons and publish the relays status via rules. I have to make sure they will always stay synchro (actual relays status vs info that rules a...
by rudloffl
04 Jul 2019, 18:40
Forum: ESP Easy: Software
Topic: Create a rule note based on a device
Replies: 11
Views: 8255

Re: Create a rule note based on a device

Thanks for getting back to me, here are more details Features/ materials details: control 8 relays via a PCF8574 Uses a LCD display to see what's going on (also via I2c) Control the 8 relays via 8 press-buttons on the main panel (an other PCF8574) A temperature sensor directly on the GPIO that i don...
by rudloffl
04 Jul 2019, 07:32
Forum: ESP Easy: Software
Topic: Create a rule note based on a device
Replies: 11
Views: 8255

Create a rule note based on a device

Hello to all, I'm working on a sprinkler system, and I'm running short on devices available (8 relais + LCD display + Temperature) I have added a PCF8574 on which I want to connect (8X) press-buttons to control zones, I was planning to use rules to activate the zones without the home automation syst...