-
Notifications
You must be signed in to change notification settings - Fork 639
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
Magic Home LED Controler Board v2.3 WAS CORRECT! #1707
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
:( |
Looking at 53469c1#diff-64ccb24d1cc0509f64794258b04da3ecL917 espurna/code/espurna/config/hardware.h Lines 1635 to 1654 in e445cf8
which you i think you can use if don't care about the ir and led present :) Given that there are a lot of hardware for these devices, dynamic configuration led / buttons / relays / channel pins etc. makes more sense as a solution, see tree/v2 / #1680. Most of the backlog was cleared out, so that is something to finally merge into the tree instead of leaving it as a half-done pull request. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for two months. Feel free to open a new one if you still experience this problem. |
@lazylazyllama Hey. have you managed to fix the issue? I have similar problem - some version before 1.13 was working just fine (all channels were right), but after update they are shifted on +1 (channel #0 should be Red, but it's empty, or white - not sure, don't have white, channel #1 should be green, but it is Red, channel #2 should be Blue, but it's Green. and Blue is on channel #3, which must be used as white, or 'alpha' I don't know). tried to build without white (3 channels), turn off 'use white' , not helped. I can't use my remote, because it is using first three channels (0-2 index) for colors. Maybe I'm missing something. |
Sorry, but I don't use espurna anymore. |
Repeating my previous comment, the different light+ir binaries simply replace the default settings for channel<->pins, which can be changed at runtime as well to fix slightly different boards: If you have any ideas for the correct name and actually have the board in question (I don't) so we don't guess the configuration based on the old comments, please submit a PR |
@mcspr yes, I have this board. but not sure if I build it right when changing pins in config. |
Can you share the config you are using? |
@mcspr I build it with this command: env ESPURNA_IP= ESPURNA_AUTH= platformio run -e magichome-led-controller -t upload pin config defined in hardware.h:
Then I tried this:
and as well I tried to change pin numbers in these configs, and still no luck. |
Have you tried these pins instead? #define LIGHT_CHANNELS 4
#define LIGHT_CH1_PIN 12 // RED
#define LIGHT_CH2_PIN 5 // GREEN
#define LIGHT_CH3_PIN 13 // BLUE
#define LIGHT_CH4_PIN 15 // WHITE |
@mcspr Will try tomorrow and provide feedback. Can you, please, confirm that I use build command correctly? or I should add some params to apply these changes? |
No issue there, magichome-led-controller env uses Note that I just used the |
@mcspr tried your config, but it won't work. tried to swap red and green to check if my config changes are applied at all - and nothing changed. so the issue is that my changes are ignored. is there a chance that these changes are reverted before build (some kind of git feature)? |
Have you tried doing If |
@mcspr sending commands manually helped. So seems that these changes are ignored on build phase (stashed, then revert, build, and get back from stash or smth like that) UPD: and correct config for this board is:
|
After issue #512 the magic home v2.3 image was removed...
But in my case this image had the correct configuration.
I have a magic home device and the 2.0 image is not working very well.
Red and green are switchted....
But now I flashed the very old 2.3 image and everything works perfectly...
So I would really like if you could re-add this image.. so that I can flash the current espurna version with the configuration I need.
The text was updated successfully, but these errors were encountered: