The first release candidate for omnik datalogger has been released. Se more information at the project page.
Category: Projects
Caching automation application for Home Assistant
When automating with Home Assistant, you can use elements like:
- input_select to create a picklist
- input_boolean or switch to control a binary input or switch
- input_text to input a text.
- input_number to input a number or any other numeric control
They can be set through the config at be set to initial values. The current state will be reset to the initial value. You can use ha-entity-cache to recover to the last value set. Be aware that Home Assistant already restores certain values at restart.
If you have other properties or attributes you want to make persistent, then have a look at this project.
P.s. when you do not supply an initial value, Home assistant will recover state as well.
See my project that enables caching the state and attributes of custom controls within Home Assistant.
New release for omnikdatalogger
You can find it here: https://github.com/jbouwh/omnikdatalogger/releases/tag/v0.93-beta
New features are:
- Local interception of inverter traffic with documentation and a proxy script
- Lots of updates
The documentation at this site still needs an update, but the documentation on Github was already updated already.
Have fun.
New release Omnik datalogger
Check https://GitHub.com/jbouwh/omnikdatalogger for the newrelease (0.91-beta) of Omnik datalogger.
The last days omnikport was down. In the mean while I found a second method getting access your the data. During the outage the portal at https://www.solarmanpv.com/portal was available the whole time. Here you can find your data aswell. This proves omnikportal is just a skin and the data is at solarman PV. I found an API and working code that gives access to the realtime information. This API seems to give more accurate and in time access to the most recent data that was logged. Unfortunally the API is not TLS encrypted and uses a MD5 hashed password login. Not very safe. Neverless the alternative API is a good alternative for the time being. In the main menu there is now a special page for the omnik datalogger sofware.
Pluggable client
The new release comes with a pluggable client for logging. This makes it easy to change the logging code by just changing the configuration.
New client in development for local logging
For older Omnik inverters it is not possible to get the data straight from the inverter. Newer inverters listen at port 8899 and are able to respond directly. The datalogger in the inverter sends an update about every 5 minutes to a fixed IP of a logging server in the Solarman datacenter. The IP address the inverter is logging to is fixed and cannot be changed via the interface, but it is possible to intercept the message by simulating the server using a NAT rule and a static route for the IP address in your netwerk. The code te parse the data that is logged is already available to use, thanks to Woutrrr. The software will be able to listen on a TCP port to the rerouted datalogger sessions. The code ewill be based on this project of t3kpunk. A tutorial how to use this will apear on this site as soon as the code is ready for release. Local logging will give more detail information then currently available using the API’s. Extra sensors will be:
- AV Voltage* and Current and Frequency (3 fase if yor model supports it)
- DC Voltages and Currents for all strings (max 2)
- The Temperature* of the inverter
*These values are submitted to PVoutput as well. And every new sensor will become available via the MQTT plugin.
DSMR integration
For ouput to pvoutput.org I have planned to make an integration for the Dutch Smart Meter (DSMR). An adapter from the P1 connector to a USB serial interface is general available. Integrating makes is possible to calculate the real energy consumption. Of course all these new sensor information will be available to the MQTT output plugin as well.
Outage omnik portal
The last few days, the omnik portal and app and API have been unavailabe. So the data loggging is not possible at the moment. I have found out Omnik dataloggers log to the database of SolarmanPV. It seems you can still see your live output and history.
The URL is https://www.solarmanpv.com/portal/LoginPage.aspx and you can use your omnik portal credentials. I am working to get the API working so the software can be updated. Unfortunally there is only a working unsecure API interface. There is a secure alternative, but an API-key is needed for that. I am working on this.
Have some patience, I will come with a working update coming days.
Regards,
Jan