[ESP8266] Commercial H801 WiFi RGB-dimmer topic
Moderator: leecollings
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
@ Thinkpad...
Why the change to zipato...?
Someone have this controller working in Domoticz?
Or other options that control a rgbw led? [ not with 433Mhz or Zwave ]
Why the change to zipato...?
Someone have this controller working in Domoticz?
Or other options that control a rgbw led? [ not with 433Mhz or Zwave ]
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
-
- Posts: 65
- Joined: Tuesday 24 February 2015 15:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Derik wrote:@ Thinkpad...
Why the change to zipato...?
Someone have this controller working in Domoticz?
Or other options that control a rgbw led? [ not with 433Mhz or Zwave ]
Hi,
I've flashed it with espeasy compiled with extra plugin I wrote to emulate basic milight. Have a look on espeasy git hub in the playground section..
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Iam not so smart....
Only how can i control a rgbw srtip in domtoicz..
Do you have pictures?
And a how to use the plugins..
Only how can i control a rgbw srtip in domtoicz..
Do you have pictures?
And a how to use the plugins..
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
-
- Posts: 65
- Joined: Tuesday 24 February 2015 15:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Just checking, are you familiar with opening up the unit and soldering headers onto the circuit board?Derik wrote:Iam not so smart....
Only how can i control a rgbw srtip in domtoicz..
Do you have pictures?
And a how to use the plugins..
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
I think that is not the problem..Just checking, are you familiar with opening up the unit and soldering headers onto the circuit board?
Build my own house, solarmeter, solarpanels,mysensors, etc...
So with a little help.. I think i can make this..

Only the price incl shipping

For this i can almost buy a Zwave... RGBW controller,
No other sellers?
Edt:
I i see the code is basicly for milight:...
Can i switch wit this code a milight controller?
And the a ledstrip like:

Or:
https://www.ledstripxl.nl/milight-rgb-l ... e-set.html
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
-
- Posts: 65
- Joined: Tuesday 24 February 2015 15:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Ah that would be no problem to you thenDerik wrote:I think that is not the problem..Just checking, are you familiar with opening up the unit and soldering headers onto the circuit board?
Build my own house, solarmeter, solarpanels,mysensors, etc...
So with a little help.. I think i can make this..
Only the price incl shipping
For this i can almost buy a Zwave... RGBW controller,
No other sellers?

Once you're soldered the headers on and got the flashing software and all connected up to a usb-serial device you can upload the flash image.
Google for flashing the H801 rgbww controller.
You'll first need to compile the image..
http://www.esp8266.nu/index.php/Tutoria ... are_Upload
BUT you'll need to drop the additional plugin from github espeasy playground before compiling.
Once you've got it compiled you can then flash it

