Thanks for your example config regarding the COP calculations. I have modified your code slightly to fit my S1155 unit. The utility meters are working fine (contains data). However the COP calulations are «unavailable».
Here´s my code in configuration.yaml (I´m quite new to this so the error might be obvious, sorry😜):
Following this thread with excitement. I would like to have this one also for my S1155. I got the same status “Unavailable”. My HA knowledge is just building up so trying to learn step by step.
will result in a sensor entity sensor.nibe.s1155_cop_total instead of sensor.nibe_s1155_cop_energy.
So it seems a derivative of ‘name’ is used instead of ‘unique_id’ . Just have a look at the entity names in Settings-> Devices to find the correct names.
Also if the heatpump did not produce any heat or hot water in that hour, the in_energy values will be 0. And it seems a division by zero results in an ‘unavailable’ value.
That solved the issue. Is there a way to solve the «unavailable» value when no hot water produced last hour? Maybe the last recorded cop calulation could be shown instead of just «unavailable».
I have successfully integrated my Nibe S735 with modbus over tcp integration.
With nibepi and my former Nibe F370 i could write to the registers through mqtt publish. I used it to take the average house temperature from all my sensors and populate the climate setpoint and controll my heating based on the house averege temperature. Is there a way to write to the indoor temperatures register? Thank for any help and directions i can get
I try to make the adjustments however I don’t understand how to resolve it.
Can you please help me resolve the issue? I am new to programming HomeAssistant so still learning.
Just wondering if anyone has been able to change the time at which the heat pump does its weekly hot water run through modbus? I have a dynamically priced energy contract and I usually see the energy prices low at night in winter times and in the summer I would like to do this run when I have a surplus of PV, but can’t find the register to trigger the hot water run. Hoping you smart guys have found something…
I have a S1255 and wanted to link this with my inverter from Goodwe via Modbus TCP/IP to optimize heating when there is a surplus of solar energy. For some reason i cant get the connection between the inverter and the heathpump to work so i wondered if there is a possibility to do this through Home Assistant.
What i want to do is, when there is injection to the grid, put the heatcurve of the hot water and the floor heating one point higher (this is the thing nibe does with her modbus PV).
switch it on (switch.periodic_hot_water_40066)
set interval in days(number.periodic_hot_water_interval_40067)
set start time (number.start_time_periodic_hot_water_40068)
get date (sensor.date_periodic_hot_water_31562)
You can try to create automation to switch it on, set start time and interval (0? or 1) days and wait for it to kick in
And another automation to switch it off
Try looking at register 26 (heating curve) and 30 (offset curve), if you increase this during surplus PV this should speed up the heating. You can set this register between -5 and 5.
Check this directory: https://github.com/yozik04/nibe/tree/master/nibe/data . CSV files are raw exports from pumps.,/control modules. JSON files are used for nibe integration in haos. NIbe itself does not have good docs on modbus registers. I am using SMOS40 integration because S2125 is missing energy log registers for some reason. Here is my automation for setting Hot water demand to Medium at 22:00 in the evening. Ou can define any triggers you want.
I have been struggling with the same (COP calculations). One solution can be to use the statistics integration (link). I have defined averages (using time weighted values via ‘average_linear’) for 24 hours and 7 days but you can extend this to other periods of course.
One problem could be how periods without heat production are handled. COP is ‘undefined’ during these periods but I’m not sure how this influences the statistics in Home Assistant.
I would also welcome other solutions to actually use the energy used to produce the ‘heat’. Cumulative ‘heat’ produced is available via sensors heating_compressor_only_31586 and heating_including_int_add_heat_31578 in the Nibe integration.