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

Add pellet statistics #21

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Add pellet statistics #21

merged 1 commit into from
Jan 27, 2023

Conversation

lein1013
Copy link
Contributor

Adding new modbus values available since V23.010

  • Pellet usage since last storage fill (in kg)
  • pellet usage total (since upgrade to Version 21.050 or newer) (in kg)
  • generated heat energy (total) (in kWh)
  • reset pellet storage filled (flag)

@LavermanJJ
Copy link
Owner

Hi @lein1013
Thanks for your PR! I'll have a closer look tonight. Unfortunately, I don't have a Pelletsboiler to verify.

Do you have the latest specification at hand, so you could share it?

Would you also want to add the entities in https://github.com/LavermanJJ/home-assistant-solarfocus ?

-Jeroen

@lein1013
Copy link
Contributor Author

Hi @LavermanJJ,
I got the information directly from the solarfocus support. I'll ask if they have this information somewhere public available.
I've also added the entities in my fork (https://github.com/lein1013/home-assistant-solarfocus), but there I did not develop the code in a way, that I can do a pull request without breaking existing code. But maybe we shall consider some refactoring there.
Testing the HACs integration was easy, because I could use my fork. For the python package, I would need to investigate more how to do this.
Hence, I plan to test the sensor first with the modbus integration of Home Assistant:

modbus:
  - name: "solarfocus"
    type: tcp
    host: xxxxxx
    port: 502
    sensors:
      - name: Pelletsverbrauch
        unit_of_measurement: kg
        slave: 2
        address: 2814

@LavermanJJ LavermanJJ merged commit 82edd93 into LavermanJJ:main Jan 27, 2023
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.

None yet

2 participants