[ESP8266] Commercial H801 WiFi RGB-dimmer topic

Everything about esp8266 and more.
piotr
Posts: 30
Joined: Monday 15 July 2013 8:17
Target OS: Linux
Domoticz version: Beta
Location: Drenthe
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by piotr » Wednesday 03 May 2017 11:23

Can the H801 be used to control a series of 2W MR11 leds ? (instead of ledstrip)

beounet
Posts: 8
Joined: Wednesday 16 November 2016 20:58
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by beounet » Wednesday 03 May 2017 15:36

kondrez wrote:So today I was trying to flash and connect the h801 to domoticz. Eventually i made it all work and now I can use it as a milight in domoticz. but I noticed that there is no place here where it gets explained. there are several threads on this forum and other forums with tips and some instructions but for someone like me who doesnt does this kind of stuff all the time it was quiet difficult and I bet there are more people interested. So here is how I did it step by step.

First what you need :
An arduino uno (you could use other programmer but i did it with this one)
the h801
6 header pins
some cables

after you have intalled the arduino software you need to install the esp option. in this link everything gets explained.
http://www.esp8266.nu/index.php/Tutoria ... are_Upload

After that you need to download the latest firmware image wich can be downloaded here:
http://www.esp8266.nu/index.php/Main_Page#Stable

in the first link there is a section called Download ESP Easy Firmware. Wich explains where to put the esp easy libraries.
For the h801 to work like a milight bridge there is a plugin wich you need to download and add to the esp easy folder.
This folder can be found in the source folder wich is in the main folder of the firmware that you download.
The plugin can be found at github espeasy playground
https://github.com/ESP8266nu/ESPEasyPluginPlayground
It's the one named p105_rgbw.ino. After you added this then you can start to solder the header pins to the h801.
When you have soldered the six pins you can connect them to your arduino. the TX pin of the h801 should go to the RX pin of your arduino, and the RX pin of the h801 should go to the TX pin of the arduino. Ground pin to ground and 3.3v to the 3.3v or you can connect the power supply to the h801.
There is a connector that says j3 these two pins need to be shorted before you plug the power supply it's to enter the programming mode.
After that you can compile and upload the firmware.
Once you do that the H801 acts as a acces point you can connect with the password configesp. After that put 192.168.4.1 in a browser to configure the ssid and passwoord. After that it should get an ip adress within your network. When you enter this ip adress you enter the browse gui. Here you go to devices and choose edit. Here you can choose the plugin rgbw milight udp port 8899 red pin 15 green pin 13 blue pin 12 white pin 14 and submit. after this if you just add a applamp/milight bridge in domoticz with the ip of the h801 and port 8899. you can control the h801 as group 1.

Hope this helps some people and save them some time.
Hello and thank you for this guide kondrez!!
I have followed all the steps that you suggested but i am a little frutsrated because of the fact that i am getting compile errors
Please have a look below:

Arduino: 1.6.12 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 1M (128K SPIFFS), ck, Disabled, None"

In file included from C:\Users\vasilis\Desktop\esptest\ardportable\arduino-1.6.12p230\portable\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\abi.cpp:23:0:

c:\users\vasilis\desktop\esptest\ardportable\arduino-1.6.12p230\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\cxxabi.h:50:32: fatal error: bits/cxxabi_tweaks.h: No such file or directory

#include <bits/cxxabi_tweaks.h>

^

compilation terminated.

Multiple libraries were found for "Servo.h"
Used: C:\Users\vasilis\Desktop\esptest\ardportable\arduino-1.6.12p230\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\Servo
Not used: C:\Users\vasilis\Desktop\esptest\ardportable\arduino-1.6.12p230\libraries\Servo
Multiple libraries were found for "SD.h"
Used: C:\Users\vasilis\Desktop\esptest\ardportable\arduino-1.6.12p230\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\SD
Not used: C:\Users\vasilis\Desktop\esptest\ardportable\arduino-1.6.12p230\libraries\SD
exit status 1
Error compiling for board Generic ESP8266 Module.




It seems that some or a file are missing?? LIke the bits/cxxabi_tweaks.h

Thanks in advance!

allmehandidesigns
Posts: 3
Joined: Friday 05 May 2017 9:43
Target OS: Windows
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dihttp://interesting-facts.info/mmer topic

Post by allmehandidesigns » Friday 05 May 2017 11:37

This H801 performs very well, a nice dimming resolution and works well.

bernardstef
Posts: 4
Joined: Friday 24 February 2017 10:04
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by bernardstef » Sunday 25 June 2017 10:15

Hi everyone, check those links, there is a firmware made for those devices:

http://www.cnx-software.com/2017/03/03/ ... -firmware/

https://bitbucket.org/xoseperez/espurna

I can't wait to receive my H801 and test this out :)

bernardstef
Posts: 4
Joined: Friday 24 February 2017 10:04
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by bernardstef » Saturday 08 July 2017 10:51

bernardstef wrote:Hi everyone, check those links, there is a firmware made for those devices:

http://www.cnx-software.com/2017/03/03/ ... -firmware/

https://bitbucket.org/xoseperez/espurna

I can't wait to receive my H801 and test this out :)

Hi ,

In fact I used the Espeasy plugin 105, and the lua script for white dimmer. Much better than espurna. Also, espurna didn't gave me all the lighting brighness which is strange...

Thanks everyone for the forum content that helped me to get it working ! :)

sanman
Posts: 5
Joined: Wednesday 02 April 2014 21:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by sanman » Saturday 15 July 2017 11:20

Hello,
I work arounf this controller since few days testing some firmware without finding somethings working as expected.
Is it existing somewhere a firmware allready compiled for H801 with the plugin p105_rgbw.ino basen on EspEasy ?
Thanks in advance!

salvacalatayud
Posts: 37
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi
Domoticz version: 3.8072
Location: Spain
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by salvacalatayud » Wednesday 04 October 2017 17:29

piotr wrote:
Wednesday 03 May 2017 11:23
Can the H801 be used to control a series of 2W MR11 leds ? (instead of ledstrip)
I'm interested too

Meeki
Posts: 5
Joined: Saturday 14 January 2017 15:33
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by Meeki » Monday 30 October 2017 12:54

actualy with above script you don't need to use the milight plugin
it will just dim using the build in pwm dimmer function.
Im trying your script as you mentioned, but when i switch to whatever color. i always heve the same PWM output on each GPIO


D : Uptime 28 ConnectFailures 0 FreeMem 26496
1717248 : WD : Uptime 28 ConnectFailures 0 FreeMem 26496
1747249 : WD : Uptime 29 ConnectFailures 0 FreeMem 26496
1777250 : WD : Uptime 29 ConnectFailures 0 FreeMem 26496
1807251 : WD : Uptime 30 ConnectFailures 0 FreeMem 26104
1811694 : SW : GPIO 15 Set PWM to 1024
1811905 : SW : GPIO 13 Set PWM to 1024
1812123 : SW : GPIO 12 Set PWM to 1024

this happens with every color i pick. if i lower the light intensity is puts out this:

812123 : SW : GPIO 12 Set PWM to 1024
1837252 : WD : Uptime 30 ConnectFailures 0 FreeMem 26104
1867253 : WD : Uptime 31 ConnectFailures 0 FreeMem 26104
1888537 : SW : GPIO 15 Set PWM to 4556
1888777 : SW : GPIO 13 Set PWM to 4556
1888986 : SW : GPIO 12 Set PWM to 4556
1889459 : SW : GPIO 15 Set PWM to 164
1889669 : SW : GPIO 13 Set PWM to 164
1889874 : SW : GPIO 12 Set PWM to 164

what am i doing wrong? cant figure it out

gr Dennis

mehndi2018
Posts: 1
Joined: Sunday 10 December 2017 7:52
Target OS: Windows
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by mehndi2018 » Sunday 10 December 2017 7:56

Hi ,

In fact I used the Espeasy plugin 105, and the lua script for white dimmer. Much better than espurna. Also, espurna didn't gave me all the lighting brighness which is strange...

Thanks everyone for the forum content that helped me to get it working !
.
http://mehndidesignideas.net >> Mehndi Designs 2018

StasDemydiuk
Posts: 43
Joined: Saturday 14 January 2017 22:37
Target OS: Linux
Domoticz version: Beta
Location: Ukraine
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by StasDemydiuk » Friday 25 May 2018 16:25

Hi

I've created python plugin for domoticz which allows to control H801 with Tasmota firmware via MQTT
https://github.com/stas-demydiuk/domoti ... ota-plugin

Feedback is appreciated

serfer
Posts: 2
Joined: Wednesday 26 September 2018 13:41
Target OS: Windows
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by serfer » Friday 28 September 2018 22:03

Please help.
What am I doing wrong? I can not compile. Adruino ide 1.8.5 or 1.6.12
EspEasy Mega or 2.0
pugin p105
Can I ask you to insert a bin file with the p105 or H801WifiRGBController.ino
Image
Image

serfer
Posts: 2
Joined: Wednesday 26 September 2018 13:41
Target OS: Windows
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by serfer » Sunday 30 September 2018 21:51

I was able to upload but I do not show up ap wifi after the serial port also does not detect anything. Pure EspEasy works but without a plugin I will not do anything. Any ideas ?
I was able to upload this too: https://gist.github.com/erykio/957f90a4 ... roller-ino
however, it does not connect to my wifi network after entering ssid and passowrd. Some squares in the serial port :)

User avatar
Derik
Posts: 2183
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by Derik » Sunday 14 October 2018 12:06

Dear All.

Is there perhas a simple how to?
I do have a H801... And i will try to use this into Domoticz.. With a rgbw or neopixel
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

cookerrr
Posts: 7
Joined: Sunday 13 November 2016 15:26
Target OS: -
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by cookerrr » Wednesday 07 November 2018 3:38

so I've been messing the hte h801 for a couple of days. With espurna installed on the device, it works well. I like that it provides smooth transitions for the lighting when you make changes. Only bad thing is no domoticz plugin. So I tried tasmota with the plugin someone wrote in this thread. This also works, not quite as snappy with changes as it uses mqtt, but it does work pretty well. also a plus that it works directly with domoticz, though i lose smooth transitions. Does espeasy provide smooth transitions with that milight plugin? I can't get it to compile cause i keep getting errors. If it doesn't do smooth transitions I'll just stick with one of the other options. let me know, thanks!

cherowley
Posts: 86
Joined: Tuesday 24 February 2015 16:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by cherowley » Wednesday 07 November 2018 16:27

cookerrr wrote:
Wednesday 07 November 2018 3:38
so I've been messing the hte h801 for a couple of days. With espurna installed on the device, it works well. I like that it provides smooth transitions for the lighting when you make changes. Only bad thing is no domoticz plugin. So I tried tasmota with the plugin someone wrote in this thread. This also works, not quite as snappy with changes as it uses mqtt, but it does work pretty well. also a plus that it works directly with domoticz, though i lose smooth transitions. Does espeasy provide smooth transitions with that milight plugin? I can't get it to compile cause i keep getting errors. If it doesn't do smooth transitions I'll just stick with one of the other options. let me know, thanks!
If you mean plugin 105 then it only fades when turning on or off ....

cookerrr
Posts: 7
Joined: Sunday 13 November 2016 15:26
Target OS: -
Domoticz version:
Contact:

Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic

Post by cookerrr » Thursday 08 November 2018 10:55

Yes i was referring to p105. I ended up sticking with espurna on the h801. I ended up making it work with a virtual rgb color picker in domoticz and a little lua. I grab the rgb values through json and make an http call to change the color and brightness values. It actually works pretty well.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests