Search found 65 matches

by martinus
22 May 2020, 10:25
Forum: ESP Easy: Projects / Applications
Topic: Capacitive Rain Sensor
Replies: 11
Views: 3987

Re: Capacitive Rain Sensor

I still want to make some changes to the firmware. It works nice, the ESP does the heating control well... But the setting of threshhold values by recompiling and flashing firmware isn't to my likings. Nice project! Again proves that having a dedicated low-level MCU added to the architecture can be...
by martinus
16 May 2020, 14:39
Forum: ESP Easy: Software
Topic: Build ESPEasy on PlatformIO with servo motor plugin for Esp32
Replies: 5
Views: 1208

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

Can you try this completely preconfigured portable Arduino IDE: http://www.letscontrolit.com/downloads/ArduinoEasy32.zip Just download, unzip, launch Arduino.exe and open recent "ESPEasy" and see if it compiles. (well if you're on windows...) The zipfile has everything included: * the Arduino IDE * ...
by martinus
16 May 2020, 12:49
Forum: ESP Easy: Software
Topic: Build ESPEasy on PlatformIO with servo motor plugin for Esp32
Replies: 5
Views: 1208

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

I use a "Portable" Arduino setup that keeps all related stuff in a single "Portable" folder. I use one for ESP8266, one for ESP32. This may not really be required but this is how i've worked from the early start. The portable approach makes it easy to switch between several of my desktops/laptops/VM...
by martinus
16 May 2020, 12:34
Forum: Experimental
Topic: ESP powered Servo Gauge
Replies: 3
Views: 311

Re: ESP powered Servo Clock

There is another alternative for full circle rotation like clock which could be implemented using ESP32. https://www.youtube.com/watch?v=0TNBxt5hF-g Part-1 https://www.youtube.com/watch?v=3VTcL2hMDdA Part-2 Thanks. It's always nice to see these kind of DIY projects in it's early prototype stage. As...
by martinus
15 May 2020, 14:58
Forum: ESP Easy: Software
Topic: Build ESPEasy on PlatformIO with servo motor plugin for Esp32
Replies: 5
Views: 1208

Re: Build ESPEasy on PlatformIO with servo motor plugin for Esp32

Still using Arduino IDE which seems easier to get running IMHO. For the servo, i've added a library that was specifically build for ESP32: https://www.arduinolibraries.info/libraries/esp32-servo It uses the hardware driver circuit from the ESP32. AFAIK the standard servo lib is not included with the...
by martinus
15 May 2020, 14:48
Forum: Experimental
Topic: ESP powered Servo Gauge
Replies: 3
Views: 311

ESP powered Servo Gauge

From time to time, you have to find some more or less useful applications for the things we do with our beloved ESP modules. Inspired by the LCS Doorsensor mod, i'm currently prototyping a battery powered Servo controlled "Clock". Although the clock may not be so inspiring, it's just an easy way to ...
by martinus
08 May 2020, 17:49
Forum: ESP Easy: General Discussion
Topic: Flash Problem Lolin ESP32 Board
Replies: 5
Views: 674

Re: Flash Problem Lolin ESP32 Board

And indeed I am now quite convinced we regained stable builds again, so just a few more tests and then we declare it stable and update the links etc. By the way, I don't think we have access to the Sourceforge pages. I'll email the account information to you, so you can add the 'long-awaited' new s...
by martinus
07 May 2020, 17:07
Forum: ESP Easy: General Discussion
Topic: Flash Problem Lolin ESP32 Board
Replies: 5
Views: 674

Re: Flash Problem Lolin ESP32 Board

That's the 4th or 5th post I see today describing this ancient ESP32 build. Is there a recent blog post writing about it? Well, it is listed on the official Wiki page on ESPEasy32: https://www.letscontrolit.com/wiki/index.php/ESPEasy32 bottom of the page shows a link to the original download locati...
by martinus
29 Apr 2020, 17:22
Forum: Experimental
Topic: ESP32 mod
Replies: 7
Views: 990

Re: ESP32 mod

Second mod, using this standard IR shield: IRMod3.png Attached to the ESP32: IRMod2.png Final solution, wall socket is located opposite of the TV, distance 4 meters. IRMod1.png Using rules like this: on tv_on do irsend SAMSUNG,0xe0e09966 on tv_off do irsend SAMSUNG,0xe0e019e6 I can now turn on/off t...
by martinus
29 Apr 2020, 16:47
Forum: Experimental
Topic: ESP32 mod
Replies: 7
Views: 990

Re: ESP32 mod

Some more mechanical modding and I've found a possible purpose:
PIRMOD.png
PIRMOD.png (181.91 KiB) Viewed 765 times
Running stable for several days, no false positives. No unexpected reboots.
by martinus
23 Apr 2020, 14:53
Forum: Experimental
Topic: ESP32 mod
Replies: 7
Views: 990

Re: ESP32 mod

I'm familiar with the basics of modern PSU devices. And seen some tests of the very cheap ones. The thing with Chinese Manufacturing is that it can be hard to distinguish between cheap and too cheap. I definitely stay away from the no-brand 1 euro direct import from ebay versions that according to s...
by martinus
23 Apr 2020, 13:06
Forum: Experimental
Topic: ESP32 mod
Replies: 7
Views: 990

Re: ESP32 mod

Hmm, that looks like some mod that deserves some warnings about safety. Agree. It counts for all mods to equipment where live mains is present. So also modding the Sonoff series and the like. In this case, good isolation between the lower and upper half of the enclosure is important. For the protot...
by martinus
22 Apr 2020, 14:14
Forum: Experimental
Topic: ESP32 mod
Replies: 7
Views: 990

ESP32 mod

While searching the forum for "Action store" (a store that i like to visit on a regular base to find new cheap mod stuff), i found this USB charger that already has been modded once by someone else: https://www.letscontrolit.com/forum/viewtopic.php?f=2&t=6271&p=34420 Because i recently said goodbye ...
by martinus
20 Apr 2020, 12:09
Forum: ESP Easy: Software
Topic: tips to create a really stable pulsecounter for watermeter
Replies: 8
Views: 1204

Re: tips to create a really stable pulsecounter for watermeter

Unfortunately, the debounce feature will only prevent consecutive pulses to be counted incorrectly. In case of a very short single noise pulse, it will still be counted. Because of the ISR handling even a microsecond pulse will trigger the counter. When high frequency noise is an issue (so not the t...
by martinus
20 Apr 2020, 12:03
Forum: ESP Easy: Software
Topic: tips to create a really stable pulsecounter for watermeter
Replies: 8
Views: 1204

Re: tips to create a really stable pulsecounter for watermeter

Cheapest levelshifter i use: simple diode between output/input, cathode connected to sensor output.
Ouput active low will pull ESP input to ground, Active high 5V will be blocked by diode.
by martinus
18 Apr 2020, 19:58
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

tl;dr : Not easy, but flexible. My point is that Openhab's flexibility allows me to optimize my home control experience to work the way I live. Setting everything up wasn't easy, but I'm a satisfied customer. While investigation other systems, started to get the feeling that Easy and flexible are m...
by martinus
18 Apr 2020, 19:48
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68453

Re: RPIEasy

I think for truly standalone local IOT network uMQTT broker at https://github.com/martin-ger/uMQTTBroker should be implemented as an optional controller. With uMQTT broker there is no need for internet at all for local monitor and control. Thanks. With the memory constrains of the ESP8266, this loo...
by martinus
18 Apr 2020, 17:42
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68453

Re: RPIEasy

TD-er wrote:
18 Apr 2020, 13:34
Well I do use the p2p myself mainly for discovery reasons, not really for sharing sensor values.
You mean the "nodelist"? You could easily refactor the UDP mechanisme to an MQTT version to periodically send hostname, IP and such.
by martinus
18 Apr 2020, 11:03
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68453

Re: RPIEasy

But there are other issues with how intuitive it is (or better how it is not...) so the p2p protocol can really use some TLC. For example, its current implementation is hardly scale-able, as it will send messages to every node it knows in the network. So for 255 nodes, that would be a lot of messag...
by martinus
16 Apr 2020, 11:27
Forum: Experimental
Topic: ESP more easy - for Domoticz
Replies: 3
Views: 790

Re: ESP more easy - for Domoticz

I assume it uses Domoticz HTTP calls? Or does it also work with MQTT? I'm using the Domoticz JSON HTTP API for this stuff. About the code? As short while ago, i found this plugin when i was looking for Philips Hue support on the forum. https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=5907&p=...
by martinus
15 Apr 2020, 19:47
Forum: Experimental
Topic: ESP more easy - for Domoticz
Replies: 3
Views: 790

Re: ESP more easy - for Domoticz

For the SI7021 sensor, things were not so difficult because this module does not need specific settings:

Wizard3.png
Wizard3.png (50.85 KiB) Viewed 783 times

Task auto-created in ESPEasy:

Wizard5.png
Wizard5.png (12.08 KiB) Viewed 783 times

And in Domoticz, no action required, device pops-up automatically:

Wizard4.png
Wizard4.png (20.54 KiB) Viewed 783 times
by martinus
15 Apr 2020, 18:04
Forum: Experimental
Topic: ESP more easy - for Domoticz
Replies: 3
Views: 790

ESP more easy - for Domoticz

Back to the original plan i've spend a few hours to prototype a plugin that will prevent mainly newbies to forget to enter the IDX value on a task :oops: To make things easier, ESPEasy could create a Domoticz virtual sensor and a task for you so at least the basics will be present. In a way, i think...
by martinus
14 Apr 2020, 17:42
Forum: ESP Easy: Software
Topic: MQTT Node-Red Smartplug - Easy (?)
Replies: 1
Views: 789

MQTT Node-Red Smartplug - Easy (?)

Tried to figure out the easy way to control a smartplug using MQTT and local pushbutton control with feedback to node-red, without using any rules and just two simple to understand topics: TestUnit/SmartPlug/Set TestUnit/SmartPlug/State So instead of using existing options like /sysname/GPIO/<pin> o...
by martinus
13 Apr 2020, 14:36
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

The code of C014 is less than optimal. So it may need quite some TLC to clean it and have a proper look at to see if all situations are handled well. This could make sense if we have user demand for it... IMHO the Homie initiative looks good, but if no HA developer adopts it, it'l be useless. I thi...
by martinus
13 Apr 2020, 13:13
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

Connecting ESPEasy to FHEM is the easiest way: Activate the controller in ESPEasy and the device pops up in FHEM, it's configured automatically. That sounds really easy ! It was also planned to have this for Domoticz when the ESPEasy project was started, but it never got that far (or did i miss som...
by martinus
12 Apr 2020, 19:21
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

Googled around on topics like "Best open source Home Automation" to find several sites that have lists with some comments on each product. It looks like these 3 products popup in every list i've found so far, with comments like "popular, large and active community, broad support of protocols": Home ...
by martinus
12 Apr 2020, 18:34
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

For me the easiest and simplest controller is an app called MQTT Dash https://play.google.com/store/apps/details?id=net.routix.mqttdash&hl=en_US based on MQTT protocol. I've installed the app and it's a nice tool that will come in handy to quickly control/monitor an MQTT topic. Only noticed in the ...
by martinus
11 Apr 2020, 16:50
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

It has become a way too complicated plugin, for something that should be really basic. Many users likely operate a smart plug like Sonoff Basic. That was the main goal for this plugin in the first place. Maybe a new plugin should be created for smart plugs that typically have three features: - A GP...
by martinus
11 Apr 2020, 16:41
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

- In OpenHAB i can get OpenHAB to control the LED and react on the local button, but pressing the button only updates the OpenHAB state but not the LED... (fixed that with rules, but this should not be needed IMHO) I've found a setting "IsCommand" in the OpenHAB channel setting for this thing/item,...
by martinus
11 Apr 2020, 16:34
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

It has become a way too complicated plugin, for something that should be really basic. This plugin is a nice illustration of how things get out of hand, look at how it evolved from the early stages: R017 - 3k - this was actually the real input switch... R120 - 13k - still quite basic, although the ...
by martinus
11 Apr 2020, 15:14
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

Googled for official tutorial for ESPEasy/OpenHab. First hit: https://www.letscontrolit.com/wiki/index.php?title=Tutorial_OpenHAB_Switch That certainly doesn't help for OpenHAB2 and current ESPEasy :oops: Well this one's not better: https://www.letscontrolit.com/wiki/index.php?title=Tutorial_Domotic...
by martinus
11 Apr 2020, 13:20
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

This morning, downloaded the OpenHAB server. Runs on java so it runs on my Windows as well. Launching the server was easy and the webgui is available in no time. But from there, things are not so easy. Could not find east steps for getting a switch working on ESPEasy using MQTT until i found a youtu...
by martinus
10 Apr 2020, 15:44
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

Re: "Voting" for the most Easy controller!

After a few minutes playing around with the Blynk app: BlynkDemo.png I would like to have this on Domoticz, but i wouldn't know how to accomplish this. I have the Domoticz app but it's very limited. @TD: Maybe i need to check on OpenHAB also. @GravityRZ: Isn't it quite complex to have 4 different ap...
by martinus
10 Apr 2020, 12:05
Forum: ESP Easy: General Discussion
Topic: "Voting" for the most Easy controller!
Replies: 28
Views: 1890

"Voting" for the most Easy controller!

I haven't looked at Home-Automation/IOT controllers for quite a while but just today i discovered the Blynk controller plugin and decided to give it a try. I'm currently still running Domoticz, but only use it for charts. I usually use the custom dashboard embedded on ESPEasy to make things happen. ...
by martinus
08 Apr 2020, 15:54
Forum: Experimental
Topic: Exploring RTOS plugin possibilities
Replies: 4
Views: 890

Re: Exploring RTOS plugin possibilities

The ESP32 is now so well available and the prices are dropping, so it would really make sense to split time critical tasks to another core. Or maybe the other way around, place blocking code on the "other core" so the rest will run as smooth as possible. I don't thinks it's even needed to use core ...
by martinus
08 Apr 2020, 15:09
Forum: Experimental
Topic: Exploring RTOS plugin possibilities
Replies: 4
Views: 890

Re: Exploring RTOS plugin possibilities

The first experiments have left the crashing prototype stage and are actually working: M5.png Left picture shows the boot state after autodecting the devicetype based on flash stored Mac addreslist. When the safebutton is pressed during boot, the system goes into the menu and that's using a separate...
by martinus
08 Apr 2020, 12:46
Forum: Experimental
Topic: Exploring RTOS plugin possibilities
Replies: 4
Views: 890

Exploring RTOS plugin possibilities

Decided to open a new topic on RTOS specifics that could be useful for specific plugins. I have been reading quite a lot on FreeRTOS fundamentals the last couple of days. Also build a first plugin to learn how RTOS could aid in running timing critical plugin tasks. Timing critical in this context me...
by martinus
07 Apr 2020, 13:00
Forum: ESP Easy: Projects / Applications
Topic: Android application
Replies: 62
Views: 7255

Re: Android application

I will probably open the source code Please do so... The LetsControlIt platform has a very strong emphasis on Open Source projects. Our primary mission is to share code and ideas to help each other in DIY projects. Sharing code is quite difficult if source is unavaible for others ;) We have a speci...
by martinus
04 Apr 2020, 19:26
Forum: Introduce yourself
Topic: Hello from Holland - Martinus
Replies: 7
Views: 530

