-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Save and reload telemetry values in companion telemetry simulator #1954
Conversation
Thank you. The changes you suggested have been made. |
What more do I need to do to get this merged. I have finished all of the edits that were recommended. |
@dwheeld can you please rebase and get rid of the „Merged branch … into …”? |
Thank you. I am not familiar with rebase, so will have to do some searching to learn what it means and how to use it. |
In case you’re not sure remember to create a backup branch with the current state. If you fail, just ping me and I’ll have a shot at it (will need permission on your repo ;-)). |
git informs me that my local files are behind the remote branch. So, I need to do a git pull, followed by a git rebase, followed by a git push. Does this look correct?
|
@dwheeld You actually want to have this:
The last can be made a default setting, so that it will automatically rebase instead of merge when you I just rebased it for you. So now you should:
This assumes that |
…elemetry simulator. Also, default values set for all sensor values.
Signed-off-by: dale wheeler <dale@wheeler.net>
Done |
Using fetch upstream is not a problem, when used correctly. Normally you would not be adding stuff in your |
All suggested edits have been made, branch was rebased, all checks passed, and the branch has no conflicts with the base branch. What is required next to get the PR merged? |
@elecpower needs to re-check and will accept if everything is ok. |
The changes you suggested have been completed. Please approve this PR. |
Approved |
Added a method for users to save and reload Companion Simulator Values that they have entered. Also, added defaults to all of the sensors.
When using Companion Telemetry Simulator, the user can enter values for each sensor. These values can be used to test things like low voltage alarms, etc. At this time, the values must be entered manually each time the telemetry simulator is started. If he leaves the simulator to edit these alarms, and then re-starts the simulator, he must enter the sensor values again after the telemetry simulator re-starts. My addition allows the user to save these values to a file. After re-starting the simulator he simply reloads the previously saved values.
Also, most of the telemetry simulator sensors do not have a default value. I have entered these default values for all of the sensors.