segalion / raspipool

Swimming Pool Automation Systen with Raspberry Pi + Home Assistant
MIT License
393 stars 73 forks source link

Using node-RED for the automation? #22

Open SiPhyLLC opened 3 years ago

SiPhyLLC commented 3 years ago

This is a fantastic project. I have most of the parts on order and can't wait to start the implementation myself.

Not to criticize at all, but looking over, or modifying, all the various YAML scripts for the automation is not my strength. I have written YAML, but it is hard for me to fully understand the flows. I much prefer to use node-RED for automation.

Has anyone looked into moving some, if not all, of the automation over to Node-RED flows. I would probably want to still have the same/similar HA based dashboard, but just scripted in node-RED, as I like all the power of the other HA integrations. I guess an added bonus might be that you could build a node-RED dashboard and not require any HA if you are so inclined.

Anyway, just wondering if anyone else would be interested in this, or better yet, if anyone has a head start on this.

virgilm commented 3 years ago

I created a fork of this (https://github.com/virgilm/raspipool), and, even if it works fine, I found the same limitations you are worried about. I also tried to run appdaemon, which is ok, but still not perfect. I have to say, the main problem is HA itself, the project does not care about backward compatibility, debuggability and so on... besides the fact that there is no de-facto support for python plugins (the existing one is a joke). So, your mileage may vary. This will get you up and running fast(er), but maintaining it and changing yaml configs is indeed not ideal. I might be interested in the node-RED proposal, but I already sinked a lot of time in this and it kind of works....