Virtual Device Action Group Reversed.

Posted on
Fri Jul 09, 2021 4:58 am
CliveS offline
Posts: 770
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Virtual Device Action Group Reversed.

Having trouble getting the Garage Door OPEN/CLOSE action group working the right way round with Alexa

I have a Virtual On/Off Device with an action group one for OPEN, one for CLOSE.

Press button 1 on ZemiSmart Switch to open garage door
Garage door opens using OPEN action group

Action Group Garage Door Right Open
Script
Script Garage Door Opening
Script ===================

Same with button 2 which closes it with CLOSE action group

Hey Siri, Open Garage Door
Garage door opens using OPEN action group
Hey Siri, Close Garage Door and it closes with CLOSE action group

‘Alexa, Open Garage Door’
And Garage Door runs the CLOSE action!

Alexa setting position of 'Garage Door Virtual' to open
Action Group Garage Door Right Close
Virtual Devices sent "Garage Door Virtual" off
Script
Script Garage Door Close
Script =================

‘Alexa, Close Garage Door’
And Garage Door runs the OPEN action!
Alexa setting position of 'Garage Door Virtual' to closed
Action Group Garage Door Right Open
Virtual Devices sent "Garage Door Virtual" on
Script
Script Garage Door Opening
Script ===================


It works with Siri and a Switch fine and all 3 are running the same Action Group.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Fri Jul 09, 2021 9:12 am
jay (support) offline
Site Admin
User avatar
Posts: 18212
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Virtual Device Action Group Reversed.

Turn on Alexa debugging, perform the Alexa actions (open/close) and copy/paste the results from the Event Log into a reply.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jul 09, 2021 9:25 am
CliveS offline
Posts: 770
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Virtual Device Action Group Reversed.

