I've made some updates to python-iboot to integrate with our local system#3
Open
Wildcarde wants to merge 6 commits intolwfitzgerald:masterfrom
Open
I've made some updates to python-iboot to integrate with our local system#3Wildcarde wants to merge 6 commits intolwfitzgerald:masterfrom
Wildcarde wants to merge 6 commits intolwfitzgerald:masterfrom
Conversation
…ave begun altering returns for interface to be more end user friendly, get_relays now returns a dictionary of the statuses of all requested relays.
…f. Currently believe the sequence number tracking is the root of the problem.
…otification reductions and functionality expansion (quiet mode for integrating into tesla) need to be rounded out and tested
…aces have been cleaned up a bit, quiet and debug modes now work
…an older package using the gen 1 iboot interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I found your code while looking for a replacement for the perl script available for iboot v.1 devices and modified it to work similarly to that tool for command line usage. This update includes a command-line app (ibootpy) and a number of tweaks to the interfaces of the device object itself to make it a bit easier to work with, as well as a number of logger updates. It's a first pass but it may be useful. I've also added a basic README, but it doesn't currently include any documentation of the library itself. Adding that should be relatively easy thou.
A good amount of error checking could be added to this program as right now it's in 'get it working' state, for example the system generates an exception if there's a timeout on the interface connection which is not ideal from an automation standpoint but it is overall a functional package.
Disclaimer: I only have an iBoot G2 to test against, this should be tested against a larger iBoot before the merge is accepted, unfortunately I don't have any equipment like that available currently.