Re: Hello from Holland - Martinus

..on how data can be shared among processes running on different cores. I wonder if you can instruct RTOS to time slice user tasks on a single core or that it automatically schedules tasks on both cores? For ESP32 it may still be better to grant one core to all Wifi SDK stuff and use the other for ...
by martinus
04 Apr 2020, 19:12
Forum: ESP Easy: Hardware
Topic: LSC Action device support/use status ?
Replies: 12
Views: 1493

Re: LSC Action device support/use status ?

I wonder how well ESPnow performs if the "ESPnow gateway" node is connected to an AP with dynamic WiFi channel. Problem is that ESPnow receiver should listen constantly on the same channel, but given there is only a single radio it is forced to use the same channel as used by the AP you connect to....
by martinus
04 Apr 2020, 15:20
Forum: ESP Easy: Projects / Applications
Topic: Home Automation Refresh...
Replies: 12
Views: 2242

Re: Home Automation Refresh...

Still running strong on R120 for about 5 years!! Maybe just leave it as it is... Or put an M5 Atom in it... Could not resist to replace the ESP8266 with an ESP32. Just because we can... The Adafruit Neo library seems to have issues on ESP32. Workaround by moving to Fastled library. Also checking ou...
by martinus
04 Apr 2020, 15:10
Forum: ESP Easy: Hardware
Topic: LSC Action device support/use status ?
Replies: 12
Views: 1493

