OH2.5.9 / ethernet gateway / autodiscovery?
-
Hi Mind hive,
I have put in my mind to migrate my home automation from Souliss to MySensors, and i am setting up a testlab. I have a RS485 line running through my house, and i want to re-use it.
In my test setup i have installed a clean OH 2.5.9 (on windows).
i've built an ethernet gateway on a mega2560 with RS485 shield (built myself, based on SN75176 transceiver)
The ethernet gateway compiled without errors. this is the sketch (grabbed from examples and edited to the needs of an ethernet/RS485 network)
// Enable debug prints to serial monitor #define MY_DEBUG //#define MY_DEBUG_HWSERIAL Serial1 // = Serial0 / Rx0 & Tx0 to programming & debug // Enable RS485 transport layer #define MY_RS485 // Define this to enables DE-pin management on defined pin #define MY_RS485_DE_PIN 2 // Set RS485 baud rate to use #define MY_RS485_BAUD_RATE 9600 // Enable this if RS485 is connected to a hardware serial port #define MY_RS485_HWSERIAL Serial3 // Enable gateway ethernet module type #define MY_GATEWAY_W5100 // W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal) #define MY_W5100_SPI_EN 4 // Enable UDP communication //#define MY_USE_UDP // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS or MY_CONTROLLER_URL_ADDRESS below // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP) #define MY_IP_ADDRESS 192,168,80,185 // If using static ip you can define Gateway and Subnet address as well #define MY_IP_GATEWAY_ADDRESS 192,168,80,1 #define MY_IP_SUBNET_ADDRESS 255,255,255,0 // Renewal period if using DHCP //#define MY_IP_RENEWAL_INTERVAL 60000 // The port to keep open on node server mode / or port to contact in client mode #define MY_PORT 5003 // Controller ip address. Enables client mode (default is "server" mode). // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere. #define MY_CONTROLLER_IP_ADDRESS 192, 168, 80, 190 //#define MY_CONTROLLER_URL_ADDRESS "my.controller.org" // The MAC address can be anything you want but should be unique on your network. // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use. // Note that most of the Arduino examples use "DEAD BEEF FEED" for the MAC address. #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xF1, 0x00 // Enable inclusion mode #define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway //#define MY_INCLUSION_BUTTON_FEATURE // Set inclusion mode duration (in seconds) #define MY_INCLUSION_MODE_DURATION 60 // Digital pin used for inclusion mode button //#define MY_INCLUSION_MODE_BUTTON_PIN 3 // Set blinking period #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Flash leds on rx/tx/err // Uncomment to override default HW configurations //#define MY_DEFAULT_ERR_LED_PIN 7 // Error led pin //#define MY_DEFAULT_RX_LED_PIN 8 // Receive led pin //#define MY_DEFAULT_TX_LED_PIN 9 // Transmit led pin #if defined(MY_USE_UDP) #include <EthernetUdp.h> #endif #include <Ethernet.h> #include <MySensors.h> void setup() { // Setup locally attached sensors } void presentation() { // Present locally attached sensors here } void loop() { // Send locally attached sensors data here }
I hope that's well done for an ethernet to RS485 gateway.
The debug output of the GW says this:
17:21:03.768 -> 0 MCO:BGN:INIT GW,CP=RSNGA---,FQ=16,REL=255,VER=2.3.2 17:21:03.803 -> 4 TSM:INIT 17:21:03.803 -> 5 TSF:WUR:MS=0 17:21:03.803 -> 7 TSM:INIT:TSP OK 17:21:03.803 -> 8 TSM:INIT:GW MODE 17:21:03.803 -> 10 TSM:READY:ID=0,PAR=0,DIS=0 17:21:03.803 -> 12 MCO:REG:NOT NEEDED 17:21:04.370 -> 575 GWT:TIN:IP=192.168.80.185 17:21:06.386 -> 2580 !GWT:TIN:ETH FAIL 17:21:06.386 -> 2582 MCO:BGN:STP 17:21:06.386 -> 2584 MCO:BGN:INIT OK,TSP=1 17:21:07.410 -> 3588 !GWT:TSA:ETH FAIL 17:21:07.410 -> 3590 TSM:READY:NWD REQ 17:21:07.410 -> 3608 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK: 17:21:08.428 -> 4616 !GWT:TSA:ETH FAIL 17:21:09.448 -> 5619 !GWT:TSA:ETH FAIL 17:21:10.447 -> 6623 !GWT:TSA:ETH FAIL
Which also doesn't seem wrong to me since the gateway doesn't find a controller.
Enter the controller: Openhab 2.5.9.
Installed the binding by adding it in the addons folder.
openhab> bundle:list | grep MySensors 210 │ Installed │ 80 │ 2.5.0.202002161928 │ openHAB Add-ons :: Bundles :: MySensors Binding
Binding shows as installed - but not active.
I added a demo.things file in the things folder:
Bridge mysensors:bridge-eth:gateway [ ipAddress="192.168.80.185", tcpPort=5003, sendDelay=200 ] { /** define things connected to that bridge here */ }
And that's where i am stuck.
Q1: how to get the binding 'active' ? any ideas?
Q2: how to get autodiscovery working once the binding is active? Is this actually implemented? I only see examples with textual configuration.openhab.log shows this, by the way:
2020-10-20 17:04:29.689 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.things' 2020-10-20 17:04:30.659 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007 2020-10-20 17:04:31.224 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.80.190:8080 2020-10-20 17:04:31.299 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.80.190:8443 2020-10-20 17:04:31.643 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel 2020-10-20 17:04:31.674 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder 2020-10-20 17:04:31.708 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui 2020-10-20 17:04:33.910 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/C:/OH25/addons/org.openhab.binding.mysensors-2.5.0-SNAPSHOT%20(1).jar org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mysensors [210] Unresolved requirement: Import-Package: org.eclipse.smarthome.io.transport.mqtt at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
Thanks People
-
Hello, also beginner here so take my advice with some reserve.
1 - It seems to me that your ethernet connection does not work - https://www.mysensors.org/apidocs/group__MyGatewayTransportgrp.html
17:21:06.386 -> 2580 !GWT:TIN:ETH FAIL
Can you ping the gateway?
2 - I am also using openHab but with MQTT gateway and MQTT binding as I did not find mysensors binding in the official list. But there is no autodiscovery - but I prefer to configure it manually anyway.
-
Thanks for the reply,
PS C:\Windows\system32> ping 192.168.80.185 Pinging 192.168.80.185 with 32 bytes of data: Reply from 192.168.80.185: bytes=32 time<1ms TTL=128 Reply from 192.168.80.185: bytes=32 time<1ms TTL=128 Reply from 192.168.80.185: bytes=32 time<1ms TTL=128 Reply from 192.168.80.185: bytes=32 time<1ms TTL=128 Ping statistics for 192.168.80.185: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms PS C:\Windows\system32>
The gateway is very pingeable, from what i found on other threads the problem could be that the controller is unavailable. That actually makes sense since the binding doesn't show "active'.
-
@Stefferd Please fulfill the requirement for mqtt of the binding:
feature:install openhab-transport-serial and feature:install openhab-core-io-transport-mqtt
If you're starting from the scratch please consider using the MQTT Gateway instead of the binding. I've developed the binding and I am currently not quite sure if I'm able to maintain support for the binding, especially because OpenHAB3 is on its way.
-
@TimO Thanks for the reply. I've done the steps you provided, and the binding is active now in OH.
but still no luck. OH logfile says it cannot connect to the bridge.2020-10-21 14:30:00.521 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [] 2020-10-21 14:30:00.521 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Failed connecting to bridge...next retry in 10 seconds (Retry No.:5) 2020-10-21 14:30:00.521 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Disconnecting from IP bridge ... 2020-10-21 14:30:00.521 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [] 2020-10-21 14:30:10.537 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.80.185:5003] 2020-10-21 14:30:31.616 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Error while trying to connect InputStreamReader java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[?:1.8.0_265] at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) ~[?:1.8.0_265] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_265] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_265] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_265] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_265] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_265] at java.net.Socket.connect(Socket.java:607) ~[?:1.8.0_265] at java.net.Socket.connect(Socket.java:556) ~[?:1.8.0_265] at java.net.Socket.<init>(Socket.java:452) ~[?:1.8.0_265] at java.net.Socket.<init>(Socket.java:229) ~[?:1.8.0_265] at org.openhab.binding.mysensors.internal.protocol.ip.MySensorsIpConnection.establishConnection(MySensorsIpConnection.java:50) [bundleFile:?] at org.openhab.binding.mysensors.internal.protocol.MySensorsAbstractConnection.connect(MySensorsAbstractConnection.java:152) [bundleFile:?] at org.openhab.binding.mysensors.internal.protocol.MySensorsAbstractConnection.run(MySensorsAbstractConnection.java:131) [bundleFile:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_265] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_265] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_265] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_265] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265] 2020-10-21 14:30:31.616 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [] 2020-10-21 14:30:31.616 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Failed connecting to bridge...next retry in 10 seconds (Retry No.:6) 2020-10-21 14:30:31.616 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Disconnecting from IP bridge ... 2020-10-21 14:30:31.616 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: []
and the bridge's debug output now gives this:
14:23:09.688 -> 0 MCO:BGN:INIT GW,CP=RSNGA---,FQ=16,REL=255,VER=2.3.2 14:23:09.688 -> 4 TSM:INIT 14:23:09.688 -> 5 TSF:WUR:MS=0 14:23:09.688 -> 7 TSM:INIT:TSP OK 14:23:09.688 -> 8 TSM:INIT:GW MODE 14:23:09.688 -> 10 TSM:READY:ID=0,PAR=0,DIS=0 14:23:09.722 -> 12 MCO:REG:NOT NEEDED 14:23:10.282 -> 575 GWT:TIN:IP=192.168.80.185 14:23:11.294 -> 1579 MCO:BGN:STP 14:23:11.294 -> 1580 MCO:BGN:INIT OK,TSP=1 14:23:11.294 -> 1583 TSM:READY:NWD REQ 14:23:11.294 -> 1586 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
but it stays stuck there. I must say i just outcommented the line
// Enable UDP communication #define MY_USE_UDP // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS or MY_CONTROLLER_URL_ADDRESS below
AFAIK the MQTT gateway does not provide autodiscovery? That's a very important one to me since i'm not the only one configuring OH.
Is there actually anexisting way to make OpenHAB discover my nodes and children? Or am i wrong?
Thanks,
Stef
-
@Stefferd Don't use UDP for the connection between the gateway and Openhab, it is not supported by the binding.
Are you able to log into the gateway via telnet?
telnet 192.168.80.185 5003
-
@TimO Ok, i've outcommented the UDP line again in my sketch.
gateway debug output gives me this again:
15:14:50.371 -> 150168 !GWT:TSA:ETH FAIL 15:14:51.389 -> 151172 !GWT:TSA:ETH FAIL 15:14:52.386 -> 152176 !GWT:TSA:ETH FAIL 15:14:53.409 -> 153180 !GWT:TSA:ETH FAIL 15:14:54.421 -> 154183 !GWT:TSA:ETH FAIL 15:14:55.438 -> 155187 !GWT:TSA:ETH FAIL
infinitely.
and telnet to the GW on port 5003 doesn't work (in putty telnet client)
Thanks for your support by the way, i really appreciate it.
-
@TimO Ok, found it. This was the problem:
#define MY_CONTROLLER_IP_ADDRESS 192, 168, 80, 190
After disabling UDP in the sketch, this UDP-specific line should have been outcommented too.
Openhab log looks fine:
2020-10-21 15:23:15.294 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.things' 2020-10-21 15:23:15.872 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007 2020-10-21 15:23:16.277 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.80.190:8080 2020-10-21 15:23:16.308 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.80.190:8443 2020-10-21 15:23:16.606 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel 2020-10-21 15:23:16.621 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder 2020-10-21 15:23:16.637 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui 2020-10-21 15:23:16.918 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors bridge 2020-10-21 15:23:16.949 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache file: given_ids.cached exist. 2020-10-21 15:23:16.949 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache (given_ids) content: [] 2020-10-21 15:23:16.949 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Enabling connection watchdog 2020-10-21 15:23:16.949 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors bridge DONE! 2020-10-21 15:23:16.949 [DEBUG] [.discovery.MySensorsDiscoveryService] - Starting MySensors discovery scan 2020-10-21 15:23:16.965 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.80.185:5003] 2020-10-21 15:23:17.262 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2; 2020-10-21 15:23:17.292 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;14;Gateway startup complete. 2020-10-21 15:23:17.309 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;0;0;18;2.3.2 2020-10-21 15:23:17.309 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Presentation Message received 2020-10-21 15:23:17.309 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [0] 2020-10-21 15:23:17.309 [WARN ] [.discovery.MySensorsDiscoveryService] - Cannot automatic discover thing node: 0, child: 255 please insert it manually 2020-10-21 15:23:17.309 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;2;2.3.2 2020-10-21 15:23:17.309 [DEBUG] [rsAbstractConnection$MySensorsReader] - Good,Gateway is up and running! (Ver:2.3.2) 2020-10-21 15:23:17.309 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [0] 2020-10-21 15:23:17.309 [INFO ] [al.protocol.ip.MySensorsIpConnection] - Successfully connected to MySensors Bridge.
and the gateway's debug output also looks fine:
15:22:53.667 -> 0 MCO:BGN:INIT GW,CP=RSNGA---,FQ=16,REL=255,VER=2.3.2 15:22:53.667 -> 4 TSM:INIT 15:22:53.667 -> 5 TSF:WUR:MS=0 15:22:53.667 -> 7 TSM:INIT:TSP OK 15:22:53.667 -> 8 TSM:INIT:GW MODE 15:22:53.667 -> 10 TSM:READY:ID=0,PAR=0,DIS=0 15:22:53.667 -> 12 MCO:REG:NOT NEEDED 15:22:54.236 -> 575 GWT:TIN:IP=192.168.80.185 15:22:55.257 -> 1579 MCO:BGN:STP 15:22:55.257 -> 1580 MCO:BGN:INIT OK,TSP=1 15:22:55.257 -> 1583 TSM:READY:NWD REQ 15:22:55.257 -> 1586 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK: 15:23:17.292 -> 23449 GWT:TSA:ETH OK 15:23:17.292 -> 23453 GWT:RFC:MSG=0;0;3;0;2; 15:23:17.292 -> 23457 GWT:RFC:MSG= 15:23:17.292 -> 23459 GWT:RFC:MSG=
Thanks for your time and patience to a newbie!
-
@TimO so, i have set up a RS485 node. Communication from the node to the gateway works - the gateway sees the messages, and forwards the to OpenHAB.
But Openhab does not autodiscover it (it's a motion sensor, from the examples). Even though it's mentioned in the openhab logs.
2020-10-22 14:14:19.110 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.things' 2020-10-22 14:14:20.235 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007 2020-10-22 14:14:20.640 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.80.190:8080 2020-10-22 14:14:20.687 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.80.190:8443 2020-10-22 14:14:21.031 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel 2020-10-22 14:14:21.046 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder 2020-10-22 14:14:21.093 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui 2020-10-22 14:14:21.327 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors bridge 2020-10-22 14:14:21.437 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache file: given_ids.cached not exist. 2020-10-22 14:14:21.437 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache file: given_ids.cached not exist. Default passed, creating it... 2020-10-22 14:14:21.437 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [] 2020-10-22 14:14:21.437 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache (given_ids) content: [] 2020-10-22 14:14:21.437 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Enabling connection watchdog 2020-10-22 14:14:21.452 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors bridge DONE! 2020-10-22 14:14:21.452 [DEBUG] [.discovery.MySensorsDiscoveryService] - Starting MySensors discovery scan 2020-10-22 14:14:21.452 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.80.185:5003] 2020-10-22 14:14:21.468 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2; 2020-10-22 14:14:21.483 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;14;Gateway startup complete. 2020-10-22 14:14:21.499 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;0;0;18;2.3.2 2020-10-22 14:14:21.499 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Presentation Message received 2020-10-22 14:14:21.499 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [0] 2020-10-22 14:14:21.499 [WARN ] [.discovery.MySensorsDiscoveryService] - Cannot automatic discover thing node: 0, child: 255 please insert it manually 2020-10-22 14:14:21.499 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;2;2.3.2 2020-10-22 14:14:21.499 [DEBUG] [rsAbstractConnection$MySensorsReader] - Good,Gateway is up and running! (Ver:2.3.2) 2020-10-22 14:14:21.499 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: [0] 2020-10-22 14:14:21.499 [INFO ] [al.protocol.ip.MySensorsIpConnection] - Successfully connected to MySensors Bridge. 2020-10-22 14:14:59.078 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:15:49.735 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:15:49.782 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:15:49.828 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:15:49.859 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:15:49.905 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:15:49.937 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:15:49.986 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0 2020-10-22 14:16:15.189 [DEBUG] [.discovery.MySensorsDiscoveryService] - Stopping MySensors discovery scan 2020-10-22 14:16:15.189 [DEBUG] [.discovery.MySensorsDiscoveryService] - Starting MySensors discovery scan 2020-10-22 14:17:59.262 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 1;1;1;0;16;0
Is there something i'm still missing?
Thanks
-
@TimO No Sweat, found it - it was because the node was powered on before the gateway and presentation didn't go well...