Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Remote nodes configuration + misc #39

Open
bemilicus opened this issue Mar 15, 2020 · 4 comments
Open

[REQUEST] Remote nodes configuration + misc #39

bemilicus opened this issue Mar 15, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@bemilicus
Copy link

bemilicus commented Mar 15, 2020

Hello, just found this great plugin on HACS and looks very interesting!

Would like to know if these extra feature could be present in future releases.
Managing remote HA installations could be further easier i think... ;-)

  1. ability to reconfigure a remote-node name.
    One could start with multiple remote nodes from a single (standard) rpi image, so all remote nodes with the same name (ie 'clean'). Collecting MACs from remote nodes and then mapping each MAC address to a unique node name:
    MAC xx:xx:xx:xx:xx:xx livingroom (remotenodename1)
    MAC yy:yy:yy:yy:yy:yy: kitchen (remotenodename2)
    Then send the new names to the nodes. Does this make sense? (this is related to point 2 below)

  2. ability to resolve remote-node by its hostname (see above) instead of IP.
    Home router's dhcp wont assings every time the same ip and configuring reservations its not always possible on all routers or could be time consuming and error prone...

  3. ability to re-configure the type of scan on remote-nodes.
    Instead to login to each remote-node and reconfigure its scan mode, having a central config to map and send the correct scan mode could be nice:
    node: livingroom > -tdr -a -b
    node: kitchen > -tad -a -b
    Or simply mark one node as primary (so with -tdr -a -b) and each further remote-node as secondary (so with -tad -a -b)

Sorry for asking some features eventually already present! I've just read the docs and can't wait to start experimenting with this plugin!

Keep on the good work!
Tks

@Odianosen25
Copy link
Owner

Hello @bemilicus,

Thanks for the compliments. Below are my responses to your points, not in the right order though

  • Point 3 is already in the works
  • Point 2 will look into it
  • Point 1, well should be possible, as you said kind of depends on point 2 as its geared towards non-technical users. WIll have a think abt it

Regards

@bemilicus
Copy link
Author

bemilicus commented Mar 15, 2020

Thank you @Odianosen25!

nice for point 3.
it would also be very usefull the ability to configure on remote nodes some monitor's common parameters such mqtt broker IP address and eventually mqtt's user/password instead of having to switch remote nodes one-by-one to configure the same parameters.

Points 1 and 2 are probably related to your 'location' parameter i think. The two parameters (node-name and location) are in strict correlation. Having these two parameters controlled from only one config file should be the way to go ;-)

Thank you very much!
Bye

@Odianosen25
Copy link
Owner

In the code, I actually access both as the same thing actually. Though it seems I am referencing them differently, they actually the same.

I assumed when setting up monitor, the same location used in setting up the script is the same as that used to specify node name. If a user uses differently, it will not work properly (I should make note of the in the docs actually).

I cannot really control both from a single location if I understand what you are saying, as it is assumed the user should have monitor all setup correctly.

Regards

@bemilicus
Copy link
Author

bemilicus commented Mar 16, 2020

Hello Odianosen25
i quote-reply to simplify thing and keep them clearer ;-)

In the code, I actually access both as the same thing actually. Though it seems I am referencing them differently, they actually the same.

ok - that's good - got it

I assumed when setting up monitor, the same location used in setting up the script is the same as that used to specify node name. If a user uses differently, it will not work properly (I should make note of the in the docs actually).

ok- also this make sense. I agree to the fact that a remote-node name 'must' correspond to the 'location' parameter and i would always expect this... ;-)

I cannot really control both from a single location if I understand what you are saying, as it is assumed the user should have monitor all setup correctly.

Well what i try to say is probably the same as what you try to reach.
Given the main target to have the simpliest setup, and assumed location=node-name, i think that make your plugin capable of changing the remote node names based on your 'central' configuration file would be a great help to all ;-)

Hope to hear you back soon!

Thanks

Regards

@Odianosen25 Odianosen25 added the enhancement New feature or request label Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants