-
Notifications
You must be signed in to change notification settings - Fork 803
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
CC1101 -> Support for ELECHOUSE_cc1101.setPA(); #1380
Comments
Hi @Dattel, while I understand your request, and someone else will answer about this possibility, I had exactly the same situation here with my neighbour. Depending on which power-sockets the neighbour and you are using it might also be possible to change their receiving values - in our case with dip switches - to avoid having the conflicting commands. If they are however self-learning and/or multi-receiving value versions this will not work. |
Hi @DigiH My remote sends rolling codes -> each key sends 4 different codes alternately. But the strange thing is that my D-Off-Key switches all of my neighbours sockets to off... regardless, if they are programmed to channel A,B,C or D... I already tried another D-Off code (from my list of four), but it doesn't help. So i already implemented my idea from above in an quick and dirty way. |
publishing
|
Update: seems to work... But nevertheless, maybe it's a good idea to support the Power-Adjustment through OpenMqttGateway. |
Yes, the remote will have the same issue :( for that very reason I only ever got RF sockets without self learning from the beginning, but with manual dip-switch settings on the sockets as well as the remote. Pollin used to have a great 3 socket/1 remote set for only €10, but unfortunately they stopped selling it - hopefully only temporarily. The model name is When I got a new treadmill, its RF remote also messed with one of my sockets, but that was easily remedied by switching the socket to a new code - something not possible with auto-learn versions, so be aware of any new RF remotes/signals you, or your neighbour, might want to introduce to your homes.
I would assume that most people would usually want a signal as strong as possible, but having the choice would be a bonus. |
Here is my sample implementation: development...Dattel:OpenMQTTGateway:development Currently I ignored the "# if simpleReceiving" MQTTtoRF-function because there seems to be a general bug since i always got an exception and a reboot on my ESP32 if i try to send through a simple topic (even without any changes on that function from me) |
* #1380 CC1101 TXPower selection * Creates the possability the define SDA/SCL Pins correct through a compiler switch from the platformio.ini Sample: '-DBME280_PIN_SDA=0' '-DBME280_PIN_SCL=2'
Thanks for supporting :-D |
Is your feature request related to a problem? Please describe.
I'm wondering, if you can implement the ability to define the TX-Power for sending RF433 with the ELECHOUSE and the CC1101 with OpenMQTTGateway.
Currently i have the problem, that some of my RF-Signals are too powerful and disturbing my neighbours power-sockets.. I'm switching them too with my commands :-D
The ELECHouse-Gateway already seems to support changing the TX-Power using the setPA(); function
Describe the solution you'd like
I think of a compiler switch to define the default TX power (if not set, always use the maximum)
'-DZradioCC1101Power=12'
The second change would be a new optional parameter in the payload sended to the MQTTTo433 topic to change the power on a single 433 transmission
{"value": 9084946, "protocol": 4, "length": 24, "delay": 350, "repeat":5, "CC1101_PA":10 }
That would be the maximum flexible solution.
I'm interessted in your thoughts..
Thanks
The text was updated successfully, but these errors were encountered: