Mecheng70 Posted January 5, 2023 Share Posted January 5, 2023 Curious if anyone has migrated the ISY/POLISY to the new EISY with the zwave dongle and what if anything changes on HomeAssistant. Will we have to update all the renaming, etc? Link to comment
asbril Posted January 5, 2023 Share Posted January 5, 2023 (edited) 11 minutes ago, Mecheng70 said: Curious if anyone has migrated the ISY/POLISY to the new EISY with the zwave dongle and what if anything changes on HomeAssistant. Will we have to update all the renaming, etc? Not sure that this will answer your question but I added the ZMatter board to my eisy and added one Zwave device to make sure that Zwave is activated on eisy. I did NOT migrate yet. I added the eisy to my Home Assistant and the 1 Zwave device does show up in my HA, together with all my Polisy devices. Edited January 5, 2023 by asbril Link to comment
Mecheng70 Posted January 5, 2023 Author Share Posted January 5, 2023 I think the scenario you have is a new eisy added to HA. my current configuration is HA and ISY. I curious if I have to update all my nodes with any special names and icons or if the ZWXX (XX - numbers) will come over with the new system. Link to comment
asbril Posted January 5, 2023 Share Posted January 5, 2023 23 minutes ago, Mecheng70 said: I think the scenario you have is a new eisy added to HA. my current configuration is HA and ISY. I curious if I have to update all my nodes with any special names and icons or if the ZWXX (XX - numbers) will come over with the new system. good question Link to comment
Mecheng70 Posted January 5, 2023 Author Share Posted January 5, 2023 @shbatm Thoughts on this? Link to comment
shbatm Posted January 6, 2023 Share Posted January 6, 2023 (edited) 2 Options for migrating from one device to another (assuming you're doing a backup > restore): 1. Easy, but you will have to update entity names and ids: remove the old integration and add the new. 2. Harder, but everything stays the same (just did this last week with my ISY>Polisy). You will need access to the files in the Home Assistant Config Folder (either Samba, SSH, VS Code Remote--Edge Addon Repo, my recommended, etc). Stop Home Assistant Make a backup copy of your `config/.storage` folder, you will be changing `core.config_entries`, `core.device_registry`, and `core.entity_registry`. EDIT: these don't have file extensions, but are all JSON text files. Find and replace the IP address of the old device with the new in the 3 files above. If going from ISY to eisy or Polisy, you will also need to update the url to add the port `:8080` (or HTTPS if using that)--should be listed in the config entry, and for each device in device registry under configuration url. Find and replace the MAC address/UUID of the old device with the new (should be a lot of replacements, one for each entity, device and config entry). Save and restart Home Assistant. Edited January 15, 2023 by shbatm 5 2 Link to comment
Mecheng70 Posted January 6, 2023 Author Share Posted January 6, 2023 I plan on replacing the ISY with the EISY (IP addresss, etc). ISY will be pulled from service. The instructions for option 2 look good for me (linux based system,etc). Thank you, this is exactly what I was looking for. Will keep the wife factor at 1.0.. Link to comment
brians Posted January 8, 2023 Share Posted January 8, 2023 (edited) Z-Wave on ZMatter changes the note prefix from ZW to ZY. Also nodes may change slightly due to differences in old implementation vs. the new APIs UDI is using for Z-Wave. You will probably have to manually fix a lot of things because the entities names will be different. I just tried on my Polisy/ZMatter (which should be same as EISY/ZMatter) and had to do updates on test HA for it to work since have not used it for a long time. After playing around with it for a bit I decided to delete it off HA again since I see no real use for it in my case and looks like a big opportunity for me to waste time on that I don't really wish to do now Edited January 8, 2023 by brians Link to comment
asbril Posted January 8, 2023 Share Posted January 8, 2023 9 minutes ago, brians said: Z-Wave on ZMatter changes the note prefix from ZW to ZY. Also nodes may change slightly due to differences in old implementation vs. the new APIs UDI is using for Z-Wave. You will probably have to manually fix a lot of things because the entities names will be different. I just tried on my Polisy/ZMatter (which should be same as EISY/ZMatter) and had to do updates on test HA for it to work since have not used it for a long time. After playing around with it for a bit I decided to delete it off HA again since I see no real use for it in my case and looks like a big opportunity for me to waste time on that I don't really wish to do now I have some 80 Zwave devices on Polisy and right now just 2 on eisy. They all show up in HA. However, with the different identity I expect that after the migration, I will have to manually update my "Cards" and "Automations". I don't think that it will be huge task and I estimate that it will take me no more than 2 hours. Link to comment
shbatm Posted January 8, 2023 Share Posted January 8, 2023 ZMatter requires Home Assistant 2023.1.0 or later, and yes, because of the node number changes, those entity_id's will change in Home Assistant. Link to comment
Mecheng70 Posted January 8, 2023 Author Share Posted January 8, 2023 Does this indicate that new entities would be affected? Or will the ZW change to ZY or the entire string? Link to comment
asbril Posted January 8, 2023 Share Posted January 8, 2023 (edited) 23 minutes ago, Mecheng70 said: Does this indicate that new entities would be affected? Or will the ZW change to ZY or the entire string? I think that there is a difference between what you ask and what @shbatm writes. New entities are added to HA as always. According to @shbatmZMatter requires Home Assistant 2023.1.0. To a degree that is not yet relevant as ZMatter has not yet been implemented and will require a future firmware upgrade. Before 2023.1.0 I added a Zwave device to HA that is on my eisy with the ZMatter board. I only needed to add another ISY Integration for the eisy ISY. I expect that after migration to eisy-with-Zmatter the Zwave devices on HA may appear as not connected if the HA identification looks at the ZY instead of ZW. In that case we may have to replace each device with its new ZY identification and it may, or may not, also impact HA Automations. However, it should not be a major task, even with my approx. 80 ZWave devices. Edited January 8, 2023 by asbril Link to comment
Mecheng70 Posted January 8, 2023 Author Share Posted January 8, 2023 Bullet 4 addresses my question. Thanks. Look like I may need to hone my find and replace skills. I have local copies of the 3 files @shbatm mentioned to update. Link to comment
asbril Posted January 8, 2023 Share Posted January 8, 2023 10 minutes ago, Mecheng70 said: Bullet 4 addresses my question. Thanks. Look like I may need to hone my find and replace skills. I have local copies of the 3 files @shbatm mentioned to update. It should be easy. After the migration your Zwave devices should still have the same name as in ISY994 or Polisy. Let's say that you have Zwave device named Kitchen Light and you have that in a HA card named Kitchen. After the migration and a reload of the eisy ISY Integration (I expect that) the Kitchen Light should appear as not connected. Then click on edit and replace the not connected Kitchen Light (ZW) with the connected Kitchen Light (ZY). As they say in French, Simple comme Bonjour Link to comment
shbatm Posted January 8, 2023 Share Posted January 8, 2023 (edited) @asbril's summary is accurate. New devices added to the ZMatter Z-Wave board/dongle will be picked up in Home Assistant after an integration reload, or HA restart. There was a new family identifier added in the ISY for the new ZMatter boards (as well as the node address changing to ZY prefix) -- this was added in PyISY 3.0.10, which is now included in Home Assistant 2023.1.0. If the device was previously migrated from ISY Z-Wave or a USB stick, the node address in the ISY/IoX console will have changed from ZW_0xx to ZY_0xx. This change means the Unique ID changes in Home Assistant (tied to the UUID of the ISY/IoX and the Node Address). You can do the same search/replace described above with the Node Address (ZW_xxx) and update it to the new ZY_xxx (xxx may have changed as well). Devices that you migrated in the ISY, but did not search/replace in Home Assistant may need to be manually deleted in Home Assistant or they should go away after 7 days when the Restore State information expires. You can also try the `isy994.cleanup_entities` service in Home Assistant, but sometimes that doesn't catch everything. Edited January 8, 2023 by shbatm 2 Link to comment
shbatm Posted January 8, 2023 Share Posted January 8, 2023 (edited) Also - don't want to distract from this thread, but expect some more updates and breaking changes in Home Assistant 2023.2.0: Network Resources will be added as "Button" entities (isy994.run_network_resource service goes away in 2023.5.0). Query button entities will be added for each device (isy994.system_query service goes away in 2023.5.0). Beep button entities will be added for each INSTEON device. Groups/Scenes will now show under the ISY Hub device, unless they have only 1 controller node, then they'll be assigned to that device. Variable Sensors will be removed and Variables will be available as Number entities (both value and init) that can be directly controlled (isy994.set_variable service goes away in 2023.5.0) Devices disabled on the ISY will show an error if you try and control them from Home Assistant. eisy should be auto-discovered. And if I get to it: INSTEON Ramp Rates will be available as a select menu entity. INSTEON On Level will be available as number entity. Node Server native sensor support (with correct sensor names and values) Edited January 8, 2023 by shbatm 1 1 Link to comment
asbril Posted January 8, 2023 Share Posted January 8, 2023 26 minutes ago, shbatm said: the `isy994.cleanup_entities` service where can I find this in HA ? Link to comment
shbatm Posted January 8, 2023 Share Posted January 8, 2023 (edited) Under Developer Tools (bottom left of sidebar, or type 'c' then Navigate Developer Tools) > Services Tab Edited January 8, 2023 by shbatm 1 Link to comment
MrBill Posted January 8, 2023 Share Posted January 8, 2023 1 hour ago, shbatm said: Also - don't want to distract from this thread, but expect some more updates and breaking changes in Home Assistant 2023.2.0: Network Resources will be added as "Button" entities (isy994.run_network_resource service goes away in 2023.5.0). Query button entities will be added for each device (isy994.system_query service goes away in 2023.5.0). Beep button entities will be added for each INSTEON device. Groups/Scenes will now show under the ISY Hub device, unless they have only 1 controller node, then they'll be assigned to that device. Variable Sensors will be removed and Variables will be available as Number entities (both value and init) that can be directly controlled (isy994.set_variable service goes away in 2023.5.0) Devices disabled on the ISY will show an error if you try and control them from Home Assistant. eisy should be auto-discovered. And if I get to it: INSTEON Ramp Rates will be available as a select menu entity. INSTEON On Level will be available as number entity. Node Server native sensor support (with correct sensor names and values) These are some awesome updates! Many thanks! Link to comment
Mecheng70 Posted January 8, 2023 Author Share Posted January 8, 2023 2 hours ago, shbatm said: Also - don't want to distract from this thread, but expect some more updates and breaking changes in Home Assistant 2023.2.0: Network Resources will be added as "Button" entities (isy994.run_network_resource service goes away in 2023.5.0). Query button entities will be added for each device (isy994.system_query service goes away in 2023.5.0). Beep button entities will be added for each INSTEON device. Groups/Scenes will now show under the ISY Hub device, unless they have only 1 controller node, then they'll be assigned to that device. Variable Sensors will be removed and Variables will be available as Number entities (both value and init) that can be directly controlled (isy994.set_variable service goes away in 2023.5.0) Devices disabled on the ISY will show an error if you try and control them from Home Assistant. eisy should be auto-discovered. And if I get to it: INSTEON Ramp Rates will be available as a select menu entity. INSTEON On Level will be available as number entity. Node Server native sensor support (with correct sensor names and values) Sweet. Awesome updates. Once migrated, do you need help testing? Link to comment
shbatm Posted January 8, 2023 Share Posted January 8, 2023 44 minutes ago, Mecheng70 said: Once migrated, do you need help testing? These will go into the beta release towards the end of the month, so if you Join the Beta Channel in Home Assistant you can keep an eye out for it. Or if you're eager to test, several of the changes are already merged and available in the 'dev' branch from GitHub. Link to comment
Mecheng70 Posted January 9, 2023 Author Share Posted January 9, 2023 38 minutes ago, shbatm said: These will go into the beta release towards the end of the month, so if you Join the Beta Channel in Home Assistant you can keep an eye out for it. Or if you're eager to test, several of the changes are already merged and available in the 'dev' branch from GitHub. I will once I get things migrated over, I will do that. Link to comment
Mecheng70 Posted January 13, 2023 Author Share Posted January 13, 2023 Getting an error when updating: Do I need to put this on github? Logger: homeassistant.config_entries Source: components/isy994/__init__.py:180 First occurred: 15:11:34 (1 occurrences) Last logged: 15:11:34 Error setting up entry Riften (172.16.5.251) for isy994 Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/isy994/__init__.py", line 180, in async_setup_entry await isy.initialize() File "/usr/local/lib/python3.10/site-packages/pyisy/isy.py", line 138, in initialize self.nodes = Nodes(self, xml=isy_setup_results[2]) File "/usr/local/lib/python3.10/site-packages/pyisy/nodes/__init__.py", line 110, in __init__ self.parse(xml) File "/usr/local/lib/python3.10/site-packages/pyisy/nodes/__init__.py", line 329, in parse feature.getElementsByTagName(TAG_DEVICE_TYPE)[0] IndexError: list index out of range Link to comment
Mecheng70 Posted January 14, 2023 Author Share Posted January 14, 2023 @shbatm I had the above error, uninstalled, rebooted and reinstalled the integration. Still getting this error: Logger: homeassistant.config_entries Source: components/isy994/__init__.py:180 First occurred: 17:11:54 (2 occurrences) Last logged: 17:12:41 Error setting up entry Riften (172.16.5.251) for isy994 Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/isy994/__init__.py", line 180, in async_setup_entry await isy.initialize() File "/usr/local/lib/python3.10/site-packages/pyisy/isy.py", line 138, in initialize self.nodes = Nodes(self, xml=isy_setup_results[2]) File "/usr/local/lib/python3.10/site-packages/pyisy/nodes/__init__.py", line 110, in __init__ self.parse(xml) File "/usr/local/lib/python3.10/site-packages/pyisy/nodes/__init__.py", line 329, in parse feature.getElementsByTagName(TAG_DEVICE_TYPE)[0] IndexError: list index out of range Link to comment
shbatm Posted January 14, 2023 Share Posted January 14, 2023 (edited) Turn on debug logging and reload the integration: Developer Tools > Services Logger: Set Logging Level YAML mode data: - homeassistant.components.isy994: debug pyisy: debug - 'C' key > Reload Universal Devices ISY994 If you do that and look at the actual log file (home-assistant.log in your config directory) that should tell you the node it's trying to load and is having problems with right before the error. Post that info as an issue on github. Edited January 14, 2023 by shbatm Link to comment
Recommended Posts