Fxxx Fxxx
Sorry @1technophile Yes now I remember, that I have one MQTT Gateway for testings and works with UltraSonic to measure the amount of granule in the container - and I thought I should change home to something else that I would understand clearly which module send / get information … and the modification remained half-finished
With Python 3.4 being deprecated and not supported in 2018 I decided over Christmas to install the latest version of Hassbian onto a spare card.
Issue I have is that my old MQTT broker Mosquitto is not fully supported in Stretch so I have had to resort to the embedded broker HBMQTT. Everything works apart from sending IR TV channel commands via shell in HA - have changed mosquitto_sub to hbmqtt_sub but it doesn’t work. Here is a sample code
lower the baud rate of the serial monitor and restart your device - you should see a load of random characters then it will try and connect to wifi then mqtt
BTW are you using an old NodeMCU or the newer ones ? I use NodeMCU 1.0 under tools.
Hi @BertrumUK thanks for the advice. I’ve set the baud to 19200 and see characters, but they stop and I have a red led ON. I bought this board, not sure which version this would be, is there some way to check?
Cheers
Hi, I successfully upload the code and its working fine. I have a RF motion and door sensor.
I want to make automation that if motion detect show “Motion Detected” if no motion show “Stand By” and if door is close show “Door Close” if open show “Door Open”.
Can somebody help me to make automation?
I receive code from motion sensor “9069033” and receive two code form door sensor close code “9242062” and open code “9242058”.
Your request is unclear. Do you want an action performed when any of the events (motion detected, door closed, door open) is fired? Or do you want a sensor that will display the messages that you mentioned? Also, what’s happening if there is motion detected and the door is open?
Could you post the binary sensors for open door and motion sensors? Do you have an automation to reset PIR sensor (as PIR sensors do not send an “off” code, each time a motion is detected the same code is received thus HA won’t be able to consider it as a trigger)?