Search found 161 matches

by moelski
11 Oct 2020, 07:11
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9691

Re: Smaller bin files - more stripdown options in custom.h?

Sadly the #define DISABLE_SC16IS752_Serial
cannot be in the Custom.h as it must be present at the start of the compile.
Bad news :(
This way EspEasy get´s more and more scattered.

No chance to centralize all build Settings in one file?
by moelski
11 Oct 2020, 06:56
Forum: ESP Easy: General Discussion
Topic: VARS_PER_TASK - only 4 values ?
Replies: 3
Views: 6443

Re: VARS_PER_TASK - only 4 values ?

Hi ! Ok that could work but to be honest it is not very userfriendly. And there is another issue ... If you proper handle different Smart Meter you don´t now exatctly the number of values it reports. For example ... My MT681 has 7 values as output. But as SML is very flexibel there could be more or ...
by moelski
10 Oct 2020, 07:51
Forum: ESP Easy: General Discussion
Topic: VARS_PER_TASK - only 4 values ?
Replies: 3
Views: 6443

VARS_PER_TASK - only 4 values ?

Hi ! I´m just rewriting some code from the SML Plugin P182. I want to decode the whole data coming from the Smart Meter. There are 5 Values I would like to measure. But it seems that are only 4 values are supported for a plugin. There is the VARS_PER_TASK value ... But I suppose this will render old...
by moelski
08 Oct 2020, 07:48
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9691

Re: Smaller bin files - more stripdown options in custom.h?

Hi ! I will look in the defines wrapping the I2C serial bridge as that's a valid point. I saw on github that there is a define for the I2c serial bridge. #define DISABLE_SC16IS752_Serial in custom.h did not remove the lib in my first test this morning. Both combinations must fit. I know but had no t...
by moelski
06 Oct 2020, 09:03
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Hi Ath,

I try to don´t use rules. That makes the initial setup to complicated.
schedule a timer
Would be much easier to just fire some kind of event when the value changed.
Having an extra timer sounds a little bit overkill for this task :roll:
by moelski
06 Oct 2020, 08:35
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Ok, I got my stuff working so far. But there is one question left ... The MQTT messages will only be send if the plugin does a read. Is it possible to trigger a MQTT send event? If I press the button at my power plug it will be recognised by the PLUGIN_FIFTY_PER_SECOND event. But sending the changed...
by moelski
06 Oct 2020, 06:09
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9691

Re: Smaller bin files - more stripdown options in custom.h?

Hi ! Ok after my Sonoff controller is almost running I tried a little bit at this topic. Getting the BIN file so smal that OTA will work. Attached is my custom.h for reference ... I started with a basic build which includes the following: * my new Plugin * DS1820 Support * Input Switch Support * my ...
by moelski
03 Oct 2020, 11:42
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Hi martinus,

Will have a look. Thx so far.
by moelski
03 Oct 2020, 07:05
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

My actual status ... 1) Easy Plugin for basic IO handling I think this is mostly done. It runs as it should :) I will try it on a Sonoff in the next days. firefox_BUXMkDGq15.png Maybe I add an option for delayed off. But at the moment it´s not needed ... 2) Better MQTT support This is also mostly do...
by moelski
02 Oct 2020, 14:48
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9691

Re: Smaller bin files - more stripdown options in custom.h?

Hmm ok. But it´s not really userfriendly to have spreaded defines all over the project. Do you think it´s possible to get them all in one spot like the custom.h? As said bevor I come from Tasmota. There you have one file and can customize the features und devices. Very handy :) Sorry to bother you w...
by moelski
02 Oct 2020, 13:06
Forum: ESP Easy: General Discussion
Topic: Smaller bin files - more stripdown options in custom.h?
Replies: 10
Views: 9691

Smaller bin files - more stripdown options in custom.h?

