All Projects → robbinjanssen → home-assistant-omnik-inverter

robbinjanssen / home-assistant-omnik-inverter

Licence: MIT license
Read the current, daily and total Wh from your Omnik Inverter via local network (no cloud!)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to home-assistant-omnik-inverter

home-assistant-miele
Miele integration for Home assistant
Stars: ✭ 101 (+124.44%)
Mutual labels:  homeassistant, hacs
ha-sengledapi
Home Assistant Integration for Sengled Bulbs. This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.
Stars: ✭ 85 (+88.89%)
Mutual labels:  homeassistant, hacs
worldtidesinfocustom
world tides info custom component for home assistant
Stars: ✭ 14 (-68.89%)
Mutual labels:  homeassistant, hacs
home-assistant-theme-outline
🎨 Home Assistant Theme: Outline
Stars: ✭ 20 (-55.56%)
Mutual labels:  homeassistant, hacs
thermal
Thermal Vision Sensor and Camera for Home Assistant
Stars: ✭ 43 (-4.44%)
Mutual labels:  homeassistant, hacs
charger-card
A lovelace card for electrical vehicle (EV) home chargers and charging robots.
Stars: ✭ 57 (+26.67%)
Mutual labels:  homeassistant, hacs
ltss
Long time state storage (LTSS) custom component for Home Assistant using Timescale DB
Stars: ✭ 34 (-24.44%)
Mutual labels:  homeassistant, hacs
homeassistant-powercalc
Custom component to calculate estimated power consumption of lights and other appliances
Stars: ✭ 261 (+480%)
Mutual labels:  homeassistant, hacs
homeassistant-jlrincontrol
An integration for JLR InControl to Home Assistant
Stars: ✭ 34 (-24.44%)
Mutual labels:  homeassistant, hacs
ha-zoom-automation
Custom Home Assistant component for Zoom. Tracks when you are connected to a Zoom call by default but may allow you to track more.
Stars: ✭ 47 (+4.44%)
Mutual labels:  homeassistant, hacs
wyzesense2mqtt
Configurable WyzeSense to MQTT Gateway intended for use with Home Assistant or other platforms that use MQTT discovery mechanisms.
Stars: ✭ 55 (+22.22%)
Mutual labels:  homeassistant, home-assistant-sensor
HomeAssistant-Cupertino-Icons
Apple SF Symbols icons for Home Assistant! (3000+ icons)
Stars: ✭ 100 (+122.22%)
Mutual labels:  homeassistant, hacs
openrgb ha
OpenRGB integration for Home Assistant
Stars: ✭ 40 (-11.11%)
Mutual labels:  homeassistant, hacs
custom-brand-icons
Custom brand icons for Home Assistant
Stars: ✭ 242 (+437.78%)
Mutual labels:  homeassistant, hacs
hass-livebox-component
Livebox Component for Home assistant
Stars: ✭ 24 (-46.67%)
Mutual labels:  homeassistant, hacs
home-assistant-frigidaire
Custom component for the Frigidaire integration
Stars: ✭ 11 (-75.56%)
Mutual labels:  homeassistant, hacs
slider-button-card
A button card with integrated slider
Stars: ✭ 319 (+608.89%)
Mutual labels:  homeassistant, hacs
mercedes me api
Script to use Mercedes Me APIs.
Stars: ✭ 34 (-24.44%)
Mutual labels:  homeassistant, hacs
entur-card
Home Assistant Lovelace card card for the Entur public transport component.
Stars: ✭ 38 (-15.56%)
Mutual labels:  homeassistant, hacs
home-assistant-p2000
🚒 This component tracks P2000 emergency events in The Netherlands.
Stars: ✭ 45 (+0%)
Mutual labels:  homeassistant, hacs

hacs_badge Project Stage

Project Maintenance Maintainability Code Quality

Omnik Inverter Integration for Home Assistant

The Omnik Inverter integration will scrape data from an Omnik inverter connected to your local network. It has been tested and developed on the following inverters:

Supported models

Brand Model Datasource
Omnik Omniksol 1000TL JS
Omnik Omniksol 1500TL JS
Omnik Omniksol 2000TL JS
Omnik Omniksol 2000TL2 JSON
Omnik Omniksol 2500TL HTML
Omnik Omniksol 3000TL JS/TCP
Omnik Omniksol 4000TL2 JS
Ginlong Solis-DLS-WiFi JSON/HTML
Hosola 1500TL JS
Bosswerk BW-MI300 HTML
Bosswerk BW-MI600 HTML
Sofar 3600TLM HTML
Huayu HY-600-Pro HTML

After installation you can add the inverter through the integration page. The values will be presented by two devices in Home Assistant. One is the inverter containing the actual solar power, and one is the device containing information about the wifi signal.

Requirements

Your Omnik Inverter needs to be connected to your local network, as this custom integration will utilise the web interface of the Omnik inverter to read data. All you need to know is the IP address of the Omnik inverter and you are good to go.

HACS installation

Add this integration using HACS by searching for Omnik Inverter Solar Sensor (No Cloud) on the Integrations page.

Manual installation

Create a directory called omnik_inverter in the <config directory>/custom_components/ directory on your Home Assistant instance. Install this integration by copying all files in /custom_components/omnik_inverter/ folder from this repo into the new <config directory>/custom_components/omnik_inverter/ directory you just created.

This is how your custom_components directory should be:

custom_components
├── omnik_inverter
│   ├── translations
│   │   ├── en.json
│   │   └── nl.json
│   ├── __init__.py
│   ├── config_flow.py
│   ├── const.py
│   ├── manifest.json
│   ├── sensor.py
│   └── strings.json

Configuration

ha_badge

To configure the integration, add it using Home Assistant integrations. This will provide you with a configuration screen where you can first select the data source. Again, most inverters use JS. Some use JSON and in some rare cases HTML is used. The TCP backend contains additional electrical statistics but lacks information about the WiFi module.

After selecting the data source, enter a name and IP address as host and you're good to go!

Optionally you can update the scan interval in the integration settings.

Examples

Config flow

Entities

What data source do I use?

The web interface has a javascript, JSON or HTML file that contains the actual values. These values are updated every few minutes.

  • Most inverters have a JS file, try accessing http://<your omnik ip address>/js/status.js in your browser.
  • Some inverters use a JSON status file to output the values. Check if your inverter outputs JSON data by navigating to: http://<your omnik ip address>/status.json?CMD=inv_query.
  • A few inverters don't have JS or JSON but output the values directly in a HTML files. Check if your inverter supports the following URL: http://<your omnik ip address>/status.html. Note that this will work for almost all inverters, but you need to check the HTML source for a <script> tag that contains the relevant webData.

If none of the methods work, please open a new issue and we might be able to make it work for your inverter 😄 Make sure you let us know what inverter you use.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Thanks

Special thank you to @klaasnicolaas for taking this integration to the next level 🚀 and @relout for testing 👍

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].