Navigation

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

    Best posts made by myrandow

    • RE: [Newbie] Little push in right direction (24nrf to MQTT Broker)

      @BearWithBeard AWESOME ! I understood changed the sketch and it WORKS ! THANK YOU so much! I love it. I cannot express how grateful I am. I donated a coffee for you all https://imgur.com/mIAtYc9.png.

      For others interested: I used the exact original examples without any modification. I just missed the part, that home-assistant controller is required to hand out IDs. So as BearWithBeard's graphic perfectly illustrates the approach is:

      1. Create MQTT Broker (aka Mailman with i.e. Mosquitto)
      2. Add (A) mysensor integration and (B) mqtt integration in Home-Assistant
      3. Flash mysensors examples to MQTTGateway and Node

      Done.

      Thank you all for your help!

      posted in Troubleshooting
      myrandow
      myrandow
    • RE: [Newbie] Little push in right direction (24nrf to MQTT Broker)

      thanks for this fundamental clarification. I got it wrong. So now I changed it as mentioned:

      • Gateway/ESP8266 - no ID (as already set to 0)
      • Node/Arduino - Id set to 41 before setup() loop

      My understanding from reading the introduction is that ESP8266 is capable of working as WifiGateway to MQTT Broker. In Home-Assistant I want to use the mqtt-integration (https://www.home-assistant.io/integrations/mqtt).

      @BearWithBeard that means I got the architecture wrong? Is this setup only workable if the Gateway/ESP8266 is attached via USB to Home-Assistant?

      Just for the record I have attached the current sketch codes of the devices:

      Sketches:

      • Gateway/ESP8266: https://hastebin.com/axiralaviq.cpp
      • Node/ArduinoUno: https://hastebin.com/yexafimiqe.cpp

      Thank you very much for clarification. When dealing with it at first time it is very detailed documented but in a whole hard to get the detailed parts into living things.

      posted in Troubleshooting
      myrandow
      myrandow
    • RE: [Newbie] Little push in right direction (24nrf to MQTT Broker)

      @mfalkvidd thank you very much for clarification. Got it. ESP82 should not sleep. How to change the code that the ESP82 can work as motion sensor and repeater at the same time? Cut out all sleep commands? Does this fix the Problem That v_tripped Is always 1? Thank you very much !

      posted in Troubleshooting
      myrandow
      myrandow