Search found 140 matches

by Micha_he
06 May 2020, 11:19
Forum: ESP Easy: Software
Topic: Rules#Timer and eventvalue
Replies: 14
Views: 907

Re: Rules#Timer and eventvalue

Works great for me too. ~600byte rule-code saved :)
by Micha_he
05 May 2020, 13:30
Forum: ESP Easy: Software
Topic: Rules#Timer and eventvalue
Replies: 14
Views: 907

Re: Rules#Timer and eventvalue

Nice... The feature is added, before I asked for it :)
by Micha_he
05 May 2020, 12:58
Forum: ESP Easy: Software
Topic: Rules#Timer and eventvalue
Replies: 14
Views: 907

Re: Rules#Timer and eventvalue

I'll change my rule this evening and report the result here...
by Micha_he
05 May 2020, 12:43
Forum: ESP Easy: Software
Topic: Rules#Timer and eventvalue
Replies: 14
Views: 907

Re: Rules#Timer and eventvalue

@TD-er: You think it should work?
by Micha_he
05 May 2020, 11:18
Forum: ESP Easy: Software
Topic: Rules#Timer and eventvalue
Replies: 14
Views: 907

Re: Rules#Timer and eventvalue

Example (current): On Rules#Timer=1 do Event,CloseValve=1 LogEntry,ValveClose 1 Let,1,0 EndOn On Rules#Timer=2 do Event,CloseValve=2 LogEntry,ValveClose 2 Let,2,0 EndOn On Rules#Timer=3 do Event,CloseValve=3 LogEntry,ValveClose 3 Let,3,0 EndOn My idea: On Rules#Timer do Event,CloseValve=%eventvalue%...
by Micha_he
05 May 2020, 10:06
Forum: ESP Easy: Software
Topic: Rules#Timer and eventvalue
Replies: 14
Views: 907

Rules#Timer and eventvalue

Is it possible to use one 'Rules#Timer' trigger and use the timer# in %eventvalue% ?

I've 6 partially parallel running timer, which mostly execute the same actions.
by Micha_he
23 Apr 2020, 22:25
Forum: ESP Easy: Software
Topic: Going to deepsleep forever in rules
Replies: 6
Views: 832

Re: Going to deepsleep forever in rules

... and the 'deepsleep,0'-command only works in the firmware versions 04/10/2020 or later.
by Micha_he
23 Apr 2020, 20:16
Forum: ESP Easy: Software
Topic: Going to deepsleep forever in rules
Replies: 6
Views: 832

Re: Going to deepsleep forever in rules

The correct command is 'deepsleep,0' !
by Micha_he
14 Apr 2020, 14:44
Forum: ESP Easy: Hardware
Topic: Control 5v SSR relay with ESP01 GPIO
Replies: 13
Views: 1227

Re: Control 5v SSR relay with ESP01 GPIO

P45N02LD is N-Mosfet. Or I'm wrong?

No B/C/E !
by Micha_he
14 Apr 2020, 12:19
Forum: ESP Easy: Hardware
Topic: Control 5v SSR relay with ESP01 GPIO
Replies: 13
Views: 1227

Re: Control 5v SSR relay with ESP01 GPIO

You can't conect a 5v relay direct to a ESP GPIO!

You need a transistor to boost the current, maybe you need also more then 3.3V to switch the relay.

A simply NPN transistor in common-emitter-circuit should do that.
by Micha_he
10 Apr 2020, 08:56
Forum: ESP Easy: Hardware
Topic: Control 5v SSR relay with ESP01 GPIO
Replies: 13
Views: 1227

Re: Control 5v SSR relay with ESP01 GPIO

Connect the SSR over a transistor with a resistor at the basis. Maybe the ESP has not enough current at the output.
by Micha_he
28 Mar 2020, 18:31
Forum: ESP Easy: General Discussion
Topic: Delete remote branch via VSCode command palette
Replies: 1
Views: 845

Delete remote branch via VSCode command palette

Hi. If my pull-request is merged to mega, I've deleted the branch via VSCode command palette (Ctrl+Shift+P) and 'Delete Branch...". All is Ok, the branch is locally deleted. Is there any way in VSCode's command palette', that allows me to delete branch remotely (on GitHub) to? Many thanks for your h...
by Micha_he
26 Mar 2020, 19:17
Forum: ESP Easy: General Discussion
Topic: First time query gpio status not working
Replies: 7
Views: 1109

Re: First time query gpio status not working

Have you set 'Send Boot State' in the switch-device ?

Otherwise the state is sent first, when it has changed.
by Micha_he
24 Mar 2020, 14:33
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 14
Views: 4375

Re: Different power consumption in sleep-modes !?

TD-er wrote:
24 Mar 2020, 14:18
So during sleep it does consume the expected low current (roughly 60 uA) and after this the energy consumption rises even when the node does not boot?
Yes, that is right.
by Micha_he
24 Mar 2020, 13:48
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 14
Views: 4375

Re: Different power consumption in sleep-modes !?

Can you measure what happens on GPIO16 after the sleep time is over? When sleep-time (from command deepsleep,xxx) is over, the voltage level goes from ~Vcc to GND and stay there. That seems ok, because it should normally reset via RST (not wired in my circuit). But in this state, the ESP needs to m...
by Micha_he
16 Mar 2020, 18:41
Forum: ESP Easy: Software
Topic: Additional rules field
Replies: 1
Views: 1848

Additional rules field

What have I configured wrong, that this field is displayed in my self-build image ?

rules_field_err.jpg
rules_field_err.jpg (16.62 KiB) Viewed 1848 times
by Micha_he
14 Mar 2020, 17:21
Forum: ESP Easy: Hardware
Topic: JSR SR04-T 2.0 support ?
Replies: 7
Views: 2630

Re: JSR SR04-T 2.0 support ?

I've two of the V2.0. Works perfectly, also with 3.3V. One of them for ~1 year in my water-cistern.
by Micha_he
12 Mar 2020, 15:52
Forum: ESP Easy: General Discussion
Topic: Rules help needed
Replies: 12
Views: 3397

Re: Rules help needed

You should use events to switch your relays.

Code: Select all

on eventname1 do
  GPIO,12,1
  GPIO,13,0
  GPIO,14,0
endon
Now you just have to see how you trigger the event from Domoticz. Via http it looks like this:

Code: Select all

http://<espeasyip>/control?cmd=event,eventname1
by Micha_he
10 Mar 2020, 08:13
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

A 2-3 sec delay before the light turns on seems like a badly implemented soft start feature. Two more days of testing... New insights ! It's not a soft-start feature of the led-driver. The led-driver is start quick, when the dimmer switch from 0% to 100%. But start delayed, if it the dimmer switch ...
by Micha_he
07 Mar 2020, 18:26
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

Problem localized !

It isn't the COM-buffer, not the log or the MCU-firmware. Also not the rule, plugin or ESPEasy-source...

The problem was the dimmable LED-driver in my (new) ceiling lights. They have a soft start from power-off-state :?
by Micha_he
07 Mar 2020, 15:38
Forum: ESP Easy: General Discussion
Topic: I can 't select GPIO in the Dummy device settings
Replies: 2
Views: 3433

Re: I can 't select GPIO in the Dummy device settings

A 'dummy'-device is a dummy (1-4 values). It has no GPIO input. You must use another device type for your sensor.

Maybe something linke 'Environment - DHT...'.
by Micha_he
06 Mar 2020, 13:58
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

TD-er has build a test-image with current source here https://github.com/letscontrolit/ESPEas ... -595455760.
Maybe someone can test the reverse data transmission from the switch/dimmer. My MOES-WIFI-D01 have no real state feedback.
by Micha_he
06 Mar 2020, 08:05
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

