StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
544 stars 198 forks source link

SN 23xxxxxxxx #19

Closed evandrobubiak closed 2 years ago

evandrobubiak commented 2 years ago

I have a DEYE 5KW and the SN is 23xxxxxxxx. FW LSW3_15_FFFF_1.0.73.

Some entities are OK, but others have 0 value. Some one have same issue?

hendrer commented 2 years ago

I have a Deye 12KW 3-phase hybrid inverter with exact version as you @evandrobubiak - I don't believe @StephanJoubert that this integration can manage the 3 phase because I'm missing CT 3 as an entity.

I am happy to be a tester and provide any diagnostics if it will help... I am a huge fan of this... will save me quite some $$ if we can get it working. Don't want to buy another adapter if I don't have to... thank you!!

Happy to donate here instead.

StephanJoubert commented 2 years ago

@evandrobubiak , @hendrer Thanks for the help, especially since I don't have a 3-phase inverter.

I have just pushed a change to the repo to enable you to create a custom yaml file and point to it in the configuration. Using that you can start to tweak a bit to try and get the correct parameters.

There is another issue that seems to be a duplicate. Please post to that one - hopefully one of the chaps are able to gather more info.

https://github.com/StephanJoubert/home_assistant_solarman/issues/17

evandrobubiak commented 2 years ago

@StephanJoubert , I tried the registers on modbus (0x00 to 0x012B) and the only thing I figured out is the AC Power Generation on 0x50.

The only way I can get the DC Power Generation is by math (PV1Voltage PV1Current + PV2Voltage PV2Current).

Is it possible to do this math on the yaml?

Here is my output:

ModBus data [HEX]: :00:02:00:01:02:01:32:31:30:38:31:37:37:30:38:35:00:00:00:04:00:00:00:00:00:00:71:43:02:29:00:00:c3:50:00:00:02:01:00:00:00:ff:00:3c:16:02:0f:10:09:0a:07:d0:15:7c:0b:86:06:a4:18:38:16:a9:00:fa:15:7c:01:f4:02:26:00:3c:03:52:00:00:00:00:07:d0:04:4c:00:00:00:00:00:01:00:00:00:3c:00:01:00:02:00:00:00:01:00:01:00:05:00:01:00:05:00:00:00:00:00:00:00:64:00:00:00:02:01:18:00:00:00:00:0c:57:00:00:00:00:00:00:00:00:00:00:00:00:09:0c:00:00:00:00:09:0c:00:00:00:00:00:ce:00:00:00:00:17:6d:b5:5c:00:00:ca:17:00:00:ba:5d:00:00:b0:91:00:00:05:01:00:00:07:0f:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2c:ff:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:08:e6:00:6f:08:d5:00:70:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01:27:10:05:b5:04:db:00:3c:00:04:00:01:00:01:00:00:00:00:00:00:00:01:07:f0:00:00:07:ef:09:0c:08:ea:01:1e:04:a0:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:83:2e:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:f9:8d

Known Data:

Total AC Power 0x50 == 46428 PV1 Voltage [V] 0x6D == 2278 PV2 Voltage [V] 0X6F == 2261 PV1 Current [A] 0X6E == 111 PV2 Current [A] 0X70 == 112

Calculated Data:

DC POWER calculated = 506090 DC1 POWER calculated = 252858 DC2 POWER calculated = 253232

ModBus data [DEC]:

Register 00 = 2 Register 01 = 1 Register 02 = 513 Register 03 = 12849 Register 04 = 12344 Register 05 = 12599 Register 06 = 14128 Register 07 = 14389 Register 08 = 0 Register 09 = 4 Register 0a = 0 Register 0b = 0 Register 0c = 0 Register 0d = 28995 Register 0e = 553 Register 0f = 0 Register 10 = 50000 Register 11 = 0 Register 12 = 513 Register 13 = 0 Register 14 = 255 Register 15 = 60 Register 16 = 5634 Register 17 = 3856 Register 18 = 2314 Register 19 = 2000 Register 1a = 5500 Register 1b = 2950 Register 1c = 1700 Register 1d = 6200 Register 1e = 5801 Register 1f = 250 Register 20 = 5500 Register 21 = 500 Register 22 = 550 Register 23 = 60 Register 24 = 850 Register 25 = 0 Register 26 = 0 Register 27 = 2000 Register 28 = 1100 Register 29 = 0 Register 2a = 0 Register 2b = 1 Register 2c = 0 Register 2d = 60 Register 2e = 1 Register 2f = 2 Register 30 = 0 Register 31 = 1 Register 32 = 1 Register 33 = 5 Register 34 = 1 Register 35 = 5 Register 36 = 0 Register 37 = 0 Register 38 = 0 Register 39 = 100 Register 3a = 0 Register 3b = 2 Register 3c = 280 Register 3d = 0 Register 3e = 0 Register 3f = 3159 Register 40 = 0 Register 41 = 0 Register 42 = 0 Register 43 = 0 Register 44 = 0 Register 45 = 0 Register 46 = 2316 Register 47 = 0 Register 48 = 0 Register 49 = 2316 Register 4a = 0 Register 4b = 0 Register 4c = 206 Register 4d = 0 Register 4e = 0 Register 4f = 5997 Register 50 = 46428 Register 51 = 0 Register 52 = 51735 Register 53 = 0 Register 54 = 47709 Register 55 = 0 Register 56 = 45201 Register 57 = 0 Register 58 = 1281 Register 59 = 0 Register 5a = 1807 Register 5b = 0 Register 5c = 0 Register 5d = 0 Register 5e = 0 Register 5f = 0 Register 60 = 0 Register 61 = 0 Register 62 = 0 Register 63 = 0 Register 64 = 11519 Register 65 = 0 Register 66 = 0 Register 67 = 0 Register 68 = 0 Register 69 = 0 Register 6a = 0 Register 6b = 0 Register 6c = 0 Register 6d = 2278 Register 6e = 111 Register 6f = 2261 Register 70 = 112 Register 71 = 0 Register 72 = 0 Register 73 = 0 Register 74 = 0 Register 75 = 0 Register 76 = 0 Register 77 = 0 Register 78 = 1 Register 79 = 10000 Register 7a = 1461 Register 7b = 1243 Register 7c = 60 Register 7d = 4 Register 7e = 1 Register 7f = 1 Register 80 = 0 Register 81 = 0 Register 82 = 0 Register 83 = 1 Register 84 = 2032 Register 85 = 0 Register 86 = 2031 Register 87 = 2316 Register 88 = 2282 Register 89 = 286 Register 8a = 1184 Register 8b = 0 Register 8c = 0 Register 8d = 0 Register 8e = 0 Register 8f = 0 Register 90 = 0 Register 91 = 0 Register 92 = 0 Register 93 = 0 Register 94 = 0 Register 95 = 0 Register 96 = 0 Register 97 = 0 Register 98 = 0 Register 99 = 0 Register 9a = 0 Register 9b = 0 Register 9c = 0 Register 9d = 0 Register 9e = 0 Register 9f = 0 Register a0 = 0 Register a1 = 0 Register a2 = 0 Register a3 = 0 Register a4 = 0 Register a5 = 0 Register a6 = 0 Register a7 = 0 Register a8 = 0 Register a9 = 0 Register aa = 0 Register ab = 0 Register ac = 0 Register ad = 0 Register ae = 0 Register af = 0 Register b0 = 0 Register b1 = 0 Register b2 = 0 Register b3 = 0 Register b4 = 0 Register b5 = 0 Register b6 = 0 Register b7 = 0 Register b8 = 0 Register b9 = 0 Register ba = 0 Register bb = 0 Register bc = 0 Register bd = 0 Register be = 0 Register bf = 0 Register c0 = 0 Register c1 = 0 Register c2 = 0 Register c3 = 0 Register c4 = 0 Register c5 = 0 Register c6 = 0 Register c7 = 0 Register c8 = 33582 Register c9 = 0 Register ca = 0 Register cb = 0 Register cc = 0 Register cd = 0 Register ce = 0 Register cf = 0 Register d0 = 0 Register d1 = 0 Register d2 = 0 Register d3 = 0 Register d4 = 0 Register d5 = 0 Register d6 = 0 Register d7 = 0 Register d8 = 0 Register d9 = 0 Register da = 0 Register db = 0 Register dc = 0 Register dd = 0 Register de = 0 Register df = 0 Register e0 = 0 Register e1 = 0 Register e2 = 0 Register e3 = 0 Register e4 = 0 Register e5 = 0 Register e6 = 0 Register e7 = 0 Register e8 = 0 Register e9 = 0 Register ea = 0 Register eb = 0 Register ec = 0 Register ed = 0 Register ee = 0 Register ef = 0 Register f0 = 0 Register f1 = 0 Register f2 = 0 Register f3 = 0 Register f4 = 0 Register f5 = 0 Register f6 = 0 Register f7 = 0 Register f8 = 0 Register f9 = 0 Register fa = 0 Register fb = 0 Register fc = 0 Register fd = 0 Register fe = 0 Register ff = 0 Register 100 = 0 Register 101 = 0 Register 102 = 0 Register 103 = 0 Register 104 = 0 Register 105 = 0 Register 106 = 0 Register 107 = 0 Register 108 = 0 Register 109 = 0 Register 10a = 0 Register 10b = 0 Register 10c = 0 Register 10d = 0 Register 10e = 0 Register 10f = 0 Register 110 = 0 Register 111 = 0 Register 112 = 0 Register 113 = 0 Register 114 = 0 Register 115 = 0 Register 116 = 0 Register 117 = 0 Register 118 = 0 Register 119 = 0 Register 11a = 0 Register 11b = 0 Register 11c = 0 Register 11d = 0 Register 11e = 0 Register 11f = 0 Register 120 = 0 Register 121 = 0 Register 122 = 0 Register 123 = 0 Register 124 = 0 Register 125 = 0 Register 126 = 0 Register 127 = 0 Register 128 = 0 Register 129 = 0 Register 12a = 0 Register 12b = 63885

McAllstar commented 2 years ago

My inverter serial number is 21xxxxx but the device serial number is 23XXXX does that matter? sorry it just edited out my inverter info on the pic that I don't want the public to see. image

StephanJoubert commented 2 years ago

@McAllstar , I cannot say. Is it also a 3-phase inverter? If so it may be similar.

McAllstar commented 2 years ago

Thanks, it’s a single phase 8KW inverter

From: StephanJoubert @.> Date: Wednesday, 16 February 2022 at 11:32 To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>, Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19) CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

@McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7C50cd9959c0f94e9cdd0408d9f12f4822%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637806007667152606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=e8tHmWm3bnFJYGROPhdf6sEp4d55wEPrD8qUDyXU72Y%3D&reserved=0 , I cannot say. Is it also a 3-phase inverter? If so it may be similar.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1041289600&data=04%7C01%7CBrettM%40Nedbank.co.za%7C50cd9959c0f94e9cdd0408d9f12f4822%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637806007667152606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7lQn8lBOBM4Ifqu5OozrMOcx0Uo4YgAs8lvj%2BKO16v8%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBAJFZRFEFK2QRQ5WJ3U3NVJNANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7C50cd9959c0f94e9cdd0408d9f12f4822%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637806007667152606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vJTRCir6pfgkdQib5MGPikpXjnoxd64%2F%2Bgmd1AOCrEA%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7C50cd9959c0f94e9cdd0408d9f12f4822%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637806007667152606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=p%2F9tBHXUYb01HDeiYXy9YkLH%2Bce%2FvKHbsy5lHrUAi%2B0%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7C50cd9959c0f94e9cdd0408d9f12f4822%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637806007667152606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=dV6tUWFIa9XUkpcfnfkK2SwSrlN5KsreXKCD8FpK6bI%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser


StephanJoubert commented 2 years ago

Hi @McAllstar , it seems as if the 21xxxx collector uses the same protocol as 17xxx collectors. You can try with the default config (leaving lookup_file out) and then see if you get the parameters back. The default configuration works well with the 5kW DEYE single phase so I would expect the same for 8kW

StephanJoubert commented 2 years ago

@evandrobubiak , I had a look and the one lookup file I have lists "Real-time Generation Power" as register 0x32 which is 50 decimal. Could you please try experiment with the values as in the attached file FSYRealTime.txt and see if you get success?

I have a process to translate relatively easy into a yaml file so it makes sense, I can convert and add to the repo.

Re the maths: Unfortunately you cannot do in the yaml, but it should be easy to do using a template

evandrobubiak commented 2 years ago

@StephanJoubert , tried the FSYRealTime.txt address, but no success. I can confirm that the output AC Power in my case is at 0x50 [hexadecimal]. My inverter is also a 5KW DEYE (model SUN-5K-G). I will keep trying to find the DC Power address.

McAllstar commented 2 years ago

@StephanJoubert , tried the FSYRealTime.txt address, but no success. I can confirm that the output AC Power in my case is at 0x50 [hexadecimal]. My inverter is also a 5KW DEYE (model SUN-5K-G). I will keep trying to find the DC Power address.

