home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.73k stars 630 forks source link

Setup Away Mode with NMap IP tracker #871

Closed Piedone86 closed 5 years ago

Piedone86 commented 5 years ago

Home Assistant release with the issue: 0.84.2

Operating environment (HassOS/Generic): Hass.io on RaspberryPI 1 B

Supervisor logs:

Description of problem: I've added NMap on Hass.Io to create an automation that set the "Away Mode" once my phone IP + my girlfriend phone IP are not connected . In reverse, once one of us come home and a single phone IP connects, the "Away Mode" should switched off. The "Away Mode" is currently connected to Netatmo thermostat and if I manually force it from the frontend, it switch correctly the heather off.

The automation has been set up from the "automation" front-end composer and it's not working. You can see in attachment the code it created.

image

Do you have any suggestion on this? Thanks in advance for your help

klaasnicolaas commented 5 years ago

I think you can ask this question better on the community forum or in the Discord channel, this repo is not meant for these kinds of questions I think.

frenck commented 5 years ago

Thank you for reaching out. We use GitHub for tracking issues, not for providing support.

If you are in need of support, you should try our Community Forum or join our Discord chat server.

You are more likely to get the answer you are looking for in those places.

Thanks! 👍