Hi ! Today I did some research regarding OTA ... At the moment my compiled build takes ~666244 bytes. If I use a 128kb Spiffs (64 kb are not enough ? ) there are 892912 Bytes left. And my build only contains 1 Controller und 4 Devices ... I also compiled a EspBuddy (https://github.com/soif/EspBuddy)...
by moelski
01 Oct 2020, 13:19
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Ok I will explain it in antoher way :-) Let´s say CONFIG_PIN1 results 18 for GPIO18. Can I check the settings for GPIO 18 made on the hardware tab? GPIO 18 is used as input pin in my config. So I would like to check if it is set to INPUT. And which kind of Input (pullup or pulldown). So I can preven...
by moelski
01 Oct 2020, 13:08
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

@TD-er
Another dev releated question ...

Can I check details for the CONFIG_PIN1 ... PIN3 configuration like the selected type (input pulldown, ....) from the hardware page?
by moelski
01 Oct 2020, 10:52
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Oh Man ... I´m stupid ...
I always called the init part again :roll:

Code: Select all

initPluginTaskData(event->TaskIndex, new (std::nothrow) P248_data_struct());
*face palm*
by moelski
01 Oct 2020, 06:47
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

@TD-er Another dev releated question ... Can I check details for the CONFIG_PIN1 ... PIN3 configuration like the selected type (input pulldown, ....) from the hardware page? Ok and one question about the data struct for plugins ... This code works like a charme ... A simple toggle function (all vars...
by moelski
30 Sep 2020, 11:10
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Hi ! You are right ... Tasmaota has some advantages in this area ... But in my opinion EspEasy needs 3 modifications to make the gap to tasmo smaller ... 1) Easy Plugin for basic IO handling That´s what I´m working on ... A simple plugin where you can define the input, the output(s) and that´s it. U...
by moelski
30 Sep 2020, 09:33
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Thx. I will have a look.
Hopefully I can get the plugin working tomorrow. 8-)
by moelski
30 Sep 2020, 07:11
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Hi ! Don't test it on the pins you mention in the screenshot I Know. It was only an example. One developing question ... I need to store some data in variables - like the starttime of pressing the button. What is the best way to declare these plugin variables? Just something like long P248_PRESS_TIM...
by moelski
29 Sep 2020, 11:48
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Ok I come closer with the new Plugin ...

I called it In2Out 8-)

But I need to test it the next days ... Will see if it works :D
by moelski
28 Sep 2020, 13:37
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

No you got me wrong. I don´t want to use any rules for this plugin. The question was about getting data from an Command ... In the tab tools I can enter a command with something like GPIO,15,1 which will switch GPIO 15. Will this command handed over to the plugins? So I could react on those events. ...
by moelski
28 Sep 2020, 13:26
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

Re: undefined reference to `do_process_c00x

Maybe it's time to upload a more recent zip package containing the latest release to offer "Compile for dummies" again.
Great idea. And the option for ESP8266 should be also build in.
by moelski
28 Sep 2020, 13:02
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

One question ...
If I send a command like

Code: Select all

GPIO, 10,1
... Is there a way to receive that within a plugin?
by moelski
28 Sep 2020, 04:46
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

Re: undefined reference to `do_process_c00x

Hi ! I did some more tests ... I used the portable Arduino setup on 3 different computers in my house ... And all report the same error. So it is reproduceable :roll: And at the end of this topic there is an older version of Arduino IDE + Sources (ESPEasy 20020410): https://www.letscontrolit.com/for...
by moelski
27 Sep 2020, 18:23
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Re: Making EspEasy a little bit more useable with ioBroker

Hi ! Well let´s remember the name of the projekt Esp Easy . ;) So maybe it is a good idea to start with the new plugin - but in a simple way. In the first step I would try the following : * Selector for one input * Selector for 2 outputs * React on the Input by settings the outputs * Some basic inve...
by moelski
27 Sep 2020, 15:45
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

Re: undefined reference to `do_process_c00x

Ok just in case I broke the sources I downloaded the latest release again from github. It compiles fine without the custom.h. But as soon as I include it the problem raises again. So I tried the mega-20200812 release. But the results are the same. I´ve also tried to move the ESPEasy folder out of th...
by moelski
27 Sep 2020, 15:24
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

Re: undefined reference to `do_process_c00x

