Search found 413 matches

by Wiki
26 Dec 2018, 14:21
Forum: ESP Easy: Software
Topic: Read temperature via web command on D1 with SHT30 installed
Replies: 12
Views: 7765

Re: Read temperature via web command on D1 with SHT30 installed

Do not forget the custom web pages. Just upload an .htm file (http://ip_of_your_device/upload) that returns just the value you want and then call that file within your call url e.g. : http://<ip of you device/return1.htm -D Interesting. I didn't read about this possibility anything. Do you have som...
by Wiki
22 Dec 2018, 13:04
Forum: ESP Easy: Software
Topic: Read temperature via web command on D1 with SHT30 installed
Replies: 12
Views: 7765

Re: Read temperature via web command on D1 with SHT30 installed

Just an idea how to solve your task instantly. Assuming you have a webserver running on your monitoring system just place a small php-script named survey.php on it: <?php isset($_GET['value']) ? $value=$_GET['value'] : $value=''; isset($_GET['ID']) ? $ID=$_GET['ID'] : $ID=''; $now = time(); $date = ...
by Wiki
29 Nov 2018, 14:54
Forum: ESP Easy: Hardware
Topic: ESP Easy on Sonoff S26
Replies: 17
Views: 14686

Re: ESP Easy on Sonoff S26

Hey, great, congrats and thanks for sharing this information. Meanwhile the PUYA-patch is included in the normal builds of the nightly releases, there is no special build for PUYA anymore. Tipp: Since 28th of nov. using the new builds namend ESP_Easy_mega-yyyymmdd_hard_SONOFF_POW_4M might give you t...
by Wiki
29 Nov 2018, 14:27
Forum: ESP Easy: Hardware
Topic: Sonoff pow r2 v1.0 2017-11-30
Replies: 3
Views: 3628

Re: Sonoff pow r2 v1.0 2017-11-30

Good to hear that the workaround was successful. Since 28th of nov. there is a new build in the nightly release. Using the ESP_Easy_mega-yyyymmdd_hard_SONOFF_POW_4M.bin you are able to flash the POW instantly. After flashing connect to the device either by serial connection or using the AP functiona...
by Wiki
26 Nov 2018, 18:32
Forum: ESP Easy: Hardware
Topic: Sonoff pow r2 v1.0 2017-11-30
Replies: 3
Views: 3628

Re: Sonoff pow r2 v1.0 2017-11-30

Hi, you're not alone. I did open already an issue on github smoe time ago, but there seems to be no further progress. As documented in the issue request I got it working by flashing at first a normal build and afterwards flashing the build for SONOFF POW R2 1024M. What a pity that following this way...
by Wiki
21 Nov 2018, 21:51
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Which speed? Default setting of the Nextion display as well as the Nextion plugin is set to 9600.

To use 115200 baud I have added to the preinitialize event of page0 "baud=115200"
If you do so, you have to change the baud rate in your Wemos Devices Nextion from 9600 to 115200.
by Wiki
21 Nov 2018, 18:19
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

You're welcome, good to hear it works. [...] When i start the Sonoff Pow from Domoticz and i will stop it on the Nextion i must sometimes press the button twice. That's depend of the state of the variable on the Nextion. [...] I have already seen a similar behaviour of my Netxion. I think its a timi...
by Wiki
20 Nov 2018, 13:31
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Well for me it looks like a misbehaviour of the dual state button - hard to say without knowing the protocol of the wemos, but possible. Let's try to get full control of the buttons behaviour in Nextion by the wemos. So replace the dual state button in Nextion by a normal one. If its the first butto...
by Wiki
18 Nov 2018, 17:38
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

OK, the rules on the ESP12/Sonoff seem to be correct. On your Nextion the Touch Release event should look like something like this: if(bt0.val==0) { print "|s,i99,sOff" printh 0a }else { print "|s,i99,sOn" printh 0x0a } The term "i99" is interpreted by the Nextion plugi...
by Wiki
14 Nov 2018, 14:48
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

OK, lets go. There might be a smarter solution, but I would go through rules. I assume that you have the domoticz configured as MQTT-controller in your ESP12. I assume that you have define a dual-state button in Nextion. If not already done so, define the gpio port of the relay as a device, an examp...
by Wiki
14 Nov 2018, 00:43
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Is the Nextion connected to the same device which is switching the lights or are these two different devices? Or are the lights switched by three different devices?
by Wiki
10 Nov 2018, 10:39
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

In general its no problem to show every information you desire on the Nextion using some rules.

But to get help you should provide more information about the infrastructure you are using.
by Wiki
06 Nov 2018, 19:06
Forum: ESP Easy: Hardware
Topic: Converting Wemo D1 Mini to 3.3V Only/Low Power
Replies: 4
Views: 9293

Re: Converting Wemo D1 Mini to 3.3V Only/Low Power

ok, now I understood. To be precise: on the page linked above there are two solutions focussing at the goal to reduce the power consumption during _deep sleep_. The ESP8266 itself consumes too much power to let it run 24/7 on battery. In both designs only the gnd pin of the uart is disconnected, so ...
by Wiki
03 Nov 2018, 00:54
Forum: ESP Easy: Software
Topic: HTML Button Code to trigger GPIO 12 (Sonoff S20)
Replies: 12
Views: 10030

Re: HTML Button Code to trigger GPIO 12 (Sonoff S20)

In theorie pretty easy. Don't trigger the device via a predefined event. Using the rules of the requested device create your own event and use SendToHTTP to send an answer with which content you ever want. Example: Request from server: http://192.168.xxx.xxx/control?cmd=event,SendState Rule on reque...
by Wiki
01 Nov 2018, 19:44
Forum: ESP Easy: Hardware
Topic: SONOFF POW PUYA 4MB
Replies: 0
Views: 1950

SONOFF POW PUYA 4MB

Yesterday I received my first SONOFF POW, not marked as R2. To get the device flashed, I had to take the PUYA-bin 1024, worked fine, device up and running. Thanks for including that. Before taking the PUYA-bin I had tried to flash the SONOFF POW 4MB. Formatting was reported as OK, but ending in the ...
by Wiki
01 Nov 2018, 11:32
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

What you have done is absolutely correct. Talking to the Nextion using the Nextion-plugin is really that simple - if you do have a working serial communication. Check your wiring twice and triple, assure you have connected GND ESP and GND Nextion, use baudrate 9600, disable serial communication in E...
by Wiki
01 Nov 2018, 00:54
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 5917

Re: Interprete HTTP Server answer

OK, meanwhile I am able to answer my question by myself. No. The ESPEasy doesn't care about anything answered to its sendtohttp. The only way I have figured out to get status information from a non-ESPEasy-device is to initiate a procedure on the server of sending its own http-request towards the ES...
by Wiki
01 Nov 2018, 00:40
Forum: ESP Easy: Hardware
Topic: Converting Wemo D1 Mini to 3.3V Only/Low Power
Replies: 4
Views: 9293

Re: Converting Wemo D1 Mini to 3.3V Only/Low Power

whatsupskip wrote: 18 Mar 2018, 22:19 [...]
Has anyone seen detailed instructions on how to do this?
[...]
whatsupskip wrote: 31 Oct 2018, 22:17 ...Here is an example of how to do this: viewtopic.php?f=5&t=5498
[...]
I don't get you. Do you need more details in addition to the descriptions and the pictures in the linked thread?
by Wiki
01 Nov 2018, 00:31
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

I think, a printscreen would not be helpful.

Pls give some more input.
by Wiki
31 Oct 2018, 13:26
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 5917

Re: Interprete HTTP Server answer

OK, a lot of try&error, still no success. Rules ESPEasy: on System#Boot do timerSet,1,60 endon on Rules#Timer=1 do SendToHTTP 192.168.101.91,80,/S timerSet,1,60 endon on HeizStatus=1 do NEXTION,page0.r0.bco=65217 // do whatever with %eventvalue% endon on HeizStatus=0 do NEXTION,page0.r0.bco=5071...
by Wiki
31 Oct 2018, 01:16
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 5917

Re: Interprete HTTP Server answer

Nope, it does nothing. ESPEasy: on System#Boot do timerSet,1,10 endon on Rules#Timer=1 do SendToHTTP 192.168.101.91,80,/S timerSet,1,10 endon on HeizStatus do // do whatever with %eventvalue% endon Arduino diy Time Switch: while (client.connected()) { // loop while the client's connected . . . else ...
by Wiki
30 Oct 2018, 23:21
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 5917

Re: Interprete HTTP Server answer

Thank you for encouraging me, this is exactly the answer I was waiting for. I don't want to disassemble my house heating - not in end of october - for reprogramming my stable diy time switch ending in an endless circle of try and error. I am using inside of my Arduino-routine the function "clie...
by Wiki
30 Oct 2018, 23:03
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 5917

Re: Interprete HTTP Server answer

So, if I fire out of the rules of my ESPEasy device the request "http://xxx.xxx.xxx.xxx/S" the answer of my Webinterface of the timer "control?cmd=event,State=1" will be interpreted correctly by ESPEasy and fire an event named "State" within the ESPEasy? Or has the serv...
by Wiki
30 Oct 2018, 22:56
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

The combination should be that ESPEasy plays the Wifi card for the Nextion. Flashing the Nextion using UART works perfectly out of the Nextion Editor while connected to my Laptop, in the Arduino library published by Itead there is an explicit function for doing this, too. I am pretty sorry for the f...
by Wiki
30 Oct 2018, 18:19
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 5917

Interprete HTTP Server answer

Pre-ESPEasy I have built a time switch for my old house heating using an ESP32, manageable using a Webinterface. I would like to extend the webinterface with a few lines of code to respond to a resquest of ESPEasy concerning the status of the relay. Question: is it possible to use the sendtohttp com...
by Wiki
30 Oct 2018, 16:15
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Setting the desired baudrate in the initializing section of the Nextion works fine. The plugin in its current state seems to me pretty stable and almost complete. The one and only thing on my personal wishlist would be the possibility of flashing the Nextion over network. Its such a pain to unmount ...
by Wiki
30 Oct 2018, 11:44
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Thank you for the information and the links. I did'nt think that it would be useful for me to use a higher speed than 9600 baud because up to now I only fill a few variables and check one button to be pressed. These few bytes seemed to be communicated fast enough between the devices. Just from curio...
by Wiki
29 Oct 2018, 17:40
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Hi, Thanks a lot for the efforts you have had with the plugin. The WAF (women's acceptance factor) raised up to 100%. Short question: using the original RX/TX hard serial on the Wemos D1 mini (GPIO3/1) works 100% reliable (opposite to the soft serial) - you described this some pages earlier. But if ...
by Wiki
25 Oct 2018, 16:35
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

......and yes, I AM stupid. Wiring OK, Plugin OK, Nextion OK. But now I've learned, that I should have checked the source of the Nextin for typos. If I want to send to "W Z t" but the field was named by me "W W t" it could not work. Never mind, sorry and thanks for your thoughts ...
by Wiki
25 Oct 2018, 01:06
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Yes, the browser shows me exactly the response that you've posted. Sorry, I should have added this info to my post.

And no, the "24.5" doesn't appear on the Nextion. Thats why I tried to send whatever to the node connected to the Nextion using the http control command.
by Wiki
24 Oct 2018, 18:46
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3661105

Re: Nextion display plugin

Hi, meanwhile I think, I am stupid. I scrolled through the whole thread. My Nextion is connected to a Wemos D1, blue cable=> D7, yellow cable => D5. Serial port disabled. Configuration of the Nextion in ESPEasy: extion1.jpg extion2.jpg In Nextion, I have a textfield named "WZt", when I am ...
by Wiki
23 Oct 2018, 17:13
Forum: ESP Easy: Hardware
Topic: Measure voltage
Replies: 2
Views: 2681

Re: Measure voltage

At my site, four INA219 are running for monitoring an array of 12V batteries. Works fine, stable and reliable, just connect the positve pole of the battery to In- of the INA219, negative pole to Gnd of your board. In device settings you can configure the INA for measurement type voltage only. Monito...
by Wiki
20 Oct 2018, 21:06
Forum: ESP Easy: Software
Topic: Setting OLED Contrast
Replies: 7
Views: 6224

Re: Setting OLED Contrast

Thanks a lot, that is exactly what I was looking for. Done.
by Wiki
18 Oct 2018, 18:06
Forum: ESP Easy: Software
Topic: ESP Easy and GPIO in deep sleep
Replies: 6
Views: 8266

Re: ESP Easy and GPIO in deep sleep

Hi, I am running the HC SR04 on a battery powered node, too. My first solution has been the same as yours. But I noticed, that the state of the GPIO during deep sleep seems to be not clearly defined, sometimes I got a real voltage drop of the battery. Also I noticed, that the wakeup current of the S...
by Wiki
18 Oct 2018, 17:42
Forum: ESP Easy: Software
Topic: Setting OLED Contrast
Replies: 7
Views: 6224

Setting OLED Contrast

Hi,

I am looking for a possibilty to set the contrast of the display depending on an event. I would prefer to put it into rules to give domoticz the ability to adjust the contrast depending on sunrise/sunset.

Any ideas?
by Wiki
17 Oct 2018, 11:42
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Re: Modding external I2C to SONOFF S20

Hi, because I didn't know this kind of plug. Thanks for the tip. I have had a glance on the pages of Tinkerman. For the SONOFF POW he figuered out, that the chip for current/voltage measurement has to have a connection between GND ans one of the mains. So its really no good idea to do a mod like thi...
by Wiki
15 Oct 2018, 13:29
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Re: Modding external I2C to SONOFF S20

Oh yes, I think I know what you are talking about, P=UxI :D

Btw I am using the VC840 for years.
by Wiki
15 Oct 2018, 01:32
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Re: Modding external I2C to SONOFF S20

Yes, maybe. But before writing down a statement I have to take in mind, that e.g. AC current can be measured using the hall effect - and galvanically seperated though. We'll see.
by Wiki
14 Oct 2018, 22:00
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Re: Modding external I2C to SONOFF S20

The device on the picture red surrounded, the transformer, is the device for galvanically seperating high and low voltage circuits as it does in every charging device for smartphones e.a. So from the moment of opening the case it was a standard switching power supply for me and therefore a "saf...
by Wiki
14 Oct 2018, 12:22
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Re: Modding external I2C to SONOFF S20

At first, @both: thank you for your hints. You are right, messing around with 230V is not a game. I checked with my multimeter and there is no electrical connection between the mains and the pins. Does anyone have a source where these concerns are coming from? I would be really interested. I could i...
by Wiki
13 Oct 2018, 18:08
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Re: Modding external I2C to SONOFF S20

Hi, the four pins onboard the S20 are directly connected to the ESP8266. So if there would be any connection to LIVE the ESP has to be able to run by 230V - sounds new to me. So I think, there is no connection. But NEVER OPEN THE CASE IF THE S20 IS CONNECTED TO LIVE. But: I will not be responsible f...
by Wiki
13 Oct 2018, 16:13
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Re: Modding external I2C to SONOFF S29

My next action will be the construction of a 3D-printed 90° plug housing.
by Wiki
13 Oct 2018, 16:10
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 8003

Modding external I2C to SONOFF S20

Hi, playing around with the SONOFF S20 I wanted to access I2C on this device. Flashing the S20 with espeasy is a known procedure and widely documented. Ih you disable the serial port of the device in Advanced Settings, you will have access to GPIO 1 and GPIO 3 of the built in ESP. But: To access the...
by Wiki
10 Oct 2018, 01:04
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 47664

Re: nodemcu on battery

Hi,

as you can probably see on the pictures, my soldering skills are not the best either. But its possible. At least desoldering the CH340 ground pin is it worth to be done.

And yes, -e +a.
by Wiki
10 Oct 2018, 00:33
Forum: ESP Easy: Hardware
Topic: nodemcu on battery
Replies: 27
Views: 47664

Re: nodemcu on battery

Hi, in the last weeks I tried out some hardware modifications to minimize the power consumption of a Wemos D1 mini (clone from China). At least I was able to reduce the power consumption of the breakout board down to 70µA during deep sleep. All measurements I did refer to a 5V power supply. I starte...
by Wiki
26 Sep 2018, 17:27
Forum: ESP Easy: Software
Topic: Timer too fast in rules
Replies: 5
Views: 3013

Re: Timer too fast in rules

Yes, I already supposed that. I know that setting up a time depending calculation using a timer event is not the best way. But I am glad to get my hands on an ampere hour meter using the rules. Helps a lot monitoring my batteries. And I am fine, if the correction factor works. Fortunately I do have ...
by Wiki
26 Sep 2018, 11:57
Forum: ESP Easy: Software
Topic: Timer too fast in rules
Replies: 5
Views: 3013

Re: Timer too fast in rules

Hi,

I am using two seconds for my calculations.
by Wiki
26 Sep 2018, 01:48
Forum: ESP Easy: Software
Topic: Timer too fast in rules
Replies: 5
Views: 3013

Timer too fast in rules

Hi, if I'm wrong here with my post, please excuse me. I didn't use the search function into the deep - lack of time. I am building a monitoring system for a set of four lead-acid batteries. The best way to monitor the remainig capacity of these batteries are the amperehours. So I started up with a W...