Re: LSC Action device support/use status ?

Martinus, I have cobble together some code for my battery powered ESP8266 devices. There are 2 sketches called ProbeSender.ino and ProbeReceiver.ino. It is very power efficient (even better then ESPNow) and it uses Probe Request protocol to transfer data from battery power device to main controller...
by martinus
04 Apr 2020, 14:53
Forum: ESP Easy: Hardware
Topic: LSC Action device support/use status ?
Replies: 12
Views: 1493

Re: LSC Action device support/use status ?

Martinus, did you see this topic? https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=6955 Saw that one. But it looks like many posts are 'hijacked' by Tasmota users. I'd like to see if there's a need for ESPEasy. And if standard operation is sufficient or ESPNOW is really required. It has been...
by martinus
04 Apr 2020, 14:47
Forum: Introduce yourself
Topic: Hello from Holland - Martinus
Replies: 7
Views: 530

Re: Hello from Holland - Martinus

Considering working on the ESP32 part of the ESP Easy dev ? Development is now in the good hands of Gijs and Jimmy. But indeed the reason for me replacing all hardware with ESP32 is that i want to focus only on ESP32 and RTOS. I think the RTOS could bring some nice options of running multiple "apps...
by martinus
29 Mar 2020, 14:04
Forum: Introduce yourself
Topic: Hello from Holland - Martinus
Replies: 7
Views: 530

Hello from Holland - Martinus

Since I'm sort of back after quite some time, it may be needed to reintroduce myself (?) My history with ESPEasy goes all the way back to the Nodo project where it all started in 2011. I was the initial founder of ESPEasy until I handed over the project to Edwin and later on to Gijs and Jimmy. And a...
by martinus
29 Mar 2020, 12:25
Forum: ESP Easy: Hardware
Topic: LSC Action device support/use status ?
Replies: 12
Views: 1493

Re: LSC Action device support/use status ?

Martinus, Maybe a stupid question. I see you used R151, but what is the difference between the R145/147 builds and the R151 build? Getting back on topic: Is anyone actively working on these devices? Would it make sense to spend plugin development time on these? Are you using any LSC stuff? Personal...
by martinus
29 Mar 2020, 12:16
Forum: ESP Easy: Hardware
Topic: LSC Action device support/use status ?
Replies: 12
Views: 1493

Re: LSC Action device support/use status ?

The PIR sensor also converted to ESPEasy. It takes 497 milliseconds from Power On state to send out the final state message. As received on ESP32: 1477432 : Info : EVENT: Clock#Time=Sun,12:11 1478984 : Info : WD : Uptime 25 ConnectFailures 0 FreeMem 196904 WiFiStatus 3 1490884 : Info : EVENT: ESPNOW...
by martinus
29 Mar 2020, 12:10
Forum: ESP Easy: Hardware
Topic: LSC Action device support/use status ?
Replies: 12
Views: 1493

Re: LSC Action device support/use status ?

Martinus, Maybe a stupid question. I see you used R151, but what is the difference between the R145/147 builds and the R151 build? From __ReleaseNotes.ino: // R150 03-09-2017 // RAM savings: .arg("F(xxx) in plugins and lots of other places F() // Added rules processing time logging // R149 22-04-20...
by martinus
29 Mar 2020, 10:37
Forum: ESP Easy: Hardware
Topic: LSC Action device support/use status ?
Replies: 12
Views: 1493

Re: LSC Action device support/use status ?

The first doorsensor is working towards an ESP32 peer node: LCSEasy.png Needed some tweaks to be able to set/scan/update the working channel of a peer node, but it seems to work now when channels change. Needed to store the active channel in flash because the ESP on the doorsensor is turned of after...
by martinus
29 Mar 2020, 10:16
Forum: ESP Easy: Projects / Applications
Topic: Home Automation Refresh...
Replies: 12
Views: 2242

Re: Home Automation Refresh...

Thought that the refresh job was finished. Almost forgot that this device is also ESP based (Originally it was a Nodo project):
wordclock.png
wordclock.png (418.89 KiB) Viewed 1769 times
Still running strong on R120 for about 5 years!! Maybe just leave it as it is... Or put an M5 Atom in it...