muppet3000 / homeassistant-grott

Home Assistant Integration for Grott - MQTT
MIT License
65 stars 14 forks source link

how to get grott working for a beginner ? #44

Closed annbuw closed 8 months ago

annbuw commented 9 months ago

hello muppet3000

i have the following question , i am trying to understand what to do / prepare so i can use the grott application . this weekend i was trying to get it done the following way. i am running home assistant OS on a thin client which is working fine. to run grott i have picked up another thin client and installed debian 12 on it and the docker desktop then i get lost in the things i think i need to do . run grott and mqtt on this debian docker is already a problem i think i am doing it wrong , can you help me out and make a manual or something so i can make it happen ?

what is the best home assisant installation needed to use grott ?(i need hacs and addons so i think the OS is the only one ) is it possible to run all of the needed software on 1 thin client or do i need a more powerfull PC and if so , how ? i was happy with the integration you have made and with my 2 hours intervall it worked perfect , never a problem untill now. So i realy want to go to your "new" growatt solution but i do not understand how to start

hoping you find some time to explaine it , thinking there are more people who would like it this way but also do not understand how to realize it .

thanks

muppet3000 commented 9 months ago

Hi @annbuw - If you've already got HA running using HA OS I'd really recommend using the @egguy home-assistant add-on - this one: https://github.com/egguy/grott-home-assistant-add-on. It will run Grott for you and you can just point your Inverter directly at that for the data to be published. It will also run MQTT for you as well. I'm going to update my documentation to point to that as an example. The extra thing to do is when you're installing that add-on is to tweak the options show on this image: https://github.com/muppet3000/homeassistant-grott/issues/16#issuecomment-1623172859 You need to enable "Enable Grott MQTT" option and to disable the "Home Assistant plugin" option. After that my integration should then be able to be installed and make use of the data being pushed into MQTT from grott.

If you have any problems let me know, I'd love to get some feedback from a 'beginner' (bonus points for screengrabs) so that I can update the documentation.

annbuw commented 9 months ago

hello i have installed everything like you told me

now i have to change te ip adres in the dataloggers

what ip adres do i put in it and do i have to use a port

is it my home assistant adress with 8123 port ?

muppet3000 commented 9 months ago

If you're running the Grott Home Assistant Add On then it'll be the IP address of your Home Assistant instance on port 5279 (which is the default for your data logger anyway)

annbuw commented 9 months ago

thanks , so alone the ip adress is enough

i will try it tomorrow when the sun shines again !!

Fannboy1337 commented 9 months ago

Hi muppet, didnt want to open a new ticket for this reason. Iam a newbie too. Thanks in advance for the work you are doing here!

Following setup:

But i didnt get data in HA, Growatt Server didnt get data as well.

Log from Grott edge (egguy): image image

Log from mosquitto: image

what am i missing?

EDIT It seems to work now. But i didnt know why, didnt change anything. I also dont know the correlations between all the three addons. Why get your grott updates and mosquitto sensors not? Which sensor i add in the ernergy dashboard? it look like, the new sensor didnt work as the old one (Energy today). It add only the difference not the real value. Iam a little confused. :-D

annbuw commented 9 months ago

muppet3000

it seems to work , YES , i have 4 inverters and the MOD 5000TL3-X is not giving the right values . i read about change something in grott .ini but when i look in it there is nothing in this file , it is empty. what to do about it? the other 3 are older 1fase inverters and they are giving the normal values. in the phone app the inverters are green normal so i think the data is also going to the server , so that should work too.

do i need to delete the old integration , if yes , i believe i loose al the histery data ? correct ? is there a way to keep that , ?

thank you sofar

Fannboy1337 commented 9 months ago

do i need to delete the old integration , if yes , i believe i loose al the histery data ? correct ? is there a way to keep that , ?

https://gist.github.com/langestefan/acbf7e42b15b302e9aacc08663039e57#1-im-replacing-my-solar-inverter-energy-meter--how-can-i-retain-my-energy-dashboard-data

I didnt know if its work, i let my old integration installed for the data. ;-) When you delete the old integration, all history data are gone.

annbuw commented 9 months ago

hello muppet3000

any idea how i should fix the wrong data from the mod inverter ?

muppet3000 commented 9 months ago

In the grott.ini file you need to set the invtype variable. The default grott.ini file looks like this: https://github.com/johanmeijer/grott/blob/master/examples/grott.ini

You need to set the correct one for your system, the possible values are: default,sph,spf,max, tl3 so I think you need to use the tl3 one.

Erlingnygard commented 9 months ago

Just wondering, if I disable the Home assistant plugin in mqtt and enable the grott mqtt, will I then break the zigbee2mqtt addon?

muppet3000 commented 9 months ago

Just wondering, if I disable the Home assistant plugin in mqtt and enable the grott mqtt, will I then break the zigbee2mqtt addon?

I'm unsure what you mean. MQTT is a message broker it is a service in it's own right. In the example you've given both Zigbee and Grott can publish to the same MQTT system and not interfere with each other. If you stop Grott it will have no affect on Zigbee and vice versa.

The question you've asked though seems a little backwards: "If I disable the home assistant plugin in mqtt" - There is no home assistant plugin for MQTT, so I'm not sure what you're asking here. Are you saying there is an add-on you're running in home-assistant called MQTT? If so - don't stop it, that's what Zigbee and Grott are publishing to.

Does that make more sense?

beped commented 9 months ago

Hi @muppet3000 . I dont know why, but even with the configurations that you mention my Grott integration doesn't work. Did you know why? Look: image image image

I have the MQTT working: image

muppet3000 commented 9 months ago

How did you get the data showing in the MQTT area of Home Assistant? I'm not sure what's pushing that into there. Also, leave the ID in the "device information" on your first image you posted as a "+" and see what happens.

beped commented 9 months ago

Well, i have the Grott HA Addon image Then i have the MQTT integration that "Auto create" the devices inside HA, based on the MQTT packets received by the MQTT Addon. image Example: image I don't know if that's what you wanted to know.

Ps: I've already tried leaving it with just + but it didn't have any effect either.

julianjosias commented 9 months ago

I have the same issue as beped above

egguy commented 9 months ago

Hi, if you want the addon to only work with grott HACS, check enable grott MQTT and disable HA integration The MQTT devices should be marked as disabled, and grott HACS is going to receive the message.

beped commented 9 months ago

I already did that, it didn't work either, you can see from the screenshot I sent above.

beped commented 9 months ago

There was an update today from the Grott Addon, after the update it worked.

egguy commented 9 months ago

Yes, I'm currently working to update how the add-on are built and managed, to facilitate the maintenance.

I have less spare time now, so I'm using the same system has HA to automate the publication process. The good news, the image will be better maintained, with better doc and, changelog with probably grottserver and grott beta. The bad news is the current repository will be deprecated. I will publish a warning with instruction on how to update.

muppet3000 commented 9 months ago

Thanks for the assist @egguy - Are you ok if I drop you an email to collaborate more? I think between us we can make all of this a lot easier to use?

julianjosias commented 9 months ago

My MQTT is full of entities and are updated when home assistant plugin in enabled in the ini however, I only have 8 entities per datalogger in Grott. Any ideas?

muppet3000 commented 9 months ago

My MQTT is full of entities and are updated when home assistant plugin in enabled in the ini however, I only have 8 entities per datalogger in Grott. Any ideas?

  1. Disable the ha_plugin in the ini
  2. Configure MQTT broker in Home Assistant - How to: https://github.com/muppet3000/homeassistant-grott/blob/main/docs/setup/homeassistant-mqtt-broker.md
  3. Install the integration that you've logged this bug in - How to: https://github.com/muppet3000/homeassistant-grott

After that you should have all the stats showing under the grott integration in Home Assistant.

julianjosias commented 9 months ago

Sorry muppet I should have been a bit more clear. When I disable the ha_plugin the Grott integration (that I logged this bug in) only shows 8 entities per datalogger where if I enable the ha_plugin and check MQTT there are many entities from the datalogger. I have setup everything like you mentioned above. 2 1 4 3

muppet3000 commented 9 months ago

Hi, if you want the addon to only work with grott HACS, check enable grott MQTT and disable HA integration The MQTT devices should be marked as disabled, and grott HACS is going to receive the message.

Have you read this comment from @egguy : https://github.com/muppet3000/homeassistant-grott/issues/44#issuecomment-1748798817 check enable grott MQTT and disable HA integration The MQTT devices should be marked as disabled, and grott HACS is going to receive the message.

I think you've got things in a weird mixed up state currently. You're nearly there though.

annbuw commented 8 months ago

hello muppet3000

i still have now reading from the mod-5000 inverter i have tried a few things but nothing changed in the data

the only thing that is in my grott.ini is

[Generic]

inverterid = REHBCF???? (inverter serial number) invtype = tl3

i have 4 inverters but the other 3 are fine so i did not name them in the ini file.

must there be more in the ini file for it to work ?

everything is furter okay

thanks

muppet3000 commented 8 months ago

You don't need to list the inverter IDs in the ini file as far as I know. Can you please share the logs from Grott so we can see what's happening with the data from the inverter?

annbuw commented 8 months ago

2023-10-10 08:00:38.541 DEBUG (MainThread) [custom_components.grott.sensor] Received message: energy/growatt 2023-10-10 08:00:38.541 DEBUG (MainThread) [custom_components.grott.sensor] Payload: {'device': 'REHBCF908X', 'time': '2037-08-20T22:36:52', 'buffered': 'no', 'values': {'datalogserial': 'XGD6CJD2RN', 'pvserial': 'REHBCF908X', 'pvstatus': 0, 'pvpowerin': 0, 'pv1voltage': 2295, 'pv1current': 0, 'pv1watt': 0, 'pv2voltage': 2295, 'pv2current': 0, 'pv2watt': 0, 'pvpowerout': 0, 'pvfrequentie': 0, 'pvgridvoltage': 0, 'pvgridcurrent': 0, 'pvgridpower': 0, 'pvgridvoltage2': 0, 'pvgridcurrent2': 0, 'pvgridpower2': 0, 'pvgridvoltage3': 0, 'pvgridcurrent3': 0, 'pvgridpower3': 5002, 'totworktime': 0, 'pvenergytoday': 4040, 'pvenergytotal': 263262168, 'epvtotal': 0, 'epv1today': 24352, 'epv1total': 11694350, 'epv2today': 0, 'epv2total': 15788, 'pvtemperature': 323, 'pvipmtemperature': 0, 'battery1soc': 0}} 2023-10-10 08:00:38.541 DEBUG (MainThread) [custom_components.grott.sensor] Configured to look for device: + (+ means all) 2023-10-10 08:00:38.541 DEBUG (MainThread) [custom_components.grott.sensor] Configured to include calculated values: False 2023-10-10 08:00:38.541 INFO (MainThread) [custom_components.grott.sensor] PROCESSING UPDATES 2023-10-10 08:00:38.541 INFO (MainThread) [custom_components.grott.sensor] 32 sensors for processing 2023-10-10 08:00:38.542 DEBUG (MainThread) [custom_components.grott.sensor] raw_mqtt_sensors - matched on REHBCF908X 2023-10-10 08:00:38.542 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Serial, unique id: grott_rehbcf908x_mqtt_001 2023-10-10 08:00:38.542 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Datalog Serial, unique id: grott_rehbcf908x_mqtt_002 2023-10-10 08:00:38.542 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Status, unique id: grott_rehbcf908x_mqtt_003 2023-10-10 08:00:38.542 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Power, unique id: grott_rehbcf908x_mqtt_004 2023-10-10 08:00:38.542 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Voltage, unique id: grott_rehbcf908x_mqtt_005 2023-10-10 08:00:38.543 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Current, unique id: grott_rehbcf908x_mqtt_006 2023-10-10 08:00:38.543 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Power, unique id: grott_rehbcf908x_mqtt_007 2023-10-10 08:00:38.543 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Voltage, unique id: grott_rehbcf908x_mqtt_008 2023-10-10 08:00:38.543 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Current, unique id: grott_rehbcf908x_mqtt_009 2023-10-10 08:00:38.543 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Power, unique id: grott_rehbcf908x_mqtt_010 2023-10-10 08:00:38.543 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Output Power, unique id: grott_rehbcf908x_mqtt_011 2023-10-10 08:00:38.544 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Grid Frequency, unique id: grott_rehbcf908x_mqtt_012 2023-10-10 08:00:38.544 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Single/First Phase), unique id: grott_rehbcf908x_mqtt_013 2023-10-10 08:00:38.544 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Single/First Phase), unique id: grott_rehbcf908x_mqtt_014 2023-10-10 08:00:38.544 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Single/First Phase), unique id: grott_rehbcf908x_mqtt_015 2023-10-10 08:00:38.544 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Second Phase), unique id: grott_rehbcf908x_mqtt_016 2023-10-10 08:00:38.544 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Second Phase), unique id: grott_rehbcf908x_mqtt_017 2023-10-10 08:00:38.545 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Second Phase), unique id: grott_rehbcf908x_mqtt_018 2023-10-10 08:00:38.545 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Third Phase), unique id: grott_rehbcf908x_mqtt_019 2023-10-10 08:00:38.545 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Third Phase), unique id: grott_rehbcf908x_mqtt_020 2023-10-10 08:00:38.545 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Third Phase), unique id: grott_rehbcf908x_mqtt_021 2023-10-10 08:00:38.545 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Time Since Commissioned, unique id: grott_rehbcf908x_mqtt_022 2023-10-10 08:00:38.545 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Today (pvenergytoday), unique id: grott_rehbcf908x_mqtt_024 2023-10-10 08:00:38.546 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Total (pvenergytotal), unique id: grott_rehbcf908x_mqtt_071 2023-10-10 08:00:38.546 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Today, unique id: grott_rehbcf908x_mqtt_026 2023-10-10 08:00:38.546 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Total, unique id: grott_rehbcf908x_mqtt_027 2023-10-10 08:00:38.549 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Today, unique id: grott_rehbcf908x_mqtt_028 2023-10-10 08:00:38.549 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Total, unique id: grott_rehbcf908x_mqtt_029 2023-10-10 08:00:38.549 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Energy - Total, unique id: grott_rehbcf908x_mqtt_030 2023-10-10 08:00:38.549 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Temperature, unique id: grott_rehbcf908x_mqtt_031 2023-10-10 08:00:38.550 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X IPM Temperature, unique id: grott_rehbcf908x_mqtt_032 2023-10-10 08:00:38.550 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Last data update, unique id: grott_rehbcf908x_mqtt_099 2023-10-10 08:02:18.432 DEBUG (MainThread) [custom_components.grott.sensor] Received message: energy/growatt 2023-10-10 08:02:18.432 DEBUG (MainThread) [custom_components.grott.sensor] Payload: {'device': 'REHBCF908X', 'time': '2037-08-08T19:20:24', 'buffered': 'no', 'values': {'datalogserial': 'XGD6CJD2RN', 'pvserial': 'REHBCF908X', 'pvstatus': 0, 'pvpowerin': 0, 'pv1voltage': 3296, 'pv1current': 0, 'pv1watt': 0, 'pv2voltage': 2400, 'pv2current': 0, 'pv2watt': 0, 'pvpowerout': 0, 'pvfrequentie': 0, 'pvgridvoltage': 0, 'pvgridcurrent': 0, 'pvgridpower': 0, 'pvgridvoltage2': 0, 'pvgridcurrent2': 0, 'pvgridpower2': 0, 'pvgridvoltage3': 0, 'pvgridcurrent3': 0, 'pvgridpower3': 5001, 'totworktime': 0, 'pvenergytoday': 4040, 'pvenergytotal': 263327707, 'epvtotal': 39, 'epv1today': 24352, 'epv1total': 11694350, 'epv2today': 21, 'epv2total': 15788, 'pvtemperature': 370, 'pvipmtemperature': 0, 'battery1soc': 0}} 2023-10-10 08:02:18.432 DEBUG (MainThread) [custom_components.grott.sensor] Configured to look for device: + (+ means all) 2023-10-10 08:02:18.432 DEBUG (MainThread) [custom_components.grott.sensor] Configured to include calculated values: False 2023-10-10 08:02:18.433 INFO (MainThread) [custom_components.grott.sensor] PROCESSING UPDATES 2023-10-10 08:02:18.433 INFO (MainThread) [custom_components.grott.sensor] 32 sensors for processing 2023-10-10 08:02:18.433 DEBUG (MainThread) [custom_components.grott.sensor] raw_mqtt_sensors - matched on REHBCF908X 2023-10-10 08:02:18.433 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Serial, unique id: grott_rehbcf908x_mqtt_001 2023-10-10 08:02:18.434 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Datalog Serial, unique id: grott_rehbcf908x_mqtt_002 2023-10-10 08:02:18.434 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Status, unique id: grott_rehbcf908x_mqtt_003 2023-10-10 08:02:18.434 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Power, unique id: grott_rehbcf908x_mqtt_004 2023-10-10 08:02:18.434 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Voltage, unique id: grott_rehbcf908x_mqtt_005 2023-10-10 08:02:18.435 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Current, unique id: grott_rehbcf908x_mqtt_006 2023-10-10 08:02:18.435 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Power, unique id: grott_rehbcf908x_mqtt_007 2023-10-10 08:02:18.435 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Voltage, unique id: grott_rehbcf908x_mqtt_008 2023-10-10 08:02:18.436 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Current, unique id: grott_rehbcf908x_mqtt_009 2023-10-10 08:02:18.436 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Power, unique id: grott_rehbcf908x_mqtt_010 2023-10-10 08:02:18.436 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Output Power, unique id: grott_rehbcf908x_mqtt_011 2023-10-10 08:02:18.437 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Grid Frequency, unique id: grott_rehbcf908x_mqtt_012 2023-10-10 08:02:18.437 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Single/First Phase), unique id: grott_rehbcf908x_mqtt_013 2023-10-10 08:02:18.440 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Single/First Phase), unique id: grott_rehbcf908x_mqtt_014 2023-10-10 08:02:18.440 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Single/First Phase), unique id: grott_rehbcf908x_mqtt_015 2023-10-10 08:02:18.440 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Second Phase), unique id: grott_rehbcf908x_mqtt_016 2023-10-10 08:02:18.441 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Second Phase), unique id: grott_rehbcf908x_mqtt_017 2023-10-10 08:02:18.441 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Second Phase), unique id: grott_rehbcf908x_mqtt_018 2023-10-10 08:02:18.441 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Third Phase), unique id: grott_rehbcf908x_mqtt_019 2023-10-10 08:02:18.441 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Third Phase), unique id: grott_rehbcf908x_mqtt_020 2023-10-10 08:02:18.442 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Third Phase), unique id: grott_rehbcf908x_mqtt_021 2023-10-10 08:02:18.442 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Time Since Commissioned, unique id: grott_rehbcf908x_mqtt_022 2023-10-10 08:02:18.443 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Today (pvenergytoday), unique id: grott_rehbcf908x_mqtt_024 2023-10-10 08:02:18.443 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Total (pvenergytotal), unique id: grott_rehbcf908x_mqtt_071 2023-10-10 08:02:18.443 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Today, unique id: grott_rehbcf908x_mqtt_026 2023-10-10 08:02:18.444 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Total, unique id: grott_rehbcf908x_mqtt_027 2023-10-10 08:02:18.444 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Today, unique id: grott_rehbcf908x_mqtt_028 2023-10-10 08:02:18.444 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Total, unique id: grott_rehbcf908x_mqtt_029 2023-10-10 08:02:18.445 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Energy - Total, unique id: grott_rehbcf908x_mqtt_030 2023-10-10 08:02:18.447 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Temperature, unique id: grott_rehbcf908x_mqtt_031 2023-10-10 08:02:18.448 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X IPM Temperature, unique id: grott_rehbcf908x_mqtt_032 2023-10-10 08:02:18.448 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Last data update, unique id: grott_rehbcf908x_mqtt_099 2023-10-10 08:04:06.017 DEBUG (MainThread) [custom_components.grott.sensor] Received message: energy/growatt 2023-10-10 08:04:06.017 DEBUG (MainThread) [custom_components.grott.sensor] Payload: {'device': 'REHBCF908X', 'time': '2037-08-20T22:36:39', 'buffered': 'no', 'values': {'datalogserial': 'XGD6CJD2RN', 'pvserial': 'REHBCF908X', 'pvstatus': 0, 'pvpowerin': 0, 'pv1voltage': 3406, 'pv1current': 0, 'pv1watt': 0, 'pv2voltage': 2433, 'pv2current': 0, 'pv2watt': 0, 'pvpowerout': 0, 'pvfrequentie': 0, 'pvgridvoltage': 0, 'pvgridcurrent': 0, 'pvgridpower': 0, 'pvgridvoltage2': 0, 'pvgridcurrent2': 0, 'pvgridpower2': 0, 'pvgridvoltage3': 0, 'pvgridcurrent3': 0, 'pvgridpower3': 4998, 'totworktime': 0, 'pvenergytoday': 4040, 'pvenergytotal': 263786460, 'epvtotal': 0, 'epv1today': 24352, 'epv1total': 11694350, 'epv2today': 0, 'epv2total': 15788, 'pvtemperature': 394, 'pvipmtemperature': 0, 'battery1soc': 0}} 2023-10-10 08:04:06.017 DEBUG (MainThread) [custom_components.grott.sensor] Configured to look for device: + (+ means all) 2023-10-10 08:04:06.018 DEBUG (MainThread) [custom_components.grott.sensor] Configured to include calculated values: False 2023-10-10 08:04:06.018 INFO (MainThread) [custom_components.grott.sensor] PROCESSING UPDATES 2023-10-10 08:04:06.018 INFO (MainThread) [custom_components.grott.sensor] 32 sensors for processing 2023-10-10 08:04:06.018 DEBUG (MainThread) [custom_components.grott.sensor] raw_mqtt_sensors - matched on REHBCF908X 2023-10-10 08:04:06.018 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Serial, unique id: grott_rehbcf908x_mqtt_001 2023-10-10 08:04:06.019 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Datalog Serial, unique id: grott_rehbcf908x_mqtt_002 2023-10-10 08:04:06.019 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Status, unique id: grott_rehbcf908x_mqtt_003 2023-10-10 08:04:06.019 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Power, unique id: grott_rehbcf908x_mqtt_004 2023-10-10 08:04:06.019 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Voltage, unique id: grott_rehbcf908x_mqtt_005 2023-10-10 08:04:06.020 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Current, unique id: grott_rehbcf908x_mqtt_006 2023-10-10 08:04:06.020 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Power, unique id: grott_rehbcf908x_mqtt_007 2023-10-10 08:04:06.020 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Voltage, unique id: grott_rehbcf908x_mqtt_008 2023-10-10 08:04:06.021 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Current, unique id: grott_rehbcf908x_mqtt_009 2023-10-10 08:04:06.021 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Power, unique id: grott_rehbcf908x_mqtt_010 2023-10-10 08:04:06.021 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Output Power, unique id: grott_rehbcf908x_mqtt_011 2023-10-10 08:04:06.022 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Grid Frequency, unique id: grott_rehbcf908x_mqtt_012 2023-10-10 08:04:06.022 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Single/First Phase), unique id: grott_rehbcf908x_mqtt_013 2023-10-10 08:04:06.025 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Single/First Phase), unique id: grott_rehbcf908x_mqtt_014 2023-10-10 08:04:06.025 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Single/First Phase), unique id: grott_rehbcf908x_mqtt_015 2023-10-10 08:04:06.025 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Second Phase), unique id: grott_rehbcf908x_mqtt_016 2023-10-10 08:04:06.026 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Second Phase), unique id: grott_rehbcf908x_mqtt_017 2023-10-10 08:04:06.026 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Second Phase), unique id: grott_rehbcf908x_mqtt_018 2023-10-10 08:04:06.026 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Third Phase), unique id: grott_rehbcf908x_mqtt_019 2023-10-10 08:04:06.026 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Third Phase), unique id: grott_rehbcf908x_mqtt_020 2023-10-10 08:04:06.027 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Third Phase), unique id: grott_rehbcf908x_mqtt_021 2023-10-10 08:04:06.027 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Time Since Commissioned, unique id: grott_rehbcf908x_mqtt_022 2023-10-10 08:04:06.028 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Today (pvenergytoday), unique id: grott_rehbcf908x_mqtt_024 2023-10-10 08:04:06.028 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Total (pvenergytotal), unique id: grott_rehbcf908x_mqtt_071 2023-10-10 08:04:06.028 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Today, unique id: grott_rehbcf908x_mqtt_026 2023-10-10 08:04:06.029 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Total, unique id: grott_rehbcf908x_mqtt_027 2023-10-10 08:04:06.029 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Today, unique id: grott_rehbcf908x_mqtt_028 2023-10-10 08:04:06.029 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Total, unique id: grott_rehbcf908x_mqtt_029 2023-10-10 08:04:06.032 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Energy - Total, unique id: grott_rehbcf908x_mqtt_030 2023-10-10 08:04:06.033 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Temperature, unique id: grott_rehbcf908x_mqtt_031 2023-10-10 08:04:06.033 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X IPM Temperature, unique id: grott_rehbcf908x_mqtt_032 2023-10-10 08:04:06.033 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Last data update, unique id: grott_rehbcf908x_mqtt_099

