Search found 500 matches

by costo
07 Nov 2023, 21:48
Forum: ESP Easy: Software
Topic: MQTT for rules on INA219 gives an error
Replies: 8
Views: 3155

Re: MQTT for rules on INA219 gives an error

The Wiki is very outdated, more up to date documentation can be found in ReadTheDocs . When looking at: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html I see under the sub: Custom reports to Domoticz with own IDX MQTT on INA219#Amps do Publish domoticz/in,{"idx":123456,"nva...
by costo
07 Nov 2023, 15:34
Forum: ESP Easy: Software
Topic: MQTT for rules on INA219 gives an error
Replies: 8
Views: 3155

Re: MQTT for rules on INA219 gives an error

Thank you Andrew, your suggestion with the quotes did the trick. Thank you TD-er for explaining this in detail. I suggest this is to be changed in the example in the wiki over here: https://www.letscontrolit.com/wiki/index.php?title=Tutorial_Rules#Custom_reports_to_Domoticz_with_own_IDX there are no...
by costo
07 Nov 2023, 01:25
Forum: ESP Easy: Software
Topic: MQTT for rules on INA219 gives an error
Replies: 8
Views: 3155

MQTT for rules on INA219 gives an error

Hi, I'm using firmware version mega-20231013 and have a INA219 connected. I want to use MQTT and sent data to domoticz and only use one task, so I use rules. If I use MQTT, I get Error: MQTT: Invalid/Unhandled data received! (Topic: domoticz/in, Message: ("idx":20x) for all 3 devices on IN...
by costo
13 Oct 2023, 11:26
Forum: ESP Easy: General Discussion
Topic: Can rules solve this ?
Replies: 5
Views: 1315

Re: Can rules solve this ?

That's a good start for improvement, as a proper power supply for your unit is also helpful in avoiding issues with WiFi connectivity. I'm still working on that, the peak currents of the ESP8266 gives some tens of mV variation on the 5 Volt line. I will try a big capacitor of 3300uF/10V and a micro...
by costo
13 Oct 2023, 11:18
Forum: ESP Easy: General Discussion
Topic: Can rules solve this ?
Replies: 5
Views: 1315

Re: Can rules solve this ?

Wonderfull, this simple line in the formula field solved it.
Ath wrote: 12 Oct 2023, 17:28

Code: Select all

%value%-(0.5*[Voltage#value])
by costo
12 Oct 2023, 16:22
Forum: ESP Easy: General Discussion
Topic: Can rules solve this ?
Replies: 5
Views: 1315

Can rules solve this ?

I measure 2 currents with 2 ACS712 boards. ADS1115 converts the outputs of the ACS712 to I2C, I also measure the 5Volt line. In a formula I have to subtract halve of the 5Volt from the ACS712 results to get the real values/currents. The 5Volt line has some variation which has a effect on the results...
by costo
11 Mar 2021, 20:28
Forum: RFlink: General Discussions
Topic: (Solved) RF-Link documentationlink is dead
Replies: 5
Views: 15596

Re: (Solved) RF-Link documentationlink is dead

Thanks TD-er and Stuntteam for the great work you are doing for the community.
The link is working now.

User siggy apparently has deleted his post and left this forum.
Maybe siggy found a solution that works better for him but I guess we'll never know for sure. ;)
by costo
10 Mar 2021, 22:23
Forum: RFlink: General Discussions
Topic: (Solved) RF-Link documentationlink is dead
Replies: 5
Views: 15596

Re: RF-Link documentationlink is dead

The link on the frontpage of ESPEasy linked to the wrong RF-Link page, https://www.nemcon.nl/blog2/ is dead.

On http://www.rflink.nl/blog2/ I found the documentation.
by costo
10 Mar 2021, 22:11
Forum: RFlink: General Discussions
Topic: (Solved) RF-Link documentationlink is dead
Replies: 5
Views: 15596

Re: RF-Link documentationlink is dead

@ siggy If you know an alternative that is almost as cheap as RFLink I'm interested. For me RF-Link is working i.c.w. domoticz for almost 5 years without problems. I searched my backup drives and found FW 45 so I can build myself a second GW on 315MHz, but it will be less easy without the latest doc...
by costo
10 Mar 2021, 17:39
Forum: RFlink: General Discussions
Topic: (Solved) RF-Link documentationlink is dead
Replies: 5
Views: 15596

(Solved) RF-Link documentationlink is dead

Because I want to add a secondary 315MHz RF-Link gateway to my RasPi/Domoticz setup I was looking for the documentation how to connect the different tranceivers to the RF-Link-Mega2560. There used to be a link here on the frontpage to https://www.nemcon.nl/blog2 but that link gives a 403 error. All ...
by costo
20 Jul 2019, 14:12
Forum: ESP Easy: Software
Topic: Rules: how to avoid PWM > 1023 ?
Replies: 7
Views: 9428

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

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

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

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

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

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

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,"...
by costo
07 Feb 2019, 02:55
Forum: ESP Easy: Software
Topic: [Solved] Calculating Temperature Difference
Replies: 2
Views: 3931

[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: 13626

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 k...
by costo
30 Dec 2017, 19:34
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 13
Views: 13870

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 set...
by costo
30 Dec 2017, 14:57
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 13
Views: 13870

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: 13
Views: 13870

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: 13
Views: 13870

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: 13
Views: 13870

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...
by costo
23 Dec 2017, 21:36
Forum: ESP Easy: Software
Topic: Plugin_153 MAX44009, anyone got it working ?
Replies: 13
Views: 13870

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: 13
Views: 13870

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

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

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

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

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

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

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

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

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

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 f...
by costo
18 May 2017, 03:58
Forum: ESP Easy: Software
Topic: Compiling with PlatformIO (on Mac...)
Replies: 12
Views: 12291

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

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

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 aga...
by costo
17 May 2017, 12:24
Forum: ESP Easy: Software
Topic: Don't use GPIO 9 or 10
Replies: 38
Views: 80738

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 u...
by costo
17 May 2017, 11:18
Forum: ESP Easy: Software
Topic: Sonoff (ESP8266) stuck on boot - csum err
Replies: 8
Views: 24874

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 wi...
by costo
17 May 2017, 11:02
Forum: ESP Easy: Hardware
Topic: OLED 2.42"
Replies: 16
Views: 27303

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

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

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 mon...
by costo
13 May 2017, 23:56
Forum: ESP Easy: Hardware
Topic: OLED 2.42"
Replies: 16
Views: 27303

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 w...
by costo
08 May 2017, 15:33
Forum: ESP Easy: Hardware
Topic: Sonoff reflect state of button to Domoticz
Replies: 28
Views: 31043

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

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

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

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

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

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