I got my H801's from aliexpress for under £8 delivered -the Z-Wave Fibaro RGBW Controller seems to be well over £40 in the uk ?
Plus with an IR led, resistor and my other plugin in the espeasy playground you can use the second white channel on the H801 to send IR commands if you want..
You can use one of the mobile apps to control the led strip as my software emulates a milight bridge. So wifi, not 2.4ghz remote..
Please note, the software is quite basic as only wrote it because the virtual domoticz rgbw devices don't work..
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Hi,
I've just received my H801 and started to try flashing it with espeasy (I already have 2x esp12 and 1x esp01) and already run into a problem.
Rx and Tx plugged to my usb to ttl, power on the 12v main.
Using the console from the Arduino IDE with a baud rate of 115200, at boot I've got a line of rubbish and :
But when I put a jumper on J3, I only get rubbish, the leds stays off and I cannot flash it or do anything through the COM port.
Any idea ?
I've just received my H801 and started to try flashing it with espeasy (I already have 2x esp12 and 1x esp01) and already run into a problem.
Rx and Tx plugged to my usb to ttl, power on the 12v main.
Using the console from the Arduino IDE with a baud rate of 115200, at boot I've got a line of rubbish and :
Code: Select all
HUACANXING WIFI Control LED System H801WiFi V1.2
Any idea ?
I'm very interested with the IR send plugin, I did think only IR receiving plugin was in espeasy, do you have more information ? Found nothing in the espeasy wiki.cherowley wrote: Plus with an IR led, resistor and my other plugin in the espeasy playground you can use the second white channel on the H801 to send IR commands if you want..
You can use one of the mobile apps to control the led strip as my software emulates a milight bridge. So wifi, not 2.4ghz remote..
Please note, the software is quite basic as only wrote it because the virtual domoticz rgbw devices don't work..
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
+1, any new ideas about the IR controller?Zycker wrote:I'm very interested with the IR send plugin, I did think only IR receiving plugin was in espeasy, do you have more information ? Found nothing in the espeasy wiki.cherowley wrote: Plus with an IR led, resistor and my other plugin in the espeasy playground you can use the second white channel on the H801 to send IR commands if you want..
You can use one of the mobile apps to control the led strip as my software emulates a milight bridge. So wifi, not 2.4ghz remote..
Please note, the software is quite basic as only wrote it because the virtual domoticz rgbw devices don't work..
-
- Posts: 65
- Joined: Tuesday 24 February 2015 15:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Morning!MuF123 wrote:+1, any new ideas about the IR controller?Zycker wrote:I'm very interested with the IR send plugin, I did think only IR receiving plugin was in espeasy, do you have more information ? Found nothing in the espeasy wiki.cherowley wrote: Plus with an IR led, resistor and my other plugin in the espeasy playground you can use the second white channel on the H801 to send IR commands if you want..
You can use one of the mobile apps to control the led strip as my software emulates a milight bridge. So wifi, not 2.4ghz remote..
Please note, the software is quite basic as only wrote it because the virtual domoticz rgbw devices don't work..
To be honest, It just works for my needs (samsung tv) so I've not enhanced it for raw codes etc sorry...
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Nobody has this problem ?Zycker wrote:Hi,
I've just received my H801 and started to try flashing it with espeasy (I already have 2x esp12 and 1x esp01) and already run into a problem.
Rx and Tx plugged to my usb to ttl, power on the 12v main.
Using the console from the Arduino IDE with a baud rate of 115200, at boot I've got a line of rubbish and :But when I put a jumper on J3, I only get rubbish, the leds stays off and I cannot flash it or do anything through the COM port.Code: Select all
HUACANXING WIFI Control LED System H801WiFi V1.2
Any idea ?
I've just tried again, powered it up with J3 close,
my Arduino config :
COM port ok with 115200 bauds speed (receive HUACANXING WIFI Control LED System H801WiFi V1.2 on normal boot)
Board: Generix ESP8266 Module
Flash mode: DIO
Flash freq: 40MHz
CPU Freq 80 MHz
Flash size 512K (64K SPIFFS)
and when I upload :
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
I don't understand, I've already flashed ESP01 and two ESP12 that I'm using.
-
- Posts: 1
- Joined: Wednesday 18 May 2016 5:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
I want to know if your controller can supoort SK6812 led Strip or not . thanks
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Sk6812 look to be adressable led (each led have to be consider as a bulb)
H801 need "classic" led strip all led on strip is consider as the same bulb.
H801 need "classic" led strip all led on strip is consider as the same bulb.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
I also had issue with communicating with the H801 chip using Arduino IDE 1.6.9 on Windows. I also tried it on Ubuntu and it worked without issues (chmod 777 /dev/ttyUSB0)
So now i have flashed it with the eryk.io ino https://eryk.io/2015/10/esp8266-based-w ... ller-h801/ and it is working fine. I can send RGB values to it and the strip responds.
But how do i control this using Domoticz? I added a virtual device (RGB Switch) and setup the on and off command to
On Action = http://192.168.116.60/rgb/ff0000
Off Action = http://192.168.116.60/rgb/000000
But it is not sending the color picker values to the strip. Which script am i missing?
So now i have flashed it with the eryk.io ino https://eryk.io/2015/10/esp8266-based-w ... ller-h801/ and it is working fine. I can send RGB values to it and the strip responds.
But how do i control this using Domoticz? I added a virtual device (RGB Switch) and setup the on and off command to
On Action = http://192.168.116.60/rgb/ff0000
Off Action = http://192.168.116.60/rgb/000000
But it is not sending the color picker values to the strip. Which script am i missing?
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Please have a look here : https://www.domoticz.com/wiki/Domoticz_ ... fic_device
Does your dummy show a color value ?
I dont think so, for now use only on/off.
For on set color
For off set to black
Does your dummy show a color value ?
I dont think so, for now use only on/off.
For on set color
For off set to black
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 9
- Joined: Sunday 31 July 2016 21:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
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.
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.
-
- Posts: 133
- Joined: Wednesday 11 March 2015 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
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.
So is this the way how to use this 'Commercial H801 WiFi RGB-dimmer topic' with domoticz?
is there a more simple solution? isn't there hardware support for this device yet?
or a simple tutorial page on the wiki?
i've just ordered one of those to test