Hi ! Can you try adding this to _CPlugin_Helper.h: Did not fix anything. Still the same errors. So please double check you have the code base only once in the directory ESPEasy (same dir name as ESPEasy.ino) and nowhere else where the Arduino IDE can look for code. Ok some words about my setup ... I...
by moelski
27 Sep 2020, 09:55
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

Re: undefined reference to `do_process_c00x

Hi ! Well this one is caused by you having the "servo" library included in the Arduino library manager Ok but that souldn´t be a real problem ... And just to be sure, you are using the latest sources? I used ESPEasy-mega-20200913. https://github.com/letscontrolit/ESPEasy/releases/tag/mega-...
by moelski
27 Sep 2020, 09:42
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 27108

Making EspEasy a little bit more useable with ioBroker

Hi ! This text could be a little bit longer ... Sorry for that 8-) Yesterday I started to take a look at EspEasy again. I was using it 4 years ago and at that time I wrote the candle plugin for EspEasy. My goal was to include some of my switchable power plugs into my home automatisation ioBroker. So...
by moelski
27 Sep 2020, 08:56
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

Re: undefined reference to `do_process_c00x

Hi ! I also checked, but at least C003.ino doesn't have this line split over multiple lines No it´s fine in one line ... Can you add (as a test) this as 2nd line of the DelayQueueElements.cpp file: x106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld...
by moelski
26 Sep 2020, 15:07
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

Re: undefined reference to `do_process_c00x

Hi !

First Lines of Espeasy.ino:

Code: Select all

#define USE_CUSTOM_H
#include <Arduino.h> 
and attached is my Custom.h.

For me it looks ok ... Try to build for ESP8266.

Dominik
by moelski
26 Sep 2020, 07:59
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 18533

undefined reference to `do_process_c00x

Hi ! Just try to compile the latest mega release with Arduino IDE. I use a custom.h for configuration. If I just select #define USES_C002 // Domoticz MQTT I got this errors: C:\Users\DOMINI~1\AppData\Local\Temp\arduino_build_623874\sketch\src\ControllerQueue\DelayQueueElements.cpp.o:(.literal._Z24pr...
by moelski
08 Jul 2020, 08:44
Forum: ESP Easy: General Discussion
Topic: Compile EspEasy with Arduino (Pro) IDE still possible?
Replies: 2
Views: 5175

Re: Compile EspEasy with Arduino (Pro) IDE still possible?

Hi ! Ok I can compile it again if I use the latest GIT revision. Thx for that fix ! Get it compiled for the ESP32 seems to be a little more complicated :roll: I had issues with MD5Builder, Servo Lib and BH1750 ... But I think ESP32 is in general another story ;) btw ... Got it compiled after some tw...
by moelski
07 Jul 2020, 05:32
Forum: ESP Easy: General Discussion
Topic: Compile EspEasy with Arduino (Pro) IDE still possible?
Replies: 2
Views: 5175

Compile EspEasy with Arduino (Pro) IDE still possible?

Hi ! The last two days I spend some hours to get ESPEasy compiled in Arduino and Arduino Pro IDE. But I had no luck ... So a simple question first ... Is it still possible to use those IDE's or can it only be done woth VSCode / PlatformIO? My steps were as followed: * Copy content from lib folder to...
by moelski
11 Jan 2017, 08:32
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 154133

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

Great work Paul.

I think there is one command missing for using default colors or not.
But that is missing in the sources ... I have to add that in the next days.

Anyway ... Your solution looks great.
Personally I use FHEM and I will update my manual for FHEM usage, too.
by moelski
11 Jan 2017, 07:53
Forum: Experimental
Topic: PiEasy - porting ESPEasy to Raspberry Pi (Zero)
Replies: 9
Views: 13292

Re: PiEasy - porting ESPEasy to Raspberry Pi (Zero)

Hi everybody. I decided to not longer spend time on this PiEasy port. There are to many problems left and the overall performance of the resulting code is to bad. I think on a Raspberry you can handle the things better with threads instead of timer. And I definitely need serial (and maybe USB) input...
by moelski
29 Dec 2016, 10:49
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 154133

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

Ok you can send it to dominik AT logview DOT info.
I will have a look.
by moelski
29 Dec 2016, 10:35
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 154133

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

Hi Mariete,

looks nice, but I think the main problem is that it´s a fire simulation.
And at y candle you don´t have this huge flame nor such sparkles flying around...

Did you include it into my code?
by moelski
29 Dec 2016, 09:52
Forum: ESP Easy: General Discussion
Topic: @DEVs : What is the Raodmap for ESPEasy?
Replies: 2
Views: 3403

Re: @DEVs : What is the Raodmap for ESPEasy?

Ups ... :oops:
You are right ... I got that wrong. Sorry for that.

Anyway ... Some kind of roadmap would be nice to know 8-)
by moelski
29 Dec 2016, 08:28
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 640906

Re: New ESP gadget

Hi ! We have to send the hex value: 0x00 both off 0x01 relay one on 0x02 relay two on 0x03 both relays on ..but how? Hmm Looks like simple send some data over the Serial port. But I wonder a Little about the INT / E-FW Connection. But sending some data within a new plugin is really straight forward ...
by moelski
29 Dec 2016, 08:21
Forum: ESP Easy: Hardware
Topic: Support for variuos ESP8266 relay boards
Replies: 2
Views: 5409

Re: Support for variuos ESP8266 relay boards

Hi ! http://www.ebay.com/itm/ESP8266-220V-10A-DC-7-30V-Network-Relay-WIFI-Module-/182150587112 https://www.olimex.com/Products/IoT/ESP8266-EVB/open-source-hardware Should work. But as always ... You should know the schematics of the board. Getting ESPEasy running is not the Problem ... http://www.eb...
by moelski
29 Dec 2016, 08:19
Forum: ESP Easy: Software
Topic: ESP Easy next stable... (release candidates)
Replies: 155
Views: 117871

Re: ESP Easy next stable... (release candidates)

Hi ! Just give the latest Github Version a try. I used Arduino 1.8.0 as IDE ... It seems that there are some Problems with the MQTT Connection. I get always this Messages in the logging: WD : Uptime 8 ConnectFailures 30 FreeMem 23712 MQTT : Connection lost MQTT : Connected to broker followed by a ne...
by moelski
29 Dec 2016, 08:04
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 154133

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

Hi @all,

have done some work to enhance the documentation:
http://www.logview.info/Temp/CandleNotes.pdf

I will update the doc with information how to Setup FHEM and how to use MQTT.
by moelski
29 Dec 2016, 06:13
Forum: ESP Easy: General Discussion
Topic: @DEVs : What is the Raodmap for ESPEasy?
Replies: 2
Views: 3403

@DEVs : What is the Raodmap for ESPEasy?

Hi devs, the last weeks where a little bit busy for me so I was not often logged in here. Anyway ... I saw that the github ESPEasy repo got the last release update at 27-11-2016. So how would you guys go on with this project? There was an anouncement some weeks ago that there will be a new repo on g...
by moelski
29 Dec 2016, 06:05
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 154133

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

Hi burton666,

will check it today. I´m actually working on embedding the candle into my FHEM homeautomatisation system.
I will compile it with 147 and see if there are any problems left ...
by moelski
29 Dec 2016, 06:03
Forum: ESP Easy: Projects / Applications
Topic: K-Type / MAX6675 build in
Replies: 54
Views: 48290

Re: K-Type / MAX6675 build in

@bertb:
zo I reworked the code a bit.
Did you put update the github code?

Code: Select all

Works as expected. (Even better than I expected, I couldn't believe it would work out of the box!)
8-)
by moelski
19 Dec 2016, 12:19
Forum: Experimental
Topic: PiEasy - porting ESPEasy to Raspberry Pi (Zero)
Replies: 9
Views: 13292

Re: PiEasy - porting ESPEasy to Raspberry Pi (Zero)

Hi ! PiZero bought at 0.99$ WOW :shock: Do you have a link for that ? Maybe this could also work on the Orange PI family I think this will not work out of the box .... OrangePi and Reasperry Pi using different cores. And the RasPiArduino has a lot constants / definitions which refer directly to the ...