Even with the ESPEasy's serial log disabled,... Yes, the plugin disable it and I've multiple controlled that. And it remains disabled during the test also. So monitor the serial data sent by ESPEasy for several minutes. During this time do NOT send any dimmer-mcu commands (disable any rules that co...
by Micha_he
05 Mar 2020, 23:41
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

Maybe a problem at the dimmer-MCU. I checked the serial data and the byte sequence is always send quick. Only the light-output is late switched on. Firmware bug ?
by Micha_he
04 Mar 2020, 22:53
Forum: ESP Easy: Software
Topic: if-clause not work
Replies: 4
Views: 3397

Re: if-clause not work

I'll test it...
by Micha_he
04 Mar 2020, 22:21
Forum: ESP Easy: Software
Topic: if-clause not work
Replies: 4
Views: 3397

Re: if-clause not work

You mean, I've to take this way:

Code: Select all

let,2,([INT#1]-[Fuellstand#WertGlatt])^2^.5
if [var#2]<10 or [Fuellstand#WertGlatt]=0
...
endif
by Micha_he
04 Mar 2020, 22:12
Forum: ESP Easy: Software
Topic: if-clause not work
Replies: 4
Views: 3397

if-clause not work

Background: I'll try to execute a rule part, only if the 'absolute' difference between the integer in VAR#1 and the smoothed dummy value (Fuellstand#WertGlatt) is less than 10 or the smoothed value is zero. Here's my if-clause: if ([INT#1]-[Fuellstand#WertGlatt])^2^.5<10 or [Fuellstand#WertGlatt]=0 ...
by Micha_he
03 Mar 2020, 18:39
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

Now, with new (updated source code), custom build and active 'Periodical send Gratuitous ARP', unfortunately nothing has changed :(
by Micha_he
03 Mar 2020, 11:50
Forum: ESP Easy: General Discussion
Topic: Rules If & ON
Replies: 5
Views: 3324

Re: Rules If & ON

A tip from me: Maybe %vcc% has no valid value directly after booting. The AD-conversion takes a few seconds in my tests.
by Micha_he
03 Mar 2020, 10:26
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

Ok, I'll try a new attempt tomorrow.
by Micha_he
02 Mar 2020, 20:43
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

Top, works :D With custom build and custom plugin-set. Thank you very much... But the Wifi-settings from the custom.h, have caused me some problems. Can I delete the all network-/wifi-/IP-/name-settings in the custom.h (lines 33-133), so the default setup wizard is starting in first boot? Or is it n...
by Micha_he
02 Mar 2020, 10:18
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

I'll try to implement your instructions in my build environment. But only today evening.

Can I also have two custom.h files, if I need two special builds ?
by Micha_he
02 Mar 2020, 09:49
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

1MB. But better: Can you explain the integration steps? 1. copy plugin.ino to /src 2. add '#ifdef USES_P165' and endif to the plugin-source 3. in '/src/define_plugin_sets.h' I've found the plugin only in the experimental section Here I stopped yesterday... What are the next steps to a special P165-b...
by Micha_he
02 Mar 2020, 09:29
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

Yes, I want try to compile a image with the _P165_SerSwitch-plugin, based on the current ESPEasy-source. If necessary, see if I can modify the plugin to work with current source. Is there a manual/wiki somewhere, how to add my own build (with a additional plugin) to the Platformio-IDE. The system/in...
by Micha_he
02 Mar 2020, 08:57
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

Mravko wrote some instructions for platformio: https://www.letscontrolit.com/forum/viewtopic.php?p=36756#p36756 Hi. This instructions doesn't seem to match with the current source-code. Can someone explain, how I integrate a experimental plugin with a suitable build environment into the current ESP...
by Micha_he
28 Feb 2020, 09:51
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 390
Views: 180135

Re: Serial MCU controlled relay/switch

ESPEasy with P165 + Ds18b20 compiled with core 2.5.2 Still with the 2018 source code, right? Because I've a delay-problem with the plugin ( https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=7460 ) at my MOES-WIFI-Dimmer, it's interest me, if it's possible to compile the plugin with the curren...
by Micha_he
26 Feb 2020, 16:49
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

There's no 'Gratuitous ARP' under Tools/Advanced. Maybe because it's a custom git version !?
by Micha_he
26 Feb 2020, 12:38
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

But then the 'Gratuitous ARP' settings shouldn't be important anymore, if I logged in to the web interface some seconds before I executed the command via Tools-page or the lokal, mechanical switch is used.

But,... I'll test it later today.
by Micha_he
26 Feb 2020, 11:41
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Re: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

Improves this also communication beween the ESPEasy-system (and plugin) and the serial-connected MCU from the dimmer ??? Or the processing speed of the rules ?
The connection between browser and ESPEasy is smooth and fast.
by Micha_he
25 Feb 2020, 19:25
Forum: ESP Easy: Software
Topic: Serial MCU controlled dimmer/relay - Initial delay of 2-3sec
Replies: 18
Views: 6642

Serial MCU controlled dimmer/relay - Initial delay of 2-3sec

I've flashed two MOES-Wifi-Dimmer with the pre-compiled filmware (I've also tested the new version from 9th february) from @enesbcs. The devices are configured as follows: dim1gz_devices.jpg I've simplified the rules for a test to: on System#Boot do Relay,0,0 endon on MQTT#Connected do publish /%sys...
by Micha_he
13 Feb 2020, 09:11
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

vince59 wrote:
12 Feb 2020, 20:43
If I am correct you want to monitor the actual state of the relays. Am I correct?
Yes, that's what I mean. If you change the state from outside of OH (maybe a restart from your LCTech-relay), then OH may show the wrong state :!: :?: :(
by Micha_he
12 Feb 2020, 18:19
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

To get the real state back, you change the following: 1. Switch the relay_x-item to 'veto an auto update' 2. Create a file 'relay0.map' (you need a seperate for each relay-command) in the 'transform' subfolder of your OH-installation. Maybe with linux linefeeds !? with the following content: OFF=Rel...
by Micha_he
12 Feb 2020, 15:30
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

600km is too far for a beer :P

Maybe I find a way, to get the real state (? four values from your ESPEasy-LCTech-device) ? I'll have a look...
We will probably need a MAPPING for that.
by Micha_he
12 Feb 2020, 15:16
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

I had to remove the "/" at the beginning of the MQTT Command Topic Maybe because I use mosquitto-MQTT on OpenHAB !? The simplest, but unsecure way is: Portforwarding the OpenHAB-port in your router, setup DynDNS and use the OpenHAB-App on Android/IOs. In a second step a little more security with 'n...
by Micha_he
12 Feb 2020, 09:19
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

I've done it here, but only the first half... Create a switch-item (if you haven't done it yet), name it e.g. LCTechRel1 and set autoupdate to enforce (currently I've no solution to get the real state). Create (or edit if you've already created one) a channel under your LCTech-Thing, type 'on/off-sw...
by Micha_he
11 Feb 2020, 17:57
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Correction: The examples are OK, but config-files are not created, when use the OH-web-interface to create things and so on. My private configuration is via txt-files :-( Have you configured the broker(-thing) via web-interface or via textfiles? Correct, you've a thing like 'MQTT broker' and this th...
by Micha_he
11 Feb 2020, 16:38
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

On your OpenHAB-WinPC must exists a folder for OpenHAB config files. The subfolder things,items,rules,.... should be in it. Look in the 'things'-subfolder for your mqtt-bridge-thing (it should begin with: 'bridge mqtt:systemBroker:embedded-mqtt-broker') and show us the complete content. So we can se...
by Micha_he
11 Feb 2020, 09:26
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

About MQTT binding question. I am using MQTT binding. You haven't answered the MQTT-binding-version question yet. Look under 'Add-ons/Binding/MQTT-Binding...' Which version is installed on your OH ? The configuration differs significantly ! Or mean 'MQTT binding' that you have installed version 2.5...
by Micha_he
10 Feb 2020, 18:58
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

No,...

/LCTech/cmd

in publish and...

relay,1,1

in message box. No spaces !
by Micha_he
10 Feb 2020, 15:41
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 8059

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Question: it seems already subscribed the topic. Am I correct? Test it ! With MQTTfx publish: /[espname]/cmd relay,0,1 This should switch on relay1. How do I check openhab connection and subscription in openhab? Maybe OpenHAB-Log or PaperUI (with binding V2.x) Which MQTT-binding do you use in OpenH...