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
M

myrandow

@myrandow
About
Posts
7
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

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

    @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!

    Troubleshooting

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

    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.

    Troubleshooting

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

    @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 !

    Troubleshooting
  • Login

  • Don't have an account? Register

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