insteonhub: Name or service not known

48 views
Skip to first unread message

Alan gilman

unread,
Jul 21, 2020, 11:03:30 AM7/21/20
to insteon-terminal
Running on Raspberry Pi 4 with the latest OS. Fresh install of insteon-terminal using init.py.example modified with my hub's username/password. I also uncommented the line to call connectToMyHub(). I have an insteon 2245-222 hub which is working fine on my OpenHAB installation. Here is the output from running insteon-terminal:

pi@RPiDev:~/Projects/insteon-terminal $ ./insteon-terminal
Insteon Terminal
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/home/pi/Projects/insteon-terminal/build/jars/insteon-terminal.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Connecting
insteonhub: Name or service not known
Terminal ready!

Anyone know why it is not recognizing insteonhub?

-Keith

railfan

unread,
Sep 2, 2020, 10:57:22 AM9/2/20
to insteon-terminal
how do you have the hub configured in the init.py?
I am using a hub.  It took some experimentation, but I did get it to work.  My config is:

def connectToMyHub():
    """connects to my insteon hub modem at pre-defined address"""
    connectToHub("xxx.xxx.xxx.xxx", 25105, 1000, "AAAAAAAA", "PPPPPPPP")

connectToMyHub()

Note - 
where 
   xxx.xxx.xxx.xxx is the IP address to my hub.
   AAAAAAAA is the username (from the label on the hub)
   PPPPPPPP is the password (from the label on the hub)

Also, I have the connectToMySerial() and connectToMyLegacyHub() commented out.  My hub is the newer 2245.222

Hope that helps you.

Reply all
Reply to author
Forward
0 new messages