ISY994 Z-Wave Sensor Enhancements: Testers Wanted

Thanks, shbatm. Probably best to let code settle a bit. :smile:

I did install 0.96.0b1, but the ISY component crashed out. Snip of log:

deleted

However, it also crashed out of ISY even using your old code, so this might not be your code causing this. I also have ELK M1 component installed.

If you’re using the generic linux install (and docker) then you should be able to root around and find the package inside the container:

docker exec -it homeassistant bash
find / -name PyISY
# Should return a folder like /usr/local/lib/python3.6/site-packages/PyISY
tail -n 4 <path_from_above>/__init__.py | head -1

If not, something is definitely missing from your install.

0.96.0b2 is out in beta now. You can just switch to the beta channel now from within Hass.io > System… Under “Hass.io supervisor” choose “Join Beta Channel”. Then check for updates on the Add-on Tab.

That looks like a recorder/sql problem. Not a ISY issue.

FWIW: I have the component stable now on 0.96.0b2 and 0.97.0.dev0 after squashing a few bugs this afternoon. I did have to wipe my .storage/core.entity_register file after one of the upgrades, but I think that was an unrelated issue.

1 Like

I tried a couple more times on 96.0b1 (I am not being b2 beta yet for some reason) but cannot get ISY component to load. I think I will wait until next weekend and try again, perhaps with later beta if available then. But thanks, @shbatm for your ongoing development. I am using the heck out of your ISY Variable addition.

I found a bug in PyISY_beta – wasn’t showing up with my ISY but when I tried to load your node file through the fake ISY it choked. Try the latest version.

NOTICE TO ALL ISY USERS USING THIS CODE – USE THE isy994-climate BRANCH FROM NOW ON.

All changes have been merged into one branch (including Z-Wave Updates, Variables, and Climate).

I will stop pushing updates to the other branches. All changes have been combined for the PR to Home Assistant (you can follow along/comment here: https://github.com/home-assistant/home-assistant/pull/20970)

Last thing: at some point during these updates I added the ability for the “aux properties” that are reported by the ISY to be picked up and stored from the event stream. That’s a overly verbose way of saying you should start to see things like Ramp Rate and On Level for Insteon Devices, as well as the expected additional details for sensors.

Is this changed from the subversion link in the first post of this thread?

Yes. I updated the link above, but this is the new path:

svn export https://github.com/shbatm/home-assistant/branches/isy994-climate/homeassistant/components/isy994 /your/hass/config/custom_components/isy994/

Sorry for any confusion, it just got too complicated juggling the multiple branches and this was the one already in the open PR.

Tried again loading the latest builds from isy944-climate, but still ISY component fails to load. Running 0.96.0 build. But at least I am getting an error message in log now, which I was not before. It appears I have a bad config setup for ISY.

2019-07-18 14:53:12 ERROR (MainThread) [homeassistant.config] Invalid config for [isy994]: [on] is an invalid option for [isy994]. Check: isy994->isy994->isy_variables->binary_sensors->0->on. (See /config/configuration.yaml, line 141). Please check the docs at https://home-assistant.io/components/isy994/
2019-07-18 14:53:12 ERROR (MainThread) [homeassistant.setup] Setup failed for isy994: Invalid config.

I will comment out all my binary_sensors info and see if that helps. Odd that it worked just fine in the past.

Sorry – had to rename the variable config parameters to conform to HASS standards, I forgot to let you know. Please use payload_on: and payload_off: instead of on and off now. I’ll update the other posts.

I will update that now. But I am also seeing hundreds of errors like this in my log:

deleted...

Any ideas?

That looks like there is something corrupted in your database. Are you using the default recorder settings or do you use MariaDB or MySQL? If you’re using the default, you might just have to delete your home-assistant_v2.db file as it looks like it might be corrupted.

That did it. Just deleted database file and it gave me a very clean start! Now just starting to play with things to see what has changed. I see you corrected the 1/10 issue with setpoint temperatures. Thanks!!!

This current build is really looking great! yes, I am seeing ramp rates and on levels for all my dimmers. My pool thermostat is now working perfectly without me having to do 10x corrections. I am still playing around with things, but so far you have a great build here!

I am noticing this being repeated in the log file quite often though.

2019-07-18 16:18:18 INFO (Thread-2) [custom_components.isy994] ISY Loaded/Updated Programs
2019-07-18 16:18:18 INFO (Thread-2) [custom_components.isy994] ISY Request: http://192.168.1.145:80/rest/programs?subfolders=true
2019-07-18 16:18:20 INFO (Thread-2) [custom_components.isy994] ISY Loaded/Updated Programs
2019-07-18 16:18:20 INFO (Thread-2) [custom_components.isy994] ISY Request: http://192.168.1.145:80/rest/programs?subfolders=true
2019-07-18 16:18:22 INFO (Thread-2) [custom_components.isy994] ISY Loaded/Updated Programs
2019-07-18 16:18:22 INFO (Thread-2) [custom_components.isy994] ISY Request: http://192.168.1.145:80/rest/programs?subfolders=true
2019-07-18 16:18:23 INFO (Thread-2) [custom_components.isy994] ISY Loaded/Updated Programs
2019-07-18 16:18:23 INFO (Thread-2) [custom_components.isy994] ISY Request: http://192.168.1.145:80/rest/programs?subfolders=true
2019-07-18 16:18:26 INFO (Thread-2) [custom_components.isy994] ISY Loaded/Updated Programs
2019-07-18 16:18:26 INFO (Thread-2) [custom_components.isy994] ISY Request: http://192.168.1.145:80/rest/programs?subfolders=true

One Insteon device that I still am not getting any data from is the wireless door sensor model TriggerLinc 2421. I will turn on debug log and see what data is coming in on it.

Also, on the z-wave front, 3 devices are sending some data, but not other.

  • smoke alarm: sends battery status, but does not show when alarm is triggered.
  • motion sensor: does not appear to show any data
  • Home Energy Monitor: shows battery level, but no power usage.

the HEM I have already provided log data for above, but will try to get some log data on the others as well.

I ended up having to revert back to prior snapshot as the constant hitting of the ISY was causing slowdowns for my home automation. I think that there is new code that allows you to create virtual binary sensors based on program status (true or false) and that this might be causing these constant queries of the ISY.

That’s been there since the original implementation, but I might have broken something causing it to pull updates more frequently. I’ll look tomorrow.

Do you use any of those virtual sensor programs?

No, I don’t use any virtual sensor programs. With variables now working, it is always easier for me to just create a variable for any states I need.

Is that 11 B7 F0 1? You might try removing the “- Ignore” from the name of 11 B7 F0 2 in your ISY – the component uses the “negative” node to get updates too–it should only show up as 1 device in HA.

Post/send the debug log when you can for the others, including the Loaded/Updated Programs issue–I can’t replicate that.

Found the program issue–it only shows up when you’re not watching any programs for some reason.

1 Like