I have homegear set up with just the MAX family module. It is connecting using CUNX to a MAX Cube that has been flashed with culfw. When I turn on pairing mode and then set the TRV to pair, I get a few messages in the log files, and the TRV leaves pairing mode, all suggesting that the pairing worked. The logs are
However, ls shows no paired devices, which suggests it didn’t work.
If I change the MAX! address of homegear (with the centralAddress config setting in /etc/homegear/families/max.conf ) and then try to pair again, I get a new message: Module MAX: Error: Pairing packet rejected, because this peer is already paired to another central. in the logs. This suggests, again, that the pairing worked.
I don’t know where to go next to debug this. Any pointers appreciated.
Hi, thanks! I should have mentioned, I already did a factory reset - several times, in fact.
A couple of other odd things: I find I frequently have to restart the homegear service (this is using the Ubuntu debs) in order to reproduce this logging behaviour. Without the restart, a factory restart may or may not result in this logging info. Following a restart, it always does.
Possibly related, I’m also seeing regular Module MAX: CUNX "Max-CUNX": Warning: Connection to client number [N] closed (3): Connection reset by peer, whenever I’m interacting with the Cube (I think).
I’m having more success with CUL. Pairing now works, but only once per session: I have to restart the homegear client between pairing sessions.
If I leave the client open, I can see the device that is attempting to pair is sending messages to homegear, but the debug message I see on success does not appear (Module MAX: Debug: Device 2: Access granted for packet X).
sorry for the late replay. Probably the error is not in Homegear. But you can post a full log on loglevel 4 here showing the mentioned behavior. Maybe that helps identifying the issue.