Hi,
When I click UI i get the screen below, there is no orange circle with a + ?
Its like the setup file is missing, do i need to create this manually?
See what youāre saying now. I am not sure why you donāt have the add cards option. Hopefully someone can jump in with a fix for you.
Just having a guess, and I could be way off the mark, bbut do you have anything in your:
frontend:
Setting in your configuration.yaml?
Definitely not right down the bottom right hand corner?
No, definitely nothing, have scrolled down.
Do I need to enable lovelace in configuration.yaml?
No. If you have clicked the 3 dots in the top right and then selected āconfigure UIā, then you should have the plus button down the bottomā¦ When you first went to Lovelace, did you click the option to take over control of the UI? Iām guessing you did since you have the option to editā¦
Yes, I cant remember exactly what the wording was but answered yes to the pop up.
Try the below page, click the configure UI and see if you get the icon on the bottom right. If you donāt then it is a local issue, ie your browser.
The other option is to do everything via the lovelace yaml file.
Below is just one of many videos on howto.
Regards the solar stuff per original post, the sensors are working just fine.
Works perfectly on the demo page but not my page !
Could be because I am running as a virtual machine under windows?
Really want that feature as it looks very useful.
Interestingly I do get the orange circle with a + if I goto:
Configuration -
- Area Registry
- Automation
- Script
- Customization
These all workā¦?
It might be worth asking the question in the #lovelace Discord chat. It seems very strange that you canāt edit the GUI
OK, found the inverter IP I was using was wrong, corrected that and i can now see data in the history tab. How do I actually display it? Considering I cant use the damn + option on the UI.
Just could use Raw mode to paste in the corresponding yaml since the + sign isnāt there. Use the Lovelace docs to see how to code the particular look you want (glance / picture_entity etc) and substitute your entity_idās, then paste it in Raw editor mode
Been able to reproduce, @dudester. Looks like you selected panel mode, which is not the default mode.
Go to configure UI, click the pen icon next to your home tab, then unselect panel mode.
Yes, thats it !
I actually got it working early this morning but didnt know how I did it but yes, thats it.
Thank you for your help, now have a panel showing my inverter data.
Excellent, glad you got it working.
Hi,
I would really need help. Trying my best to add a new Lovelace card for showing the values from my inverter. I am putting it into the ui-lovelace.yaml file, but I donāt get it to work.
I have copied your code above, and put it under a new card like this:
views:
- title: Solarpanels
icon: mdi:weather-sunny
cards:
- type: entities
id: Solarpanels
title: Solarpanels
entities:
sensor:
- platform: rest
name: "Current Power"
resource: http://my-fronius-ip/solar_api/v1/GetInverterRealtimeData.cgi?Scope=Device&DeviceId=1&DataCollection=CommonInverterData
method: GET
value_template: >-
{% if is_state('sun.sun', 'above_horizon') %}
{{ (value_json.Body.Data.PAC.Value /1000 | int )|round(0) }}
{% else %}
0
{% endif %}
unit_of_measurement: kWh
force_update: true
But all I get is angry red card, stating that "Entity Object at object 0
is missing entity field. I am 100% confident that this boils down to syntax/structural errors in this yam file.
I am fairly new to HA, and hence I am not able to fully understand how exactly the code should be written āaroundā your code.
Ps. I am using the yams file approach not the Web based Lovelace based changes. Ds.
Version of HA is 0.91.4
Thank full for any help.
Have you substituted my-fronius-ip for your actual IP?
I checked my router to see what IP had been allocated to the inverter.
Yes, I have used my own internal IPā¦ still the same. I am quite certain that it is the actual YAML code that is not correctā¦ I have had similar issues before, but this is my first attempt to use rest APIā¦ I have always used out-of-the-box components before, like Telldus etc, and they have a more straight forward approach. Here I got lost on what tags are for what, and how to get this into an entity to be visible in the entities type of card.
Perhaps if you have used a Lovelace card, you might share the yaml code you used, I like the way you have chosen to show the dataā¦
I am still learning a lot too, below are the 3 relevant cards from my front end.
Does the data show up in the developer-tools states section?
You can use this to see if your actually getting the correct data for each entity to start with.
entity: sensor.current_power
max: 5
min: 0
name: Current Generation
severity:
green: 3
red: 1
yellow: 2
theme: default
type: gauge
entities:
- sensor.current_power
title: Live Solar Generation
type: history-graph
entities:
- entity: sensor.total_power_today
- entity: sensor.current_power
- entity: sensor.power_consumption
title: ''
type: entities
Thanks a lot.
I was putting all the code in the ui-lovelace.yaml. When putting the actual sensor definition in the configuration.yaml, I was able to call the sensor.current_power and put it on a card. So now it works.