Busch-Jaeger / node-free-at-home

4 stars 5 forks source link

How to debug addon parameter or changes in the metadata? #20

Open brainvalleyorg opened 1 month ago

brainvalleyorg commented 1 month ago

I am currently creating my first addon and would like to use dependent parameters and buttons within the metadata. However, the parameters are only visible once the addon has been deployed to the system. During debugging, the parameters, or the entire addon, are not visible. Even if you deploy the addon and then make changes to the metadata, the changes are not visible.

I currently have to completely redeploy the addon after every change to the metadata. This makes debugging very difficult. Is there a way to make the addon visible in the interface during debugging? Am I missing something here?

roelandkluit commented 2 weeks ago

No sure what you mean with metadata en dependent parameters. Do you mean fields in the UI. You can checkout my code with that implemented: https://github.com/roelandkluit/FreeAtHome-WTH-UMR2-Connector/blob/master/README.md