-
- Posts: 9
- Joined: Sunday 31 July 2016 21:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
No this is the only way for now. There isn't a wiki page neither that's why I wrote this here. It's too bad that it cant be done with the firmware that already comes with it. but if you follow the steps you should be able to do it. it works perfect the only thing I miss is the option to make white with RGB wich isn't really white but still.
- wolph
- Posts: 16
- Joined: Sunday 13 September 2015 16:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Just in case anyone's interested. I've written a little Python script to make controlling the H801 Wifi pretty easy. It shows you a rainbow currently but it's easy to modify the code and display something else
Code: Select all
import time
import socket
import colorsys
# Only change the 192.168.0 part, the 255 is the broadcast address which is
# what we want
IP = '192.168.0.255'
PORT = 30977
# Light IDs (hint, the last few characters of the wifi name: HCX_<id>). Don't
# forget to add the 0x before
IDS = 0x235817,
# Wait for 10ms between setting colours
DELAY = 10
# Rainbow steps
N = 0xAFF
def set_color(r=0, g=0, b=0, w0=0, w1=0):
message = [0xFB, 0xEB, r, g, b, w0, w1]
for id_ in IDS:
# The mac is in reverse order
message.append(id_ >> 0)
message.append(id_ >> 8)
message.append(id_ >> 16)
message.append(0x00)
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
# Convert to characters and cut the numbers to 0xFF
sock.sendto(''.join(chr(c & 0xFF) for c in message), (IP, PORT))
time.sleep(DELAY / 1000.)
r = g = b = 0
# I like rainbows
for i in range(N):
# Generate HSV colours
h, s, v = i * 1. / N, 1., 1.
# Convert HSV to RGB integers
r, g, b = [int(0xFF * c) for c in colorsys.hsv_to_rgb(h, s, v)]
# Set the colour
set_color(r, g, b)
# Turn the lights off again
set_color()
- ledfreak3d
- Posts: 98
- Joined: Sunday 01 November 2015 15:30
- Target OS: Linux
- Domoticz version: 3.8025
- Location: Hoorn
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
Hey Just install the milight firmware for the h801 and it works fine
there is also a Philips hue firmware but haven't got that working yet
there is also a Philips hue firmware but haven't got that working yet
Unleashe the magic smoke ;)
-
- Posts: 34
- Joined: Wednesday 26 October 2016 21:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: [ESP8266] Commercial H801 WiFi RGB-dimmer topic
ledfreak3d wrote:Hey Just install the milight firmware for the h801 and it works fine
there is also a Philips hue firmware but haven't got that working yet
you wouldn't happen to have the bin file for the easy esp with milight plugin fw would you? I have asked about this here as I am having huge trouble trying to compile it.
viewtopic.php?f=56&t=13891
Well what I am specifically asking for is if you have the bin file? or is there a way to create a bin file as I am very familiar with flashing the bin file to esp8266
Who is online
Users browsing this forum: No registered users and 0 guests