Hi
I am sharing some observations of my latest experiments on OH4 and HA, so take my comparison with some tolerance and grain of salt for posible OH5 imporvements.
1. My New LAB and impovements
So i started my fresh LAB on mini pc with clean OH4 and i also loaded the new boy on the block Home Aisitant, that felt all to complicated and buggy back then, it appers it evolved and it can help integrate more devices together with OpenHAB.
I havent figured out how to conect both together, it apears MQTT is a way, any others?
I was runnig into issues with integrating EcoFlow devices in OpenHAB as i was unable to send comands with my python script so i resorted to prebuilt solutions on GitHub made for HA, so HA it is.
I run pepermint 12, build debian 12 on N100 GMKtec G3.
I loaded HASS OS VM in Virtual Box on N100 mini pc and it starts and runs with zero noise from CPU fan.
I installed openhabian on my pepermint without VM.
So i donât know why OH is so much heavier to start that it burns CPU fan to the max.
All i know is that OH runs on JAVA VM, while HA on Python and Docker.
So here is my idea for improvement
I understand that OH is busy parsing bunch of my items rules and other config on start, but i think in OH5 that could be improved to take less CPU power, maybe with come chache when nothing changes.
But anyhow i see loading OH prior to config is also heawy.
I am surprised like how HomeAsistant starts like nothing needs to get loaded and crunched by CPU.
And here is OH and HA running with all lightweight config on new system, while OH does surge sometimes with rules on data analisis.
2. My OH Backrground story
I started with OH in 2018 as per my posts on comunity, and back then i started with central heating automation on Luxtronik heatpump and MAX thermostat binding, it was like magic tool to conect diferent devices.
Luxtronik heatpump bunding works perfectly, MAX destuch thermostats are mediocre cause of crappy bridge, but it works for water flow metrics fine to decide for heatpump target temperature, if i dont touch any room temperature settings in OH.
Then in 2020 i started with MQTT devices like ESP8266, Tasmota smart Plugs and so on, i built greenhouse controllers and water storage sensors, automatic shades, Power monitoring and more.
And i arrived into the era where i see i used OH as monitoring tool so heavy for so many devices that itâs time to step back and optimize the performance of all the automations, as CPU load was higher than ever every few months. Not to mistake that with my new clean system i mentioned earlier.
3. Conclusion
Now i wish all MQTT devices could get integrated with few clicks, where i see convenience with other bindings to get devices in OH by autodiscovery, and got blown my mind in HomeAsistant that a device got from discovered to integrated with entities and on dasboard with 4 clicks and while its not yet custom and pretty its good enougs to start automatin. Thats efficient.
And here i face the temptation to have my MQTT devices act like that, conectt integrate automate and test in 15 minutes opose to 1 hour.
While the evil with colud devices remains, as i mainly used HA for those that they are unavailabe and buggy, errrr, even tho others dont notice like dishwasher or powerstation being offline ocasionally.
And i also miss some more comenters on some niche topics i post sometimes
Best
Matej