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

RF bridge raw commands from Telnet #1722

Closed
vvrhf opened this issue May 18, 2019 · 4 comments
Closed

RF bridge raw commands from Telnet #1722

vvrhf opened this issue May 18, 2019 · 4 comments
Labels
Milestone

Comments

@vvrhf
Copy link

vvrhf commented May 18, 2019

Good day

  1. Could You pls explain, is there a way to send raw RF commands from Telnet (without MQTT).
    If Yes, could You give an example of syntax of that commands
  2. I read the RF_RAW option was removed in March, should I enable any other option to use RAW commands ?

Thanks

@vvrhf vvrhf added the question label May 18, 2019
@mcspr
Copy link
Collaborator

mcspr commented May 18, 2019

Hey,

No such command yet. But something can be added, since we are already have hex data parser for MQTT raw data
(and probably increasing terminal buffer for RFBRIDGE builds, so we can fit large commands)

RF_RAW option was removed by the #1693 (but only 10 days ago), because it is no longer optional and is always included.

@mcspr mcspr added enhancement New feature or request rf bridge terminal and removed question labels May 18, 2019
@vvrhf
Copy link
Author

vvrhf commented May 19, 2019

Thank You for the answer.
Is there and could You advise any existing direct (without MQTT) way to send RF codes over a network ?

thanks

@mcspr
Copy link
Collaborator

mcspr commented May 19, 2019

You can use HTTP API (https://github.com/xoseperez/espurna/wiki/RESTAPI)

$ curl -XPUT "http://192.168.1.150/api/rfraw" -d "apikey=<...>&value=AAC003E855"
# if you disable restful api setting, this can be GET instead of PUT
$ curl "http://192.168.1.150/api/rfraw?apikey=<...>&value=AAC003E855"

@mcspr
Copy link
Collaborator

mcspr commented May 20, 2020

01f5aff adds rfb.write terminal command for this exact use-case

@mcspr mcspr closed this as completed May 20, 2020
@mcspr mcspr added this to the 1.14.2 milestone May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants