Hi all, my final aim is to output a sensor for the thermal comfort parameter based on six variables that I will have sensors for (i.e. temp, humidity, air velocity,…). The python library that already does this can be found here:
Previously I have done something similar with simple math equations using value templates, creating new sensors that are based on one or more other sensors. I realised that the thermal comfort python library function requires an iterative solver, thus I’m not sure if that will be possible with value templates.
Can I seek advice on which would be a good way forward?
Is porting everything onto hass even possible including the iterative solver?
Get the python script to run within hass, sensors from hass will pass inputs and python will find the solution and will output as another sensor. I think this is possible with pyscript/appdaemon but not very familiar with them.
Any other better way, I also have a separate running raspberry pi so could possibly run the python scripts over there.