Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
B

badisensors

@badisensors
About
Posts
23
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 💬 Building a Raspberry Pi Gateway
    B badisensors

    Hello. I had built the Rpi gateway serial and it was working fine in core installation in homeassistant. Now i decided to make installation of homeassistant in docker and although i map the port as dev/ttyUSB020:/dev/ttyUSB020 it is impossible to connect in gateway. The gateway is starting fine and create the port /dev/ttyUSB020. Maybe its something to do with pty option in gateway? My configuration is ./configuration --my-transport=rf24 --my-gateway=serial --my-serial-is-pty --my-serial-port=/dev/ttyUSB020 --my-rf24-ce-pin=22 --my-rf24-cs-pin=24 --my-rf24-irq-pin=15
    How do you think i can fix it?

    Announcements

  • Homeassistant in docker dont connect with serial gateway
    B badisensors

    I have installed homeassistant with docker and i have made the RPi serial gateway in port /dev/ttyUSB020 . I also have map the port in docker-compose.yml
    devices:
    - /dev/serial/by-id/usb-0658_0200-if00:/dev/serial/by-id/usb-0658_0200-if00
    - /dev/ttyUSB020:/dev/ttyUSB020

    When i try to add the mysensors integration in homeassistant it cant see the port. How can i fix that?
    Thanks

    Troubleshooting

  • Never been able to get MySensors to work
    B badisensors

    Make a last try and change the RF POWER parameter when you build the gateway. If it is at high power set it to low power or the opposite. Did you try with other RF24 module?

    OpenHAB

  • Never been able to get MySensors to work
    B badisensors

    Is your power supply enough to supply the right current? Also play with the RF POWER when you build the gateway.

    OpenHAB

  • Mysensors RF command send node
    B badisensors

    Thank you skywatch for your answer. I am talking about RF 433MHz and i have succesfully decode and resend RF commands by connecting RF transmitter and receiver on arduino like this project here: http://www.libremechanics.com/?q=node/31
    How can i combine these sketches to make a mysensor node which will be able to read and send the RF commands?

    Development

  • Mysensors RF command send node
    B badisensors

    Hi,
    I want to make a node to send RF codes to control different devices (alarm system, some switches) which already are controlled from RF remote control. I saw in examples only RF receive decode node. Can anybody help me with RF send?
    Thank you.

    Development

  • Node 2 is unknown warning in Homeassistant.
    B badisensors

    Hi everybody.
    I am running homeassistant on raspberrypi and i have serial gateway on raspberry. I have made 2 nodes with temp hum sensor and they are working fine but i see this warning everytime i reboot homeassistant ''Node 2 is unknown'' the same also for node3. What that means and should i just ignore it?
    Also i see this warning ''child_id 1 already exists in children of node 3, cannot add child''

    Thank you.

    Home Assistant

  • 💬 Temperature-Humidity-Pressure Sensor
    B badisensors

    The one chip U4 is high accurancy temperature and humidity sensor. I think its better temperature sensor than the internal temperature sensor of BMP180.

    OpenHardware.io esp32 temperature arduino pressure raspberry pi humidity esp8266 sensor

  • Problem with light control between mysensors and HA
    B badisensors

    Try persistence: false

    Troubleshooting arduino light home assistant

  • [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
    B badisensors

    If we use pin 22 for CE and pin 24 for CS it is not necessery to declare as you said. But if we want to use other pins we need to declare. I havent try though with other pins.

    Troubleshooting

  • [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
    B badisensors

    Because in 1.5-2 years many things are changing. Did you try my config?

    Troubleshooting

  • [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
    B badisensors

    2 years ago were you using version 2.3.1 ?

    Troubleshooting

  • [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
    B badisensors

    As kebibg said you must also configure the pins for CE and CS. The configure i used was :

    --my-transport=rf24 --my-rf24-pa-level=RF24_PA_LOW --my-gateway=serial --my-serial-is-pty --my-serial-port=/dev/ttyUSB020 --my-rf24-ce-pin=22 --my-rf24-cs-pin=24 --my-rf24-irq-pin=15 --my-leds-err-pin=12 --my-leds-rx-pin=16 --my-leds-tx-pin=18

    Also you must connect MISO to pin 21, Mosi to pin 19 and CLK to pin 23 on raspberry

    Troubleshooting

  • WiFi Gateway on raspberry
    B badisensors

    I have problem to verify the sketch of Sonoff and i tried also ESP8266 gateway and also i cant verify. Arduino IDE returns the error:

    Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Higher Bandwidth, Disabled, None, Only Sketch, 115200" In file included from \Arduino\libraries\MySensors/MySensors.h:405:0, from \Arduino\libraries\MySensors\examples\GatewayESP8266\GatewayESP8266.ino:132: \Arduino\libraries\MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:57:53: error: declaration of C function 'void ets_update_cpu_frequency(int)' conflicts with extern "C" void ets_update_cpu_frequency(int freqmhz); ^ In file included from \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/pgmspace.h:10:0, from \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:256, from sketch\GatewayESP8266.ino.cpp:1: \ArduinoData\packages\esp8266\hardware\esp8266\2.4.2/tools/sdk/include/ets_sys.h:218:6: error: previous declaration 'void ets_update_cpu_frequency(uint32_t)' here void ets_update_cpu_frequency(uint32_t ticks_per_us);

    What its wrong?

    Hardware

  • WiFi Gateway on raspberry
    B badisensors

    Ok i will give it a try and i will tell you. Thanks

    Hardware

  • WiFi Gateway on raspberry
    B badisensors

    I think i am little confused. I just want to control my wifi Sonoff switch with my homeassistant. I saw these instructions https://www.mysensors.org/build/sonoff
    where i can reprogramm the Sonoff ESP but i dont understand how it will communicate with homeassistant. Do i need also a separate wifi gateway or the Sonoff switch will be able to communicate with my controller through my LAN?
    Thank you for your time to answer me.

    Hardware

  • WiFi Gateway on raspberry
    B badisensors

    Yes, but i already have made a serial gateway on raspberry with these instructions. Can i have serial and ethernet gateway at the same time?

    Hardware

  • WiFi Gateway on raspberry
    B badisensors

    Hi,
    I saw the ESP8266 wifi gateway and i was wondering if i can use the on board wifi of raspberry as a wifi gateway. I have a new Sonoff wifi switch and i would like to control it through home assistant in raspberry if it is possible.
    Thank you.

    Hardware

  • Raspberry gateway cant communicate with Home assistant.
    B badisensors

    OK SOLVED!
    I reinstalled the last version of mysensors library and i uploaded again the sketch to arduino node and now i can see my light sensor!

    Thank you very much for your help.
    Best Regards

    Home Assistant

  • Raspberry gateway cant communicate with Home assistant.
    B badisensors

    I have something new. Homeassistant write now that node 1 is unknown in the info section and i still dont see the sensor in UI

    So the gateway not connected to USB020 port :
    2018-12-04 12:37:29 INFO (MainThread) [mysensors] Connected to Serial<id=0xb0c1cf30, open=True>(port='/dev/ttyUSB020', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False)

    and then:

    2018-12-04 12:37:44 WARNING (MainThread) [homeassistant.components.mysensors.gateway] Gateway /dev/ttyUSB020 not ready after 15.0 secs so continuing with setup

    and later:

    18-12-04 12:39:45 WARNING (MainThread) [mysensors] Node 1 is unknown

    Home Assistant
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular