(Solved) Homeassistant does not see mysensors ESP32 gateway

Hi, relatively new to Home assistant and very new to mysensors. All great projects.

Running Home assistant Core 0.116.4 on Home OS 4.17 on Rpi 3B. I have some devices connected via EspHome and Home assistance nicely controls my front door light.
Next step would be integrating a mysensors network, starting with a gateway based on ESP32. Gateway seems to run quite happy and is pingable on Wifi (192.168.178.201)
But Home assistant does not see it. I get a notification 'The following integrations and platforms cannot be set up, Mysensors, Please check your config. Note I have rebooted Home asistant a dozen times minimum.

Config is:

mysensors:
  gateways:
    - device: ’192.168.178.201’
      persistence_file: path/wifi_gateway.json
      tcp_port: 5003
  optimistic: false
  persistence: true
  retain: true
  version: ’2.0’
  

log file gives the following errors (with debug enabled)

2020-11-28 21:23:11 ERROR (MainThread) [homeassistant.components.mysensors] No devices could be setup as gateways, check your configuration
2020-11-28 21:23:11 INFO (MainThread) [homeassistant.setup] Setup of domain mysensors took 1.3 seconds
2020-11-28 21:23:11 ERROR (MainThread) [homeassistant.setup] Setup failed for mysensors: Integration failed to initialize.

Some gateway logging, with 1 dummy sensor in the network. (I can’t read this really, but no apparent error).

21:11:24.359 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
21:11:24.359 -> configsip: 188777542, SPIWP:0xee
21:11:24.359 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
21:11:24.359 -> mode:DIO, clock div:1
21:11:24.359 -> load:0x3fff0018,len:4
21:11:24.359 -> load:0x3fff001c,len:1044
21:11:24.359 -> load:0x40078000,len:8896
21:11:24.359 -> load:0x40080400,len:5816
21:11:24.359 -> entry 0x400806ac
21:11:24.634 -> 37 MCO:BGN:INIT GW,CP=RNNGF---,FQ=240,REL=255,VER=2.3.2
21:11:24.634 -> 42 TSF:LRT:OK
21:11:24.634 -> 46 TSM:INIT
21:11:24.634 -> 49 TSF:WUR:MS=0
21:11:24.669 -> 58 TSM:INIT:TSP OK
21:11:24.669 -> 60 TSM:INIT:GW MODE
21:11:24.669 -> 64 TSM:READY:ID=0,PAR=0,DIS=0
21:11:24.669 -> 69 MCO:REG:NOT NEEDED
21:11:25.762 -> 1159 GWT:TIN:CONNECTING...
21:11:25.762 -> 1161 GWT:TIN:IP: 192.168.178.201
21:11:25.762 -> 1167 MCO:BGN:STP
21:11:25.762 -> 1170 MCO:BGN:INIT OK,TSP=1
21:11:25.762 -> 1175 TSM:READY:NWD REQ
21:11:25.795 -> 1182 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
21:11:28.870 -> 4262 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:

23:03:04.881 -> 6700358 TSF:MSG:READ,255-255-0,s=95,c=3,t=3,pt=0,l=0,sg=0:
23:04:06.882 -> 6762336 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
23:04:06.882 -> 6762341 TSF:MSG:BC
23:04:06.882 -> 6762345 TSF:MSG:FPAR REQ,ID=255
23:04:06.882 -> 6762350 TSF:PNG:SEND,TO=0
23:04:06.882 -> 6762354 TSF:CKU:OK
23:04:06.882 -> 6762358 TSF:MSG:GWL OK
23:04:07.777 -> 6763255 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
23:04:08.874 -> 6764348 TSF:MSG:READ,255-255-0,s=140,c=3,t=3,pt=0,l=0,sg=0:
23:04:10.902 -> 6766359 TSF:MSG:READ,255-255-0,s=104,c=3,t=3,pt=0,l=0,sg=0:
23:04:12.893 -> 6768369 TSF:MSG:READ,255-255-0,s=68,c=3,t=3,pt=0,l=0,sg=0:
23:04:14.916 -> 6770379 TSF:MSG:READ,255-255-0,s=31,c=3,t=3,pt=0,l=0,sg=0:

So what could be wrong with the gateway or the configuration ? Any help much appreciated.

Rumoldus

Hi,
probably, when you know it, it is very obvious. The quotes are wrong. I copy/pasted my configuration from an example, but apparently the example contained the wrong quotes. Took me days, if not weeks, to discover this.So `this` wil not work but 'this' will.
In addition in above posting, the location for the config file is nonsense. Use ‘/config/wifi_gateway.json’ (again with correct quotes) or similar…
Rumoldus