Migrating from FHEM¶
For FHEM installations with CUL_MAX (nanoCUL or CUL). No device has to be paired again. Overview and requirements: Migration.
New in 0.11.2
The converter is new; it has run on one real FHEM installation so far (#21). Feedback is welcome.
What is taken over¶
| From FHEM | In eq3_max |
|---|---|
| Address of the CUL_MAX | the same hub address, no pairing again |
Radio address, serial (reading SerialNr), type |
device in Home Assistant |
Attribute alias (else the FHEM name) |
device name |
Reading groupid |
group |
Readings peers/peerIDs |
links |
| Configuration (comfort, eco, maximum, minimum, offset, window open temperature and duration, boost, decalcification, maximum valve, valve offset) | number.*/select.* |
Readings weekprofile-<n>-<day>-time/-temp of the thermostats (from 0.11.4) |
week program on the "eQ-3 MAX!" page and in the card |
There are no entity IDs to take over from FHEM; automations from FHEM are rebuilt in Home Assistant.
1. Create the export file¶
tools/fhem_export.py
needs only Python 3 and runs on the FHEM host. Two ways, one is enough:
- From the FHEM command line (works with configDB, too): run
jsonlist2 TYPE=MAX,TYPE=CUL_MAX, save the output asjsonlist.json, then
python3 fhem_export.py --jsonlist jsonlist.json
- From the files: run
savein FHEM first (the readings are infhem.save), then
python3 fhem_export.py --cfg /opt/fhem/fhem.cfg --save /opt/fhem/log/fhem.save
The script writes eq3_max_export.json and prints the hub address.
Devices without SerialNr (created in FHEM by autocreate instead of pairing) are listed.
The serial is on the device label; pass it with --serial MAX_0a1b2c=KEQ0123456 (repeatable).
The export file holds the addresses and serials of your devices – do not post it publicly.
2. Move over¶
- Stop FHEM or switch off the MAX! devices there. Never two central units at once.
- Copy
eq3_max_export.jsonto/config/eq3_max_export.json. - Set up eq3_max (Setup): enter the same hub address, choose JSON under "Take over devices".
- Check: thermostats show up with their next status message, window contacts the next time they open. The "eQ-3 MAX!" panel lists the links per device.
Already moved?¶
Whoever moved before 0.11.4 does not have the week programs in eq3_max yet. They can be taken
over afterwards without setting up again: create the export file with the current
fhem_export.py again (FHEM need not run, --cfg/--save or a saved jsonlist2 output will
do), put it at /config/eq3_max_export.json and run the action
eq3_max.import_week_profile. Nothing is
sent. Window open duration, maximum valve and valve offset (not taken before 0.11.2) are set
by hand in eq3_max.