Ok excellent thanks for your efforts.

evandrobubiak commented 2 years ago

Here is my initial custom_parameters.yaml file. I removed all the itens that Im not shure.

Inverter model: Deye SUN-4k-g Inverter serial number 2108177xxx Device serial number 2307748xxx Firmware version LSW3_15_FFFF_1.0.73 ##########################################


requests:
  - start: 0x0003
    end:  0x0070

parameters:
 - group: solar
   items: 
    - name: "PV1 Voltage"
      class: "voltage"
      state_class: "measurement"
      uom: "V"
      scale: 0.1
      rule: 1
      registers: [0x006D]
      icon: 'mdi:solar-power'

    - name: "PV2 Voltage"
      class: "voltage"
      state_class: "measurement"
      uom: "V"
      scale: 0.1
      rule: 1
      registers: [0x006F]
      icon: 'mdi:solar-power'

    - name: "PV1 Current"
      class: "current"
      uom: "A"
      scale: 0.1
      rule: 1
      registers: [0x006E]
      icon: 'mdi:solar-power'

    - name: "PV2 Current"
      class: "current"
      state_class: "measurement"
      uom: "A"
      scale: 0.1
      rule: 1
      registers: [0x0070]
      icon: 'mdi:solar-power'

    - name: "Daily Production"
      class: "energy"
      state_class: "measurement"
      uom: "kWh"
      scale: 0.1
      rule: 1
      registers: [0x003C]
      icon: 'mdi:solar-power'

    - name: "Total Production"
      class: "energy"
      state_class: "total_increasing"
      uom: "kWh"
      scale: 0.1
      rule: 3
      registers: [0x003F,0x0040]
      icon: 'mdi:solar-power'

    - name: "Solar DC Power"
      class: "power"
      state_class: "measurement"
      uom: "W"
      scale: 0.1
      rule: 1
      registers: [0x0052]
      icon: 'mdi:solar-power'

 - group: Grid
   items: 
    - name: "Grid Voltage L-L"
      class: "voltage"
      state_class: "measurement"
      uom: "V"
      scale: 0.1
      rule: 1
      registers: [0x0049]
      icon: 'mdi:transmission-tower'

 - group: Inverter
   items: 
    - name: "Running Status"
      class: ""
      state_class: ""      
      uom: ""
      scale: 1
      rule: 1
      registers: [0x003B]
      isstr: true
      lookup: 
      -  key: 0
         value: "Stand-by"
      -  key: 1
         value: "Self-checking"
      -  key: 2
         value: "Normal"
      -  key: 3
         value: "FAULT"
      icon: 'mdi:home-lightning-bolt'

    - name: "Total Ouput AC Power"
      class: "power"
      state_class: "measurement"      
      uom: "W"
      scale: 0.1
      rule: 1
      registers: [0x0050]
      icon: 'mdi:home-lightning-bolt'

    - name: "Output AC Current"
      class: "current"
      state_class: "measurement"      
      uom: "A"
      scale: 0.1
      rule: 2
      registers: [0x004C]
      icon: 'mdi:home-lightning-bolt'

    - name: "Inverter ID"
      class: ""
      state_class: ""      
      uom: ""
      scale: 1
      rule: 5
      registers: [0x0003,0x0004,0x0005,0x0006,0x0007]
      isstr: true
image

Here on the image, pv1_power, pv2_power and total_dc_power are calculated entities. Here Is my code on the configuration.yaml for that:


sensor:
  - platform: solarman
    name: DEYE 
    inverter_host: 192.168.0.101
    inverter_port: 8899
    inverter_serial: 2307748700 
    scan_interval: 30
    lookup_file: custom_parameters.yaml

  - platform: template
    sensors:
      pv1_power:
        value_template: "{{ states('sensor.deye_pv1_voltage') | float * states('sensor.deye_pv1_current') | float }}"

      pv2_power:
        value_template: "{{ states('sensor.deye_pv2_voltage') | float * states('sensor.deye_pv2_current') | float }}"

      total_dc_power:
        value_template: "{{ states('sensor.pv1_power') | float + states('sensor.pv2_power') | float }}"
StephanJoubert commented 2 years ago

Great work @evandrobubiak! . I will update the "deye_3p.yaml" file with this file.

StephanJoubert commented 2 years ago

@evandrobubiak , @McAllstar . With the info provided above and a bit more digging I found that the hybrid and string inverters has slightly different register allocations. With the file above and the information I found, I created a file "deye_string.yaml". I have made slight changes from the contents posted above so please check. I have not created a release so you won't be able to use HACS to update yet, you can pull or download from github though.

For interest - this is the document I found. Look at the sections specifically stating "string"/"string inverter" and "hybrid"

sunsynk_modbus.pdf .

McAllstar commented 2 years ago

thanks @StephanJoubert. Sorry if i'm being "DOF" so i downloaded the zip file or code and copied the contents my custom components directory as before so it has the solarman and deye_string.yaml file in that directory. I=Not sure if this is correct but i updated my config.yaml to point to the deye_string.yaml file. I also tried to copy the deye_string.yaml file to my solarman directory. However i still get this. As another test I also pointed the lookup file to the sofar_lsw3.yaml and the custom_parameters.yaml but i'm sure there wouldn't be any reference to the deye_string in there. Not sure if that was the correct thing to do?

image

StephanJoubert commented 2 years ago

Hi @McAllstar , I found that home assistant is not that happy if one tinkers too much and creates duplicate entries for the parameters. It is possible that the configuration for the energy dashboard points to an entity that was renamed (happened to me).

In my case I just deleted and re-added the entities for the energy dashboard and it was happy after that.

If that does not work as expected, have a look to see if the entities show up correctly in the "Developer Tools" section.

McAllstar commented 2 years ago

Perfect let me try and delete everything and see what happens. Thanks again.

Regards Brett


From: StephanJoubert @.> Sent: Monday, February 21, 2022 5:18:12 PM To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>; Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19)

CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

Hi @McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=a7p4d6ZRAN08IwBQYFohprs6w8kQlBOlsFTh3omnOzo%3D&reserved=0 , I found that home assistant is not that happy if one tinkers too much and creates duplicate entries for the parameters. It is possible that the configuration for the energy dashboard points to an entity that was renamed (happened to me).

In my case I just deleted and re-added the entities for the energy dashboard and it was happy after that.

If that does not work as expected, have a look to see if the entities show up correctly in the "Developer Tools" section.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1046984924&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=OH4vmjTfC%2BKa1gUSY4GAiD1ZI0ttXHECKgV0tsJMcqU%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBFTJVGA5MVIY5ACV7TU4JJTJANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vJV5f8L0ObcBkvy8%2F4%2Fpe5joVnP65TMIKbA75orsshk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kVxkXEO2xrDRiRwQ%2BUxRiyMflT2Buy8tmHJzH2YjZ7A%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rgggVZYO7y1Mq%2FbgYmwMlji%2FkUaBaelb48nH9jbgtNc%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser


McAllstar commented 2 years ago

Ah ok this is what they show in developer tools [Image.jpeg]

Regards Brett


From: Mc Alister, B. (Brett) @.> Sent: Monday, February 21, 2022 9:14:44 PM To: StephanJoubert/home_assistant_solarman @.>; StephanJoubert/home_assistant_solarman @.> Cc: Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19)

Perfect let me try and delete everything and see what happens. Thanks again.

Regards Brett


From: StephanJoubert @.> Sent: Monday, February 21, 2022 5:18:12 PM To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>; Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19)

CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

Hi @McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=a7p4d6ZRAN08IwBQYFohprs6w8kQlBOlsFTh3omnOzo%3D&reserved=0 , I found that home assistant is not that happy if one tinkers too much and creates duplicate entries for the parameters. It is possible that the configuration for the energy dashboard points to an entity that was renamed (happened to me).

In my case I just deleted and re-added the entities for the energy dashboard and it was happy after that.

If that does not work as expected, have a look to see if the entities show up correctly in the "Developer Tools" section.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1046984924&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=OH4vmjTfC%2BKa1gUSY4GAiD1ZI0ttXHECKgV0tsJMcqU%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBFTJVGA5MVIY5ACV7TU4JJTJANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vJV5f8L0ObcBkvy8%2F4%2Fpe5joVnP65TMIKbA75orsshk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kVxkXEO2xrDRiRwQ%2BUxRiyMflT2Buy8tmHJzH2YjZ7A%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rgggVZYO7y1Mq%2FbgYmwMlji%2FkUaBaelb48nH9jbgtNc%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser


McAllstar commented 2 years ago

We getting there, only these showing as unknown before everything was showing as unknown in developer tools

@. @. @.***

@.***

From: StephanJoubert @.**@.>

Date: Monday, 21 February 2022 at 17:19 To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>, Mention @.***> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19) CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

Hi @McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=a7p4d6ZRAN08IwBQYFohprs6w8kQlBOlsFTh3omnOzo%3D&reserved=0 , I found that home assistant is not that happy if one tinkers too much and creates duplicate entries for the parameters. It is possible that the configuration for the energy dashboard points to an entity that was renamed (happened to me).

In my case I just deleted and re-added the entities for the energy dashboard and it was happy after that.

If that does not work as expected, have a look to see if the entities show up correctly in the "Developer Tools" section.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1046984924&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=OH4vmjTfC%2BKa1gUSY4GAiD1ZI0ttXHECKgV0tsJMcqU%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBFTJVGA5MVIY5ACV7TU4JJTJANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vJV5f8L0ObcBkvy8%2F4%2Fpe5joVnP65TMIKbA75orsshk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kVxkXEO2xrDRiRwQ%2BUxRiyMflT2Buy8tmHJzH2YjZ7A%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cbce45e1ed6c84a691a8508d9f54d8839%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637810535640062917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rgggVZYO7y1Mq%2FbgYmwMlji%2FkUaBaelb48nH9jbgtNc%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser


StephanJoubert commented 2 years ago

@McAllstar , it seems the image and entities got lost when you posted. Do you mind submitting again and I will have a look?

McAllstar commented 2 years ago

sure here you go. We getting there, only these showing as unknown, before everything was showing as unknown in developer tools

developer tools image 1 developer tools image 3 developer tools image 4
McAllstar commented 2 years ago

This is my config.yaml

sensor:

McAllstar commented 2 years ago

also seeing this in the statistics section under developer tools

image

StephanJoubert commented 2 years ago

@McAllstar . Thanks for this - helped a lot. I found a few small errors in the deye_string.yaml file and corrected it. Also noticed that the lookup file was in the wrong location and moved it to https://github.com/StephanJoubert/home_assistant_solarman/blob/main/custom_components/solarman/deye_string.yaml

I also removed "solar dc power" since it was a duplicate of "Input Active Power". The latter is as per the documentation.

Just pull from the repo and test.

McAllstar commented 2 years ago

I had a spare RPI so I loaded it from scratch and added the sloarman integration you provided.

Screenshot 1 image Screenshot 2 image Screenshot 3 image Screenshot 4 image Screenshot 5 image Screenshot 6 image

StephanJoubert commented 2 years ago

@McAllstar , I see the state_class for "Daily Production" is incorrect, it should be "total" instead of "measurement". The previous versions of HA used "measurement" and "last_reset" for entities like this, but changed to "total" which does the same thing now.

I have updated the "state_class" as follows - change made after version 1.3, so you will have tp pull from github or edit by hand to test.

    - name: "Daily Production"
      class: "energy"
      state_class: "total"
      uom: "kWh"
      scale: 0.1
      rule: 1
      registers: [0x003C]
      icon: 'mdi:solar-power'

It seems from the documentation that the information regarding the power drawn from, and pushed back to grid are not available on string inverters as it is for hybrids. You can maybe confirm from the solarman portal.

McAllstar commented 2 years ago

Hi

thanks again. I downloaded and reapplied the configs etc.

From: StephanJoubert @.> Date: Sunday, 27 February 2022 at 19:15 To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>, Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19) CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

@McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cde5d361a46fe4d522d2708d9fa14add6%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637815789020243388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=zUr%2FxkBwI6AHQb4O9C4KEGxtNFc1dUkQ7taFlHCwbSs%3D&reserved=0 , I see the state_class for "Daily Production" is incorrect, it should be "total" instead of "measurement". The previous versions of HA used "measurement" and "last_reset" for entities like this, but changed to "total" which does the same thing now.

I have updated the "state_class" as follows - change made after version 1.3, so you will have tp pull from github or edit by hand to test.

- name: "Daily Production"

  class: "energy"

  state_class: "total"

  uom: "kWh"

  scale: 0.1

  rule: 1

  registers: [0x003C]

  icon: 'mdi:solar-power'

It seems from the documentation that the information regarding the power drawn from, and pushed back to grid are not available on string inverters as it is for hybrids. You can maybe confirm from the solarman portal.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1053619467&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cde5d361a46fe4d522d2708d9fa14add6%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637815789020243388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=s1ayDn4QM8PvBYxsKQD3jz7TErTDpoccCU8HB0Dw3%2Bs%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBE5BL6F3FXWFFQID6TU5JLYFANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cde5d361a46fe4d522d2708d9fa14add6%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637815789020243388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=U2nXKHgyBG3LWvDpUwzPm3vWzzOmX5JiXxWAbLrQ2wM%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cde5d361a46fe4d522d2708d9fa14add6%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637815789020243388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=of4HAm00rJImvu9uj1cD7neADH33pC1hVCgB4rSREOc%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7Cde5d361a46fe4d522d2708d9fa14add6%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637815789020243388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Ik0Kj5%2BRS5iKrEHyqvofM4ymDxHF39G60dsPyRF4j8U%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser


StephanJoubert commented 2 years ago

@McAllstar , I don't think you can use "last_reset" with Output Active Power since it seems to be a current value (the last reset applied to the daily totals). If I am mistaken and it is indeed a daily total, you can fix that by setting the "state_class" to "total" in the yaml file and see if that works.

I also suspect that the following would only be available for hybrid inverters (making assumptions about string vs hybrid inverters). If that is the case, you can try using a Shelly EM with current transformer to get these values.

McAllstar commented 2 years ago

Thanks, I’ll give it try in the YAML file. I do have a Hybrid inverter, in the other releases prior to this I was able to see more options listed.

From: StephanJoubert @.> Date: Monday, 28 February 2022 at 10:38 To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>, Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19) CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

@McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7C2b860596333e4348e21008d9fa95b363%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816343166333570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Yv%2FaFACugew%2Bp1g90MELA0B2LyGb7DIpnX%2BEauUDD%2B8%3D&reserved=0 , I don't think you can use "last_reset" with Output Active Power since it seems to be a current value (the last reset applied to the daily totals). If I am mistaken and it is indeed a daily total, you can fix that by setting the "state_class" to "total" in the yaml file and see if that works.

I also suspect that the following would only be available for hybrid inverters (making assumptions about string vs hybrid inverters). If that is the case, you can try using a Shelly EM with current transformer to get these values.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1054014957&data=04%7C01%7CBrettM%40Nedbank.co.za%7C2b860596333e4348e21008d9fa95b363%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816343166333570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=a%2FGn1r4voydRocU1vW3WcCgjsFUAPvPbb3EQCxmACvI%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBHDZCZYNHATZSWF5JTU5MX5HANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7C2b860596333e4348e21008d9fa95b363%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816343166333570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=phnQ90oJslwfTEFCL6LF7sFWbOV9drIAdTdTlyiW24w%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7C2b860596333e4348e21008d9fa95b363%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816343166333570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=KnXvAmiiNFkhIAw8aPuAs2IzksOo7%2FT6Ap%2BmL0O6yM8%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7C2b860596333e4348e21008d9fa95b363%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816343166333570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7ccCBy97%2FBfbgAbKYwpVkVHmy1nLFmkEqrvefsDoQK4%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser


StephanJoubert commented 2 years ago

@McAllstar , I was unaware that you have a hybrid inverter. You should be able to use the standard method (removing the lookup_file in your configuration) which will use the parameters.yaml file for all settings. I'm using this for my hybrid inverter.

  - platform: solarman
    name:  . . .
    inverter_host: . . . . 
    inverter_port: . . .
    inverter_serial: . . .
    scan_interval:  . . .
   lookup_file: deye_string.yaml <-- remove this line

If it works well, just use the method specified in the documentation to set up your energy dashboard. https://github.com/StephanJoubert/home_assistant_solarman/blob/main/energy.md

Hope you get success.

McAllstar commented 2 years ago

I assumed that you knew that the DEYE/SunSync’s are all hybrids. Thanks for all the help bud, after all that it’s finally working on the new RPI I setup. The original RPI that runs all my home automation is giving me another Platform error sensor.solarman - Integration 'solarman' not found, even though it’s in the custom_components directory but that’s something else that I need to sort out. From: StephanJoubert @.> Date: Monday, 28 February 2022 at 12:17 To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>, Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19) CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

@McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=t40NiWkAWgt9EnoRS8kW4kOiRZG4xRfaSyUCxvjGeuw%3D&reserved=0 , I was unaware that you have a hybrid inverter. You should be able to use the standard method (removing the lookup_file in your configuration) which will use the parameters.yaml file for all settings. I'm using this for my hybrid inverter.

If it works well, just use the method specified in the documentation to set up your energy dashboard. https://github.com/StephanJoubert/home_assistant_solarman/blob/main/energy.mdhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fblob%2Fmain%2Fenergy.md&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=09uz%2BHoAk333LGkNFPpyJBAPDxZGhnICuMoZckhVn5w%3D&reserved=0

Hope you get success.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1054099395&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=G%2FXRmYGGchJ%2BIHL79PhOHM2%2Fmu%2FCmLGJCgVqJuy7EAQ%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBEBX6U35S3R6GOTPPLU5NDO3ANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=CA07zw29d2MGCELdQkRd7Rg0pcrnq%2FHtBKtdRhzoI%2F4%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wOtX0CGCftbyI5inY9kXDPIdTNk4GNCiRn16dSn72rs%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bwBR21FjAkunb6T9UxMBF7rtlK8DskhyR9%2ByMDD9lOo%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser


StephanJoubert commented 2 years ago

Great to hear

McAllstar commented 1 year ago

Hi Stephan

Any idea why my Energy Distribution values are incorrect? It says I’m producing 12.1KW of solar and the home is using 30.2KW with 18.4kw coming from the grid.

Thanks Brett

@.***

From: Mc Alister, B. (Brett) @.> Date: Monday, 28 February 2022 at 13:12 To: StephanJoubert/home_assistant_solarman @.>, StephanJoubert/home_assistant_solarman @.> Cc: Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19) I assumed that you knew that the DEYE/SunSync’s are all hybrids. Thanks for all the help bud, after all that it’s finally working on the new RPI I setup. The original RPI that runs all my home automation is giving me another Platform error sensor.solarman - Integration 'solarman' not found, even though it’s in the custom_components directory but that’s something else that I need to sort out. From: StephanJoubert @.> Date: Monday, 28 February 2022 at 12:17 To: StephanJoubert/home_assistant_solarman @.> Cc: Mc Alister, B. (Brett) @.>, Mention @.> Subject: Re: [StephanJoubert/home_assistant_solarman] SN 23xxxxxxxx (Issue #19) CAUTION - EXTERNAL SENDER - Please be careful when opening links and attachments. Nedbank - IT Information Security Department (ISD)

@McAllstarhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMcAllstar&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=t40NiWkAWgt9EnoRS8kW4kOiRZG4xRfaSyUCxvjGeuw%3D&reserved=0 , I was unaware that you have a hybrid inverter. You should be able to use the standard method (removing the lookup_file in your configuration) which will use the parameters.yaml file for all settings. I'm using this for my hybrid inverter.

If it works well, just use the method specified in the documentation to set up your energy dashboard. https://github.com/StephanJoubert/home_assistant_solarman/blob/main/energy.mdhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fblob%2Fmain%2Fenergy.md&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=09uz%2BHoAk333LGkNFPpyJBAPDxZGhnICuMoZckhVn5w%3D&reserved=0

Hope you get success.

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStephanJoubert%2Fhome_assistant_solarman%2Fissues%2F19%23issuecomment-1054099395&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=G%2FXRmYGGchJ%2BIHL79PhOHM2%2Fmu%2FCmLGJCgVqJuy7EAQ%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJHBIBEBX6U35S3R6GOTPPLU5NDO3ANCNFSM5OL2HZSQ&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=CA07zw29d2MGCELdQkRd7Rg0pcrnq%2FHtBKtdRhzoI%2F4%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wOtX0CGCftbyI5inY9kXDPIdTNk4GNCiRn16dSn72rs%3D&reserved=0 or Androidhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CBrettM%40Nedbank.co.za%7C17957b5f2d064d3e4a5b08d9faa3808f%7C0b1d23d810d140938cb7fd0bb32f81e1%7C0%7C0%7C637816402437332434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bwBR21FjAkunb6T9UxMBF7rtlK8DskhyR9%2ByMDD9lOo%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Nedbank disclaimer and confidentiality notice:

This email may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this email or all or some of the information contained therein, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this email is neither an offer or a solicitation to buy or sell any securities, investment products or other financial product or service, nor is it an official confirmation of any transaction or an official statement of Nedbank. Any views or opinions presented are solely those of the author and do not necessarily represent those of Nedbank. Nedbank Ltd Reg No 1951/000009/06.

The following link displays the names of the Nedbank Board of Directors and Company Secretary. [http://www.nedbank.co.za/terms/DirectorsNedbank.htm]

If you do not want to click on a link, please type the relevant address in your browser