Error: MySensors: Error opening serial port!



  • I am having some problems with my setup (Raspberry pi+Arduino Nano +RFM69HW)

    I have added the RFM69 constructor and set H to true in the serial gateway sketch. I have one sensor to try out with that is a mini pro 3.3v +RFM69W and a light sensor. But this is all I get from the log. What can be the problem?

    [code]2015-09-28 19:30:16.415 MySensors: Using serial port: /dev/ttyUSB0
    2015-09-28 19:30:17.881 MySensors: Gateway Ready...
    2015-09-28 19:30:36.661 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:31:06.795 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:31:36.930 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:32:07.060 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:32:37.168 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:33:07.298 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:33:37.410 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:34:07.541 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:34:37.658 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:35:07.784 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:35:37.925 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:36:08.054 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:36:38.167 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:37:08.298 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:37:38.428 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:38:08.537 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:38:38.666 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:38:38.852 Error: Serial Port closed!... Error: End of file
    2015-09-28 19:38:39.513 MySensors: retrying in 30 seconds...
    2015-09-28 19:39:08.518 MySensors: Using serial port: /dev/ttyUSB0
    2015-09-28 19:39:08.518 Error: MySensors: Error opening serial port!
    2015-09-28 19:39:08.799 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:39:09.518 MySensors: retrying in 30 seconds...
    2015-09-28 19:39:38.523 MySensors: Using serial port: /dev/ttyUSB0
    2015-09-28 19:39:38.523 Error: MySensors: Error opening serial port!
    2015-09-28 19:39:38.898 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:39:39.523 MySensors: retrying in 30 seconds...
    2015-09-28 19:40:08.528 MySensors: Using serial port: /dev/ttyUSB0
    2015-09-28 19:40:08.528 Error: MySensors: Error opening serial port!
    2015-09-28 19:40:09.013 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:40:09.529 MySensors: retrying in 30 seconds...
    2015-09-28 19:40:38.533 MySensors: Using serial port: /dev/ttyUSB0
    2015-09-28 19:40:38.534 Error: MySensors: Error opening serial port!
    2015-09-28 19:40:39.107 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:40:39.534 MySensors: retrying in 30 seconds...
    2015-09-28 19:41:08.538 MySensors: Using serial port: /dev/ttyUSB0
    2015-09-28 19:41:08.539 Error: MySensors: Error opening serial port!
    2015-09-28 19:41:09.222 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:41:09.539 MySensors: retrying in 30 seconds...
    2015-09-28 19:41:38.543 MySensors: Using serial port: /dev/ttyUSB0
    2015-09-28 19:41:38.544 Error: MySensors: Error opening serial port!
    2015-09-28 19:41:39.335 Hardware Monitor: Fetching data (System sensors)
    2015-09-28 19:41:39.544 MySensors: retrying in 30 seconds...[/code]



  • @Cliff-Karlsson said:

    Monitor

    have you solved it? want to share?



  • @Cliff-Karlsson said:

    one sensor to try out with that is a mini pro 3.3v +RFM69W and a light sensor. But this is all I get from the log. What can be the problem?

    No, the strange thing is that I had RFM69 radios working on both controller and sensors before, then I did something to screw it all up and after that I cant get anything to work. I have tried building/resoldering three different gateways using RFM69HW radios and I can add the to domoticz without problem. But as soon as I start a RFM69 sensor I get the same problems as in the log.

    I have even changed my raspberry pi to a new one and bought a pwered USB-hub, but I get the same problem. NRF radios/gateway works fine tho.


Log in to reply
 

Suggested Topics

  • 5
  • 5
  • 8
  • 1
  • 2
  • 2

3
Online

11.2k
Users

11.1k
Topics

112.5k
Posts