Search found 31 matches

by werner_g
10 Oct 2019, 16:15
Forum: ESP Easy: Hardware
Topic: capacitive soil moisture sensor with wrong data
Replies: 3
Views: 5633

Re: capacitive soil moisture sensor with wrong data

I made the same experience with that sensor and also with ADS1115. Works perfectly in rooms, but when installing outdoor I could not get any reliable datas. Really a pity! Maybe temperature and air humidity is responsible for this.
by werner_g
07 Sep 2019, 13:10
Forum: ESP Easy: Software
Topic: solved: Need help in publishing a Dummy value
Replies: 8
Views: 3889

Re: Need help in publishing a Dummy value

Hi Thomas, I wasn't aware of the usage of a dummy device. Now I understand - now it works! And again I learnt a little bit more. Thanks for your help & patience!
by werner_g
06 Sep 2019, 22:35
Forum: ESP Easy: Software
Topic: solved: Need help in publishing a Dummy value
Replies: 8
Views: 3889

Re: Need help in publishing a Dummy value

forgot the screenshot
by werner_g
06 Sep 2019, 22:15
Forum: ESP Easy: Software
Topic: solved: Need help in publishing a Dummy value
Replies: 8
Views: 3889

Re: Need help in publishing a Dummy value

just

Code: Select all

publish,any/state/Umweltsensor/Beschattung,0
is being published. "any/state/xxx" is my standard for MQTT-messages in my network.
by werner_g
06 Sep 2019, 20:59
Forum: ESP Easy: Software
Topic: solved: Need help in publishing a Dummy value
Replies: 8
Views: 3889

Re: Need help in publishing a Dummy value

You are right. I just followed the 'working examples' out of https://espeasy.readthedocs.io/en/latest/Rules/Rules.html . I changed the rule according to your suggestion, but still I get not the result of the average calculation to be published. No probs with calculation and MQTT. Screenshot of Devic...
by werner_g
04 Sep 2019, 21:32
Forum: ESP Easy: Software
Topic: solved: Need help in publishing a Dummy value
Replies: 8
Views: 3889

solved: Need help in publishing a Dummy value

Folks, please help me! I want to find the average of three values and want to publish this value. What I am doing wrong? On Light#Lux Do Let,4,[VAR#3] Let,3,[VAR#2] Let,2,[VAR#1] Let,1,[Light#Lux] TaskValueSet,1,1,([VAR#1]+[VAR#2]+[VAR#3])/3 Let,5,[Dummy#Value] publish,any/state/Umweltsensor/[Dummy#...
by werner_g
24 Aug 2019, 15:36
Forum: ESP Easy: Hardware
Topic: ESP Board and Power via Battery
Replies: 5
Views: 7499

Re: ESP Board and Power via Battery

still, common in German is a battery but when saying 'Akku' (Akkumulator) we mean a rechargeable one.
@ dynamicdave: I woud like to see your links for the solar-powered weather station, especially for the rules.
by werner_g
13 May 2019, 14:02
Forum: ESP Easy: Projects / Applications
Topic: solved: TB6612 Motor driver for watering system
Replies: 24
Views: 6642

Re: solved: TB6612 Motor driver for watering system

A 100 msec-pulse is enough, could also be 50msec. At minimum you should use 1A. I am using a 5V/2A charger power supply and - very important - you should buffer the supply voltage (I am using 5V) of the motor shield with 100µF or more!!! Then, you would hear a very strong 'click' in one direction, a...
by werner_g
20 Sep 2018, 16:36
Forum: ESP Easy: Projects / Applications
Topic: solved: TB6612 Motor driver for watering system
Replies: 24
Views: 6642

Re: solved: TB6612 Motor driver for watering system

Yes, four valves needs a lot of IO's. This is also my roadmap. I will try to manage it with I²C. WEMOS (and others) are devivering motor shields with I²C and 2x TB6612. And for sleep mode - I also have to find out how to implement this.
by werner_g
20 Sep 2018, 13:45
Forum: ESP Easy: Projects / Applications
Topic: solved: TB6612 Motor driver for watering system
Replies: 24
Views: 6642

Re: solved: TB6612 Motor driver for watering system

Why don't you use one single MCU for both? My ESP8266 (WEMOS D1mini) is responsible for controlling waterflow, switching the valve and inputting the soil moisture sensor. To reduce the power consumption you could use the sleep mode, because activity all 30 minutes should be enough.
by werner_g
11 Sep 2018, 18:19
Forum: ESP Easy: General Discussion
Topic: Help With Rules
Replies: 61
Views: 9307

Re: Help With Rules

Vent01auf=1.00 or Vent01auf=0.00: this are my events I want to use.
by werner_g
11 Sep 2018, 18:14
Forum: ESP Easy: General Discussion
Topic: Help With Rules
Replies: 61
Views: 9307

Re: Help With Rules

Hi grovkillen, I am using mega-20180625 and have a dozend ESP's running with that. I just wanted to have an event (gpio12, gpio13 and publish) available for using it in different dependencies (SW-switch, HW-switch, sensor-values etc.). To write a code case by case run's OK, but soon I oversize 2048 ...
by werner_g
11 Sep 2018, 17:21
Forum: ESP Easy: General Discussion
Topic: Help With Rules
Replies: 61
Views: 9307

Re: Help With Rules

Thanks for your input, grovkillen, but this little rule-modification brings my ESP to stop operation. Something is really wrong with your (and of course my) code! Please have a look again.
by werner_g
10 Sep 2018, 12:45
Forum: ESP Easy: General Discussion
Topic: Help With Rules
Replies: 61
Views: 9307

Re: Help With Rules

Everlasting questions about rules... Perhaps somebody can have a look on this: on Water#state do event, Vent01auf=%eventvalue% endon on Vent01auf=1 do Pulse,16,1,100 Pulse,12,1,50 Pulse,13,0,50 //start watering (open Vent1) Publish aussen/state/WM/Garten01/Water/Vent1,1 timerSet,1,300 //timer 1 set ...
by werner_g
08 Sep 2018, 17:39
Forum: ESP Easy: Projects / Applications
Topic: solved: TB6612 Motor driver for watering system
Replies: 24
Views: 6642

Re: solved: TB6612 Motor driver for watering system

Fine to hear that. What is your application - do you combine the valves with soil moisture sensors?
by werner_g
31 Jul 2018, 10:16
Forum: ESP Easy: Hardware
Topic: water valve... which one?
Replies: 14
Views: 3783

Re: water valve... which one?

I have a solution running since weeks and it works fine for me. I used this: https://www.pearl.de/a-NX7367-3506.shtml Since this are solenoid valves they need +power to open and -power to close, you need a H-brigde to drive the valve. Sounds difficult, but when using i.e. a TB6612NL motor driver you...
by werner_g
14 Jun 2018, 14:07
Forum: ESP Easy: Projects / Applications
Topic: solved: TB6612 Motor driver for watering system
Replies: 24
Views: 6642

Re: solved: TB6612 Motor driver for watering system

So, now I have a little time to explain my project. This are my hardware parts: - Valve PEARL NX-7367-675 - WeMOS D1mini - SparkFun Motortreiber-Dual TB6612FNG (EXPTech EXP-R05-969) But of course you can use any other H-bridge-drive / Motor driver. This device is very simple to connect with the ESP....
by werner_g
04 May 2018, 09:36
Forum: ESP Easy: Projects / Applications
Topic: MQTT input in rules
Replies: 16
Views: 5954

Re: MQTT input in rules

so easy... thanks a lot, of course now it works!
by werner_g
04 May 2018, 00:05
Forum: ESP Easy: Projects / Applications
Topic: MQTT input in rules
Replies: 16
Views: 5954

Re: MQTT input in rules

Thanks. So I modified my rules in adding the event-command: On startwatering do Pulse,4,1,40 Pulse,5,0,40 //start watering (open valve) Publish aussen/state/WM/Garten01/watering,startwatering event,MQTTwatering=startwatering timerSet,1,60 //timer 1 set for 1 minutes endon But nothing happens when I ...
by werner_g
03 May 2018, 15:47
Forum: ESP Easy: Software
Topic: WEMOS D1MiniPro with 2.0-Firmware?
Replies: 1
Views: 811

WEMOS D1MiniPro with 2.0-Firmware?

