Home Assistant Core does not sees SySensors gateway

Hia,

i built the mysensors gateway, have it on the network, can ping to it, but HA Core does not sees it.

my configuration.yaml is:

default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
http:
  ssl_certificate: /var/homeassistant/.homeassistant/server.pem
  ssl_key: /var/homeassistant/.homeassistant/server.key

#map:

geo_location:
  - platform: geo_json_events
    url: https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson


mysensors:
  gateways:
    - device: '192.168.80.9'

Hi All,

for the mysensors the gateway i decided also to give a try with ENC28J60 Ethernet module, RF24 and arduino nano.

The code i used is:

// Enable debug prints to serial monitor
#define MY_DEBUG 

// Enable and select radio type attached
#define MY_RADIO_RF24
#define MY_RF24_PA_LEVEL RF24_PA_MAX

// When ENC28J60 is connected we have to move CE/CSN pins for NRF radio
#define MY_RF24_CE_PIN 5
#define MY_RF24_CS_PIN 6

// Enable gateway ethernet module type 
#define MY_GATEWAY_ENC28J60

// Gateway IP address
#define MY_IP_ADDRESS 192,168,80,9  
#define MY_IP_GATEWAY_ADDRESS 192,168,80,1
#define MY_IP_SUBNET_ADDRESS 255,255,255,0

// 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 Ardunio examples use  "DEAD BEEF FEED" for the MAC address.
#define MY_MAC_ADDRESS 0x00, 0x40, 0xFD, 0xEF, 0x35, 0x70

// 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, 4 

// If MQTT, uncomment the follwoing:
//#define MY_GATEWAY_MQTT_CLIENT
//#define MY_MQTT_CLIENT_ID "mysnsg1"
//#define MY_MQTT_USER "admin"
//#define MY_MQTT_PASSWORD "bucleta01"
// MQTT broker ip address or url. Define one or the other.
//#define MY_CONTROLLER_URL_ADDRESS "mysnsg1.wollny.com.br"
//#define MY_CONTROLLER_IP_ADDRESS 192, 168, 80, 4
// The MQTT broker port to to open
//#define MY_PORT 1883
// Set this node's subscribe and publish topic prefix
//#define MY_MQTT_PUBLISH_TOPIC_PREFIX "mysnsg1-out"
//#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mysnsg1-in"  

// Flash leds on rx/tx/err
// Set blinking period
#define MY_DEFAULT_LED_BLINK_PERIOD 300

// 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 

#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  // the PCB, on board LED

#include <SPI.h>
#include <UIPEthernet.h>
#include <MySensors.h>


void setup()
{
}

void loop() {
}

on the monitor, i read:

0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2
4 TSM:INIT0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2
4 TSM:INIT
5 TSF:WUR:MS=0
12 TSM:INIT:TSP OK
13 TSM:INIT:GW MODE
15 TSM:READY:ID=0,PAR=0,DIS=0
18 MCO:REG:NOT NEEDED
71 GWT:TIN:IP=192.168.80.9
1074 MCO:BGN:STP
1075 MCO:BGN:INIT OK,TSP=1
1078 TSM:READY:NWD REQ
1083 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2
4 TSM:INIT
5 TSF:WUR:MS=0
12 TSM:INIT:TSP OK
13 TSM:INIT:GW MODE
15 TSM:READY:ID=0,PAR=0,DIS=0
18 MCO:REG:NOT NEEDED
71 GWT:TIN:IP=192.168.80.9
1074 MCO:BGN:STP
1075 MCO:BGN:INIT OK,TSP=1
1078 TSM:READY:NWD REQ
1083 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
13182 GWT:TSA:ETH OK
13190 GWT:RFC:MSG=0;255;3;0;2;
23293 GWT:RFC:MSG=0;255;3;0;2;
33400 GWT:RFC:MSG=0;255;3;0;2;
43508 GWT:RFC:MSG=0;255;3;0;2;
53615 GWT:RFC:MSG=0;255;3;0;2;
63723 GWT:RFC:MSG=0;255;3;0;2;
73830 GWT:RFC:MSG=0;255;3;0;2;
83937 GWT:RFC:MSG=0;255;3;0;2;
94044 GWT:RFC:MSG=0;255;3;0;2;
104153 GWT:RFC:MSG=0;255;3;0;2;
114259 GWT:RFC:MSG=0;255;3;0;2;
124366 GWT:RFC:MSG=0;255;3;0;2;
134474 GWT:RFC:MSG=0;255;3;0;2;
144581 GWT:RFC:MSG=0;255;3;0;2;
154689 GWT:RFC:MSG=0;255;3;0;2;
164798 GWT:RFC:MSG=0;255;3;0;2;
174905 GWT:RFC:MSG=0;255;3;0;2;
185013 GWT:RFC:MSG=0;255;3;0;2;
195324 GWT:RFC:MSG=0;255;3;0;2;
205228 GWT:RFC:MSG=0;255;3;0;2;
215334 GWT:RFC:MSG=0;255;3;0;2;
225441 GWT:RFC:MSG=0;255;3;0;2;
235549 GWT:RFC:MSG=0;255;3;0;2;
245657 GWT:RFC:MSG=0;255;3;0;2;
255970 GWT:RFC:MSG=0;255;3;0;2;
265872 GWT:RFC:MSG=0;255;3;0;2;
275980 GWT:RFC:MSG=0;255;3;0;2;
286088 GWT:RFC:MSG=0;255;3;0;2;
296196 GWT:RFC:MSG=0;255;3;0;2;
306302 GWT:RFC:MSG=0;255;3;0;2;
316411 GWT:RFC:MSG=0;255;3;0;2;
326518 GWT:RFC:MSG=0;255;3;0;2;
336625 GWT:RFC:MSG=0;255;3;0;2;
346733 GWT:RFC:MSG=0;255;3;0;2;
357048 GWT:RFC:MSG=0;255;3;0;2;
366948 GWT:RFC:MSG=0;255;3;0;2;
377056 GWT:RFC:MSG=0;255;3;0;2;
387163 GWT:RFC:MSG=0;255;3;0;2;
397270 GWT:RFC:MSG=0;255;3;0;2;
407377 GWT:RFC:MSG=0;255;3;0;2;
417485 GWT:RFC:MSG=0;255;3;0;2;
427592 GWT:RFC:MSG=0;255;3;0;2;
437701 GWT:RFC:MSG=0;255;3;0;2;
447807 GWT:RFC:MSG=0;255;3;0;2;
457916 GWT:RFC:MSG=0;255;3;0;2;
468024 GWT:RFC:MSG=0;255;3;0;2;
478131 GWT:RFC:MSG=0;255;3;0;2;
488238 GWT:RFC:MSG=0;255;3;0;2;
498345 GWT:RFC:MSG=0;255;3;0;2;

for testing, i installed also mycontroller, but seams there is no interaction.

also trying to make it dhcp (commenting out the ip line), does not work (complie error).

beside that, disconnecting the usb cabe makes it becomes unresponsive to ping, even powered and connected to the ethernet cable.

Home Assistant Core also does not connect to it.

Thx in advance for any help.

Paulo Ven