Search found 272 matches

by Wiki
07 Jan 2019, 13:57
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

Re: DS18B20 only 9 bit resolution

Ehm, what a PR? Public Relation?
by Wiki
07 Jan 2019, 11:23
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

Re: DS18B20 only 9 bit resolution

Well, now I'm lost. Resoldered the Dallas to D7(GPIO-13): No way to set resolution to 12 bit neither using 2018-05-22 nor 2018-12-20 nor 2018-12-31. Attached to the device beside the Dallas: SSD1306 OLED and INA219. Difference to the test device I was lucky to configure to 12 bit resolution: brand n...
by Wiki
06 Jan 2019, 23:44
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

Re: DS18B20 only 9 bit resolution

Hi, might be I have found a solution resp. the cause. I equipped a testing devices with a Dallas, connected to D7 (GPIO-13), choosen randomly. And it works with 2018-12-31 (normal), setting the Dallas to 12 bit, connected as parasite feeding, 3.3V. Though I am setting up a hardware upgrade to these ...
by Wiki
06 Jan 2019, 22:36
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

Re: DS18B20 only 9 bit resolution

Hi,

what the hell is going on?

I'm trying to get my resolution of 12 bit back - but seems to be no way for it.

What witchwork has been done to my device? Do I have to dismount the sensor to reprogram it for answering it is able to deliver 12bit resolution?
by Wiki
06 Jan 2019, 17:23
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

Re: DS18B20 only 9 bit resolution

Hi, don't panic :mrgreen: . I take the moment as a chance - its the right time, the monitored system itself is asleep during the next one or two weeks. Thats why I took the risk...and now the devices get a hardware upgrade (small display, other powersupply) which was planned anyway. [OT on] But if t...
by Wiki
06 Jan 2019, 16:27
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

Re: DS18B20 only 9 bit resolution

Hi, yes it does. Temperatures are only read with 0.5 steps. For my application absolutely not acceptable. I do not need the absolut correct reading but the tendence of the different curves. And that was done before and fulfilled my needs. Currently I am trying to step back to my stable installation....
by Wiki
06 Jan 2019, 12:05
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

Re: DS18B20 only 9 bit resolution

Hi, Wemos D1, 3.3V powered, fixed IP. They were running since april flawlessly, not even one WD reboot, max. uptime ca. 100-120 days. The Dallas config is 3.3V parasite, connected to D3 (GPIO-0), cable length approx. 15cm, data sent every 30sec. Additionally attached Sensors INA219 to SDA/SCL D2/D1 ...
by Wiki
06 Jan 2019, 02:53
Forum: ESP Easy: Software
Topic: DS18B20 only 9 bit resolution
Replies: 15
Views: 2266

DS18B20 only 9 bit resolution

Hi, to use the meanwhile enhanced Web Gui I upgrade four Wemos D1 devices in my production from somewhat in April 2018 to the release of 2018-12-31. Attached to these devices are DS18B20 Sensors. But with the release of 2018-12-31 it is no more possible to set the resolution of the sensor to 12 bit....
by Wiki
26 Dec 2018, 18:56
Forum: ESP Easy: Software
Topic: Read temperature via web command on D1 with SHT30 installed
Replies: 12
Views: 2476

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

Wow, that's cute.

Thank you for this information. I think this is exactly what mattlward was looking for - and at least, me, too.
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: 2476

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

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

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

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

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: 488
Views: 158825

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: 488
Views: 158825

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: 488
Views: 158825

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: 488
Views: 158825

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 plugin of ESPEasy as Nextion#idx So...
by Wiki
14 Nov 2018, 14:48
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 158825

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: 488
Views: 158825

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: 488
Views: 158825

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

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

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

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: 488
Views: 158825

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

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

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: 488
Views: 158825

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

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=50712 en...
by Wiki
31 Oct 2018, 01:16
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 2212

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

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 "client.pr...
by Wiki
30 Oct 2018, 23:03
Forum: ESP Easy: Software
Topic: Interprete HTTP Server answer
Replies: 10
Views: 2212

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 server to answer "/control?cmd=eve...
by Wiki
30 Oct 2018, 22:56
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 158825

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

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: 488
Views: 158825

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: 488
Views: 158825

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: 488
Views: 158825

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: 488
Views: 158825

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 and tipps, and thank...
by Wiki
25 Oct 2018, 01:06
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 158825

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: 488
Views: 158825

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 tying to s...
by Wiki
23 Oct 2018, 17:13
Forum: ESP Easy: Hardware
Topic: Measure voltage
Replies: 2
Views: 919

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

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

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

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

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

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

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

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 "safe" lo...
by Wiki
14 Oct 2018, 12:22
Forum: ESP Easy: Hardware
Topic: Modding external I2C to SONOFF S20
Replies: 13
Views: 2620

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...