annbuw commented 8 months ago

@muppet3000 , is this the right logging ? i have turned on debug logging in grott and this is the inverter with the wrong data. if you nee something else to see please explain how i can get it !

thanks

annbuw commented 8 months ago

this log here under is with sun , the above is from starting up , i try also to get a picture from the HA from the same time

2023-10-10 10:09:10.782 DEBUG (MainThread) [custom_components.grott.sensor] Payload: {'device': 'REHBCF908X', 'time': '2023-10-10T10:06:07', 'buffered': 'no', 'values': {'datalogserial': 'XGD6CJD2RN', 'pvserial': 'REHBCF908X', 'pvstatus': 1, 'pvpowerin': 5481, 'pv1voltage': 3365, 'pv1current': 9, 'pv1watt': 3028, 'pv2voltage': 2394, 'pv2current': 7, 'pv2watt': 1675, 'pvpowerout': 0, 'pvfrequentie': 0, 'pvgridvoltage': 0, 'pvgridcurrent': 0, 'pvgridpower': 0, 'pvgridvoltage2': 0, 'pvgridcurrent2': 0, 'pvgridpower2': 0, 'pvgridvoltage3': 0, 'pvgridcurrent3': 0, 'pvgridpower3': 353833864, 'totworktime': 589824, 'pvenergytoday': 139137000, 'pvenergytotal': 266080253, 'epvtotal': 6, 'epv1today': 24358, 'epv1total': 11708328, 'epv2today': 4, 'epv2total': 15792, 'pvtemperature': 541, 'pvipmtemperature': 0, 'battery1soc': 0}} 2023-10-10 10:09:10.782 DEBUG (MainThread) [custom_components.grott.sensor] Configured to look for device: + (+ means all) 2023-10-10 10:09:10.782 DEBUG (MainThread) [custom_components.grott.sensor] Configured to include calculated values: False 2023-10-10 10:09:10.782 INFO (MainThread) [custom_components.grott.sensor] PROCESSING UPDATES 2023-10-10 10:09:10.782 INFO (MainThread) [custom_components.grott.sensor] 32 sensors for processing 2023-10-10 10:09:10.783 DEBUG (MainThread) [custom_components.grott.sensor] raw_mqtt_sensors - matched on REHBCF908X 2023-10-10 10:09:10.783 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Serial, unique id: grott_rehbcf908x_mqtt_001 2023-10-10 10:09:10.783 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Datalog Serial, unique id: grott_rehbcf908x_mqtt_002 2023-10-10 10:09:10.783 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV Status, unique id: grott_rehbcf908x_mqtt_003 2023-10-10 10:09:10.784 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Power, unique id: grott_rehbcf908x_mqtt_004 2023-10-10 10:09:10.784 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Voltage, unique id: grott_rehbcf908x_mqtt_005 2023-10-10 10:09:10.785 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Current, unique id: grott_rehbcf908x_mqtt_006 2023-10-10 10:09:10.785 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Power, unique id: grott_rehbcf908x_mqtt_007 2023-10-10 10:09:10.786 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Voltage, unique id: grott_rehbcf908x_mqtt_008 2023-10-10 10:09:10.786 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Current, unique id: grott_rehbcf908x_mqtt_009 2023-10-10 10:09:10.792 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Power, unique id: grott_rehbcf908x_mqtt_010 2023-10-10 10:09:10.792 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Output Power, unique id: grott_rehbcf908x_mqtt_011 2023-10-10 10:09:10.793 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Grid Frequency, unique id: grott_rehbcf908x_mqtt_012 2023-10-10 10:09:10.793 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Single/First Phase), unique id: grott_rehbcf908x_mqtt_013 2023-10-10 10:09:10.793 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Single/First Phase), unique id: grott_rehbcf908x_mqtt_014 2023-10-10 10:09:10.794 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Single/First Phase), unique id: grott_rehbcf908x_mqtt_015 2023-10-10 10:09:10.794 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Second Phase), unique id: grott_rehbcf908x_mqtt_016 2023-10-10 10:09:10.794 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Second Phase), unique id: grott_rehbcf908x_mqtt_017 2023-10-10 10:09:10.795 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Second Phase), unique id: grott_rehbcf908x_mqtt_018 2023-10-10 10:09:10.795 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Voltage (Third Phase), unique id: grott_rehbcf908x_mqtt_019 2023-10-10 10:09:10.795 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Current (Third Phase), unique id: grott_rehbcf908x_mqtt_020 2023-10-10 10:09:10.795 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Output Power (Third Phase), unique id: grott_rehbcf908x_mqtt_021 2023-10-10 10:09:10.796 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Time Since Commissioned, unique id: grott_rehbcf908x_mqtt_022 2023-10-10 10:09:10.799 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Today (pvenergytoday), unique id: grott_rehbcf908x_mqtt_024 2023-10-10 10:09:10.800 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Power Generation - Total (pvenergytotal), unique id: grott_rehbcf908x_mqtt_071 2023-10-10 10:09:10.801 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Today, unique id: grott_rehbcf908x_mqtt_026 2023-10-10 10:09:10.801 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV1 Energy - Total, unique id: grott_rehbcf908x_mqtt_027 2023-10-10 10:09:10.801 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Today, unique id: grott_rehbcf908x_mqtt_028 2023-10-10 10:09:10.802 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV2 Energy - Total, unique id: grott_rehbcf908x_mqtt_029 2023-10-10 10:09:10.802 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X PV-All Energy - Total, unique id: grott_rehbcf908x_mqtt_030 2023-10-10 10:09:10.803 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Inverter Temperature, unique id: grott_rehbcf908x_mqtt_031 2023-10-10 10:09:10.803 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X IPM Temperature, unique id: grott_rehbcf908x_mqtt_032 2023-10-10 10:09:10.803 DEBUG (MainThread) [custom_components.grott.sensor] Processing update for: REHBCF908X Last data update, unique id: grott_rehbcf908x_mqtt_099

annbuw commented 8 months ago

Image2 Image3

muppet3000 commented 8 months ago

The logs you have posted are from the Grott Integration in Home Assistant, not Grott itself, however they do contain the information that will be processed and displayed, specifically this section:

 {'device': 'REHBCF908X', 'time': '2023-10-10T10:06:07', 'buffered': 'no', 'values': {'datalogserial': 'XGD6CJD2RN', 'pvserial': 'REHBCF908X', 'pvstatus': 1, 'pvpowerin': 5481, 'pv1voltage': 3365, 'pv1current': 9, 'pv1watt': 3028, 'pv2voltage': 2394, 'pv2current': 7, 'pv2watt': 1675, 'pvpowerout': 0, 'pvfrequentie': 0, 'pvgridvoltage': 0, 'pvgridcurrent': 0, 'pvgridpower': 0, 'pvgridvoltage2': 0, 'pvgridcurrent2': 0, 'pvgridpower2': 0, 'pvgridvoltage3': 0, 'pvgridcurrent3': 0, 'pvgridpower3': 353833864, 'totworktime': 589824, 'pvenergytoday': 139137000, 'pvenergytotal': 266080253, 'epvtotal': 6, 'epv1today': 24358, 'epv1total': 11708328, 'epv2today': 4, 'epv2total': 15792, 'pvtemperature': 541, 'pvipmtemperature': 0, 'battery1soc': 0}}

You can see that these are the same values that are being displayed on the screenshots you shared. e.g. pv1voltage: 3365 = PV1 Voltage: 339,5v (I assume there was a slight time lag between the screenshots and the log output)

Therefore if you believe some of the values are incorrect for this specific inverter you'd need to raise a bug in the https://github.com/johanmeijer/grott/issues area to see if the developer of Grott can assist in fixing them.

I'm sorry I can't be more help, please let me know if that assists your debug.

annbuw commented 8 months ago

@muppet3000 , thanks everything is working fine now , i will close this issue

muppet3000 commented 8 months ago

Great, thanks @annbuw