Code: Select all
9 Jul 2021 at 16:16:33
   Alexa Debug                     handle_smarthome_request API call received
   Alexa Debug                     request:
{"directive": {"header": {"name": "SetMode", "namespace": "Alexa.ModeController", "instance": "Door.Position", "messageId": "XXXXXXXXXXX", "payloadVersion": "3", "correlationToken": "XXXXXXXXXXX"}, "endpoint": {"scope": {"token": "XXXXXXXXXXX", "type": "BearerToken"}, "cookie": {}, "endpointId": "926763246"}, "payload": {"mode": "Position.Open"}}}
   Alexa                           setting position of 'Garage Door Virtual' to open
   Alexa Debug                     reply:
{"event": {"header": {"instance": "Door.Position", "name": "Response", "messageId": "XXXXXXXXXXX", "payloadVersion": "3", "correlationToken": "XXXXXXXXXXX", "namespace": "Alexa"}, "endpoint": {"scope": {"token": "XXXXXXXXXXX", "type": "BearerToken"}, "cookie": {}, "endpointId": "926763246"}, "payload": {}}, "context": {"properties": [{"uncertaintyInMilliseconds": 0, "name": "mode", "namespace": "Alexa.ModeController", "value": "Position.Open", "instance": "Door.Position", "timeOfSample": "2021-07-09T16:16:33+01:00"}]}}
   Action Group                    Garage Door Right Close
   Virtual Devices                 sent "Garage Door Virtual" off
   Script                           
   Script                          Garage Door Close
   Script                          =================
   Script                          Power is Off - 5 Second Wait
   Hubitat Bridge                  sending "turn on" to "T Garage Door Power Right Side"
   Hubitat Bridge                  received "T Garage Door Power Right Side" outlet state update: "on"
   Script                          Power Was Off
   ShellyMQTT                      sent "Garage Door - Shelly1-98F4ABF3C817" on
   ShellyMQTT                      sent "Garage Door - Shelly1-98F4ABF3C817" off
   Hubitat Bridge                  received "Garage Right Door Top Contact Sensor" contact sensor "closed" event
   Trigger                         Garage Door Open Send PushOver Notification
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Sent Hue Lights                 "Hall Table Lamp" on to 100 with RGB values 254, 0 and 0 at ramp rate 5.0 sec.
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Pushover                        Pushover notification was sent sucessfully, title: Garage Door Status, body: Garage Door Opening - 16:16:51  09/07/2021
   Script                           
   Script                          ===== Closed ====
   Script                           
   Hubitat Bridge                  sending "turn off" to "T Garage Door Power Right Side"
   Hubitat Bridge                  received "T Garage Door Power Right Side" outlet state update: "off"
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Hubitat Bridge                  received "HE Tuya Motion Sensor 1" motion sensor "active" event
   Hubitat Bridge                  received "HE Motion Sensor 2" motion sensor "active" event
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     handle_smarthome_request API call received
   Alexa Debug                     request:
{"directive": {"header": {"name": "SetMode", "namespace": "Alexa.ModeController", "instance": "Door.Position", "messageId": "XXXXXXXXXXX", "payloadVersion": "3", "correlationToken": "XXXXXXXXXXX"}, "endpoint": {"scope": {"token": "XXXXXXXXXXX", "type": "BearerToken"}, "cookie": {}, "endpointId": "926763246"}, "payload": {"mode": "Position.Closed"}}}
   Alexa                           setting position of 'Garage Door Virtual' to closed
   Alexa Debug                     reply:
{"event": {"header": {"instance": "Door.Position", "name": "Response", "messageId": "XXXXXXXXXXX", "payloadVersion": "3", "correlationToken": "XXXXXXXXXXX", "namespace": "Alexa"}, "endpoint": {"scope": {"token": "XXXXXXXXXXX", "type": "BearerToken"}, "cookie": {}, "endpointId": "926763246"}, "payload": {}}, "context": {"properties": [{"uncertaintyInMilliseconds": 0, "name": "mode", "namespace": "Alexa.ModeController", "value": "Position.Closed", "instance": "Door.Position", "timeOfSample": "2021-07-09T16:17:24+01:00"}]}}
   Action Group                    Garage Door Right Open
   Virtual Devices                 sent "Garage Door Virtual" on
   Script                           
   Script                          Garage Door Opening
   Script                          ===================
   Sent Hue Lights                 "Hall Table Lamp" on to 100 with RGB values 0, 254 and 0 at ramp rate 5.0 sec.
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Sent Hue Lights                 "Hall Table Lamp" on to 100 at ramp rate 0.0 sec.
   Script                          Power is Off - 2 Second Wait
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Hubitat Bridge                  sending "turn on" to "T Garage Door Power Right Side"
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Hubitat Bridge                  received "T Garage Door Power Right Side" outlet state update: "on"
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   ShellyMQTT                      sent "Garage Door - Shelly1-98F4ABF3C817" on
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Script                          Power Was Off
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   ShellyMQTT                      sent "Garage Door - Shelly1-98F4ABF3C817" on
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Hubitat Bridge                  received "Garage Right Door Top Contact Sensor" contact sensor "open" event
   Trigger                         Garage Door Closed Send PushOver Notification
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Sent Hue Lights                 "Hall Table Lamp" on to 50 with RGB values 128, 106 and 42 at ramp rate 5.0 sec.
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Pushover                        Pushover notification was sent sucessfully, title: Garage Door Status, body: Garage Door Closed - 16:17:30  09/07/2021
   Sent Hue Lights                 "Hall Table Lamp" on to 60 at ramp rate 0.0 sec.
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Sent Hue Lights                 "Hall Table Lamp" off at ramp rate 5.0 sec.
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   ShellyMQTT                      sent "Garage Door - Shelly1-98F4ABF3C817" off
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     deviceUpdated: Hall Table Lamp
   Alexa Debug                     original device type: DimmerDevice, updated device type: DimmerDevice
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)
   Alexa Debug                     IndigoDeviceEndpoint.__init__ called with device: 1066101310 (Hall Table Lamp)

9 Jul 2021 at 16:18:05
   Hubitat Bridge                  received "HE Motion Sensor 2" motion sensor "inactive" event
   Hubitat Bridge                  sending "turn off" to "T Garage Door Power Right Side"
   Hubitat Bridge                  received "T Garage Door Power Right Side" outlet state update: "off"
   Hubitat Bridge                  received "HE Tuya Motion Sensor 1" motion sensor "inactive" event

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Fri Jul 09, 2021 9:36 am
jay (support) offline
Site Admin
User avatar
Posts: 18212
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Virtual Device Action Group Reversed.

Ah, ok. This is an issue with the definition of Open/Close and how it maps to On/Off. On means closed (and locked for locks), Off means open (yes this is backwards of how the I/O linc works, which has a long and storied history behind it which I won't relate now). It looks like you are using that same virtual device for multiple services, so I'd just recommend creating a new one with open/closed reversed and use that one specifically for Alexa.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jul 09, 2021 11:11 am
CliveS offline
Posts: 770
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Virtual Device Action Group Reversed.

Thanks Jay, that works, thought I had done something wrong but glad it is a binary mixup.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron