P141 RGB Strip Plugin

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: P141 RGB Strip Plugin

#51 Post by Dylantje » 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?

dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

Re: P141 RGB Strip Plugin

#52 Post by dolittle » 14 Oct 2018, 12:13

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.

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: P141 RGB Strip Plugin

#53 Post by Dylantje » 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

dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

Re: P141 RGB Strip Plugin

#54 Post by dolittle » 14 Oct 2018, 15:19

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.

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: P141 RGB Strip Plugin

#55 Post by ManS-H » 21 Oct 2018, 12:16

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?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: P141 RGB Strip Plugin

#56 Post by TD-er » 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

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: P141 RGB Strip Plugin

#57 Post by ManS-H » 23 Oct 2018, 12:35

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 13513 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 13514 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

raist
New user
Posts: 1
Joined: 19 Feb 2019, 09:12

Re: P141 RGB Strip Plugin

#58 Post by raist » 19 Feb 2019, 09:17

Please provide somebody a .bin file

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: P141 RGB Strip Plugin

#59 Post by enesbcs » 21 Feb 2019, 19:00

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

dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

Re: P141 RGB Strip Plugin

#60 Post by dolittle » 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.
Attachments
firmwares.zip
(928.92 KiB) Downloaded 421 times

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: P141 RGB Strip Plugin

#61 Post by ManS-H » 22 Feb 2019, 20:50

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.

User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: P141 RGB Strip Plugin

#62 Post by uxhamby » 20 Jun 2019, 04:59

ws2811, 12, 12B & 52: "NOT yet implemented". Bummer.

Any ETA on support for those devices?

Thanks,

Brian H.

dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

Re: P141 RGB Strip Plugin

#63 Post by dolittle » 20 Jun 2019, 07:13

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests