Search found 14 matches
- 21 Oct 2021, 22:31
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
My final post to share my learnings 1) the name of the 'listener' file in conf.d seems to be irrelevant 2) I had to add the port to listen to and configure authentication 2) In my case there was no need to upgrade ESP Easy 3) Mosquitto v2 is pushing the device name and Value name. In v1 only the val...
- 21 Oct 2021, 21:32
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
Correction! data is flowing. Apparently the result of the command Mosquitto -v has changed. Now I understand the ESP message 772066430 : WD : Uptime 12712 ConnectFailures 50173 This looks to be a status message. Rebooted the ESP and ConnectFailures is 0 Thanks for the support. Next step is to debug ...
- 21 Oct 2021, 21:14
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
I was advised to do an ESP Easy upgrade
Will check if I can find more info in why the connection is not working.Your ESPEasy version is very old, updating that to a more current release could help. Latest release can be found here: https://github.com/letscontrolit/ESPEasy/releases
- 21 Oct 2021, 19:45
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
Ok, I'm making progress.
Added the listeners.conf file to conf.d and MQTT is recognising the connection. The log is confirming the connection and the ESP Easy log changed from failed to connect to ConnectFailure 50xxx, where xxx is a decreasing number. Next step is to upgrade the ESP.
Added the listeners.conf file to conf.d and MQTT is recognising the connection. The log is confirming the connection and the ESP Easy log changed from failed to connect to ConnectFailure 50xxx, where xxx is a decreasing number. Next step is to upgrade the ESP.
- 20 Oct 2021, 22:42
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
Probably me :? . Doesn't work. Made the change and rebooted the RPI. file: mosquitto.conf pi@IOT-server:/etc/mosquitto $ cat mosquitto.conf # Place your local configuration in /etc/mosquitto/conf.d/ # # A full description of the configuration file is at # /usr/share/doc/mosquitto/examples/mosquitto....
- 20 Oct 2021, 22:02
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
Thanks for the tip. Started to work in the MQTT side, but so far no luck. To my understanding I have to add listener to the /etc/mosquitto/mosquitto.conf file. As per the doc started to create my own file in conf.d directory . Created a file listener.conf and mosquitto.conf but no success. Next, add...
- 18 Oct 2021, 08:10
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
Thanks, totally missed the link. So indeed the change to Mosquitto 2.x is the root cause. I will update the firmware and, if I read correctly, I also have to make changes on the Mosquitto side.
Keep you posted.
Keep you posted.
- 17 Oct 2021, 17:47
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Re: Data not flowing to Rpi - Error: Failed to connect to broker
Thanks for suggestion, will perform upgrade to mega-20211005.
For my learning, can you please give some context to
For my learning, can you please give some context to
Please read the mosquitto log, it is quite clear what's happening there,
- 17 Oct 2021, 16:45
- Forum: ESP Easy: Projects / Applications
- Topic: Data not flowing to Rpi - Error: Failed to connect to broker
- Replies: 16
- Views: 11577
Data not flowing to Rpi - Error: Failed to connect to broker
I have an ESP Easy with temperature sensors connect to an RPI running Mosquitto. The setup has been working flawless till March (end heating season) and is now longer working (October, start of the new season). Might be due to an update of the Mosquitto software but I cannot find hints. Information ...
- 22 Sep 2019, 13:03
- Forum: ESP Easy: Projects / Applications
- Topic: Read valve status (cannot get Switch input to work)
- Replies: 6
- Views: 12560
Re: Read valve status (cannot get Switch input to work)
Thanks, will try the new version. In the meantime, I'm able to read the input. Simplified the setup by using a simple 3 wire switch (common, pos1 and pos2), connected to 3V to pos1, GND to pos2 and common to GPIOs. When flipping the switch, I see the result straight in the browser. Although, I don't...
- 21 Sep 2019, 20:27
- Forum: ESP Easy: Projects / Applications
- Topic: Read valve status (cannot get Switch input to work)
- Replies: 6
- Views: 12560
Re: Read valve status (cannot get Switch input to work)
According to https://www.letscontrolit.com/wiki/inde ... le=ESPEasy
Release R120 is the last stable version.
Do you recommend to use mega?
Thanks
Release R120 is the last stable version.
Do you recommend to use mega?
Thanks
- 21 Sep 2019, 12:47
- Forum: ESP Easy: Projects / Applications
- Topic: Read valve status (cannot get Switch input to work)
- Replies: 6
- Views: 12560
Re: Read valve status (cannot get Switch input to work)
Clear and thanks.
Will look at newer version and clarify my question.
Will look at newer version and clarify my question.
- 21 Sep 2019, 11:40
- Forum: ESP Easy: Projects / Applications
- Topic: Read valve status (cannot get Switch input to work)
- Replies: 6
- Views: 12560
Re: Read valve status (cannot get Switch input to work)
No one?
Stupid question or wrong place?
Any advice or reference would be appreciated!
Thanks.
Stupid question or wrong place?
Any advice or reference would be appreciated!
Thanks.
- 19 Sep 2019, 19:31
- Forum: ESP Easy: Projects / Applications
- Topic: Read valve status (cannot get Switch input to work)
- Replies: 6
- Views: 12560
Read valve status (cannot get Switch input to work)
I would like to read the status of 4 24VDC central heating valves. In parallel with the valves I bring the signal to an Opto coupler (https://www.tinytronics.nl/shop/nl/diversen/overige/optocoupler-isolatie-module-4-kanalen). The Opto output is connected to NodeMcu ground and the signal is going to ...