#How to debug a wakeonlan command?
1 messages · Page 1 of 1 (latest)
How can i debug the issue? This happens 80% of the times. How can i track what triggers the WOL for PC2
do you send a broadcast?
you should just use the MAC of the exact PC you want to start
ans surely they do not have the same MAC...
Well i should not be sending anything :D
alias: Palauta koneet
description: ''
triggers:
- entity_id:
- switch.iidan_kone
- switch.timon_kone_2
to: 'on'
trigger: state
conditions: []
actions:
- target:
entity_id: scene.koneet_pois_scene
metadata: {}
action: scene.turn_on
mode: single
This is the only automation i have for it
And in configuration.yaml i have these
- platform: wake_on_lan
name: "timon kone"
mac: 9c:6b:00:80:3f:3f
- platform: wake_on_lan
name: "iidan kone"
mac: 9c:6b:00:5c:bd:95```
And according to logs, i dont send the trigger "iidan kone" whichi is PC2
so many times, when i start the PC1 (with mouse etc) it starts PC2
and i dont understand why
If i remove HA from network, it doesnt do it anymore
I have a room in HA called "gaming room" and i've set it to WOL PC1 and PC2.
what is in the Scene?
cause that does trigger when one PC is turned on if I see correct
oh
you mean the scene?
That scene should just turn off the WOL switch. since there was no pushbutton, its a scene to turn off the switches
but it says scene.turn_on
ah so inside it the buttons are off
ok think I got it 😛
so next question, why is one switch called switch.timon_kone_2 ?
I mean I would go back to a simple to understand situation in which they both work ...
and then work from that
setting a switch to off can also be done by using switch.turn_off and specifying multiple entities
I've created a new switch after i changed my PC, so the new entity is not _2
And that is created from the web UI editor :)
i mean it should not :) but does anyway