Search found 17 matches

by sledge
19 Aug 2018, 15:03
Forum: ESP Easy: Software
Topic: P141 RGB Strip Plugin
Replies: 62
Views: 71705

Re: P141 RGB Strip Plugin

How funny, the code i posted above is working :) Now i can control the white channel with mqtt command w1,255 I also added this line to void Fp141_CommandOff(){ function to ensure everything is off after command receives. analogWrite(v_p141_pins[3], v_p141_pin_inverse ? (PWMRANGE - 0) : 0); I know t...
by sledge
15 Aug 2018, 16:10
Forum: ESP Easy: Software
Topic: P141 RGB Strip Plugin
Replies: 62
Views: 71705

Re: P141 RGB Strip Plugin

Would it be possible to add a command to the plugin just to set a value for white? Something like this maybe: if (command == F("w1")) { analogWrite(v_p141_pins[3], v_p141_pin_inverse ? (PWMRANGE - event->Par1) : event->Par1); } I´m not familiar with C so i don´t know how to add another com...
by sledge
12 Aug 2018, 18:16
Forum: ESP Easy: Software
Topic: P141 RGB Strip Plugin
Replies: 62
Views: 71705

Re: P141 RGB Strip Plugin

I only added p141 and the fastled lib. It works if i comment out sws_isr_0() like mentioned by johny Mielony. BUT now i am not able to send a pwm command to a specified pin. My problem is that i am using a rgb-W power led and am not able to set white to a value. Only RGB through p141 is working. Is ...
by sledge
11 Aug 2018, 15:17
Forum: ESP Easy: Software
Topic: P141 RGB Strip Plugin
Replies: 62
Views: 71705

Re: P141 RGB Strip Plugin

Hi, i tried to compile the p141 plugin under actual mega branch and get a lot of errors. Linking .pioenvs\dev_ESP8266_4096\firmware.elf .pioenvs\dev_ESP8266_4096\libe12\SoftwareSerial\SoftwareSerial.cpp.o: In function `sws_isr_0()': SoftwareSerial.cpp:(.iram.text+0xf8): multiple definition of `sws_i...
by sledge
11 Aug 2018, 13:20
Forum: ESP Easy: General Discussion
Topic: Problems to compile espeasy
Replies: 10
Views: 11195

Re: Problems to compile espeasy

Lol, true. I downloaded several builds and nothing worked for me. Now i again downloaded the actual mega branch as zip and it worked. Thx for reply and apology for my stupidness :roll:
by sledge
10 Aug 2018, 16:50
Forum: ESP Easy: General Discussion
Topic: Problems to compile espeasy
Replies: 10
Views: 11195

Problems to compile espeasy

Hi Guys, i try to compile the mega branch to test some plugins. Unfortunatelly i get a lot of errors trying to compile with platformio. The debug looks like this: Warning! Access to system environment variable via `${env.TRAVIS_TAG}` is deprecated. Please use `${sysenv.TRAVIS_TAG}` instead Processin...
by sledge
02 Apr 2018, 13:54
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: Finished: H801 RGBWW control with openhab2 and mqtt

Hi, you can set a timer to prevent openhab from spamming rgb values. eg. wait for 2 sec bevore sending actual color
by sledge
17 Mar 2017, 00:54
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: Finished: H801 RGBWW control with openhab2 and mqtt

Ewas, you log looks good so far. Try to send a mqtt command manually in linux console: mosquitto_pub -t "/H801/cmd" -m "lights,rgb,00ff00"
by sledge
04 Mar 2017, 02:11
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: Finished: H801 RGBWW control with openhab2 and mqtt

Erm did you read first post? The connection to openhab is well explained. Your log is normal it shows no error.
by sledge
25 Jan 2017, 15:07
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: Finished: H801 RGBWW control with openhab2 and mqtt

Hm strange. I have to design a lamp to install the h801 and test it in a long term. But i did let it run over night and everything was fine. Make sure your mqtt bus is really clean. Try to listen to all messages with mosquitto_sub -d -t /# If you edit settings in openhab it will take a while until a...
by sledge
23 Jan 2017, 22:11
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: H801 RGBWW control with openhab2 and mqtt

Openhab config updated and Waldmensch´s Image linked in first Post. Everything works like a charm and i´m very happy with my new Toy. Big Thx to Dev0 and Waldmensch for your Support.
by sledge
23 Jan 2017, 15:13
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: H801 RGBWW control with openhab2 and mqtt

The mqtt kommunication works. This is the big advantage of the great espeasy framework. Just select the protocol and be happy. I just missed to add "cmd" to the topic. Althougth dev0 says this plugin is prove of concept it works really nice and does what it should. In fact with things like...
by sledge
23 Jan 2017, 01:35
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: H801 RGBWW control with openhab2 and mqtt

Lol i´m a noob :)

I set some debug code here and there and found out you have to put devicename/cmd as topic. Now it works!
mosquitto_pub -t "/newdevice/cmd" -m "lights,rgb,00ff00" sets a nice solid green

I will report back as soon as my openhab gives right commands over mqtt
by sledge
23 Jan 2017, 00:03
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Re: H801 RGBWW control with openhab2 and mqtt

Thank you Waldmensch, i recompiled but it doesn´t work. Can you switch the leds with mqtt? How does an example command looks like? Which part is topic and wich part is message? Btw. bist du der Waldmensch von der fpv-community? In my devices web log i see this: 1146 : WIFI : Connecting... 1 8152 : W...
by sledge
22 Jan 2017, 20:29
Forum: ESP Easy: Software
Topic: RGBWW Plugin development questions
Replies: 28
Views: 25547

Re: RGBWW Plugin development questions

Thx Dev0 it worked for me. Now we talk :)

To keep your thread clean i started a new one with a little documentation how to get your plugin running. viewtopic.php?f=2&t=2582
by sledge
22 Jan 2017, 20:25
Forum: ESP Easy: Projects / Applications
Topic: Finished: H801 RGBWW control with openhab2 and mqtt
Replies: 35
Views: 52987

Finished: H801 RGBWW control with openhab2 and mqtt

Hi, i´m trying to control rgbww stripes with the H801 rgbww controller from aliexpress: https://www.aliexpress.com/item/H801-WiFi-RGBW-LED-WIFI-controller-DC5-24V-input-4CH-4A-output/32725879464.html As i´m really new to espeasy i will use this thread to ask some questions and keep this first post u...
by sledge
20 Jan 2017, 21:36
Forum: ESP Easy: Software
Topic: RGBWW Plugin development questions
Replies: 28
Views: 25547

Re: RGBWW Plugin development questions

dev0, sorry to bother you but i would love to get your plugin working. I tried to compile 147_RC8 8, but with you plugin loaded i can´t get it to work. In ESPEasy.ino sketch i changed #define FLASH_EEPROM_SIZE from 4096 to 512 Arduino Settings: Board: Generic ESP8266 Module Flash Mode: DIO Flash Fre...