1. Install prerequisites:
`apt-get install libusb-1.0-0-dev build-essential git`
2. Get the current version of this software (choose **one** option):
- * Get the current version via git (can be easily updated with `git pull`):
+ * Get the current *release*-version as a .tar.gz:
+ 1. Download the latest version from the [releases-directory][].
+ Version 0.100 is used as an example for the following commands.
+ 2. Extract the archive: `tar xzf hmcfgusb-0.100.tar.gz`
+ 3. Change into the new directory: `cd hmcfgusb-0.100`
+ * Get the current *development*-version via git (can be easily updated with `git pull`):
1. `git clone git://git.zerfleddert.de/hmcfgusb`
2. Change into the new directory: `cd hmcfgusb`
- * Get the current version as an archive:
+ * Get the current *development*-version as an archive:
1. [hmcfgusb-HEAD-xxxxxxx.tar.gz][] (xxxxxxx is part of the commit-id.
xxxxxxx is just a placeholder for this HowTo, use your value)
2. Extract the archive: `tar xzf hmcfgusb-HEAD-xxxxxxx.tar.gz`
``define hmusb HMLAN 127.0.0.1:1234``
``attr hmusb hmId <hmId>``
+**Important compatibility information:**
+If older Fhem-versions (before 2015-06-19) or other software ([Homegear][]
+before 2015-07-01, [LXCCU][], a real [CCU][], Windows configuration software,
+...) is used to connect to hmland, the `-I` switch might be needed to
+impersonate a LAN-interface (this replaces the identity string HM-USB-IF with
+HM-LAN-IF).
+Software which needs this will not keep a stable connection open to
+hmland without this switch. It was the hardcoded default in versions
+< 0.100.
+
+This incompatibility is needed so connecting software is able to
+differentiate between HM-CFG-LAN and HM-CFG-USB.
+
+[releases-directory]: https://git.zerfleddert.de/hmcfgusb/releases/
[hmcfgusb-HEAD-xxxxxxx.tar.gz]: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/snapshot/HEAD.tar.gz
+[Homegear]: https://www.homegear.eu/
+[LXCCU]: http://www.lxccu.com/
+[CCU]: http://www.elv.de/homematic-zentrale-ccu-2.html
### Updating the HM-CFG-USB firmware to version 0.967: ###
[hmusbif.03c7.enc]: https://git.zerfleddert.de/hmcfgusb/firmware/hmusbif.03c7.enc
-### Updating HomemMatic devices over the air (OTA): ###
+### Updating HomemMatic devices over the air (OTA) (also for CUL devices): ###
1. Compile the hmcfgusb utilities like in the hmland HowTo above
(steps 1 to 5) and stay in the directory
firmware version 1.4
3. Extract the tgz-file: `tar xvzf hm_cc_rt_dn_update_V1_4_001_141020.tgz`
4. Make sure that hmland is not running
-* When using the **HM-CFG-USB**, flash the new firmware to the device with
- serial *KEQ0123456*:
+* When using the **[HM-CFG-USB(2)][]**, flash the new firmware to the device
+ with serial *KEQ0123456*:
`./flash-ota -f hm_cc_rt_dn_update_V1_4_001_141020.eq3 -s KEQ0123456`
-* When using a **culfw**-based device (**CUL/COC/...**), flash the new
- firmware to the device with serial *KEQ0123456*:
+* When using a **[culfw][]**-based device (**[CUL][]/[COC][]/...**), flash
+ the new firmware to the device with serial *KEQ0123456*:
`./flash-ota -f hm_cc_rt_dn_update_V1_4_001_141020.eq3 -s KEQ0123456 -c /dev/ttyACM0`
[eQ-3]: http://www.eq-3.de/downloads.html
+[culfw]: http://culfw.de/culfw.html
+[CUL]: http://busware.de/tiki-index.php?page=CUL
+[COC]: http://busware.de/tiki-index.php?page=COC