Skip to content

Conversation

@TB-1993
Copy link
Contributor

@TB-1993 TB-1993 commented Jul 3, 2025

Created RedRat remoteController. Created remoteController interface class. Updated example rack config to show redrat parameters. Created example redrat keymap.

Closes #169

@TB-1993 TB-1993 requested review from bhanucbp and zghp July 3, 2025 14:57
@TB-1993 TB-1993 self-assigned this Jul 3, 2025
@TB-1993 TB-1993 linked an issue Jul 3, 2025 that may be closed by this pull request
@TB-1993 TB-1993 marked this pull request as ready for review August 7, 2025 16:02
@TB-1993 TB-1993 force-pushed the feature/gh169_create_redrat_RC_interface branch from a306a4c to 67144bd Compare August 11, 2025 15:43
Created RedRat remoteController. Created remoteController interface
class. Updated example rack config to show redrat parameters. Created
example redrat keymap.
@TB-1993 TB-1993 force-pushed the feature/gh169_create_redrat_RC_interface branch from 67144bd to 76d31fe Compare August 12, 2025 13:17
Copy link
Contributor

@kanjoe24 kanjoe24 left a comment

Choose a reason for hiding this comment

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

Does this need any update in requirements.txt? Just double confirming .

from framework.core.remoteControllerModules.arduino import remoteArduino
from framework.core.remoteControllerModules.none import remoteNone
from framework.core.remoteControllerModules.keySimulator import remoteKeySimulator
from framework.core.remoteControllerModules import remoteArduino, \

Choose a reason for hiding this comment

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

Do we need to import every thing even though we don't use all of them at a time? Can we consider this based on the rack config file and see for the only devices those are present in that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, unfortunately we do. This is how we allow for all these different types in the rack configs. We don't actually instantiate any objects from these classes until we've read the config. So it's still pretty minimal memory usage.

if self._is_open:
self._socket.close()
self._is_open = False

Choose a reason for hiding this comment

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

Can we have some description and parametric information for these definitions as well?

Copy link

@srinivasgtl srinivasgtl left a comment

Choose a reason for hiding this comment

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

how is example_keymap and example_redrat_keymap.yml used? Are they both used?

self._netbox_ip = config.get('netbox_ip')
self._output = config.get('output', 1)

def sendKey(self, code, repeat, delay):

Choose a reason for hiding this comment

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

Same here, can we have some descriptions of this definition with parameter info.

@TB-1993
Copy link
Contributor Author

TB-1993 commented Aug 20, 2025

how is example_keymap and example_redrat_keymap.yml used? Are they both used?

Let me write up a doc for using the remote controller. It's silly that we don't have one, and it would explain this.

@TB-1993 TB-1993 force-pushed the feature/gh169_create_redrat_RC_interface branch from b426385 to 38f6fc4 Compare August 22, 2025 16:34
@TB-1993 TB-1993 force-pushed the feature/gh169_create_redrat_RC_interface branch from 38f6fc4 to bbccbfb Compare August 26, 2025 12:33
- Added a check to ensure the IR Netbox is available on the hub
  connected to (This also confirms it is a Hub that is connected to).
- Added docstrings to the methods in the Hub class to better explain
  them.
@TB-1993 TB-1993 closed this Sep 5, 2025
@TB-1993 TB-1993 deleted the feature/gh169_create_redrat_RC_interface branch September 5, 2025 13:25
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Implement remote controller module for RedRat IR blaster

5 participants