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

Solax X1: Code refactor and optimization, add as energy driver to get… #6677

Merged
merged 2 commits into from
Oct 17, 2019
Merged

Solax X1: Code refactor and optimization, add as energy driver to get… #6677

merged 2 commits into from
Oct 17, 2019

Conversation

pablozg
Copy link
Contributor

@pablozg pablozg commented Oct 17, 2019

… today/yesterday totals, P1 smart meter function and minor issue fix.

Description:

I add a new version to use the energy sensors code, and now can get today/yesterday totals, P1 smart sensor function.

solax_nrg

Code optimization and fix minor issue.

Related issue (if applicable): fixes #

Checklist:

  • The pull request is done against the latest dev branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR.
  • The code change is tested and works on core pre-2.6
  • The code change pass travis tests. Your PR cannot be merged unless tests pass
  • I accept the CLA.

… today/yesterday totals and P1 smart meter function
@pablozg
Copy link
Contributor Author

pablozg commented Oct 17, 2019

@arendst, If you are agree, we can delete the previous sensor "xsns_49_solaxX1.ino" and leave the new one "xnrg_12_solaxX1.ino", I have been testing the new code along one week without issues.

What do you think?

@arendst
Copy link
Owner

arendst commented Oct 17, 2019

If all functionality is moved to xnrg_12 I agree to drop the old driver.

I also would love to drop the old sdm120 and sdm630 drivers.

@arendst arendst merged commit b0a64b9 into arendst:development Oct 17, 2019
arendst added a commit that referenced this pull request Oct 18, 2019
 * Replace obsolete xsns_23_sdm120 with xnrg_08_sdm120 and consolidate define USE_SDM120
 * Replace obsolete xsns_25_sdm630 with xnrg_10_sdm630 and consolidate define USE_SDM630
 * Replace obsolete xsns_49_solaxX1 with xnrg_12_solaxX1 (#6677)
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.

2 participants