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.
Sterownik RGB H801
-
mozimek
- Posts: 26
- Joined: Fri Feb 26, 2016 3:48 pm
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
powinny pomóc. Jeśli udałoby się przygotować wsad dla tego sprzętu to byłoby super
-
mozimek
- Posts: 26
- Joined: Fri Feb 26, 2016 3:48 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
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
-
mozimek
- Posts: 26
- Joined: Fri Feb 26, 2016 3:48 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
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
-
pzygmunt
- Posts: 20302
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
- Been thanked: 59 times
https://github.com/SUPLA/supla-core/blo ... upla_esp.h
Za:
#elif defined(__BOARD_rgbw) || defined(__BOARD_rgbw_wroom)
Za:
#elif defined(__BOARD_rgbw) || defined(__BOARD_rgbw_wroom)
SUPLA.... Nareszcie w domu.
-
mozimek
- Posts: 26
- Joined: Fri Feb 26, 2016 3:48 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@suplaiotsdk:~/Devel/suplacore/ESP8266_IOT$ ./build.sh rgbw
make C user clean; make C driver clean; make C supladev clean;
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/user'
rm f r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/suplacore/ESP8266_IOT/user'
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/driver'
rm f r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/suplacore/ESP8266_IOT/driver'
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/supladev'
rm f r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/suplacore/ESP8266_IOT/supladev'
rm f r .output/eagle/debug
./build.sh: 147: [: Illegal number:
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/user'
DEPEND: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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/suplacore/ESP8266_IOT/user'
/home/supla/Devel/Espressif/ESP8266_IOT_SDK/Makefile:307: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2
supla@suplaiotsdk:~/Devel/suplacore/ESP8266_IOT$
supla@suplaiotsdk:~/Devel/suplacore/ESP8266_IOT$ ./build.sh rgbw
make C user clean; make C driver clean; make C supladev clean;
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/user'
rm f r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/suplacore/ESP8266_IOT/user'
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/driver'
rm f r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/suplacore/ESP8266_IOT/driver'
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/supladev'
rm f r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/suplacore/ESP8266_IOT/supladev'
rm f r .output/eagle/debug
./build.sh: 147: [: Illegal number:
make[1]: Entering directory '/home/supla/Devel/suplacore/ESP8266_IOT/user'
DEPEND: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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: xtensalx106elfgcc M Os g Wpointerarith Wundef Werror Wl,EL fnoinline-
functions nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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
xtensalx106elfgcc Os g Wpointerarith Wundef Werror Wl,EL fnoinlinefunctions
nostdlib mlongcalls mtextsectionliterals ffunctionsections fdatasections
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/suplacore/ESP8266_IOT/user'
/home/supla/Devel/Espressif/ESP8266_IOT_SDK/Makefile:307: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2
supla@suplaiotsdk:~/Devel/suplacore/ESP8266_IOT$
-
0xFF
- Posts: 308
- Joined: Sat Feb 20, 2016 8:54 pm
Pobierasz tylko ESP8266-IOT czy całe repozytorium?
-
mozimek
- Posts: 26
- Joined: Fri Feb 26, 2016 3:48 pm
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.
W weekend przetestuję współpracę modułu z supla i napiszę co i jak.
