Search found 100 matches

by Micha_he
13 Feb 2020, 09:11
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1297

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: 1297

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: 1297

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: 1297

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: 1297

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: 1297

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: 1297

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: 1297

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: 1297

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: 1297

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...
by Micha_he
09 Feb 2020, 14:38
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1297

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

If you've connected the ESP (controller & switch-device) with your MQTT-server, than your can simple switch (better with an event, but one step after the other) the GPIO witch publish the following with any MQTT-Client (local, smartphone,...): /[espname case sensitive]/gpio/[nr] 1 for ON and to swit...
by Micha_he
09 Feb 2020, 11:03
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1297

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

Your post doensn't help anyone! What operating-system, Linux or Windows? OpenhabianPi works perfectly for me. What MQTT-Broker is currently running ? Show us your ESPEasy controller settings. Maybe something is wrong there. With mosquitto on linux: What do you get, when you execute the command 'mosq...
by Micha_he
03 Feb 2020, 17:53
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 11
Views: 950

Re: Different power consumption in sleep-modes !?

Maybe the ESP doesn't wake up, but the timer will trigger an alarm to wake up and I am not sure if that pulse will trigger every second, or maybe remains triggered. Sorry, my mistake (The second test-esp01 has a additional resistor at GPIO16). You're right! While the sleeptime from the deepsleep-co...
by Micha_he
03 Feb 2020, 16:07
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 11
Views: 950

Re: Different power consumption in sleep-modes !?

The ESP has no other sensors. Only two reed-contacts, one for the RST and one for close position.
And between the current-measuring-tests, I've nothing changed on the wiring. Here's the schematic:
FK001_Schaltplan.jpg
FK001_Schaltplan.jpg (24.44 KiB) Viewed 659 times
by Micha_he
29 Jan 2020, 08:26
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 11
Views: 950

Re: Different power consumption in sleep-modes !?

Nice idea with the FET-schematic.... But back to the real problem: There is no difference between the comands "DeepSleep,1" and "DeepSleep,300" ! All over the (sleep-) time, the ESP needs 10-13mA. If you were right, it should be less in the second case, until the timer ends. It appears, the ESP goes...
by Micha_he
28 Jan 2020, 11:24
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 11
Views: 950

Re: Different power consumption in sleep-modes !?

Yes, I know that. But the GPIO-16 is NOT connected to RST ! So it doesn't matter, if it sleep 1s or more... The ESP didn't wake up, that's sure. And with the DeepSleep from the config-page, my two AA-batteries reach ~ 1 year, before I must change it. Without ATtiny13. I assumed the command would do ...
by Micha_he
27 Jan 2020, 18:27
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 11
Views: 950

Different power consumption in sleep-modes !?

Hardware: ESP-01 without power-led for my battery-powered window-contact. Wakeup only via RST. Software: ESP_Easy_mega-20191208_normal_ESP8266_1M_VCC.bin (same with older versions) If I configure the DeepSleep via 'Config/Sleep Awake Time', the ESP-01 goes into DeepSleep and need less than 20µA. All...
by Micha_he
19 Jan 2020, 11:46
Forum: ESP Easy: Software
Topic: LCD no capital letters and no spaces
Replies: 2
Views: 793

Re: LCD no capital letters and no spaces

Please test this:

LCD,4,1,"Dabei seit"
LCD,4,7,"%eventvalue% Minuten"
by Micha_he
20 Nov 2019, 06:07
Forum: ESP Easy: Hardware
Topic: ESP01 and (S) flash but no wifi help
Replies: 7
Views: 2840

Re: ESP01 and (S) flash but no wifi help

GPIO0 to ground for flash-mode and open or pullup for normal boot.

Look here...
by Micha_he
19 Nov 2019, 20:05
Forum: ESP Easy: Hardware
Topic: ESP01 and (S) flash but no wifi help
Replies: 7
Views: 2840

