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

On / off switch to exclude the search for a slave that is temporarily switched off #962

Closed
Berchemer opened this issue Jun 29, 2020 · 3 comments

Comments

@Berchemer
Copy link

I have several ioBroker installations running on different systems in different rooms of a multi-storey house.

Since the operation of a RasbPi with ioBroker is currently not required on the second floor

  • no stay on the second floor until autumn -

my wish would be that a switch for slaves be introduced in ioBroker, which switches the constant demand to presence or not.

IoBroker currently complains at very regular intervals that "system.host.raspberrypi-2OG bedroom" is offline. So it is also queried regularly, which represents a useless query, since the affected system will not be switched on for weeks or possibly months. It hangs behind a "clever" plug and is only switched on again when the room is occupied via ioBroker.

It is clear to me that I can quickly deregister the slave using SSH and commandline and, if necessary, register again as a slave.

But I am concerned with a more user-friendly setting, which can also be entered or displayed by non-technical experts (wife, children) simply by clicking in a VIS-View.

Thanks for your work :-)

@foxriver76
Copy link
Collaborator

foxriver76 commented Aug 19, 2020

We would probably need a new system.host.xy state which can be used to deregister a host. I guess the message only comes from

logger.warn(hostLogPrefix + ' "' + hostId + '" is offline');

So we could say if this system.host.xy.registered is false do not complain.

@Apollon77
Copy link
Collaborator

Hm ... I'm unsure. An extra state just to prevent one log message? Especially because this message only is logged when Admin is used and the host screen is requested ... hm ....

@foxriver76
Copy link
Collaborator

I am also unsure, it’s a really specific use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants