Sterownik RGB H801

maghost
Posts: 99
Joined: Sun Mar 27, 2016 12:30 am

Thu Jun 23, 2016 6:27 pm

Witam

Czy przewidziane byłoby wsparcie SUPLA dla tej płytki sterownika RGB H801?

http://www.ebay.com/itm/RGBWW-LED-Strip ... SwMNxXXhgZ

Nigdzie nie mogłem znaleźć schematu, ale z tego co widzę nie powinno być problemu, skoro pojawiło już się wsparcie dla RGBW do ESP8266.
User avatar
pzygmunt
Posts: 7025
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Fri Jun 24, 2016 5:55 am

Ściągnę i sprawdzę.
mozimek
Posts: 16
Joined: Fri Feb 26, 2016 3:48 pm

Fri Jun 24, 2016 8:17 am

Informacje na tej stronie https://eryk.io/2015/10/esp8266-based-w ... ller-h801/
powinny pomóc. Jeśli udałoby się przygotować wsad dla tego sprzętu to byłoby super :-)
mozimek
Posts: 16
Joined: Fri Feb 26, 2016 3:48 pm

Wed Jul 13, 2016 2:42 pm

Witam,
Jakieś postępy w temacie H801? Zamówiłem 1szt. do testów, jeśli jakość będzie w miarę OK i uda się przeprogramować tem moduł z SUPLA to będzie super.
Marek
User avatar
pzygmunt
Posts: 7025
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Thu Jul 14, 2016 9:02 am

Zamówiłem te moduły, ale jeszcze nie dotarły.
mozimek
Posts: 16
Joined: Fri Feb 26, 2016 3:48 pm

Sat Jul 16, 2016 12:55 pm

Witam,
Mój moduł właśnie dojechał. Uruchomiłem też VB z maszyna do kompilacji ale nie za bardzo wiem w których plikach zmienić wyjścia użyte do sterowania taśmą. Jakaś sugestia które pliki zmienić?
Marek
User avatar
pzygmunt
Posts: 7025
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Sat Jul 16, 2016 2:14 pm

https://github.com/SUPLA/supla-core/blo ... upla_esp.h
Za:

#elif defined(__BOARD_rgbw) || defined(__BOARD_rgbw_wroom)
mozimek
Posts: 16
Joined: Fri Feb 26, 2016 3:48 pm

Thu Jul 21, 2016 2:53 pm

Pobrałem z Githuba ESP8266-IOT na maszynę wirtualną. Ale próba kompilacji kończy się błędami. Poniżej wszystkie komunikaty jakie dostaję po uruchomieniu kompilacji. Jakiś pomysł co robię źle?

supla@supla­iotsdk:~/Devel/supla­core/ESP8266_IOT$ ./build.sh rgbw
make ­C user clean; make ­C driver clean; make ­C supla­dev clean;
make[1]: Entering directory '/home/supla/Devel/supla­core/ESP8266_IOT/user'
rm ­f ­r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/supla­core/ESP8266_IOT/user'
make[1]: Entering directory '/home/supla/Devel/supla­core/ESP8266_IOT/driver'
rm ­f ­r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/supla­core/ESP8266_IOT/driver'
make[1]: Entering directory '/home/supla/Devel/supla­core/ESP8266_IOT/supla­dev'
rm ­f ­r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/supla­core/ESP8266_IOT/supla­dev'
rm ­f ­r .output/eagle/debug
./build.sh: 147: [: Illegal number:
make[1]: Entering directory '/home/supla/Devel/supla­core/ESP8266_IOT/user'
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_esp_cfgmode.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_esp_cfg.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle user_main.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_ds18b20.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_esp_pwm.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_esp_devconn.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline­
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_esp_gpio.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_w1.c
DEPEND: xtensa­lx106­elf­gcc ­M ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline-
functions ­nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle supla_dht.c
xtensa­lx106­elf­gcc ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline­functions ­
nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle ­o .output/eagle/debug/obj/supla_dht.o ­c supla_dht.c
xtensa­lx106­elf­gcc ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline­functions ­
nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle ­o .output/eagle/debug/obj/supla_w1.o ­c supla_w1.c
xtensa­lx106­elf­gcc ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline­functions ­
nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle ­o .output/eagle/debug/obj/supla_esp_gpio.o ­c supla_esp_gpio.c
xtensa­lx106­elf­gcc ­Os ­g ­Wpointer­arith ­Wundef ­Werror ­Wl,­EL ­fno­inline­functions ­
nostdlib ­mlongcalls ­mtext­section­literals ­ffunction­sections ­fdata­sections ­
DICACHE_FLASH ­DESP8266 ­D__SINGLE_THREAD ­D__EH_DISABLED ­
D__BOARD_rgbw ­DCFG_SECTOR=0x3C ­DNOSSL=1 ­I include ­I ./ ­I ../include ­I ../include
­I ../include/eagle ­o .output/eagle/debug/obj/supla_esp_devconn.o ­c supla_esp_devconn.c
supla_esp_devconn.c: In function 'supla_esp_devconn_iterate':
supla_esp_devconn.c:797:27: error: 'SUPLA_CHANNELTYPE_DIMMERANDRGBLED'
undeclared (first use in this function)
srd.channels[0].Type = SUPLA_CHANNELTYPE_DIMMERANDRGBLED;
supla_esp_devconn.c:797:27: note: each undeclared identifier is reported only once for each
function it appears in
/home/supla/Devel/Espressif/ESP8266_IOT_SDK/Makefile:321: recipe for target
'.output/eagle/debug/obj/supla_esp_devconn.o' failed
make[1]: *** [.output/eagle/debug/obj/supla_esp_devconn.o] Error 1
make[1]: Leaving directory '/home/supla/Devel/supla­core/ESP8266_IOT/user'
/home/supla/Devel/Espressif/ESP8266_IOT_SDK/Makefile:307: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2
supla@supla­iotsdk:~/Devel/supla­core/ESP8266_IOT$
0xFF
Posts: 308
Joined: Sat Feb 20, 2016 8:54 pm

Thu Jul 21, 2016 3:30 pm

Pobierasz tylko ESP8266-IOT czy całe repozytorium?
mozimek
Posts: 16
Joined: Fri Feb 26, 2016 3:48 pm

Fri Jul 22, 2016 7:43 am

Pobrałem tylko ESP8266-IOT. Po ściągnięciu całości supla-core kompilacja idzie bez problemu, dzieki :-)
W weekend przetestuję współpracę modułu z supla i napiszę co i jak.
Post Reply