I am trying to control audio switching biased on the last zone that was active, is there a script command to show which was the last zone that was marked as active ?, something like last echo but with zones?
Announcement
Collapse
No announcement yet.
how to show last zone active
Collapse
X
-
Ok i must be dumb cause i am just NOT getting it
Dim lastZone As Object = hs.PluginFunction("BLRadar", "", "LastActiveZone", Nothing)
great so you have this as an object, how do it get either the device, or name out of it so i can actually use this in a script and act or match it with my audio zones?
hs.SetDevicestring (405,Sensor.DeviceCode,true)
even for this to work would be great
detail of setup in profile. Link to videos of my projects there as well. Over 300 scripts running every min and counting
Comment
-
Thanks Blade, got that, BUT how do i trigger this if a sensor changes, i tried doing a trigger on a value change on last echo but then realized the value dosnt change just the string, you don't have a last zone echo so I am trying to trigger the script to update a device with the last zone when the last echo changes, but cant seem to find an easy event to get this to happen. any ideas?Last edited by collegeboyslive; September 9, 2015, 06:46 PM.detail of setup in profile. Link to videos of my projects there as well. Over 300 scripts running every min and counting
Comment
-
script
Originally posted by collegeboyslive View PostThanks Blade, got that, BUT how do i trigger this if a sensor changes, i tried doing a trigger on a value change on last echo but then realized the value dosnt change just the string, you don't have a last zone echo so I am trying to trigger the script to update a device with the last zone when the last echo changes, but cant seem to find an easy event to get this to happen. any ideas?
Did you manage to have ascript that works ?
Can you share as I would like to do something similar?
Thanks
Comment
Comment