Migrating from Homeseer to Home Assistant
For years I have been using Homeseer but realized that for me it was time to move on..
Note that I’m not the expert but someone who wants to share his experience hoping that it helps you. This post doesn’t tell you how to do things but helps you to ‘organize’ the migration. Enjoy!
TOPICS
- Why
- Analyze HS
- Analyze HA
- Install HA
- Prepare HS
- Migrate
When I say “migrate” I’m not saying that all of your (historical) data will be available in HS. No, it’s a functional migration. Of course you may find a way to migrate certain data but that’s up to you.
NOTE that quite often I will use the word “migrated”. Sometimes that means “Created in HA and when working removed from HS”.
1. WHY move to HA?
In short:
- Built-in Database for history recording
- HW requirements
- Integration ecosystem
- Python support
- Community
Homeseer 4 | |
Pro | Con |
|
|
Home Assistant | |
Pro | Con |
|
|
“Great community” appeared twice. Yes, and because of this community that helped me a lot I’m now documenting things to “give back”.
Sharing is caring.
2. ANALYZE Homeseer
The main “components” to analyze in HS are:
- Hardware
- Devices
- Events
- Plugins
- Scripts
NOTE: Chapter 3 (below) has three links that help you find out if your integration/plugin/capability has some kind of built-in support in HA.
HARDWARE
Go through the external hardware that is integrated with HS and see if this HW is used by HA. Also check if this HW can be integrated with BOTH HS and HA at the same time! (simultaneous column)
Hardware | HA? | Simultaneous? | Remarks |
RFXCOM LAN | no | no | HA only supports RFXTRX (USB) NOT A PROBLEM: ordered an RFXTRX |
IRTrans | n/a | n/a | NOT A PROBLEM: Not using IRTrans anymore |
Z-Wave | YES | no | USB Zigbee stick only connected to 1 platform at a time. NOT A PROBLEM: phasing out Z-Wave. |
Zigbee | YES | YES | Both platforms can connect to the Deconz software that comes with the (great) Conbee Zigbee stick. |
Philips Hue | YES | YES | Connects to both platforms |
P1 | YES | no | USB (serial) only connects to one platform at a time. NOT A PROBLEM: will just move to HA |
IP Cameras | YES | YES | Can be used by multiple platforms at the same time. |
Shelly devices | YES | YES | My Shelly devices (converted to Tasmota) connect to both platforms at the same time. |
At some point you have all “yes/yes” or “not a problem” – ready for the next step!
DEVICES
Go through your devices in Homeseer and sort them by “date last change”. If there’s too many, filter per location1/location2. Now you will find devices that haven’t updated in a long time.
Question: are there devices that are not relevant or don’t need migrating?
If so, move these devices in a new location called “_OLDdevices”.
Note that the location starts with an _underscore for sorting purposes.
RESULT: a list of relevant devices. Can these be migrated? Do you see problems getting these in your new setup?
EVENTS
Go through your events per group and find the ones that did not run in a long time.
Question: are there events that are not relevant or don’t need migrating?
If so, move these events to a new group “_OLDevents”. Again, starting the name with an underscore for sorting purposes
RESULT: a list of relevant events. Can these be migrated? Do you see problems creating these in your new setup?
PLUGINS
List all of your HS plugins in a table and document the priority, HA equivalents and remarks. Copy the table below as a template/example.
OFFICIAL PLUGINS
OPTIONAL: Priority 1 (high) – 5 (low)
HS Plugin | prio | HA? | Remarks |
BLBackup | 1 | built-in | as legacy plugin and as an Add-on |
IRTrans | 5 | n/a | Not used anymore |
JowiHue | 1 | DeConz | Native Deconz integration |
mcsMQTT | 1 | mqtt | Native MQTT integration |
P1 | 2 | DSMR | Native P1 integration |
Pushover | 2 | Push Pushover | Native (persistent) push integration but also Pushover integration |
RFXCOM | 2 | RFX | RFXCOM integration, but not for the (old) RFXCOM LAN |
Zwave | 5 | n/a | DON’T CARE Moving away from Z-Wave |
ADD ON SCRIPTS
These are not official HS plugins but scripts you can add. Copy the table below as a template/example. OPTIONAL: Priority 1 – 5 (high – low)
HS add-ons | prio | HA | Remarks |
Jon00 Webpage builder | 1 | built-in | |
Jon00 Whois | 5 | n/a | Not needed |
Jon00 Virtual Device Graphing | 1 | built-in | |
Jon00 Device Grouper | 3 | n/a | Not needed |
Jon00 Device List viewer | 3 | n/a | Not needed |
Jon00 Event List viewer | 3 | n/a | Not needed |
Jon00 Database Charting | 2 | built-in | |
Jon00 Links for HS4 | 1 | built-in | |
Jon00 Ini Editor | 5 | n/a | Not needed |
Jon00 Network monitor | 2 | built-in | Integration |
OWN SCRIPTS
Check out the \HomeSeer 4\scripts\
folder and list the scripts that you created. These are not official HS plugins but scripts you have added. Copy the table below as a template/example.
SCRIPT | HASS_IO? | Remarks |
DJ_WebCam_04g.vb | built-in + small script | Script that takes an IP camera snapshot and stores it in a specific location |
DJ_HS3-IncreaseCOUNTER-04.vb | built-in | Native capability |
DJ_Toggle-02.vb | built-in | Native capability |
DJ_ShowerWater_03.vb | n/a | ??? |
DJ_HS3-RFXweight-02.vb | n/a | ??? |
DJ_DayWeekMonth-01.vb | built-in | Native capability for day/week/month counters (gas, water, doorbell rings, etc.) |
DJ_EventList-01.vb | built-in | Native capability |
DJ_SendData_05.vb | n/a | Not used anymore? |
As you can see, all of my tables were green. Time to move on!
3. ANALYZE Home Assistant
Based on step 2 you know what needs to be done. Use the following resources to see if it is possible to do what needs to be done.
- integrations
- add-ons
- and possibly the HA community store
You will most likely do this while creating the tables in step 2.
4. INSTALL Home Assistant
Install HA on your computer, your Mac, a Raspberry Pi, in Docker, on your NAS, etc.
Ideally, install it where you want it to eventually run. In my case I started with a Raspberry Pi 3B+ and later migrated to a Raspberry Pi 4 (4GB)
I have also done testing on HA using Docker on my MacBook.
Familiarize yourself with the way things work and the capabilities.
HYBRID TECHNOLOGIES?
Some technologies / platforms can be used by multiple home automation platforms at the same time. This is great for migrations. Examples:
Deconz (for the great Conbee Zigbee stick)
Connects to both Homeseer (JowiHue plugin) and Home Assistant (Deconz integration) at the same time. This allows for a gradual migration of all events/actions related to Zigbee.
Hue
Works perfectly with multiple platforms
Tasmota devices
Communicate using MQTT. At the beginning I had them talk to HS and configured mcsMQTT to share the data with the MQTT plugin on HA so both platforms had access to data and the ability to control.
5. PREPARE HS
Prepare your migration as much as possible.
- CLEAN up your setup
- Disable unused plugins (remove not really needed?)
- Remove unused devices
- Remove unused events
6. Migrate
Migrated events need devices to work. Migrate these devices first!
- Devices
- Events
DEVICES
First make the “hybrid” devices work (see examples in step #4). For example: Zigbee and Hue devices can be used/integrated on both systems at the same time.
EVENTS
Now I started with the most simple things: Zigbee devices.
- Take an event from HS and create it in HA.
- Disable the event in HS
- Check if it works in HA.
- In HS add ” – migrated to HA” in the event title, or move the event to a group called “_Migrated to HA”. Double check the event in HS is disabled. You can keep monitoring the “last run time” to see if there was no other event that called it.
- Repeat :-)
….. Hope this helped you a bit!
Cheers
DJ