Issue setting up Mysensor Serial Gateway

Hello there,

I’m a noob, so sorry for not being too technical. I’ve made a mysensor serial gateway using a Arduino Uno and I’m battling to configure it the YAML file. I get the following error when looking at the log file on my mac:

16-07-31 18:29:46 homeassistant.config: Incomplete core config. Auto detected elevation: 1447
16-07-31 18:29:50 mysensors.mysensors: File does not exist or is not readable: /config/mysensors1.pickle
16-07-31 18:29:50 mysensors.mysensors: Trying backup file: /config/mysensors1.pickle.bak
16-07-31 18:29:50 mysensors.mysensors: File does not exist or is not readable: /config/mysensors1.pickle.bak
16-07-31 18:29:50 mysensors.mysensors: Failed to load sensors from file: /config/mysensors1.pickle
16-07-31 18:29:50 mysensors.mysensors: Unable to connect to /dev/cu.usbmodemFA121
16-07-31 18:30:00 mysensors.mysensors: Unable to connect to /dev/cu.usbmodemFA121
16-07-31 18:30:11 mysensors.mysensors: Unable to connect to /dev/cu.usbmodemFA121
16-07-31 18:30:21 mysensors.mysensors: Unable to connect to /dev/cu.usbmodemFA121
16-07-31 18:30:31 mysensors.mysensors: Unable to connect to /dev/cu.usbmodemFA121
16-07-31 18:30:41 mysensors.mysensors: Unable to connect to /dev/cu.usbmodemFA121
16-07-31 18:30:51 mysensors.mysensors: Unable to connect to /dev/cu.usbmodemFA121

Any advice you could offer?

HA fails to load the mysensor file, because it isnt there yet so if you have a good setup that part will go away.

i think youre arduino isnt connected to the USB port you have put in the configuration.
in the program you use to programm youre arduino you can easily see which port you use for youre arduino.

1 Like

Thank you for your quick response.

I’ll reload the mysensor gateway sketch.

The details for my port above is from the Arduino IDE. When I run terminal to check, it shows tty and not cu prefix.

then you should use the tty in your config.
i think after that and after 2 times starting HA youre errors are gone.

1 Like