egguy / grott-home-assistant-add-on

Grott Home Assistant add-on - Native MQTT plugin
31 stars 10 forks source link

output to pvoutput #57

Closed Vinisz closed 8 months ago

Vinisz commented 9 months ago

Hi,

I know normal grott is able to output to "pvoutput" , how should I configure this for the addon ?

TjappieW commented 9 months ago

I edited the file grott.ini with Studio Code Server. The file was empty and i copy/pasted the pvoutput settings (from a grott.ini example in the grott repo) in to the file and edit them with my apikey and systemid.

[PVOutput]
# PVOutput parameters definitions
pvoutput = True
apikey = yourapikey 
# Data upload limit (in minutes)
pvuplimit = 5
# Use this if you have one inverter
systemid = yoursystemid
Vinisz commented 9 months ago

Thanks , I found out that you can just add it in the JAML as well.. however, maybe something else is needed.. where is the grott.ini located ?

TjappieW commented 9 months ago

I found the file in the folder "config/grott".

egguy commented 9 months ago

Hi, yes I added the possibility to configure grott with an ini file if you like. The config as @TjappieW noted is in config/grott you can even add custom layouts.

corove commented 9 months ago

I edited the file grott.ini with Studio Code Server. The file was empty and i copy/pasted the pvoutput settings (from a grott.ini example in the grott repo) in to the file and edit them with my apikey and systemid.

[PVOutput]
# PVOutput parameters definitions
pvoutput = True
apikey = yourapikey 
# Data upload limit (in minutes)
pvuplimit = 5
# Use this if you have one inverter
systemid = yoursystemid

Hi. I am fairly new to Grott and Growatt, and struggles somehow to set up this integration fully. I have got i t to send data to the Grott integration, but there is no mqtt sensors populating or showing up. Maybe i have to put in this code aswell? But where do I locate my APIkey and SystemID?

egguy commented 9 months ago

Hello,

This add-on is mainly to have a local version of grott. This will forward the data to growatt and send a copy to your local HA. It don't support connecting to growatt server to get the data.

You probably want to use the native grott HA integration, or use @muppet3000 (https://github.com/muppet3000/) HACS integration.

corove commented 9 months ago

Hello,

This add-on is mainly to have a local version of grott. This will forward the data to growatt and send a copy to your local HA. It don't support connecting to growatt server to get the data.

You probably want to use the native grott HA integration, or use @muppet3000 (https://github.com/muppet3000/) HACS integration.

Hi.

yes i understand that this is the local version, and it is this i want. The muppet3000 integration stopped working and will nor reconnect to growatt servers, so therefore i am trying this metode instead. Before flashing my shinewifi end running esphome on it.😉 but i don’t know where to locate the API keys and systemID mentioned in the code above?

muppet3000 commented 9 months ago

@corove - I support a different integration for working with Grott, this one: https://github.com/muppet3000/homeassistant-grott All you need to do to make it work with the @egguy add-on is to install it and then tweak the installation of the @egguy add-on slightly:

Then the MQTT devices should be marked as disabled, and the HACS integration will receive the message instead.

You don't need to do anything with the [PVOutput] section of the config, that's for if you want to publish your data to https://pvoutput.org/

egguy commented 8 months ago

@corove for pvoutput key, if you want to publish them on this website, I think you can find the information over here: https://pvoutput.org/help/index.html