I have a D1MiniPro running, flashed with V1.47. I am trying to upgrade to V2.0, but I fail: neither over-the-air or using the flash-tool works. Probably the module is not compatible with V2.0. Is there anybody who has successfully flashed D1MiniPro with V2.0?
by werner_g
03 May 2018, 15:41
Forum: ESP Easy: Projects / Applications
Topic: MQTT input in rules
Replies: 16
Views: 5954

MQTT input in rules

My watering systems grows in line with all the plants in springtime. I have this rules working, and I receive MQTT-messages in my Node-RED: On startwatering do Pulse,4,1,40 Pulse,5,0,40 //start watering (open valve) Publish aussen/state/WM/Garten01/watering,startwatering timerSet,1,60 //timer 1 set ...
by werner_g
24 Apr 2018, 22:42
Forum: ESP Easy: Projects / Applications
Topic: solved: TB6612 Motor driver for watering system
Replies: 24
Views: 6642

solved: TB6612 Motor driver for watering system

solved: I changed from GPIO2 (D4) to GPIO5 (D1) - now it works! Still I would like to get suggestions for a more sophisticated code. Based on the Tutorial rules I am trying to build up my garden watering system using a bipolar relay - so I just need short pulses of around 40msec. My motor driver / H...
by werner_g
12 Jul 2017, 09:08
Forum: ESP Easy: General Discussion
Topic: Toggle a relais / relay for 1 second over MQTT?
Replies: 15
Views: 5574

Re: Toggle a relais / relay for 1 second over MQTT?

quite funny, I tried several things, at least changing again to OpenHAB-MQTT and now it works like it has to do: Controller Subscribe: any/set/WM/Relay01/# Controller Publish: any/state/WM/%sysname% any/set/WM/Relay01/cmd GPIO,5,1 But still 'cmd Reboot' doesn't work. Not the showstopper, I'm happy i...
by werner_g
11 Jul 2017, 18:50
Forum: ESP Easy: General Discussion
Topic: Toggle a relais / relay for 1 second over MQTT?
Replies: 15
Views: 5574

Re: Toggle a relais / relay for 1 second over MQTT?

I am wondering why this doesn't work here (PiDome MQTT):

Code: Select all

Controller Subscribe:	any/set/WM/Relay01/#
Controller Publish:	any/state/WM/%sysname%

Topic: any/set/WM/Relay01/cmd
payload: GPIO,5,1
the relay is not switching!
by werner_g
10 Jul 2017, 13:08
Forum: ESP Easy: General Discussion
Topic: Toggle a relais / relay for 1 second over MQTT?
Replies: 15
Views: 5574

Re: Toggle a relais / relay for 1 second over MQTT?

What I learnt moving to V2.0.0 is that you need to add 'MQTT Input' as a device to set a topic. And of cource Controller subscripe/publish if you want to have a feedback of the Relay-status. I use this little rule on mqtt_relay#state do if [mqtt_relay#state]=0 gpio,5,0 else gpio,5,1 endif endon to g...
by werner_g
12 Jun 2017, 21:17
Forum: ESP Easy: Projects / Applications
Topic: solved: Display Values
Replies: 5
Views: 2294

Re: Display Values

After upgrading to V2.10 I was able to display values out of the 'FHEM-universe'. Thanks for your tutorial, Robin! Now I can start my next project: combine FHEM & ESP Easy-devices with Node-RED.
by werner_g
11 Jun 2017, 20:00
Forum: ESP Easy: Projects / Applications
Topic: solved: Display Values
Replies: 5
Views: 2294

Re: Display Values

Hi Robin, so I need ESPEasy V2.0 (Mega) to import MQTT-values?! By-the-way, there are three different MQTT-protocols available (Domoticz, OpenHAB and PiDome). Is there any benefit to use Domoticz? I will upgrade to V2.0 tomorrow.
by werner_g
11 Jun 2017, 14:29
Forum: ESP Easy: Projects / Applications
Topic: solved: Display Values
Replies: 5
Views: 2294

solved: Display Values

I am a FHEM-user and publish sensor values via MQTT. For examples, I can see all published temperatur-values when checking the 'mqtt-spy'-tool. I would like to display these values in a ESP Easy-node using an OLED. Still using V1.47. Can anyone help me what I have to do?