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

Add USERMOD RC Switch - for controlling RC transmitter #3984

Closed
wants to merge 4 commits into from

Conversation

JuMalIO
Copy link

@JuMalIO JuMalIO commented May 16, 2024

No description provided.

Copy link
Collaborator

@blazoncek blazoncek left a comment

Choose a reason for hiding this comment

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

It would be nice if you'd provide dynamic configuration to allow run-time selection of GPIO.

usermods/rc_switch_v2/rc_switch_v2.h Outdated Show resolved Hide resolved
usermods/rc_switch_v2/rc_switch_v2.h Show resolved Hide resolved
@JuMalIO
Copy link
Author

JuMalIO commented May 16, 2024

Tested with json

POST /json/state
{"RcSwitch":{"payload":"1010001111101110010110000101110100001111000000000100001111110101"}}

And MQTT

wled/MAC/rcswitch
1010001111101110010110000101110100001111000000000100001111110101

And its working! Would be good to have this in master... 0_15 does not seem to build so I need to copy code each time...

@dosipod
Copy link

dosipod commented May 17, 2024

@JuMalIO what an excellent idea , do you have any specific RC transmitter link so we could buy the same ?

433MHz ? I though RC uses 2.4GH , if that is RF433MHz then we have that even with a remote salvged from analog
controllers , even blz wanted to buy one

@JuMalIO
Copy link
Author

JuMalIO commented May 17, 2024

@JuMalIO what an excellent idea , do you have any specific RC transmitter link so we could buy the same ?

433MHz ? I though RC uses 2.4GH , if that is RF433MHz then we have that even with a remote salvged from analog controllers , even blz wanted to buy one

I just bought cheap FS1000A 433MHz transmitter module from Ali and it is working with my motorized roller blinds.

@JuMalIO
Copy link
Author

JuMalIO commented May 17, 2024

It would be nice if you'd provide dynamic configuration to allow run-time selection of GPIO.

Why would you need to change a PIN? You still need to compile usermod any way if you want this mod?

@JuMalIO JuMalIO requested a review from blazoncek May 17, 2024 17:53
@blazoncek
Copy link
Collaborator

Why would you need to change a PIN? You still need to compile usermod any way if you want this mod?

Because there are some people (and bots) that provide pre-compiled binaries. They will not do it for every GPIO possible for a single usermod.

And it will not get my approval until it gets this option.

@JuMalIO JuMalIO closed this May 18, 2024
@JuMalIO JuMalIO deleted the 0_15 branch May 18, 2024 18:12
@dosipod
Copy link

dosipod commented May 18, 2024

@JuMalIO Not sure you have closed this to open a new one or you no longer interested in that .If you are still interested then we are able to use an this RF433 usermod https://github.com/athom-tech/Sound-Reactive-WLED/blob/master/usermods/RF433/RF433_V2.h And it is working as expected with on/off functionality
image

Unfortunately i tried your usermod mainly due to mqtt but it was not working for me , if you closed this for that reason then we might give it a shot to adept mqtt ( we may or may not submit a PR as that is a different matter then actually having a usermod working and available to the community ) .

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

3 participants