Search found 64 matches

by danmero
07 Jul 2018, 17:44
Forum: ESP Easy: General Discussion
Topic: ESP8266 entering AP mode when WiFi down
Replies: 7
Views: 5250

Re: ESP8266 entering AP mode when WiFi down

+1 For disable AP mode option once configured or at last hidden SSID(at worst).

Regards,
by danmero
17 Jun 2018, 01:26
Forum: ESP Easy: Software
Topic: After mega-20180426-normal sending TEXT tro OLED don't work
Replies: 31
Views: 3798

Re: After mega-20180426-normal sending TEXT tro OLED don't work

You did send the text(fact) however not in the new format as per changes.
I will take a look at plugin code and try to spot the changes.

Regards,
by danmero
17 Jun 2018, 00:29
Forum: ESP Easy: Software
Topic: After mega-20180426-normal sending TEXT tro OLED don't work
Replies: 31
Views: 3798

Re: After mega-20180426-normal sending TEXT tro OLED don't work

What you see as a bug, other see as improvement.
Maybe you can adapt/adjust from here.

Regards,
by danmero
16 Jun 2018, 23:03
Forum: ESP Easy: Software
Topic: After mega-20180426-normal sending TEXT tro OLED don't work
Replies: 31
Views: 3798

Re: After mega-20180426-normal sending TEXT tro OLED don't work

What is the "Display Size" on OLED SSD1306 configuration?

Regards,

Edit: we are talking on two different versions , upgrade to the latest nightly built
by danmero
16 Jun 2018, 17:50
Forum: ESP Easy: General Discussion
Topic: Remote Access
Replies: 6
Views: 1538

Re: Remote Access

Do you use cloud HQTT broker or only http requests?

Regards,
by danmero
16 Jun 2018, 14:50
Forum: ESP Easy: Software
Topic: After mega-20180426-normal sending TEXT tro OLED don't work
Replies: 31
Views: 3798

Re: After mega-20180426-normal sending TEXT tro OLED don't work

This will be a new event on rules(first rules set or next) on CL do oled,%eventvalue%,1, endon now from your previous post DOELSEIF ([HWBR] ne "on") (set WM_08 oled 4 1 BR: . STAND BY . )(set WM_08 rtttl 16:d=10 o=6 b=180 g c) \ you call on device WM_08 the function OLED to write on ROW 4 & COL 1 th...
by danmero
16 Jun 2018, 12:04
Forum: ESP Easy: Software
Topic: After mega-20180426-normal sending TEXT tro OLED don't work
Replies: 31
Views: 3798

Re: After mega-20180426-normal sending TEXT tro OLED don't work

If you don't want to clear the display and reconstruct from FHEM, why not use event to clean the line.

Code: Select all

on CL do
  oled,%eventvalue%,1, 
endon
and from here you call event using the line value

Code: Select all

event,CL=4
That will clean the line 4

Regards,
by danmero
12 Jun 2018, 00:16
Forum: ESP Easy: Software
Topic: several rules
Replies: 27
Views: 3837

Re: several rules

You complicate yourself This: On Reed1-open#Switch do If [Dummies#DCMotorOn]=1 and [Reed1-open#Switch]=1 Event,DoorStop endif endon //stop motor if Reed1 or Reed2 triggered On Reed1-open#Switch do If [Reed1-open#Switch]=1 Event,DoorStop endif endon Should be only On Reed1-open#Switch do If [Reed1-op...
by danmero
10 Jun 2018, 14:00
Forum: ESP Easy: Software
Topic: several rules
Replies: 27
Views: 3837

Re: several rules

Just to simplify, both reed should stop the motor regardless the state of the motor. TaskValueSet 7,3,0 // Door state On Reed2-close#Switch do If [Reed2-close#Switch]=1 TaskSet,7,1// here you can set the state of the door for later use Event,DoorStop endif endon On Reed1-open#Switch do If [Reed1-ope...
by danmero
10 Jun 2018, 01:49
Forum: ESP Easy: Software
Topic: several rules
Replies: 27
Views: 3837

Re: several rules

Post your code and add comments (//) where is not working.

Regards,
by danmero
09 Jun 2018, 21:05
Forum: ESP Easy: Projects / Applications
Topic: ESP EasyDoorbell
Replies: 2
Views: 1321

Re: ESP EasyDoorbell

Use timer to debounce

Code: Select all

On [Switch1#switch] do
   TimerSet,9,1
EndOn

On Rules#Timer=9 do
  If [Switch1#switch]=1
    // Do-whatever-you-want here
  EndIf
EndOn 
Regards,
by danmero
09 Jun 2018, 18:32
Forum: ESP Easy: Software
Topic: several rules
Replies: 27
Views: 3837

Re: several rules

// Taster1 pressed and door not open motor backwards On Taster1#Switch do if [Taster1#Switch]=1 and [Reed1-oben#Switch]=0 WemosMotorShieldCMD 0 Backward 50 TaskValueSet 7,3,1 else WemosMotorShieldCMD 0 Stop TaskValueSet 7,3,0 endif endon Hmm, the motor will run until you keep the switch on, once yo...
by danmero
03 Jun 2018, 12:03
Forum: ESP Easy: Software
Topic: Rules: Multiple IF statements?
Replies: 3
Views: 931

Re: Rules: Multiple IF statements?

You can try

Code: Select all

on Nextion#button do 
	event,blah[Nextion#button]
endon

On blah1 do
   # do something
endon

Use button value to create the event name

Regards,
by danmero
31 May 2018, 04:20
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 323
Views: 141174

Re: New ESP gadget

I just order this one, look interesting?


Image

Regards,
by danmero
27 May 2018, 01:09
Forum: ESP Easy: General Discussion
Topic: DHT Values by http command
Replies: 4
Views: 753

Re: DHT Values by http command

Can you extract the value from http://<IP>/json

Do you want something else?

Regards,
by danmero
26 May 2018, 21:13
Forum: ESP Easy: General Discussion
Topic: DHT Values by http command
Replies: 4
Views: 753

Re: DHT Values by http command

You can switch by http request or be MQTT subscription.

Regards,
by danmero
22 May 2018, 23:14
Forum: ESP Easy: Software
Topic: Measuring Battery volts ESPEasy Mega
Replies: 12
Views: 3044

Re: Measuring Battery volts ESPEasy Mega

Analog Input use A0, but can read up to internal Vcc.
If you want to go higher Vc you will need a resistor between A0 and Vc. If high current is involved please add a very small fuse inline(<=100mA).

Regards,

ESP_Easy_mega-20180522_normal_ESP8266_4096
by danmero
22 May 2018, 22:56
Forum: ESP Easy: Projects / Applications
Topic: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]
Replies: 17
Views: 3773

Re: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]

My unit did not have a connection for a simple NO. Only a flat cable to the membrane switch panel. Can you post the model of your door control. Regarding open close status. Another esp is doing that. It has a limit switch for the close status. And a rotary encoder for position if open. I use the sa...
by danmero
22 May 2018, 18:33
Forum: ESP Easy: Projects / Applications
Topic: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]
Replies: 17
Views: 3773

Re: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]

I would like to use a 868mhz transreceiver to control the garage door. Any idea on how I would approach this? Always the question is Why?... you want to use this path. Story: I was 600km away and a friend want to borrow a tool. I told him to go in front of my garage and call me to open the door.He ...
by danmero
22 May 2018, 15:10
Forum: ESP Easy: Projects / Applications
Topic: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]
Replies: 17
Views: 3773

Re: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]

@grovkillen your project look over-complicated. Base on Hormann ProMatic Series 3 page 25(but should apply to all) you can attach NO momentary switch to trigger the Open/Close action, no need to (re)program a spare remote control, no need for relay, just a small EL816 optocupler can do the job. I di...
by danmero
22 May 2018, 13:10
Forum: ESP Easy: Hardware
Topic: Calibration of analog sensor
Replies: 1
Views: 654

Re: Calibration of analog sensor

Min and Max are relative especially for analog, try values in between, like less that %5 equal %0 and greater that %95 equal %100
What is your max Vc max?

Regards,
by danmero
22 May 2018, 12:50
Forum: ESP Easy: Software
Topic: Measuring Battery volts ESPEasy Mega
Replies: 12
Views: 3044

Re: Measuring Battery volts ESPEasy Mega

Build 120 is too old.
See image attached below, my setup on Mega for voltage up to 19V.
Compile your own from source or try the latest nightly built from GitHub

Regards,

Edit: I add a resistor(don't remember the value) and a fuse between the car battery and A0 and do the reverse math.
by danmero
21 May 2018, 13:04
Forum: ESP Easy: General Discussion
Topic: Can't get Rules Tutorial to work
Replies: 3
Views: 746

Re: Can't get Rules Tutorial to work

On Rules#Timer=1 do if [E1SW1#Switch]=1 # DEVICE gpio,12,0 # GPIO else .... - You can SET the the state of GPIO from Rules. - You can't GET the state of the GPIO from Rules. For this you have to use plugins , aka declare the GPIO as device on Device Tab. Device name: E1SW1 Type: Switch GPIO: 0 As y...
by danmero
12 May 2018, 10:16
Forum: ESP Easy: Projects / Applications
Topic: Help with momentary relay for Garage Door controller?
Replies: 5
Views: 1235

Re: Help with momentary relay for Garage Door controller?

You need to declare a device only when you want to know the state of the device.
For output only you just pulse the GPIO since you don't care the state after.

Regards,
by danmero
07 May 2018, 19:45
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Sonoff Android application
Replies: 12
Views: 3592

Re: ESPEasy Sonoff Android application

Conclusion: The only way to communicate directly is via HTTP, for MQTT you need a broker(local or cloud).
by danmero
07 May 2018, 12:53
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Sonoff Android application
Replies: 12
Views: 3592

Re: ESPEasy Sonoff Android application

You can run openHub localy on small PC or a RaspberryPy. Otherwise you will need an MQTT broker like Eclipse Mosquitto . I run my test MQTT server on a small wt3020f on top of openwrt, but any router that support openwrt will do. wt3020f The fun part is that you will have a separate wireless network...
by danmero
06 May 2018, 01:09
Forum: ESP Easy: Projects / Applications
Topic: Http get request
Replies: 21
Views: 8196

Re: Http get request

The firs think I have to do, is to create a Dummy Device who convert a °C in Fahrenheit, because the wu strung need Fahrenheit. I create a Single DummyDevice with value called TemperatureF. In the rules I wrote this: TaskValueSet 4,1,[T6H#Temperature]*9+32 No dummy or conversion required , just use...
by danmero
03 May 2018, 13:49
Forum: ESP Easy: General Discussion
Topic: espeasy version question
Replies: 1
Views: 542

Re: espeasy version question

The last best version is the one that works for you. Stable is just a term in beta world.
You should try the daily build's https://github.com/letscontrolit/ESPEasy/releases and follow-up the development at https://github.com/letscontrolit/ESPEasy/issues

Regards,
by danmero
03 May 2018, 13:39
Forum: ESP Easy: General Discussion
Topic: [Solved] Plobrem with GPIO after reset/reboot.
Replies: 7
Views: 1530

Re: Plobrem with GPIO after reset/reboot.

Try GPIO 12 and 14 , or 4 and 5 if you don't use I2C.

Regards,
by danmero
14 Mar 2018, 12:39
Forum: ESP Easy: General Discussion
Topic: New rules operators??
Replies: 12
Views: 2771

Re: New rules operators??

Thanks for the new operators but can you add ElseIf also.
by danmero
26 Feb 2018, 15:07
Forum: ESP Easy: General Discussion
Topic: Can't connect to ESP unit with static IP
Replies: 19
Views: 4456

Re: Can't connect to ESP unit with static IP

What firmware version?
Did you set the gateway and netmask?

I never encounter any problem and my devices are on static IP.

Regards,
by danmero
03 Jan 2018, 16:49
Forum: ESP Easy: General Discussion
Topic: ESPEasy nighly builds
Replies: 5
Views: 1333

Re: ESPEasy nighly builds

+1
Thanks and Happy New Year
by danmero
13 Dec 2017, 19:36
Forum: ESP Easy: Software
Topic: MQTT: subscribe to multiple topics
Replies: 3
Views: 984

Re: MQTT: subscribe to multiple topics

Base on import value you can setup rules to toggle different devices

See viewtopic.php?f=6&t=3683&start=10

Regards,
by danmero
07 Dec 2017, 12:55
Forum: ESP Easy: Software
Topic: ESP Easy rule to enable button
Replies: 12
Views: 2715

Re: ESP Easy rule to enable button

Rule is: on lightSwitch#Switch do if [lightState#Switch]=0 gpio,12,1 else gpio,12,0 endif endon Why does it automatically turn off I really have no clue... You want to use a momentary switch to toggle a gpio Try this on lightSwitch#Switch do if [lightSwitch#Switch]=0 event myevent endif endon on my...
by danmero
05 Dec 2017, 14:07
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 4489

Re: Problems with R2.0-dev12

Right, I correct my post , task value for inputswitchstate start at 0.

Regards,
by danmero
04 Dec 2017, 16:54
Forum: ESP Easy: Software
Topic: Problems with R2.0-dev12
Replies: 22
Views: 4489

Re: Problems with R2.0-dev12

Can you try using %eventvalue%

Code: Select all

On System#Boot do
 inputswitchstate 0,1
 gpio,12,1
 inputswitchstate 2,1
 gpio,16,1
endon

on push1#state do
 gpio,12,%eventvalue%
endon

on push2#state do
 gpio,16,%eventvalue%
endon
Regards,
by danmero
04 Dec 2017, 01:23
Forum: ESP Easy: General Discussion
Topic: Feature request. Actually a UI web page request
Replies: 9
Views: 2280

Re: Feature request. Actually a UI web page request

Maybe a plugin to disable/enable the WebUI from MQTT inport.

Regards,
by danmero
02 Dec 2017, 01:07
Forum: ESP Easy: Hardware
Topic: Using a relay (the neverending story)
Replies: 28
Views: 6424

Re: Using a relay (the neverending story)

Anyways the relay board you use is one of the "problem boards" switching on "low" signal". That's i always use expanders to activate the relay. Last but not least - that relay board is not suitable for mains voltage at least in the EU. The copper to copper distance between mains voltage and the low...
by danmero
01 Dec 2017, 17:24
Forum: ESP Easy: Hardware
Topic: Using a relay (the neverending story)
Replies: 28
Views: 6424

Re: Using a relay (the neverending story)

I use relay board with JVcc , separate rail for relay.

relay_jvcc.jpg
relay_jvcc.jpg (66.06 KiB) Viewed 3747 times

Regards,

PS. Ref: ESP8266 GPIO Behaviour at Boot
by danmero
30 Nov 2017, 13:42
Forum: ESP Easy: General Discussion
Topic: Rule and Wifi Status LED
Replies: 1
Views: 711

Re: Rule and Wifi Status LED

1. The answer depend on your board/mode, usually is GPIO2
2 You have to take a look at the WiKi and use cron on rules.

A rule like that should work

Code: Select all

 On Clock#Time=All,8:00
  gpio,2,0
 endon
 On Clock#Time=All,20:00
  gpio,2,1
 endon
Let me know if you have other questions.

Regards,
by danmero
30 Nov 2017, 13:22
Forum: ESP Easy: Projects / Applications
Topic: Warning: Other potential dangerous situations...
Replies: 1
Views: 8011

Re: Warning: Other potential dangerous situations...

Martinus wrote:
11 Sep 2016, 11:49
If they appear on a regular base, or each time you push a button or send a command from your Home Automation software, you have to start getting worried a bit...
Sending a command from external should not write to flash , AFAIK.

Regards,
by danmero
30 Nov 2017, 13:08
Forum: ESP Easy: Software
Topic: generic udp controller and i2c io expander help please
Replies: 2
Views: 791

Re: generic udp controller and i2c io expander help please

Look like work in progress base on this post Anyways i need much more then 8 or 16 inputs so i've requested a solution on github already, just one task per PCD8574 or MCP23017 just reading the byte (PCF8574) or word (MCP23017) and giving the binary value back to the home control. Link to GitHub disc...
by danmero
29 Nov 2017, 01:57
Forum: ESP Easy: General Discussion
Topic: MQTT Import and EasyFormula
Replies: 7
Views: 1696

Re: MQTT Import and EasyFormula

Always state your built version.

Issue confirmed on v2.0.0-dev10

Regards,
by danmero
28 Nov 2017, 21:00
Forum: ESP Easy: General Discussion
Topic: Increase number of devices
Replies: 18
Views: 4654

Re: Increase number of devices

As said i use a similiar solution with two PCF8574, one as input, one as output, that works flawlessly. As a note, you can use one device for both input and output(on different pins). Anyways i need much more then 8 or 16 inputs so i've requested a solution on github already, just one task per PCD8...