Aietes / node-red-contrib-harmony

Node-RED integration for Harmony hub
MIT License
15 stars 18 forks source link

Node settings disappear when they are edited again. #38

Open Sveninndh opened 1 year ago

Sveninndh commented 1 year ago

Hello, I have the following annoying problem. I try to describe it step by step: 1) Get a new "H Command" node in the flow and go into its settings. 2) There the hub is already preset and it will be kept permanently. 3) Activity/Device is empty, but the DropDownList is already filled with all activities. 4) Command is empty and the DropDownList is also empty. 5) Now select the Activity or Device and the Command DropDownList will be filled automatically and the Activity/Device field will be filled. 6) Now select the Command and this field is also filled. 7) For the rest, leave the default settings and finish the setting with "Done".

Up to this point everything seems to be fine. But if you want to change the Repeat parameter and go back to the setting of "H Command" the drama starts. First the two fields Activity/Device and Command are loaded correctly and after a few seconds they appear filled in as set before. But after 1 to 2 seconds the field Activity/Device is suddenly empty again as if by magic, the field Command keeps its value. If you press "Done" now, the whole setting is gone and doesn't work anymore. Therefore you have to fill in the fields Activity/Device and Command in this order again and again with every parameter change of that node, which is really annoying because of the loading times of the DropDownLists.

The alternative library with websocket works in this point without problems, but unfortunately the functions "H press", "H hold", "H release" are not implemented.