Z-wave devices communications randomly disabled

Posted on
Sun Jan 21, 2018 9:47 pm
lanbrown offline
Posts: 329
Joined: Sep 26, 2017

Re: Z-wave devices communications randomly disabled

This is just my take on it, Indigo itself knows nothing of the RF side of things; that is strictly handled by the Gen5 stick. All Indigo is doing is passing commands to the Gen5 stick; the stick then takes those commands and performs the entire RF conversion. Consider it a modem; like the old analog ones; your computer knew nothing of the analog phone line; the modem was just an interface to the computer. A wireless NIC would be the same way; your computer knows nothing of 2.4GHz or 5GHz; it lets the wireless NIC handle it. The PHY aspect is is hidden from the computer.

Posted on
Sun Jan 21, 2018 10:07 pm
Colorado4Wheeler offline
User avatar
Posts: 2573
Joined: Jul 20, 2009
Location: Colorado

Re: Z-wave devices communications randomly disabled

Of course the computer cannot interact with RF on its own but a z stick can and if the drivers somehow changed what it listens for then that is possible. I’m not trying to sell you on an idea, simply expressing my own experience.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Sun Jan 21, 2018 10:57 pm
lanbrown offline
Posts: 329
Joined: Sep 26, 2017

Re: Z-wave devices communications randomly disabled

Indigo is just using the API that is part of the Z-wave spec.

http://zwavepublic.com

If you want to make devices, then you are going to need to know the protocol and the RF side of things.

Take a scripting language like Python. There is an API for it; this meant so that the script could run on other platforms. Python that gets installed on the operating system is OS and hardware dependent. Python made for the Mac won't run on Windows, but the script can. Developers need to create Python for the intended host. This is essentially what Z-stick is doing; it doesn't matter what the OS is, the HA program just uses an API to tell the Z-Wave what it wants to do and in this case the Z-stick performs the action. It takes the API calls and coverts them to the Z-Wave protocol. Python is just a framework; much like Z-Wave is.

Another good example:
http://www.openzwave.com/dev/

OpenZWave is an open-source, cross-platform library designed to enable anyone to add support for Z-Wave home-automation devices to their applications, without requiring any in depth knowledge of the Z-Wave protocol.


There is one part of the protocol that has not been released into the Public Domain, namely, the "SerialAPI" protocol that specifies how to talk to a USB Stick via a Serial COM Port. This portion of OpenZWave will continue to be reverse engineered if needed in the future.


As you can see, SerialAPI is all that really needs to be known to get a Z-Wave stick to do something. You are still just using an API though with no knowledge of the RF aspect of it. Now if you make calls or have some other issue when you're using the SerialAPI, you could cause a flood of messages/traffic and cause an issue, this wouldn't be interference though.

Posted on
Fri Jan 26, 2018 3:32 pm
shapa offline
Posts: 285
Joined: Sep 08, 2014
Location: Swindon

Re: Z-wave devices communications randomly disabled

Any news? Tried to use replacement controller (UZB1) - the same issues, virtually every day.

My wife is getting angry on me :)

Posted on
Fri Jan 26, 2018 4:10 pm
matt (support) offline
Site Admin
User avatar
Posts: 18417
Joined: Jan 27, 2003
Location: Texas

Re: Z-wave devices communications randomly disabled

In my queue to investigate further and hopefully improve how Indigo handles the situation. No ETA.

Image

Posted on
Thu Feb 08, 2018 6:32 am
shapa offline
Posts: 285
Joined: Sep 08, 2014
Location: Swindon

Re: Z-wave devices communications randomly disabled

It seems to be 10.13 issue...

Connected UZB controller via passive USB2 hub - no issues so far (~2 weeks).

Posted on
Fri Jun 22, 2018 9:02 am
McJohn offline
User avatar
Posts: 321
Joined: Dec 18, 2012
Location: The Netherlands

Re: Z-wave devices communications randomly disabled

After a spontaneous restart of the Indigo Server, 10 % of our 70 Z-Wave devices were disabled.... (grey).
(Indigo version 7.1.1 at Os 10.10.5 with Aeotec Z-Stick Series 2)

The last year we saw these kind of problems more and more.
(Mostly 1 or 2 devices are spontaneous disabled and we discovered this because the Triggers won't fire anymore)

How is this possible?

Posted on
Tue Jun 26, 2018 5:18 pm
matt (support) offline
Site Admin
User avatar
Posts: 18417
Joined: Jan 27, 2003
Location: Texas

Re: Z-wave devices communications randomly disabled

The Z-Stick is getting into a bad state and not reporting correct information to Indigo about the nodes included in it. This causes Indigo to disable the devices because the information being reported doesn't match what it should. Although it is an interface/Z-Wave issue we are investigating making Indigo smarter about detecting the situation and not disabling devices as often.

Image

Posted on
Wed Jun 27, 2018 3:21 am
durosity offline
User avatar
Posts: 3496
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Z-wave devices communications randomly disabled

Oddly I've not had this issue for ages and suddenly had a couple in the last few days. Coincidence?

Computer says no.

Posted on
Wed Jun 27, 2018 9:59 am
mat offline
Posts: 592
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Z-wave devices communications randomly disabled

Oddly I've not had this issue for ages and suddenly had a couple in the last few days. Coincidence?



we are investigating making Indigo smarter....


Nope, you are the test server whilst jay is locked in the basement.

mini 10.11.6

Posted on
Wed Jun 27, 2018 10:25 am
Colorado4Wheeler offline
User avatar
Posts: 2573
Joined: Jul 20, 2009
Location: Colorado

Re: Z-wave devices communications randomly disabled

mat wrote:
Nope, you are the test server whilst jay is locked in the basement.

It's been quiet without Jay this week. Either he is on vacation or it didn't put the lotion on its skin and got the hose again.... :shock: :shock: :shock: :shock:

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Tue Jul 03, 2018 6:46 am
shapa offline
Posts: 285
Joined: Sep 08, 2014
Location: Swindon

Re: Z-wave devices communications randomly disabled

Anyway, I don't have this issue anymore after switching to an active/powered USB hub.

Posted on
Tue Jul 03, 2018 8:35 am
durosity offline
User avatar
Posts: 3496
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Z-wave devices communications randomly disabled

Colorado4Wheeler wrote:
mat wrote:
Nope, you are the test server whilst jay is locked in the basement.

It's been quiet without Jay this week. Either he is on vacation or it didn't put the lotion on its skin and got the hose again.... :shock: :shock: :shock: :shock:


What a disturbing image..


Sent from my iPhone using Tapatalk

Computer says no.

Posted on
Sat Jul 07, 2018 3:51 pm
Idurz offline
Posts: 3
Joined: Sep 01, 2015

Re: Z-wave devices communications randomly disabled

Hmm running OSX 10.12.6 for years, running Indigo 7.1.1 for months without a change and suddenly having issues with the Zstick gen5 from Aeotec. All Zwave devices disabled. And that shortly before summer holiday. Not good not good. Slightly panic.
Is my Zstick up for replacement ? Is it to hot? Here in NL now 25-30 Celsius for weeks and the Mac Mini where Indigo on runs feels hot.

Did not change anything in the software for longer time so suspecting hardware issues here. Hoping a solution will be found soon. Until then I have created a trigger which fires on an Interface Error. 10 minutes after that error the following embedded python script will run (below) which resolves the situatlion for that moment.
Now waiting for the next issue; hoping that the script will do its job

#! /usr/bin/env python
# -*- coding: utf-8 -*-
################################################################################
#
# An Indigo embedded script to ensure that all disabled zwave devices
# are enabled again
#
################################################################################

for dev in indigo.devices.iter("indigo.zwave"):
if not dev.enabled:
indigo.device.enable(dev.id, value=True)
indigo.server.log("Enabled " + dev.name + " after trigger on Interface Error")

Posted on
Fri Jul 13, 2018 3:43 pm
matt (support) offline
Site Admin
User avatar
Posts: 18417
Joined: Jan 27, 2003
Location: Texas

Re: Z-wave devices communications randomly disabled

It might be malfunctioning. Also try using a different USB port to see if that helps prevent the problem.

Image

Who is online

Users browsing this forum: No registered users and 0 guests