Search found 490 matches

by costo
20 Jul 2019, 14:12
Forum: ESP Easy: Software
Topic: Rules: how to avoid PWM > 1023 ?
Replies: 7
Views: 1220

Re: Rules: how to avoid PWM > 1023 ?

Thank you again for the response. As far as I understand the rules for the old ESPEasy version, it is not possible/advisable/stable to use more than one if/else/enif statement in a On/EndOn rule. So I had some doubts if it would work So I made a second dummy, not on task6 but on task 3 and tested it...
by costo
20 Jul 2019, 00:23
Forum: ESP Easy: Software
Topic: Rules: how to avoid PWM > 1023 ?
Replies: 7
Views: 1220

Re: Rules: how to avoid PWM > 1023 ?

Yes I use a dummu device at task 4 I extended the rule with another On/endon which should be triggered at a valuechange of [Fan#PWM] On System#Boot do timerSet,1,15 endon On Rules#Timer=1 do if [DS18#Temp] >35 TaskValueSet 4,1,[DS18#Temp]*12 //PWM,0,[Fan#PWM] else TaskValueSet 4,1,0 //PWM,0,0 endif ...
by costo
19 Jul 2019, 21:21
Forum: ESP Easy: Software
Topic: Rules: how to avoid PWM > 1023 ?
Replies: 7
Views: 1220

Re: Rules: how to avoid PWM > 1023 ?

Thomas , thank you for the reply. As you say, it is a nested it/then/else. As I am using the old V148 this will not work. I am a bit reluctant to use the mega version. I experience a lot of restarts with the Mega software. I prefer using the old software so have to find a different solution. I think...
by costo
19 Jul 2019, 03:08
Forum: ESP Easy: Software
Topic: Rules: how to avoid PWM > 1023 ?
Replies: 7
Views: 1220

Rules: how to avoid PWM > 1023 ?

Hi, I use ESPEasy version 148 talking to a RasPi/Domoticz server with MQTT. A DS18B20 mounted on a heatsink measures temperature. GPIO-0 with PWM controls a fan that lowers the temp of the heatsink. The fan should start at about 35C with a minimum PWM value of about 400 and above 75C PWM should alwa...
by costo
19 Apr 2019, 12:17
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 1032

Re: Reboot cause: WEMOS D1 (clone) voltage regulator ??

I posted last week: I have a ESP that is also rebooting a lot, on average 1 hour. It is good that after a reboot the ESP comes back but it is still annoying. I ordered a couple of: https://www.aliexpress.com/item/Free-shipping-10PCS-ME6211C33M5G-ME6211C33M-ME6211C33-ME6211C-ME6211-SOT23-5/3295989672...
by costo
13 Apr 2019, 16:42
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 1032

Re: Reboot cause: WEMOS D1 (clone) voltage regulator ??

That is good thinking of you Domosapiens. I have a ESP that is also rebooting a lot, on average 1 hour. It is good that after a reboot the ESP comes back but it is still annoying. I ordered a couple of: https://www.aliexpress.com/item/Free-shipping-10PCS-ME6211C33M5G-ME6211C33M-ME6211C33-ME6211C-ME6...
by costo
07 Feb 2019, 14:37
Forum: ESP Easy: Software
Topic: [Solved] Calculating Temperature Difference
Replies: 2
Views: 376

Re: Calculating Temperature Difference

Thank you grovkillen for this excellent solution. After posting the question here I kept experimenting with the example in the wiki and found a working solution with a dummy. on Warm#Temperature do TaskValueSet,4,1,[Warm#Temperature]-[Cold#Temperature] Publish domoticz/in,{"idx":775,"nvalue":0,"sval...
by costo
07 Feb 2019, 02:55
Forum: ESP Easy: Software
Topic: [Solved] Calculating Temperature Difference
Replies: 2
Views: 376

[Solved] Calculating Temperature Difference

I am using ESPEasy 1.48 with MQTT protocol. I have two DS18b20 sensors , one connected to the cold and the other to the warmwater pipe of my central heating. Both values are received by domoticz. Now I also want to display the temperature_difference into domoticz. I could easy do this in domoticz wi...
by costo
05 Jan 2018, 23:48
Forum: RFLink: Nederlands support forum
Topic: Problemen 433 en 868 mhz
Replies: 4
Views: 2020

Re: Problemen 433 en 868 mhz

Een bekend probleem dat de 868MHz ontvanger ook 433MHz signaal ontvangt en decodeert. De oorzaak is bijna altijd onvoldoende selectiviteit v/d 868 ontvanger. Verbetering is mogelijk door een zgn. "1/4 golf stub" aan de ingang v/d 868MHz ontvanger. Het bestaat uit een kort stukje coaxiale kabel wat d...
by costo
30 Dec 2017, 19:34
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3200

Re: Plugin_153 MAX44009, anyone got it working ?

Finally solved it. The solution was in this post https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=3689&p=20157&hilit=formula#p20157 The problem was not in the software nor in the plugin. It was the ESP8266 2.4.0.rc2 core. When I used the 2.4.0.rc1 core I could save my optional settings agian....
by costo
30 Dec 2017, 14:57
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3200

Re: Plugin_153 MAX44009, anyone got it working ?

Tested dev 2.0 again with this MAX44009 plugin, but now with the latest sources from github, also latest libraries.

The compile errors disappeared :P

But . . . . . . . still cannot edit the formula field, everything entered there disappears after clicking "submit" , so it is not saved.
by costo
30 Dec 2017, 14:17
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3200

Re: Plugin_153 MAX44009, anyone got it working ?

I tested the MAX44009 plugin in dev2.0 but ... No difference, same 6 errors as with the old version 148. There are some omissions somewhere in the sketch or the plugin. I think i must declare the string variables somewhere somehow. I was hoping someone who has written a plugin before could see the s...
by costo
30 Dec 2017, 00:29
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3200

Re: Plugin_153 MAX44009, anyone got it working ?

TD-er wrote:
28 Dec 2017, 11:40
Why stick to the build 148, when you can also use the 2.0 dev series, or even the Mega branch?
I will try that asap.
Maybe the errors will disappear then.
by costo
26 Dec 2017, 14:35
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3200

Re: Plugin_153 MAX44009, anyone got it working ?

Since a few days plugin 153 basically works for me in ESPEasy148. To get rid of these 2 compile errors: 'addFormSelector' was not declared in this scope 'getFormItemInt' was not declared in this scope I had to comment out these 6 lines In case PLUGIN_WEBFORM_LOAD addFormSelector(string, F("Mode"), F...
by costo
23 Dec 2017, 21:36
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3200

Re: Plugin_153 MAX44009, anyone got it working ?

@grovkillen tnx for the suggestion. I removed at beginning the line: #ifdef PLUGIN_BUILD_TESTING and on the end of plugin the line #endif Apparently the plugin was ignored at first, now I get some compile errors like: _P153_MAX44009.ino: In function 'boolean Plugin_153(byte, EventStruct*, String&)':...
by costo
23 Dec 2017, 17:19
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 11
Views: 3200

Plugin_153 MAX44009, anyone got it working ?

I have a GY-49 module , it has a MAX44009 lux sensor. I found playground plugin_0153 and gave it a try.
So compiled ESPEasy 148 with plugin153. But the sensor does not show_up in the device list.
Did someone succesfully use this sensor in ESPEasy?
by costo
01 Jun 2017, 14:59
Forum: RFlink: General Discussions
Topic: Which are the supported peripherals for measuring the mains voltage ?
Replies: 1
Views: 784

Re: Which are the supported peripherals for measuring the mains voltage ?

I use a Sonoff-POW to measure the main voltage. As a bonus I can measure current momentary power(Watts), cumulative power usage (Wh/kWh) and can also control the internal relay with Domoticz. But this device ´cannot´ be flashed with ESPEasy nor will it work with RFLink but Domoticz can work perfectl...
by costo
31 May 2017, 18:43
Forum: ESP Easy: Hardware
Topic: [Fixed!] Strange relay behaviour, not switching on/off on GPIO 0/1 command.
Replies: 17
Views: 8058

Re: Strange relay behaviour, not switching on/off on GPIO 0/1 command.

I have the 2 relais module and found out that ´IN´ is connected to a red led, optocoupler_diode and a 1k resistor all in series between Vcc and the logic input.. Like in this article: http://howtomechatronics.com/tutorials/arduino/control-high-voltage-devices-arduino-relay-tutorial/ . http://howtome...
by costo
31 May 2017, 17:21
Forum: ESP Easy: Software
Topic: Two OLED SSD1306 on one ESP8266
Replies: 20
Views: 5757

Re: Two OLED SSD1306 on one ESP8266

I made a setup with a 0.96OLED on adress 3D and a 1.3 OLED on 3C. I can confirm that ESPEasy cannot work with 2 OLED´s at the same time. Both displays show exactly the same content. I did not look in the source of the OLED software but I assume that it was designed this way to work with only one OLE...
by costo
19 May 2017, 17:36
Forum: RFLink: Hardware Related discussions
Topic: Which antenna to increase the poor nominal range 7m
Replies: 9
Views: 2776

Re: Which antenna to increase the poor nominal range 7m

Concerning the plate and the second wire connected to the ground what is the physical explanantion of the higher level of detection? That it looks more like a groundplane antenna . Because a whip antenna placed on a car (= metal plate) works much better than the same whip antenna without a groundpl...
by costo
19 May 2017, 16:15
Forum: RFLink: Hardware Related discussions
Topic: Which antenna to increase the poor nominal range 7m
Replies: 9
Views: 2776

Re: Which antenna to increase the poor nominal range 7m

i have a lot of visonic door sensor (MCT-320 not 302) in 868Mhz Right, you did mention it is 868MHz, my mistake. Because for 868MHz the frequency is doubled, the antenna wire lengths must be halved for that frequency. So 86mm is the right length. The Nodo antenna has probably a strait wire of 86mm ...
by costo
19 May 2017, 15:13
Forum: ESP Easy: Software
Topic: Minimal plug-in setup
Replies: 2
Views: 940

Re: Minimal plug-in setup

Simply remove all the _P0xx modules from the project folder except for the _P004_Dallas module.
by costo
19 May 2017, 14:50
Forum: RFLink: Hardware Related discussions
Topic: Which antenna to increase the poor nominal range 7m
Replies: 9
Views: 2776

Re: Which antenna to increase the poor nominal range 7m

Hi everyone, i have a lot of visonic door sensor (MCT- 320 not 302) in 868Mhz I have a RFLink mount by Nodo with an antenna from the nodo shop. Unfortunately, the range of detection of sensor is 7 m in open area with the RFLink software under windows. I suspect the antenna to be not so powerful. In...
by costo
18 May 2017, 14:59
Forum: ESP Easy: Software
Topic: Compiling with PlatformIO (on Mac...)
Replies: 12
Views: 4268

Re: Compiling with PlatformIO (on Mac...)

My folder looks like this platformIO.jpg To get these files in the .pioenvs folder I opened the ESPEasy2.8.ino file (renamed it myself) , then pressed F7 and choose PIO Build. Then PlatformIO was busy for a few minutes and was compiling all the different options and placed the output files in this ....
by costo
18 May 2017, 14:09
Forum: ESP Easy: Hardware
Topic: OLED 2.42"
Replies: 16
Views: 7845

Re: OLED 2.42"

I buy this one http://www.wide.hk/index.php?route=product/product&path=18_46&product_id=67 And no need soldering , work fine Yeah that I2C-only OLED is perfectly fitted for use with ESPEasy. The other OLED that me and macke use can also be used with the SPI bus which is , in theory , much faster. F...
by costo
18 May 2017, 03:58
Forum: ESP Easy: Software
Topic: Compiling with PlatformIO (on Mac...)
Replies: 12
Views: 4268

Re: Compiling with PlatformIO (on Mac...)

<Toggle Build Panel> option, then get below, looks like successful build, but where does it put the file? In my Linux machine PlatformIO puts the binaries in a hidden folder called ¨ .pioenvs ¨ ( note the dot in front of the name, meaning it is hidden). Every compile option creates itś own subfolde...
by costo
18 May 2017, 03:42
Forum: ESP Easy: Software
Topic: Don't use GPIO 9 or 10
Replies: 38
Views: 37502

Re: Don't use GPIO 9 or 10

....so if I understand correct, I can use GPIO 1 and 3 in any state (High or Low) after flashing ? That is a good question :P I would be carefull, during bootup a short status message can appear on the TX pin. That may interfere with anything connected to that pin. After initialisation when Serial ...
by costo
18 May 2017, 03:11
Forum: ESP Easy: General Discussion
Topic: OLED SSD1306 and special characters (e.g. degree)
Replies: 4
Views: 2008

Re: OLED SSD1306 and special characters (e.g. degree)

I've read I need to alter the _P023_OLED.ino and did it. I reflashed the firmware but "@" is not displayed as "°" , do i need to recompile the binary? If yes, help is appreciated. If you make any change in (one of) the source files, then indeed you have to compile the source again either to a binar...
by costo
17 May 2017, 12:24
Forum: ESP Easy: Software
Topic: Don't use GPIO 9 or 10
Replies: 38
Views: 37502

Re: Don't use GPIO 9 or 10

How's about this for a "GPIO" Page in the wiki: . ESP-12E_Basic-Circuit.jpg Some explanation text what which part is good for, why connect the opto's like this etc. Did I miss something in the schematic? Regards Shardan You forgot GPIO-1 and GPIO-3 , which offcourse are RX/TX but can be used as nor...
by costo
17 May 2017, 11:18
Forum: ESP Easy: Software
Topic: Sonoff (ESP8266) stuck on boot - csum err
Replies: 7
Views: 11387

Re: Sonoff (ESP8266) stuck on boot - csum err

Hi everyone. I tried to flash Sonoff Touch device with esp easy firmware. I had a lot of the devices to flash so with one I did something stupid. After flashing was done I did not wait for the device to finish "after flashing" process, I just unplug it and now it gets stuck during boot with "csum e...
by costo
17 May 2017, 11:02
Forum: ESP Easy: Hardware
Topic: OLED 2.42"
Replies: 16
Views: 7845

Re: OLED 2.42"

Thanks for your awnser. I could now find the display in ESP Easy and I got some light. But I could not put back 17 to R15.. it was to smal.. how did you managed that? Indeed the 0603 SMD resistors are extremely small but you have to remove R17(4k7) and solder a resistor with a value between about 1...
by costo
14 May 2017, 22:45
Forum: ESP Easy: Software
Topic: Don't use GPIO 9 or 10
Replies: 38
Views: 37502

Re: Don't use GPIO 9 or 10

During the Boot Process GPIO-2 needs to be HIGH otherwise ESP cannot boot normally.
by costo
14 May 2017, 00:20
Forum: ESP Easy: Software
Topic: Don't use GPIO 9 or 10
Replies: 38
Views: 37502

Re: Don't use GPIO 9 or 10

Practically spoken GPIO 6,7,8,9,10 & 11 are dedicated to the flash memory and not usable for other purposes. Interesting.. In my self designed circuits i use GPIO9 and 10, partly as input (for a DS18B20 for example), partly as output (for driving a relay or a HC-SR04). These are running for months ...
by costo
13 May 2017, 23:56
Forum: ESP Easy: Hardware
Topic: OLED 2.42"
Replies: 16
Views: 7845

Re: OLED 2.42"

Hello! Has anyone tried this OLED: https://www.aliexpress.com/item/Wholesale-2-42-12864-OLED-Display-Module-IIC-I2C-SPI-Serial-FOR-Ardui-C51-STM32-BLUE/32644685038.html?shortkey=Q3uiIfEz&addresstype=600 I cant get it work. Nothing happens when I tired it :( I use exactly the same 2.42 display with ...
by costo
08 May 2017, 15:33
Forum: ESP Easy: Hardware
Topic: Sonoff reflect state of button to Domoticz
Replies: 28
Views: 14915

Re: Sonoff reflect state of button to Domoticz

@ vojtishek

For me this works in Domoticz:


on lamp_on do
gpio 12,1
gpio 13,0
inputswitchstate 0,1
endon

on lamp_off do
gpio 12,0
gpio 13,1
inputswitchstate 0,0
endon

on Momentary#Switch do
if [Momentary#Switch]=1
event lamp_on
else
event lamp_off
endif
endon
by costo
08 May 2017, 14:44
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 75297

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

The discussion is going really nice ;) The question is not : do we want support for the SonoffPOW in ESPEasy? we do not support dedicated hardware devices from certain manufacturers in ESPEasy there is only support for certain hardware chips or these chips on a breakoutboard. So the real question is...
by costo
08 May 2017, 01:57
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 75297

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Apparently Espurna software is almost unknown here. You cannot compare Espurna with ESPEasy, they are written with totally different users in mind. ESPEasy is made for experimenters who like to add sensors or devices to the ESP unit. Espurna is written for dedicated devices, there are no plugins for...
by costo
07 May 2017, 19:21
Forum: ESP Easy: Hardware
Topic: Sonoff reflect state of button to Domoticz
Replies: 28
Views: 14915

Re: Sonoff reflect state of button to Domoticz

I think it works if you change the last part of your rules to:

on Momentary#Switch do
if[Momentary#Switch]=1
event lamp_on
else
event lamp_off
endif
endon
by costo
07 May 2017, 19:10
Forum: ESP Easy: Hardware
Topic: Adding Smartwares SHS-53000
Replies: 4
Views: 1830

Re: Adding Smartwares SHS-53000

If you guys post this questions in the rightplace, RFLink unsupported devices. : https://www.letscontrolit.com/forum/viewforum.php?f=10
Chances are that Stuntteam gives an answer or solution.

This forum is for ESPEasy and related issues.
by costo
07 May 2017, 19:04
Forum: ESP Easy: Hardware
Topic: Bulk test of nodeMCU's
Replies: 10
Views: 3696

Re: Bulk test of nodeMCU's

Who knows were some ESP manufacturers buy their flash chips. i think the first priority says "cheap".... ;) Yeah right, some of them must be so evil that they use components that were rejects in the manufacturing proces. But you never know in advance which seller sells bad stuff. So I usually order...
by costo
07 May 2017, 17:00
Forum: ESP Easy: Hardware
Topic: Wemos D1 mini+DHT22 shield - Heat from chip influence on dht22
Replies: 5
Views: 2368

Re: Wemos D1 mini+DHT22 shield - Heat from chip influence on dht22

You can be sure that the wemos is generating some heat that will warmup the DHT sensor on the shield.

many solutions possible:
Make the distance between the DHT shield and the wemos itself larger with a set of extra pinheaders.
Move the air with a ventilator so heat of the Wemos will be blown away.
by costo
07 May 2017, 16:47
Forum: ESP Easy: Hardware
Topic: Bulk test of nodeMCU's
Replies: 10
Views: 3696

Re: Bulk test of nodeMCU's

............. I've used two different versions, the older one with CP2102 as USB-TTL converter (a white back label says "AMICA" for brand) and a newer version with a CH340G, labeled with "LoLin". You can easily differ between the used USB-TTL chips; ........ I have used the Amica type for some time...
by costo
07 May 2017, 14:38
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 75297

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

I also mailed Jerry of Itead to see if i can help their devs on working on sonof support. I also offered to implement it myself if he sends me a bunch of Sonof pows to work with. I think official Sonof support in espeasy is a good thing for both ESPEasy and Itead. Edwin I do not think it is wise to...
by costo
03 May 2017, 17:34
Forum: ESP Easy: General Discussion
Topic: (Re-)Flash ESP8266 with dedicated ESP8266 using Ser2Net
Replies: 3
Views: 1420

Re: (Re-)Flash ESP8266 with dedicated ESP8266 using Ser2Net

How are you supposed to have access to the ESPEasy when WiFi connection is lost for some reason ? Am I missing something? I cannot imagine to have a wireless TCP connection with ESPEasy without a working WiFi connection. I use a laptop to , yes indeed with wires , make a serial connection on locatio...
by costo
03 May 2017, 16:50
Forum: ESP Easy: General Discussion
Topic: beginners problems
Replies: 8
Views: 2261

Re: beginners problems

First: As a beginner we expect from you that you read in on the topic and asks a specific question. Only then you can expect a valuable answer. Nobody wants to put valuable time in such general questions like for instance : my esp does not work. What can I do. Second: Some questions cannot be answer...
by costo
03 May 2017, 16:39
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 319
Views: 138929

Re: New ESP gadget

I tried ESPurna, but i can't get it to work on my Sonoff Dual. It fails at the start, while trying to connect. I'll just forget about this Sonoff stuff. It sounded great, but it's just a disappointment to me now. Now i have to figure out a way to flash the original firmware back onto it. Did you tr...
by costo
03 May 2017, 16:06
Forum: ESP Easy: General Discussion
Topic: sonoff wifi / analog input
Replies: 7
Views: 4258

Re: sonoff wifi / analog input

Thank you, I know how to use i2c. I was just curious since I got values > 0 on the sonoff. If you want to use the ADC of a Sonoff switch you have to modify the source and compile it yourself. Look for this line in the main program module: #define FEATURE_ADC_VCC false and change false to true. That...
by costo
16 Apr 2017, 16:37
Forum: ESP Easy: Hardware
Topic: PIR sensor
Replies: 35
Views: 14306

Re: PIR sensor

Hi Shardan, Very interesting findings of you and I tried to figure out a reason. The link you provided has an error it should be : https://cdn-learn.adafruit.com/assets/assets/000/010/133/original/BISS0001.pdf . Looking at this pdf it seems to be a datasheet for the BISS001 and at the end a typical ...
by costo
16 Apr 2017, 12:28
Forum: ESP Easy: General Discussion
Topic: online debug data collection feature
Replies: 4
Views: 1211

Re: online debug data collection feature

I have no problem sharing my relevant ESPEasy data with the developers as long as I can decide if and what I share. So why not include this option. P.S.. . . . . . . you do not have to wear a tinfoil hat to understand that companies like MS, Google, Twitter, Facebook are collecting user_data in a wa...