slashback100 / presence_simulation

Home Assistant Presence Simulation
423 stars 22 forks source link

Cannot make the presence simulation work #65

Closed ThomasGNielsen closed 1 year ago

ThomasGNielsen commented 1 year ago

Hi Home Assistant version 2022.7.7 Presence simulation version 2.2

I am new to HA. I cannot make the app work. I think is is something with the menu “Entity or groups of entities”. I am not sure what to write. I have made a group of lights and copied the make to the menu. However, nothing happens. No errors or nothing. And no lights are turned on. wWhat to do?

slashback100 commented 1 year ago

Is the switch created? Could you set the log to debug and try again? (procedure here)

ThomasGNielsen commented 1 year ago

Thanks for your swift reply. I have no idea on how to set the log to debug. Where do I insert the code...?

However, I have made a group of lights. And I can see that when the app is triggered by a switch I have, the simulation is turned on. But no lights. Funny enough, when I turn the app off (with the switch I have) all lights in the group is switched off. So something is working. An idea: Is my log too short to make data for the app to simulate something?

update: Now a light is switched on. So things works I suppose. Maybe I just need patience?

slashback100 commented 1 year ago

The service to change the log level needs to be called from here.

Yes I guess that if a light is turning on, it is working :-) FYI you can take a look in this screen the attributes of the entity switch.presence_simulation when the simulation is launched, it will give you info about what it is doing and on which and when next light will be turned on/off.