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

Artesyn peripheral #266

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Artesyn peripheral #266

wants to merge 6 commits into from

Conversation

rbaynes
Copy link
Contributor

@rbaynes rbaynes commented Oct 4, 2019

Hi @srmoore and @jakerye,

  • This PR is for the start of a peripheral to communicate with artesyn devices.
  • The driver & manager classes are just copies of the led_dac peripheral, cleaned up and prepared to call the artesyn class I wrote, once it is tested.
  • The interesting part to review and test is the artesyn_udp_messaging.py class sends the messages specified in setups/artesyn_config.json
  • Please run the scripts/send_command.py interactive app to simulate sending UDP messages to a test UDP server which just responds with an "successful" UPD message.

The next step in this project, once you have at least one working iHP Artesyn module is to:

  • Configure the artesyn module with its built in web interface to have a static IP of 192.168.1.101 and connect it to the switch in the reliable panel. If you use a different IP, update setups/artesyn_config.json.
  • Modify scripts/send_command.py to use the module's IP (192.168.1.101) and port (8888) and see if it answers a ping and the class I wrote decodes the response.

TBD:

  • Modify the driver.py to use the (now fully tested and working) artesyn_udp_messaging.py class.
  • Figure out what configuration of module IP and slot number are associated with which LED spectrum.
  • In driver.py map the spectrum to IP/slot.

@rbaynes rbaynes requested review from srmoore and jakerye October 4, 2019 13:45
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.

1 participant