Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. kobipes
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by kobipes

    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      Today, when I connected the arduino through the usb port in the raspberry pi 3, then entered the /dev directory, I saw this :
      0_1524933413755_a34f22b8-7f2e-40b3-9c1f-e72f6a410ea7-image.png

      Isn't that weird ? what is the "p" is doing there between the tty and the USB0 ? also tried accessing this "ttypUSB0" but still get an error

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      @gohan OK I see . I'll try it today. Thanks

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      @gohan this : link text.
      I know how to connect the nrf to the arduino board but I don't know how to connect the esp8266-12 with the nrf and the arduino (it does not explained in the link).

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      @gohan I thought that the esp8266 may be just a replacement to the WizNET (W5100) or the ENC28J60 (suggested in the mysensors instructions to built Ethernet / MQTT gateways). But from what I understand, upon your link you gave me, I don't see the nrf24 module connected to the ESP8266-12 , but the ESP8266-12 module solely.

      Note that I need the nrf24 to be a part of the Ethernet gateway in order to be able to communicate with the nodes

      posted in Home Assistant
      kobipes
      kobipes
    • RE: HASS.IO not doing anything

      Sorry to hear that.
      I think the .img file is the same but I'm not 100% sure.

      posted in Home Assistant
      kobipes
      kobipes
    • RE: HASS.IO not doing anything

      @mntlvr
      BTW, you can find all the hassio versions here :
      link text

      The latest release is 0.67.1 ...

      posted in Home Assistant
      kobipes
      kobipes
    • RE: HASS.IO not doing anything

      Mine is RPI3
      I don't think that it has a relation to your internet.
      Try flashing the SD card again by following these instructions :
      link text

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      @gohan Actually I have the ESP8266-12 and I'll give it a try also (at the same time, ordered the WizNET (W5100) Ethernet module and the ENC28J60 Ethernet module but it will take time until I'll get it) , just wanted to solve the problem with the serial gateway ... 😐

      posted in Home Assistant
      kobipes
      kobipes
    • RE: HASS.IO not doing anything

      @mntlvr you can google "hass.io" released versions for example...
      I have no problem with v0.67 (upgraded) so maybe something in the flashing went wrong, try to flash it again with the "etcher" and update us about the status

      posted in Home Assistant
      kobipes
      kobipes
    • RE: HASS.IO not doing anything

      I can suggest you to try and flash version prior to v0.67 with "etcher" (That's what I flashed and then updated to V0.67 so can't tell you if there is an issue with v0.67) and wait for about 20 min after booting it up from the sd card (for installation). But before that, did you try to ping the address of the hassio to see if it's connected to the same net ? to see if you can access it at all... start with "ping hassio" in the cmd and see if it has a reply

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      googling of this problem (same error message) brought me to this link : link text

      but I can't see what am I doing different ? Does anybody have a clue ?

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      @nitroburn thank for the detailed explanation but already tried what you suggested without success. After typing
      'hassio host hardware' I've got : "Error decoding json invalid character ':' after top-level value: 404: Not Foundc"

      0_1524427758321_ffe651db-b43a-49ab-9302-ead99d7a49b5-image.png

      also tried what you suggest with "dmesg | grep usb" and got :

      0_1524427942452_9c9d3feb-2725-4bb0-96aa-b23d4f948777-image.png

      as you can see, the usb port is : ttyUSB0 (exactly as typed in the attached configured file - see below) , so why the heck am I getting error in the config file ?! Where am I wrong ??

      This is the config file (written according to [link text](https://www.home-assistant.io/components/mysensors/ guidance) :

      0_1524428296671_6948ae83-14d3-4dbe-9cfa-78fb96a0bd27-image.png

      but I still get this error again and again :
      0_1524428452720_f845e667-d2b7-4e17-8b10-f1260a7edec1-image.png

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      @mfalkvidd
      Actually he did but under Hssio the "sudo" keyword is not acknowledged. Tried without this 'super user do' keyword but nothing

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Adding a sensor to the configuration file

      @martinhjelmare

      What are you using instead of hass.io ? maybe I'll consider using it too if it's working.

      Regarding my problem , I've got this message :
      "Invalid config for [mysensors]: not a valid value for dictionary value @ data['mysensors']['gateways'][0]['device']. Got /'dev/ttyUSB0'.

      I connected to the terminal through SSH are port 22 and typed : ls /dev , saw the tty folder but it was empty (expected USB0 to appear there). But when I typed dmesg | grep tty I see : "ch341-uart converter now attached to ttyUSB0". Really confused ! Though maybe I need to enable the USB0 port but didn't find any clue how to do it. In what forum can I ask for help for this kind of problem ?

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Adding a sensor to the configuration file

      @gohan OK, I'll give the esp8266 a chance. If I got you right , what you suggest is to replace the Ethernet module suggested here : link text with the esp8266 ? Can you please reefer me to a tutorial or a link of how to connect and to configure ?

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Adding a sensor to the configuration file

      @gohan OK, after wiring the nrf24 directly to the Raspberry pi GPIO, what should I need to write in the configuration.yaml file to identify it ? No doubts that this type of wiring is also a serial gateway but I have no clue what to write in the configuration file ...

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Unable to connect to /dev/ttyUSB0 [Solved]

      @david-pinnock

      Did you solved it ? What did you do ? I have the same problem and I'm frustrated

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Adding a sensor to the configuration file

      @gohan In order to use the Ethernet gateway I need a Ethernet module and I I'll have to wait for a very long time 😕 What type of home automation controller are you using instead of the 'Home assistant' ?

      @martinhjelmare ? have a clue ? familiar with Home assistant first serial gateway configuration and can help me ?

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Adding a sensor to the configuration file

      @gohan I connected the arduino to raspberry via USB port and wired the NRF24 module on the arduino, also uploaded the 'serial gateway' sketch from mysensors api v2.2 to the arduino . The problem is that I got an error in the configuration.yaml file (using home assistant) although I followed exactly instructions on : link text

      0_1524089982168_65d4ad54-8b36-45ed-a0c1-4787ff92cd6b-image.png

      and I confirmed the USB connection (RPI3 - arduino) by writing in the terminal :

      0_1524090045847_96c69ff1-853d-40c5-ab9c-6443e6ed57cb-image.png

      The error I get is :

      0_1524090082246_d73f942d-518d-4e03-8838-823b814f6e1e-image.png

      and the log file (via configurator adds on) :

      0_1524090215120_error log.png

      Can you please point me out on the problem and how to fix it ?

      posted in Home Assistant
      kobipes
      kobipes
    • RE: Adding a sensor to the configuration file

      Hi martin,

      I've read before about my sensors network and read it now once again. Please correct me if I'm wrong (according to what I built link text), just want to arrange the mess in my mind from the 'labels' side (what is what) :

      1. Gateway (GW) - my 'gateway' is the Arduino nano which is connected to the nrf24 module which (the Arduino nano) communicate with it (with the nrf24) through the SPI protocol. The Arduino is connected serially to to the RPI3 via the USB connector.

      2. Sensor node (S)- the 'sensor' compromise of a motion sensor connected to an arduino and nrf24 (three things connected together called 'the sensor' )

      3. Home automation controller - The RPI3 + the 'Home assistant' sw

      the sensorId is the CHILD ID which equals to 1 (also in the example - the 'sketch')

      Am I right untill now ?

      About the second link : link text, I've got a little bit confused between the different types of GW.
      Does the "serial gateway" option stated in the link means that I need to connect the nrf24 (connected to the arduino ) to the RPI3 via its usb port ?

      posted in Home Assistant
      kobipes
      kobipes
    • Adding a sensor to the configuration file

      Hello,

      I followed exactly these instructions :
      link text , also bought a RPI3 and installed Hassio + configurator adds on. The problem is that I can't figure out what to write in the configuration files in order to be able to view my motion sensor in the home assistant gui. I've got confused with this : link text
      Can anybody please guide me step by step ?

      Thanks a lot

      posted in Home Assistant
      kobipes
      kobipes