Action on Aeotec ZW132 crashes -Wave interface on 2023.1

Posted on
Sun Oct 08, 2023 5:37 am
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Action on Aeotec ZW132 crashes -Wave interface on 2023.1

Hi,

I upgraded to 2023.1 and it seems any action on my Aeotec Aeotec Double Switch ZW132 crashes my Z-Wave interface:

Code: Select all
   Z-Wave Error                    Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/IndigoPluginHost3.app/Contents/Resources/PlugIns/serialinterface.py", line 547, in start_comm_thread
    self.process_comm_thread()
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/IndigoPluginHost3.app/Contents/Resources/PlugIns/serialinterface.py", line 741, in process_comm_thread
    result = self.process_queue_out_action(action)  # Subclass is required to define.
  File "zwaveinterface.py", line 3544, in process_queue_out_action
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/.Z-Wave.indigoPlugin/Contents/Server Plugin/zwavedev2_aeotec_dualnano_zw132.py", line 225, in action_handler_func
    if type(action) != indigo.DeviceAction:
NameError: name 'indigo' is not defined

   Z-Wave Error                    exc type is <class 'NameError'>
   Z-Wave Error                    restarting serial connection in 5.0 seconds
   Interface Failure               lost connection with interface
   Z-Wave                          connected to Z-Stick S2 interface on /dev/cu.SLAB_USBtoUART (firmware 3.07, SDK unknown)

Posted on
Sun Oct 08, 2023 9:57 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Action on Aeotec ZW132 crashes -Wave interface on 2023.1

We have a fix for this in the next (bug fix) release. If you want to try it before we release, then send us an email.

Image

Posted on
Sun Oct 08, 2023 10:53 am
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Action on Aeotec ZW132 crashes -Wave interface on 2023.1

It's OK, no rush on this one. I only got one of these relays and it's controlling two things I am not going to be using for the next few weeks (underfloor heating and towel rail heater). Global warming and all means October has been very warm in this neck of the woods.

Posted on
Fri Oct 13, 2023 11:18 am
CBowles offline
User avatar
Posts: 34
Joined: Mar 19, 2015

Re: Action on Aeotec ZW132 crashes -Wave interface on 2023.1

Hi Guys,,

I had the same issue and did some digging...
I found the offending code in zwavedev2_aeotec_dualnano_zw132.py in .Z-Wave.indigoPlugin

It was the dual switch bit at the end of the file and after removing the section, it works OK and still reports individual switch elements (Switch 1 & 2) as well as the Dual switch.

I leave it to your wizardry to ensure that is the actual issue and implement a less 'sledgehammer' fix! :D

Chris
--

Posted on
Tue Oct 17, 2023 9:51 am
jay (support) offline
Site Admin
User avatar
Posts: 18225
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Action on Aeotec ZW132 crashes -Wave interface on 2023.1

Fixed in Indigo 2023.1.1, available now.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 11 guests