Comments (11)
What would you like to see? A numerical representation of the operating mode or a textual one, e.g either "1", "2", "10", ... or "Self consumption", "Auto", "Time of Use" ... ?
Should be fairly easy to add. Now, if you could provide some spare time ... ;)
from ha_sonnenbatterie.
from ha_sonnenbatterie.
Perhaps this helps? I am using this as a template sensor:
- sensor:
- name: Sonnebatterie - Betriebsmodus
unique_id: pv_sonnen_betriebsmodus
state: >
{% set x = states('sensor.sonnen_status_operatingmode') | int(0) %}
{{ {1: 'Manuell',
2: 'Automatisch (Eigenverbrauch)',
6: 'Modul-Erweiterung',
10: 'Time-of-use'}.get(x, 'Unknown state') }}`
from ha_sonnenbatterie.
{% set x = states('sensor.sonnen_status_operatingmode') | int(0) %}
Where do you get that from, I can't find that sensor in my HA. What version of the Sonnenbatterie integration are you using?
from ha_sonnenbatterie.
Something like that ok:
?
from ha_sonnenbatterie.
Sorry I guess this is my own REST sensor :-). I can post the config for that later
from ha_sonnenbatterie.
@whistlebare -> #47
from ha_sonnenbatterie.
Sorry I guess this is my own REST sensor :-). I can post the config for that later
Won't help much since the current version of the integration doesn't provide the operating mode. So there's no way to convert it using your nifty template ;)
from ha_sonnenbatterie.
Closed by #47
from ha_sonnenbatterie.
from ha_sonnenbatterie.
Well thank you for your effort. But I think 1 ist not "self consumption", this is 2.
1 is "manual" which means you can/must control charge/discharge manually with the REST API via /api/v2/setpoint/discharge or charge.
from ha_sonnenbatterie.
Related Issues (20)
- I cannot re-install integration HOT 8
- Can't find this integration in the HACS addon HOT 2
- Sonnenbatterie 10: tracking consumption + battery charging HOT 6
- Entities intermittently freeze and get unavailable HOT 9
- Change IP HOT 4
- Sensor Not set HOT 1
- Inverter_ipv2 problem HOT 1
- Fehler HOT 1
- Entities becoming unavailable HOT 2
- Button to start Manual Loading Process HOT 7
- Representation of the “Systemstatus” sensor HOT 4
- Question :: How to connect to Sonnen unit HOT 1
- Error on 75a3e8c update: "The version 75a3e8c for this integration can not be used with HACS." HOT 6
- https://github.com/weltmeyer/ha_sonnenbatterie.git is not a valid add-on repository
- Sensors Stop waorking and values freeze HOT 1
- Some meters report a value of `undefined` when their actual value is `0` HOT 9
- Internal Max Temp and Charge/Discharge status unavailable HOT 6
- Error on latest HA HOT 4
- Not all sensors available in new HA installation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_sonnenbatterie.