Re: ESP01 and (S) flash but no wifi help

All of my ESP01 need a pullup at CH_PD !
by Micha_he
19 Nov 2019, 14:38
Forum: ESP Easy: Hardware
Topic: ESP01 and (S) flash but no wifi help
Replies: 7
Views: 2840

Re: ESP01 and (S) flash but no wifi help

Sometimes a picture (of your ESP's and the schematic) says more than 1000 words !?

Did you connect a pullup at CH_PD and GPIO0 either open or pullup at boot ?
by Micha_he
18 Nov 2019, 09:18
Forum: ESP Easy: Software
Topic: save max min values dummy device
Replies: 4
Views: 2732

Re: save max min values dummy device

Maybe simple:

if [MaxMin#Min]>[Unterstand_oben#Temperature] or [MaxMin#Min]=0
by Micha_he
29 Oct 2019, 10:19
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

Indicates the file name 'ESPEasy_P165_191028.zip' that you use the sourcecode from this date or only the compile-date ?
by Micha_he
28 Oct 2019, 08:07
Forum: ESP Easy: Software
Topic: Pulse counter plugin able to recognize 50Hz input
Replies: 4
Views: 3638

Re: Pulse counter plugin able to recognize 50Hz input

Yes, that's what I've noticed. The ESP seems very slow and the web-interface doesn't available. Why...? Because the Moes QS-Wifi-D01 dimmer has this input schematic: https://user-images.githubusercontent.com/36734573/61955930-5d90e480-afbc-11e9-8d7e-00ac526874d3.png And I didn't want to change anyth...
by Micha_he
27 Oct 2019, 17:55
Forum: ESP Easy: Software
Topic: Pulse counter plugin able to recognize 50Hz input
Replies: 4
Views: 3638

Pulse counter plugin able to recognize 50Hz input

For the input switch from Moes SQ-WIFI-D01 dimmer ( https://letscontrolit.com/forum/viewtopic.php?p=40133#p40133 ), I need to detect the 50Hz input on GPIO13. Is the P003-Pulse-Counter-Plugin able to count it ? Or does the timing of ESPEasy-rules not allow this frequency ? Even better... Has someone...
by Micha_he
27 Oct 2019, 10:00
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

enesbcs wrote:
26 Oct 2019, 21:10
You are right, my logic failed. Now i think it is fixed. v3 attached.
Now all looks good. Thanks.
by Micha_he
25 Oct 2019, 22:21
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

Are you sure? enebcs has integrateted a new wifi-dimmer, which return no state. Here we need to set the values while the command in the plugin is being executed.
by Micha_he
25 Oct 2019, 19:59
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

I've flashed the last of your firmware. If I execute a 'ydim'-command, all (#0 and #1) is set to the correct values. But there is one issue: If I execute 'relay,0,1' (value #1 is 0 before), the value #1 not set to the last dimvalue. And if the value #1 is set to something between 1-255 and i execute...
by Micha_he
24 Oct 2019, 21:12
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

The plugin/firmware works like it should. Top ! Now I'll have to design a rule for ON/OFF/DIM+/DIM-, to evaluate the switch-counter (S-input works with AC-frequency oft 50Hz at this dimmer). Edit: Can you update the plugin-values (relay-state and dim-value) of "Wifi Dimmer", if the ydim-command is e...
by Micha_he
24 Oct 2019, 14:28
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

Thanks a lot :) I'll take a look at it and report the results...
by Micha_he
24 Oct 2019, 11:16
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

Maybe you can modify the source (in your GitHub) in a first step and explain me, how I integrate the plugin for compiling in my ATOM-IDE.
As far as I know, the dimmer QS-WIFI-D01 doesn't return the actual state. So that would not be so important to the test it.
by Micha_he
24 Oct 2019, 09:56
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

enesbcs wrote:
24 Oct 2019, 09:28
I can add it to the code easily...
Thanks, that would be nice. I didn't understand the complete code in the plugin :(
enesbcs wrote:
24 Oct 2019, 09:28
...the only hard issue will be the compilation.
Because ?
by Micha_he
23 Oct 2019, 10:31
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

Maybe I can find a way, to modify the P165 plugin, to work with this dimmer too.
I was just surprised, because the original TuyaSmart-App is the recommended application for it.

Can I send data to the COM-port, via ESPeasy-rules (for a simple test) ?
by Micha_he
22 Oct 2019, 21:14
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

Both modes (2/Dimmer#2 and 3/Dimmer#3) didn't work :( Here's a log from the Tasmota firmware that works: 20:04:55 CMD: dimmer 100 20:04:55 Script: performs "SerialSend5 FF556e05DC0A" 20:04:55 RSL: RESULT = {"SerialSend":"Done"} 20:04:55 Script: performs "Dimmer 50.00" 20:04:55 RSL: RESULT = {"POWER"...
by Micha_he
21 Oct 2019, 10:11
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

Currently there is Tasmota on the dimmer. Can I use it to help to troubleshoot ?
If not, I will flash it new with your #295-firmware. Is the baudrate-settings (default 115200) important ?
by Micha_he
21 Oct 2019, 08:28
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 370
Views: 112355

Re: Serial MCU controlled relay/switch

@enesbcs: Do you think this dimmer should work with the P165-plugin too? https://forum.creationx.de/forum/index.php?thread/2102-230v-wlan-tast-dimmer-150w-f%C3%BCr-led-halogen-etc/ I've flashed the attached Tasmota-Firmware which works. When I flash your firmware 'ESPEasy_P165.1M_128kS_PUYA3' from p...
by Micha_he
08 Oct 2019, 23:13
Forum: ESP Easy: General Discussion
Topic: Some chars are confused on 128x32 OLED
Replies: 5
Views: 4862

Re: Some chars are confused on 128x32 OLED

I've modified the plugin for my 128x32 OLED. Now it looks ok: Oled128x32_modified_plugin.jpg The modifications are: Modified Init-Command for 128x32 OLED Disable Header & Page indicator to get more place Reduce to max. 3 lines (with 10pixel-font) Modify line-heights for 32pixel display height Modify...
by Micha_he
07 Oct 2019, 09:15
Forum: ESP Easy: General Discussion
Topic: Some chars are confused on 128x32 OLED
Replies: 5
Views: 4862

Re: Some chars are confused on 128x32 OLED

That's correct, with the non-framed version the text is clear, but... the Chars unfortunately are so small, that you can't read it when you look at the display from a distance of ~ 0,5m ;) @all: Has someone a modified version of the non-framed plugin, with a larger font ? I only need 0-100% on the d...
by Micha_he
07 Oct 2019, 08:53
Forum: ESP Easy: General Discussion
Topic: Some chars are confused on 128x32 OLED
Replies: 5
Views: 4862

Re: Some chars are confused on 128x32 OLED

Damn, then I'll have to replace the display again :cry:
by Micha_he
06 Oct 2019, 12:23
Forum: ESP Easy: General Discussion
Topic: Some chars are confused on 128x32 OLED
Replies: 5
Views: 4862

Some chars are confused on 128x32 OLED

At my rainwater-cistern level-measurement, I use a blue 128x32 OLED Display (DIY MORE OLED-091). Because the chars from the P023_OLED-plugins are to small to read, I used the plugin P036_FramedOLED. When I configure a nomal orientation, some of the chars at the display are confused. With a orientati...
by Micha_he
24 Jun 2019, 08:27
Forum: ESP Easy: General Discussion
Topic: P023_OLED with greater font available ?
Replies: 0
Views: 6130

P023_OLED with greater font available ?

Hello developer. Has anyone the sourcecode for P023_OLED-plugin with a greater font ? I need only 4 Digits on my 128x32 OLED-display. Thanks for your help... Or a step-by-step-instruction, how I integrate the font from http://oleddisplay.squix.ch/#/home into the _P023_OLED.ino :| :?: :cry: Micha
by Micha_he
21 Jun 2019, 11:35
Forum: ESP Easy: Software
Topic: Wroom02 and OLED-091 - I2C-Init to early ?
Replies: 9
Views: 1068

Re: Wroom02 and OLED-091 - I2C-Init to early ?

The problem concerning the OLED-display is located: The resistor R3 is too large ! With this large resistor the display-internal power-on-reset takes about ~2.6 seconds. Other display's with 4.7k (mostly used layout), the reset takes only 22ms. Here a picture of my display and the R3-position: oled_...
by Micha_he
19 Jun 2019, 08:37
Forum: ESP Easy: Software
Topic: Wroom02 and OLED-091 - I2C-Init to early ?
Replies: 9
Views: 1068

Re: Wroom02 and OLED-091 - I2C-Init to early ?

Some test from yesterday evening: ESP01 with old release R148 and old OLED-Plugin: Display works as expected, at about ~5 power-on-tests. ESP01 flashed with actual release from 20190607 (1M): Same problem as the test with WROOM-02 :( Seems a problem with the firmware/software, not a WROOM-02-problem...
by Micha_he
18 Jun 2019, 16:00
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to guard meter-box
Replies: 19
Views: 11625

Re: ESPEasy to guard meter-box

Maybe better, one relay for each power supply circle. Vcc looped over all relay to GPIO from the ESP. If the signal goes to zero, check all earth leakage circuit braker.
circuit.png
circuit.png (9.14 KiB) Viewed 11527 times
by Micha_he
18 Jun 2019, 11:14
Forum: ESP Easy: Software
Topic: Wroom02 and OLED-091 - I2C-Init to early ?
Replies: 9
Views: 1068

Re: Wroom02 and OLED-091 - I2C-Init to early ?

Not the top-solution, but a work-around. I'll test your suggestion this evening and report then.
by Micha_he
18 Jun 2019, 11:00
Forum: ESP Easy: Software
Topic: Wroom02 and OLED-091 - I2C-Init to early ?
Replies: 9
Views: 1068

Re: Wroom02 and OLED-091 - I2C-Init to early ?

No, it doesn't work until the first tests in Feb 2019. Older version's I didn't test. Core-Lib is 2.5.2. Is there any chance to re-init the I2C-Display within rules ? I've the problem, that no OLEDFRAMEDCMD (ON/OFF/MED/HIGH) work, if it's not been activated while switch on the circuit. Only a additi...
by Micha_he
18 Jun 2019, 09:40
Forum: ESP Easy: Software
Topic: Wroom02 and OLED-091 - I2C-Init to early ?
Replies: 9
Views: 1068

Re: Wroom02 and OLED-091 - I2C-Init to early ?

Same problem with the last version from 20190607 !

Is there anyone else with a working I2C-Display, when display and ESP are switched on simultaneously ?
Or... any idea to re-init the I2C-Display?
by Micha_he
12 Jun 2019, 08:09
Forum: ESP Easy: General Discussion
Topic: Volume of lying cylinder
Replies: 5
Views: 1123

Re: Volume of lying cylinder

Here's my solution (polynomial function 5. grade instead the ARCCOS-formula): Device1: JSN-SR04T, Name: Fuellstand, Valuename: WertRelativ, Formula: ([min-cm ]-%value%)/([min-cm]-[max-cm])*100 Device2: Dummy-Device, Name: FuellstandZylinder, ValueName: FuellstandZylinderRelativ Rule to calcute 0-100...
by Micha_he
12 Apr 2019, 07:39
Forum: ESP Easy: Software
Topic: switch gpio 0 always high after boot
Replies: 31
Views: 7879

Re: switch gpio 0 always high after boot

Yes maybe. I have tried several values...

Test it, with 4.7k and 10k in series !