Navigation

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

    Branther

    @Branther

    3
    Reputation
    28
    Posts
    3
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Branther Follow

    Best posts made by Branther

    • RE: Error when restarting Homeassistant (mysensors-error)

      Hi,
      Thanks a lot, it works.
      If I remove mysensors from the yaml I can actually call a reboot again without problems.

      i had only the serial usb-gateway in the configuration.yaml

      MySensors now works without the entry in the yaml. After a reboot all entities are listed and work. but how can i change the parameters, e.g. the serial port of the gateway?

      here the section which concerns mysensors.

      mysensors:
      gateways:

      • device: '/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0'
        optimistic: true
        persistence: true
        version: 'V2.0'

      logger:
      default: info
      logs:
      homeassistant.components.mysensors: debug
      mysensors: debug

      posted in Troubleshooting
      Branther
      Branther
    • some differences between serial- and tcp-gateways.

      when changing from a tcp gateway (wemos D1) to a serial gateway, i noticed that there must be some differences between the two gateways.

      the serial interface does not connect S_Mutimeter and V_Voltage
      the TCP gateway can do that without problems

      i tried it with my own sketch as well as with MockMySensors.ino.

      in mockMysSensors i activate 3 entities. one of them is S_Multimeter.
      with the serial gateway only 2 entities are recognized
      with the TCP Gateway all 3 entities are recognized.

      i use homeassistant version 2023.3.4
      MySensors version 2.3.2

      who can help here?

      best regards
      branther

      Translated with www.DeepL.com/Translator (free version)

      posted in Bug Reports
      Branther
      Branther
    • RE: some differences between serial- and tcp-gateways.

      Sorry, also here you can close the post
      it turned out that some components were defective.
      it took me a long time to discover it and I disposed of the components.
      serial gateway works flawlessly with my voltmeter un my motor vehicle.

      greetings
      branther

      posted in Bug Reports
      Branther
      Branther

    Latest posts made by Branther

    • RE: Error when restarting Homeassistant (mysensors-error)

      thanks again Edi.
      I will first make a full backup and put it on a new ssd.
      after that i will test your solutions as far as i can.

      sorry, i must have overlooked the code snippets function.

      best regards

      posted in Troubleshooting
      Branther
      Branther
    • RE: Error when restarting Homeassistant (mysensors-error)

      Hi,
      Thanks a lot, it works.
      If I remove mysensors from the yaml I can actually call a reboot again without problems.

      i had only the serial usb-gateway in the configuration.yaml

      MySensors now works without the entry in the yaml. After a reboot all entities are listed and work. but how can i change the parameters, e.g. the serial port of the gateway?

      here the section which concerns mysensors.

      mysensors:
      gateways:

      • device: '/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0'
        optimistic: true
        persistence: true
        version: 'V2.0'

      logger:
      default: info
      logs:
      homeassistant.components.mysensors: debug
      mysensors: debug

      posted in Troubleshooting
      Branther
      Branther
    • RE: Error when restarting Homeassistant (mysensors-error)

      ...or did you mean the full protocol?
      i have downloaded it. i hope it will be of help.
      ...
      sorry, i can't send upload as file or as graphic. the board always gives error.
      it always expects a graphic file.

      posted in Troubleshooting
      Branther
      Branther
    • RE: Error when restarting Homeassistant (mysensors-error)

      Hi, thank you for your feedback.
      here are the 2 protocols that concern mysensors:

      First:
      Logger: homeassistant.components.websocket_api.http.connection
      Source: helpers/check_config.py:184
      Integration: Home Assistant WebSocket API (documentation, issues)
      First occurred: 11:20:17 (1 occurrences)
      Last logged: 11:20:17

      [547863234576] 'mysensors'
      Traceback (most recent call last):
      File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service
      await hass.services.async_call(
      File "/usr/src/homeassistant/homeassistant/core.py", line 1910, in async_call
      task.result()
      File "/usr/src/homeassistant/homeassistant/core.py", line 1950, in _execute_service
      await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
      File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 887, in admin_handler
      await result
      File "/usr/src/homeassistant/homeassistant/components/homeassistant/init.py", line 311, in async_handle_reload_all
      if errors := await conf_util.async_check_ha_config_file(hass):
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/src/homeassistant/homeassistant/config.py", line 982, in async_check_ha_config_file
      res = await check_config.async_check_ha_config_file(hass)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 184, in async_check_ha_config_file
      result[domain] = config[domain]
      ~~~~~~^^^^^^^^
      KeyError: 'mysensors'

      and the second:
      Logger: homeassistant.components.mysensors
      Source: helpers/config_validation.py:867
      Integration: MySensors (documentation, issues)
      First occurred: 11. Juni 2023 um 18:35:52 (2 occurrences)
      Last logged: 11:20:17

      The 'mysensors' option near /config/configuration.yaml:2 has been removed, please remove it from your configuration
      The 'mysensors' option has been removed, please remove it from your configuration

      unfortunately my knowledge is not sufficient to understand that😕

      thanx
      branther

      posted in Troubleshooting
      Branther
      Branther
    • Error when restarting Homeassistant (mysensors-error)

      Hi,
      i need help again.
      when i want to restart or quickly reboot my homeassistant i get the error.
      configuration could not be started
      konfigursation-error.jpg
      "error calling the service homeassistant/reload_all. 'mysensors'"
      mysensors_hass_error.jpg

      so i can only do a complete restart.

      has something changed in homeassistant in version Core 6.1 regarding MySensors?
      best regards

      posted in Troubleshooting
      Branther
      Branther
    • RE: debug serial gateway (homeassistant raspberry py 4)

      thank you for the link. 👍

      posted in Feature Requests
      Branther
      Branther
    • RE: debug serial gateway (homeassistant raspberry py 4)

      thank you,
      i use Homeassistant

      I have additionally discovered that the WLAN from my LG TV also causes interference.
      Then I disabled the wifi on the LG. I do not need it because I have an additional TV receiver.
      Now this has also become better.

      posted in Feature Requests
      Branther
      Branther
    • RE: debug serial gateway (homeassistant raspberry py 4)

      The change from USB-2 to USB-3, the new 100mF electrolytic capacitor and the 3.3v power supply via an AMS1117 3.3v brought the solution.
      Finally no more error led.
      thanks best regards

      by the way, /opt/apps/mycontroller i don't have this directory.

      posted in Feature Requests
      Branther
      Branther
    • RE: debug serial gateway (homeassistant raspberry py 4)

      hi, yes, thank you again
      i also use DeepL for my posts. my english is not very good.
      yes i use an arduino serial usb gateway
      "https://github.com/mysensors/MySensors/blob/master/examples/GatewaySerial/GatewaySerial.ino"
      the my_debug protocol is enabled.
      #define MY_SPECIAL_DEBUG i didn't know, that's new to me. I will test it.

      /opt/apps/mycontroller i will have a look, thanks.

      however my problem was not solved after all.
      after i reconnected the GW to my raspi, the error-led was activated again every 20minutes.
      despite the new electrolytic capacitor (100mF)

      after that i suspected that the 3,3v power supply of the arduino nano is not enough to supply the nrf with enough current when sending.
      i looked in the shematics and found that the 3.3v comes from the USB-Uart (CH340) of the nano and delivers only little current.
      So i installed an AMS1117 3,3V direct on USB-5v which can supply at least 800mA.

      i will keep watching but i guess that will not solve the problem.
      i think it's a power problem because the raspi can't supply enough power to the usb port either.
      ohh, that reminds me, why don't i use the usb-3 port?
      i will test it.

      next i will connect an external power supply and keep watching.

      posted in Feature Requests
      Branther
      Branther
    • RE: Which one should i choose? PIR or microwave sensor

      the problem with the PIR sensors is their duration. You have to move so that they are always reset and restarted or set a fixed time.
      The LD2401 are adjustable for range and sensitivity. They respond better to human presence.
      I have had good experience with the LD2401-C module.
      Firstly, it has 2.54mm mullion connectors and secondly, you can set it up via app using Bluetooth.
      The mmVawe-modules are a bit more power consuming than the Pir-module.
      Besides plus/minus 5V you only need one pin which gives a high signal when detected.
      My light I no longer need switches on the wall 😉
      (I have left it in the standard setup and have not yet made any experience with Bluetooth setup).

      by the way, the C versions with Bluetooth are immediately recognized in Homeassistant and listed as a device.
      ... if you have a BL Gateway.

      posted in Hardware
      Branther
      Branther