Search found 15 matches

by reinhold
28 May 2019, 11:55
Forum: ESP Easy: Software
Topic: How to correctly set up input / output pins in a plugin (changes during the last few months)?
Replies: 2
Views: 5534

Re: How to correctly set up input / output pins in a plugin (changes during the last few months)?

Thanks for the confirmation. Yesterday night, I took another look at my code and at the P001_Switch code. I also suspected that these data structures are not really required for the plugin itself to work properly, so I tried removing all traces of them (https://github.com/letscontrolit/ESPEasyPlugin...
by reinhold
25 May 2019, 22:58
Forum: ESP Easy: Software
Topic: How to correctly set up input / output pins in a plugin (changes during the last few months)?
Replies: 2
Views: 5534

How to correctly set up input / output pins in a plugin (changes during the last few months)?

Hello, I'm currently trying to update a plugin to the latest espeasy mega branch. My plugin (P198_Venta) uses 6 input pins and 3 output pins. Last year, I was simply using the following code (stripped down to a minimal example) in PLUGIN_INIT: pinMode(cfg.pwr_led, INPUT); // PWR LED pinMode(cfg.pwr_...
by reinhold
01 Nov 2018, 00:37
Forum: ESP Easy: General Discussion
Topic: Let plugins provide custom UI control pages (HTML forms / Javascript)?
Replies: 1
Views: 645

Let plugins provide custom UI control pages (HTML forms / Javascript)?

Is there any way in ESPEasy to let plugins provide a nice GUI (separate from the ESPEasy config pages)? I have a plugin for our humidifier, which can now be remote-controlled through OpenHAB and its GUI. However, it would make much more sense to me if the ESPEasy itself could provide a nice GUI to c...
by reinhold
23 Oct 2018, 10:51
Forum: ESP Easy: General Discussion
Topic: Is it possible to parse RFLink string or MQTT message in ESPEasy Rules?
Replies: 2
Views: 743

Re: Is it possible to parse RFLink string or MQTT message in ESPEasy Rules?

If you want to develop something yourself, you can use my rflink-mqtt bridge plugin (available in the plugin playground) as a starting point: https://github.com/letscontrolit/ESPEasyPluginPlayground/blob/master/_P197_RFLink_MQTT_Bridge.ino It contains code to convert the RFLink message to a JSON obj...
by reinhold
14 Oct 2018, 19:04
Forum: ESP Easy: General Discussion
Topic: can ESPEasy be used as MQTT Gateway for RFLink ?
Replies: 11
Views: 4817

Re: can ESPEasy be used as MQTT Gateway for RFLink ?

FWIW, I have now implemented an RFLink to MQTT bridge plugin for ESPEasy. It can be found as P197 in the ESPEasyPluginPlayground on GitHub: https://github.com/letscontrolit/ESPEasyPluginPlayground/blob/master/_P197_RFLink_MQTT_Bridge.ino It basically combines ESPEasy's ser2net serial bridge plugin w...
by reinhold
14 Oct 2018, 18:53
Forum: ESP Easy: Projects / Applications
Topic: Using ESPEasy to add WiFi connectivity to a Venta LW45 humidifier
Replies: 0
Views: 703

Using ESPEasy to add WiFi connectivity to a Venta LW45 humidifier

In our appartment, we have an old-school Venta LW45 humidifier, which I wanted to connect to my smart home controller (OpenHAB). So I designed a nice interface PCB with an ESP8266-12 module to fully control the humidifier wirelessly. Further details can be found in my blog: http://wiki.kainhofer.com...
by reinhold
08 Oct 2018, 19:28
Forum: RFLink: Hardware Related discussions
Topic: RF link new PCB
Replies: 3
Views: 5299

Re: RF link new PCB

I also built the shield with the ESP-01 and it works fine with one caveat : the pcb versions available for download forgot to connect the 3V3, 5V and GND pins of the level shifters for the ESP. I manually soldered some wires torn the voltage regulators to make it work just fine. I also connected the...
by reinhold
30 Sep 2018, 12:31
Forum: ESP Easy: General Discussion
Topic: ESP32
Replies: 27
Views: 7410

Re: ESP32

To Flash the smd modules before soldering (or to use it as a dev board without soldering At all, I bought one of these : https://m.aliexpress.com/item/32865415365.html To play around with the capabilities, I have the following Dec board with a LiPo battery, USB chip for flashing and an OLED display:...
by reinhold
21 Sep 2018, 12:57
Forum: ESP Easy: General Discussion
Topic: normal switch without real function?
Replies: 6
Views: 1413

Re: normal switch without real function?

You need to add a pull-up or pull-down resistor, which ties the otherwise floating state of an unconnected pin to either HIGH or LOW. Of course, you can't distinguish between unconnected and switch open then.
by reinhold
21 Sep 2018, 12:55
Forum: ESP Easy: Software
Topic: How to create new plugin/protocol?
Replies: 4
Views: 1592

Re: How to create new plugin/protocol?

I think, you need to add the new controller to the CONTROLLER_SET_* section in src/define_plugin_sets.h, otherwise the #ifdef USES_C0... will exclude your plugin from being compiles... The compiler will automatically pick up all .ino files in the directory, but the #ifdef precompiler command might e...
by reinhold
18 Sep 2018, 00:23
Forum: ESP Easy: Software
Topic: mqtt import disabled on reboot?
Replies: 4
Views: 1270

Re: mqtt import disabled on reboot?

I ran into this problem with my own custom plugin, which I'm currently developing and which is based on the mqtt import plugin. I tracked the issue down to the MQTT subscription function, thanks to the EspStackTraceDecoder. It appears that trying to access the first enabled mqtt controller in PLUGIN...
by reinhold
18 Mar 2018, 14:05
Forum: RFLink: Hardware Related discussions
Topic: WeMOS Mega + WiFi R3 ATmega2560 + ESP8266 USB-TTL
Replies: 5
Views: 7050

Re: WeMOS Mega + WiFi R3 ATmega2560 + ESP8266 USB-TTL

I'm using a copy of Phil Whilson's rflink-to-mqtt code: https://github.com/kainhofer/rflink-to-mqtt Compared to Phil's original version (https://github.com/Phileep/rflink-to-mqtt), I had to change some things to make it work with the WeMOS Megat+ESP8266 board. In particular fix negative temperatures...
by reinhold
06 Feb 2018, 15:33
Forum: RFLink: Hardware Related discussions
Topic: RF link new PCB
Replies: 3
Views: 5299

Re: RF link new PCB

There is now a PCB design available for an RFLink shield in the EasyDomoticz forum: https://easydomoticz.com/forum/viewtopic.php?t=4068 I built the second (larger) version with the two 433MHz RX/TX and antennas and the nrf24l01. As my arduino mega has already an esp8266 directly on the mega board, I...
by reinhold
13 Nov 2017, 18:52
Forum: RFLink: Hardware Related discussions
Topic: WeMOS Mega + WiFi R3 ATmega2560 + ESP8266 USB-TTL
Replies: 5
Views: 7050

Re: WeMOS Mega + WiFi R3 ATmega2560 + ESP8266 USB-TTL

I'm using one of those boards (bought from aliexpress.com for ~11 Euros: https://www.aliexpress.com/item/WEMOS-Mega-WiFi-R3-ATmega2560-ESP8266-32Mb-memory-USB-TTL-CH340G-Compatible-for-Arduino-Mega-NodeMCU/32801910180.html?spm=a2g0s.9042311.0.0.FezHg4 ) with RFLink on the mega and a self-made script...
by reinhold
21 Jun 2017, 17:32
Forum: RFLink: Development and announcements
Topic: CC1101
Replies: 4
Views: 5093

Re: CC1101

Is there any ETA for the CC1101-support in RFLink? I'd like to have both a 433MHz OOK receiver as well as a CC1101 for 868MHz on the same RFLink device and a nrf24l01 for MySensors and MiLight. Will this setup work in the next release? Will we also get the source code of the latest version with CC11...