Insteon terminal is able to connect to the Insteon Hub 2 and I can fetch the database for remote devices. However, I have not been able to configure the jub itself so that I can inspect its database. I updated the existing modem definition with the Insteon id of the hub and left the other values unchanged since I did not find any python code specifically for the 2245 hub.
modem = Modem2413U("test_modem", "4F:56:C3")
If I run insteon-terminal I get:
Insteon Terminal
Connecting
Connected
Failed to initialize python interpreter:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "./init.py", line 49, in <module>
modem = Modem2413U("test_modem", "4F:56:C3")
File "python/modem2413U.py", line 82, in __init__
Device.__init__(self, name, addr)
File "python/device.py", line 307, in __init__
addDev
addDev(self)
File "python/all_devices.py", line 15, in addDev
addr
addr = InsteonAddress(dev.getAddress()).toString()
at us.pfrommer.insteon.msg.InsteonAddress.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:210)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Address string must have 3 bytes, has: 1
Someone else reported a similar problem and figured out the solution. I am not that smart (:-).
Any help would be greatly appreciated.
Thanks, Norbert