NEWS
S7 CPU and Alexa
-
Hi to all,
I am using a S7-CPU for my home automation and Alexa over iobroker , to contorl my lights I have the wall swich (who gener a pusle to my plc ) and Alexa . My question is : there is a way if I turn on the light from Alexa and turn off the light from the wall swich to rewrite the last comand sent from Alexa to FALSE, so next time when I want to turn on the light from Alexa not to set it off first time and after on to start the light (a feedback from my plc to iobroker) . Thanks!
-
Hi,
my solution is a seperate Alexamarker.
I have a switch at the wall (as Pusher) so you can push the butten to switch the light on and at the neyt push the light is off.
The S7 CPU knows also is the light on or off.
If you now creat a separte Marker only for Alexa you can control the light on or off.
If the light is off you can switch it with Alexa "Alexa, switch the light on" on, if the light is on and you say "Alexa, switch the light on" nothing happens.
If you switch the light with the wallswitch on so you can say "Alexa, switch the light off" and the light goes off.

Alexa

Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden