Page 2 of 2

Re: P141 RGB Strip Plugin

Posted: 14 Oct 2018, 11:56
by Dylantje
Dear all,

Is this project stil a live??
Is ther peperhaps a option this controller works with Domoticz?

i am searching for a H081 controller that i can use in Domoticz..
Or is this the wrong project?

Re: P141 RGB Strip Plugin

Posted: 14 Oct 2018, 12:13
by dolittle
Dylantje wrote: 14 Oct 2018, 11:56 Dear all,

Is this project stil a live??
Is ther peperhaps a option this controller works with Domoticz?

i am searching for a H081 controller that i can use in Domoticz..
Or is this the wrong project?
Is it an option for you to use an MQTT server like mosquitto? It's pretty simple and you can use also other firmwares like tasmota or espurna as well.

I don't use and know Domoticz, but I suppose it has MQTT support as well.

Re: P141 RGB Strip Plugin

Posted: 14 Oct 2018, 12:17
by Dylantje
i have a mqtt server running in Domoticz..
I flashed a esp with espeasy
And i do have a esp with Thasmota.

Only my knowledge with mqtt is very low

Re: P141 RGB Strip Plugin

Posted: 14 Oct 2018, 15:19
by dolittle
Dylantje wrote: 14 Oct 2018, 12:17 i have a mqtt server running in Domoticz..
I flashed a esp with espeasy
And i do have a esp with Thasmota.

Only my knowledge with mqtt is very low
I had also some doubts but love it now. It‘s pretty easy actually. The concept is just different.

Give it a try you won’t regret it.

Re: P141 RGB Strip Plugin

Posted: 21 Oct 2018, 12:16
by ManS-H
What do i wrong with compiling _P141?
When i compile ESPEasy_mega-20181017 with Platformio no problem at all.

But when I add _P141 to the map source/src and FastLED-3.1.8 to to map source/lib
Then i add #include "<FastLED.h>" to ESPEasy.ino is see this:
F:/ESPEasy Projects/ESPEasy_mega-20181017_P141/Source/scr/ESPEASY.ino:8923: fatal error scr\<FastLED.h>: Invalid argument

When i changed it in #include <FastLED.h> to ESPEasy.ino is see this:
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\dev_ESP8266_1024\firmware.elf] Error 1

When i changed it in #include "FastLED.h" to ESPEasy.ino is see this:
collect2.exe error: ld returned 1 exit status
*** [.pioenvs\dev_ESP8266_1024\firmware.elf] Error 1

If I follow the text of the developer, he used another directory structure.
Installation :
- Add the FastLED library in the 'src/lib/' folder from https://github.com/FastLED/FastLED/tree/3.1.8
- Move this file to the 'src/' folder
- Add "#include <FastLED.h>" at the start of src/lib/ESPEasy.ino file else compiler fails

Please, can anyone tell me what i doing wrong?

Re: P141 RGB Strip Plugin

Posted: 22 Oct 2018, 10:21
by TD-er
For PlatformIO there is a separate lib directory at the same level as the src dir.
See directory structure here: https://github.com/letscontrolit/ESPEasy

Re: P141 RGB Strip Plugin

Posted: 23 Oct 2018, 12:35
by ManS-H
TD-er wrote: 22 Oct 2018, 10:21 For PlatformIO there is a separate lib directory at the same level as the src dir.
See directory structure here: https://github.com/letscontrolit/ESPEasy
Hello TD-er,

I'm not a programmer, only a simple user who was interrested in the possibilities of the _P141 Plugin together with a Huacanxing H801

This is the structure of testing the plugins,
Structure.png
Structure.png (32.01 KiB) Viewed 13762 times
I started on another computer with Platformio as descriped in de Wiki. I used ESPEasy_mega-20181023 as file.
First i compiled ESPEasy_mega-20181023, no problem with the normal-test-dev_ESP8266 versions.

Then i add _P141, with the library FastLED-3.1.8 and #include <FastLED.h> to ESPEasy_mega-20181023.
Problems:
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\normal_ESP8266_1024\firmware.elf] Error 1

I started again this time with _P142 and ESPEasy_mega-20181023.
Problems:
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:88:107: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:88:107: error: too many arguments to function 'void addPinSelect(boolean, String, int)'
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:90:107: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:90:107: error: too many arguments to function 'void addPinSelect(boolean, String, int)'
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:92:107: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:92:107: error: too many arguments to function 'void addPinSelect(boolean, String, int)'
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:94:107: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
F:/ESPEasy Projects/ESPEasy_mega-20181023_P142/Source_P142/src/_P142_RGB-Strip.ino:94:107: error: too many arguments to function 'void addPinSelect(boolean, String, int)'

The third try, _P150 and ESPEasy_mega-20181023.
Problems:
Environment dev_ESP8266_1024 [ERROR]
Environment dev_ESP8266_4096 [ERROR]

These are successfull:
Environment normal_ESP8266_1024 [SUCCESS]
Environment normal_ESP8266_4096 [SUCCESS]
Environment test_ESP8266_1024 [SUCCESS]
Environment test_ESP8266_4096 [SUCCESS]

Then i add _P141, with #include <FastLED.h> to ESPEasy_mega-20181023 but without the library.
Problems:
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\normal_ESP8266_1024\firmware.elf] Error 1
Aantekening.png
Aantekening.png (49.42 KiB) Viewed 13763 times
My question to you, can you maybe try to compile the _P141 Plugin to see what the results are in your environment?

Regards, Herman

Re: P141 RGB Strip Plugin

Posted: 19 Feb 2019, 09:17
by raist
Please provide somebody a .bin file

Re: P141 RGB Strip Plugin

Posted: 21 Feb 2019, 19:00
by enesbcs
raist wrote: 19 Feb 2019, 09:17 Please provide somebody a .bin file
I've such a binary with P142 RGB-Strip, but do not know what is the difference with P141. :) 4MB version.
download/file.php?id=3594

Re: P141 RGB Strip Plugin

Posted: 22 Feb 2019, 17:13
by dolittle
Hi,
added two bin files with P141. One for 1MB and the other for 4MB flash.

Hope that helps.

BTW. I don't use ESPEasy for LED strips anymore although I love its flexibility. Tasmota has a much better implementation for this IMHO. This plugin flickers a lot in low dimming settings and it has no fading.

Re: P141 RGB Strip Plugin

Posted: 22 Feb 2019, 20:50
by ManS-H
dolittle wrote: 22 Feb 2019, 17:13 Hi,
added two bin files with P141. One for 1MB and the other for 4MB flash.

Hope that helps.

BTW. I don't use ESPEasy for LED strips anymore although I love its flexibility. Tasmota has a much better implementation for this IMHO. This plugin flickers a lot in low dimming settings and it has no fading.
Thanks.

Re: P141 RGB Strip Plugin

Posted: 20 Jun 2019, 04:59
by uxhamby
ws2811, 12, 12B & 52: "NOT yet implemented". Bummer.

Any ETA on support for those devices?

Thanks,

Brian H.

Re: P141 RGB Strip Plugin

Posted: 20 Jun 2019, 07:13
by dolittle
uxhamby wrote: 20 Jun 2019, 04:59 ws2811, 12, 12B & 52: "NOT yet implemented". Bummer.

Any ETA on support for those devices?

Thanks,

Brian H.
Hi,
for me ESPEasy was not the right choice for ws2812 strips. I ended up using WLED for that after some research. It has a web interface and supports a variety of protocols.

I‘ve connected it via MQTT to my openHAB. Works like a charm.

Apart from the technical aspect a lot of effects are supported out of the box. It may be worth having a look.