Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for miobulb001 #1973

Merged
merged 6 commits into from
Nov 8, 2019
Merged

Adding support for miobulb001 #1973

merged 6 commits into from
Nov 8, 2019

Conversation

ealfaroc
Copy link
Contributor

@ealfaroc ealfaroc commented Nov 4, 2019

Copy link
Collaborator

@mcspr mcspr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

BTW, this hardware is already defined as GENERIC_GU10 (#1549)

// -----------------------------------------------------------------------------
// Generic GU10
// https://www.ebay.com/itm/1-10PC-GU10-RGB-Smart-Bulb-Wireless-WiFi-App-Remote-Ctrl-Light-for-Alexa-Google/173724116351
// -----------------------------------------------------------------------------
#elif defined(GENERIC_GU10)
// Info
#define MANUFACTURER "GENERIC"
#define DEVICE "GU10"
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
#define DUMMY_RELAY_COUNT 1
// Light
#define LIGHT_CHANNELS 4
#define LIGHT_CH1_PIN 14 // RED
#define LIGHT_CH2_PIN 12 // GREEN
#define LIGHT_CH3_PIN 13 // BLUE
#define LIGHT_CH4_PIN 4 // WHITE
#define LIGHT_CH1_INVERSE 0
#define LIGHT_CH2_INVERSE 0
#define LIGHT_CH3_INVERSE 0
#define LIGHT_CH4_INVERSE 0

(I need to take some time to auto-detect these duplicates in the future...)

code/espurna/config/hardware.h Outdated Show resolved Hide resolved
@mcspr mcspr merged commit cec6c6a into xoseperez:dev Nov 8, 2019
@mcspr
Copy link
Collaborator

mcspr commented Nov 8, 2019

I just fixed typos from 80632d1 myself, sorry not mentioning this earlier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants