Search found 155 matches

by pw444
02 Aug 2021, 16:31
Forum: ESP Easy: General Discussion
Topic: mysensors vs espeasy
Replies: 7
Views: 6475

Re: mysensors vs espeasy

"Not sure what you mean by "repeating features"

with the mysensors framework, each node can become a repeater, extending the coverage, a mesh architecture.
by pw444
01 Aug 2021, 23:42
Forum: ESP Easy: General Discussion
Topic: mysensors vs espeasy
Replies: 7
Views: 6475

Re: mysensors vs espeasy

due the repeating node capability.

does espeasy provides repeating feature?

sure, wemos D1 is simply fantastic, i have two with espeasy working, one on my coffe machine and other on my egg boiler, but wifi range is not so good compared with nrf24l01...
by pw444
01 Aug 2021, 16:54
Forum: ESP Easy: General Discussion
Topic: mysensors vs espeasy
Replies: 7
Views: 6475

mysensors vs espeasy

Dear @ll,

what's the advantages and disadvantges by using espeasy and not mysensors?

And why use mysensors and not espeasy?

Thx in advance for the comments and guidance.
by pw444
23 Mar 2021, 14:57
Forum: ESP Easy: Projects / Applications
Topic: knowing position with dc motor / stepper mottor
Replies: 1
Views: 9841

knowing position with dc motor / stepper mottor

Hya,

any hint in how to calculate the position of a DC motor or stepper motor? beginning at 0 finnish at 100..

Thx for any advice.

BR
by pw444
20 Mar 2021, 16:46
Forum: ESP Easy: Hardware
Topic: Adafruit Shield Motor V2 problems
Replies: 6
Views: 7470

Re: Adafruit Shield Motor V2 problems

Got it working. A bad cable caused the mess.

Thx!
by pw444
20 Mar 2021, 15:45
Forum: ESP Easy: General Discussion
Topic: Help needed on automated curtain project
Replies: 11
Views: 18270

Re: Help needed on automated curtain project

Hya.

i'm trying something similar.

How to you calculate the percentage of open or close?

Thx in advance.
by pw444
20 Mar 2021, 15:23
Forum: ESP Easy: Hardware
Topic: Adafruit Shield Motor V2 problems
Replies: 6
Views: 7470

Re: Adafruit Shield Motor V2 problems

no. see the screen print.
by pw444
20 Mar 2021, 15:18
Forum: ESP Easy: Hardware
Topic: Adafruit Shield Motor V2 problems
Replies: 6
Views: 7470

Re: Adafruit Shield Motor V2 problems

button, OPEN ;-)

seams that

Code: Select all

MotorShieldCMD,DCMotor,4,Forward,100
takes over and nothing else works.
by pw444
20 Mar 2021, 15:03
Forum: ESP Easy: Hardware
Topic: Adafruit Shield Motor V2 problems
Replies: 6
Views: 7470

Adafruit Shield Motor V2 problems

Hya, tried the following rule with plugin P048 On System#Boot do //When the ESP boots, do let,1,0 let,2,0 logentry, "start" endon on OPEN#status do if %eventvalue%=1 logentry,"forward" let,1,1 MotorShieldCMD,DCMotor,4,Forward,100 else logentry,"backward" let,1,0 MotorSh...
by pw444
19 Mar 2021, 17:40
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver


but I think the 10 msec interval just was a bit too much for an ESP,
or else I don't know why that solution was abandoned

because i cannot get it smoth, also makes delays between steps.
by pw444
19 Mar 2021, 16:40
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

ok, builds with P048 plugin? i only found on this test one.
by pw444
19 Mar 2021, 16:09
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

the build: ESP_Easy_mega_20201227_test_ESP8266_4M1M_VCC

where do i find timing stats?
by pw444
19 Mar 2021, 15:28
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

Have you looked at the log via usb? How long is that delay? the log, showing the intervals. 136357: Stepper1->Forward Steps: 100 SINGLE 136717: ACT : asyncevent,loop 136731: EVENT: loop 136746: ACT : MotorShieldCMD,Stepper,1,Forward,100,single 136758: Stepper1->Forward Steps: 100 SINGLE 137122: ACT...
by pw444
19 Mar 2021, 15:24
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

on loop do if %v1%=0 MotorShieldCMD,Stepper,1,Forward,100,single endif if %v1%=1 MotorShieldCMD,Stepper,1,Backward,100,single endif asyncevent,loop endon i'm using asyncevent as from example. but as docs, asyncevent goes to a quee. What the oposit of asyncevent, thus making it run without going to ...
by pw444
19 Mar 2021, 13:55
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

add a new command to the motorshield to set a continous speed and thus calling it from the PLUGIN_TEN_PER_SECOND or maybe even PLUGIN_FIFTY_PER_SECOND. and how? what i want: forward, backward and release. that's all. it will move curtains, 1 meter long or 10 meter long, so, i want to open, close, s...
by pw444
18 Mar 2021, 22:02
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

i'm trying this one, but there is a pause on next loop. Is there a way to keep it running, without pause beween? On System#Boot do //When the ESP boots, do let,1,0 let,2,0 asyncevent,loop // Trigger the loop endon on loop do if %v1%=0 MotorShieldCMD,Stepper,1,Forward,100,single endif if %v1%=1 Motor...
by pw444
18 Mar 2021, 13:59
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

you're right. i miread the error. sorry for such stupid question.
by pw444
17 Mar 2021, 20:00
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

I have now the follwing: On System#Boot do //When the ESP boots, do looptimerset_ms,1,10 // Start loop timer 2, 10 msec interval endon On Rules#Timer=1 do if %v1%=1 MotorShieldCMD,Stepper,1,Forward,50,single endif if %v1%=0 MotorShieldCMD,Stepper,1,Backward,50,single endif endon on OPEN#status do if...
by pw444
15 Mar 2021, 13:20
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

Maybe the (recently added) loop timer can be of any help here? https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?#sub-second-resolution-and-loop-timers. For performance reasons I would not try to set the loop timer to a very short interval. So maybe in the rules when handling this timer you...
by pw444
13 Mar 2021, 14:12
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

i got it. will later draw it. now i will start to make it work.
by pw444
10 Mar 2021, 17:35
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

Hi, i tried to make it work, but no luck.

It worked only as a shield on the Arduino Uno board.

Can you please share the connection diagram used when it worked at development?

Thx in advance.
by pw444
03 Mar 2021, 16:03
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

thx. my motor shield shall arrive the next days,...

i'll let you know.

any other steppers plugins available?
by pw444
03 Mar 2021, 14:18
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

Ok, having this instruction, how to have it looping? MotorShieldCMD,Stepper,1,Forward,1,Interleave My logic is simple.... motor instructions will keep looping, either Release, Forward or Backward, depending on two variables: RUN and DIRECTION. RUN can be 1,2 or 3 and direction 1 or 2. But i'm a litt...
by pw444
02 Mar 2021, 13:27
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

thx. regarding the P048, can ypu please share the connection scheme? and the command set to use?
by pw444
01 Mar 2021, 19:51
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

Where does this code come from? It is not part of the ESPEasy code. Judging the code you posted, you need 4 GPIO pins for it, and I don't know any example plugin which you can easily modify for this. The Wemos motorshield does use I2C to communicate. Also the code is using "delay(1500)", ...
by pw444
01 Mar 2021, 19:45
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

ok, i purchased the https://www.letscontrolit.com/wiki/inde ... ield_v2%22

as soon i receive it, i will ask you for help. Is it possible?

TIA
by pw444
01 Mar 2021, 14:10
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

i did not change the refresh rates..... acepted as is. and it's working, for the sonoff pow r2.
by pw444
01 Mar 2021, 14:08
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

Where does this code come from? It is not part of the ESPEasy code. Judging the code you posted, you need 4 GPIO pins for it, and I don't know any example plugin which you can easily modify for this. The Wemos motorshield does use I2C to communicate. Also the code is using "delay(1500)", ...
by pw444
28 Feb 2021, 23:42
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

TD-er wrote: 28 Feb 2021, 20:34 I don't think I do understand what you're asking here.
how to have it working with espeasy? and hoe could i adapt the code (previous post) to it? :mrgreen:
by pw444
28 Feb 2021, 19:06
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

TD-er wrote: 26 Feb 2021, 12:22 I think you need to give slightly more information here :)

No idea what "easydriver" is.
Any link?

Is it this board? https://www.sparkfun.com/products/12779
any hint?
by pw444
27 Feb 2021, 13:16
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

How could i loop this in espeasy? defs: // variables will change: long previousmotorMicros = 0; // will store last time motor was updated // the follwoing variable is a long because the time, measured in milliseconds // will quickly become a larger number than can be stored in an int. long motorinte...
by pw444
26 Feb 2021, 20:07
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

TD-er wrote: 26 Feb 2021, 12:22 I think you need to give slightly more information here :)

No idea what "easydriver" is.
Any link?

Is it this board? https://www.sparkfun.com/products/12779
yes, this one. WIth one advantage: also works with 3V3. See specs.
by pw444
26 Feb 2021, 15:09
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

Re: easydriver stepper driver

https://www.schmalzhaus.com/EasyDriver/

you can use it without specific libraries,
by pw444
26 Feb 2021, 12:09
Forum: ESP Easy: Hardware
Topic: easydriver stepper driver
Replies: 42
Views: 23909

easydriver stepper driver

Hi,

anyone used easydriver with espeasy?

TIA?
by pw444
22 Feb 2021, 17:34
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

worked perfectly with the sonoff pow r2.

now i have to struggle ith the hlw8012.
by pw444
20 Feb 2021, 13:00
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

thanks for all.

i'm just not getting the relay to work.
by pw444
19 Feb 2021, 18:44
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

and where do i find hlwcalibrate-command?
by pw444
19 Feb 2021, 18:13
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

Danke!
how is the device messdaten defined?
Vielen dank nochmal.
by pw444
19 Feb 2021, 17:49
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

thx.. can you share your setup (hardware and devices), and rules, if any?

what's the relay for?
by pw444
19 Feb 2021, 17:23
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

Yeah, got some confusion, but is flashed with ESPEasy.

Not, some questions:

Device leds (blue and red) - to which gpio's?

Relay?

The device is a SONOFF POW R2, so, there are some differences with the POW R1.

And is the setup the same?
by pw444
18 Feb 2021, 22:20
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

no vcc and gnd from the usb to serial?
by pw444
18 Feb 2021, 20:29
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

ok, i purchased a SONOFF POWR2.

How to flash ESPeasy on it. Any good guide?
by pw444
18 Feb 2021, 20:27
Forum: ESP Easy: Software
Topic: rules - ruleset
Replies: 5
Views: 4750

Re: rules - ruleset

So, i can write the rules and split it on rules 1, 2 3 and 4 and i behaves as being only one file, is it right?
by pw444
16 Feb 2021, 23:14
Forum: ESP Easy: Software
Topic: rules - ruleset
Replies: 5
Views: 4750

Re: rules - ruleset

Thx! and whats the maximum size for rules?
by pw444
16 Feb 2021, 20:00
Forum: ESP Easy: Software
Topic: rules - ruleset
Replies: 5
Views: 4750

rules - ruleset

Hya,

how do rulesets work?

I always use the ruleset 1.

Diiged at the docs, but wasn't clear enough.

TIA
by pw444
10 Feb 2021, 19:07
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

TD-er wrote: 10 Feb 2021, 18:49 There are quite a lot of possibilities with the configuration of SEL / CF1 / CF int edge parameters.
ok, and how? ;-)
by pw444
10 Feb 2021, 17:42
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

did not work. i used the sketch from xoseperez, but no luck.

any hint?
by pw444
09 Feb 2021, 19:08
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

used the calbrition shown your screenshot, but reading are not good.. voltage is showing 1.00 when MM shows 128

i will try to calibrate using the example found in the hlw8012 library.
by pw444
09 Feb 2021, 15:47
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Re: Energy (AC) - HLW8012/BL0937

that's the board

by device i have CUSTOM.
by pw444
09 Feb 2021, 15:22
Forum: ESP Easy: Software
Topic: Energy (AC) - HLW8012/BL0937
Replies: 29
Views: 17497

Energy (AC) - HLW8012/BL0937

Hya,

i got 2 HLW8012 boards, and had an esp8266-12 flashed with the ESP_Easy_mega_20201227_hard_SONOFF_POW_4M1M

wired all, and ijected 127V AC to the input of the HLW8012 board.

by devices, voltage, current, power and powerfactor, all remained 0.00.

any how to in have it testing?

TIA.