Open jncanches opened 6 years ago
I have not re-architectured the back-end of this project, nore do i have the skill to do so, if you have a PR to fix this issue, it will be considered. but it sounds like your method would be even slower as it would wait unit\til current-state was called to fetch the state. how long does it wait currently before it has the states working properly?
Sorry for the delay. I don't have too much time. Thank you for your response. To answer your question, i have a huge HA configuration and about fifteen flows that starts with a current state node. My install runs on a raspberry pi 3b+ with both HA and nodered (hassbian, not hassio) Sometimes original version of this plugin, can take 2 or 3 minutes to get current-state response :-(
That's weird after all... Is anyone have the same problem on a similar configuration ?
(Sorry for my english mistakes, I'm french :-) )
Great work spartan
unfortunately making the change you suggest will make the flow more computationally heavy, since at every current_state node it will have to query home-assistant, rather than just check it's own state table. I have ~20 current state nodes in my flows, and they all work within a few seconds of node-red starting up, I run my install on an older mini computer with a decent processor and 8 GB of ram, so your best bet might be to migrate to a more powerful computer.
I moved from an energy-eater computer to a raspberry in order to save the planet (and my bank account :p ) But anyway, I will give this fork a try. I made some major changes recently and my setup has significantly speed up. I will post result here.
Thanks for your feedback !
For those who have troubles with that, see my comment/fix in https://github.com/Spartan-II-117/node-red-contrib-home-assistant/issues/34
Hi guys and thank you for this fork. The original one is pretty buggy :(
I posted an issue on original project that says:
And I analysed a little bit the problem :
Do you think this problem has been solved in your project so I can use it ?
Great work guys !