Giter Site home page Giter Site logo

MQTT wont connect about hfeasy HOT 12 CLOSED

ljalves avatar ljalves commented on September 4, 2024
MQTT wont connect

from hfeasy.

Comments (12)

Linearburn avatar Linearburn commented on September 4, 2024

it may be a bug Mine does connect it just don't reflect it in the webpage

from hfeasy.

 avatar commented on September 4, 2024

I just started using this and never could get MQTT to connect either. There was no network traffic at all to the MQTT server. I finally remembered I had it in static IP mode and went back to DHCP. It worked fine in DHCP mode, but will not work at all if you have a static IP on the switch.

from hfeasy.

ljalves avatar ljalves commented on September 4, 2024

If the device is setup with a static IP, MQTT doesn't connect??

from hfeasy.

 avatar commented on September 4, 2024

That is correct. I never could get any of the plugs/switches to work in static IP mode. I could access the switch directly from the MQTT server so it did have good connectivity, and the web page and so forth worked. I just ended up assigning an IP from my router but it was really confusing at first. Thanks for publishing this awesome software though, it works great otherwise!

from hfeasy.

ljalves avatar ljalves commented on September 4, 2024

Please try with latest fw: https://github.com/ljalves/hfeasy/releases/tag/0v8
I think the issue was related to the DNS server (that you were not setting when using static ip, right?)

Anyway, it should work now.

from hfeasy.

ljalves avatar ljalves commented on September 4, 2024

Whenever you can, please confirm if this is fixed on the latest release.

from hfeasy.

 avatar commented on September 4, 2024

Thanks for working on this and especially a huge thanks for adding LWT. I had kind of hacked that in to my builds, it's a very nice feature!
Unfortunately I still can't get it to connect to the MQTT server. I did actually have a DNS server in there as it required one. I can go to the web pages directly from the MQTT server so it should be able to connect OK. I just don't see any MQTT traffic at all. I'm confused why it would not work but the HTTP does.

from hfeasy.

 avatar commented on September 4, 2024

Just thought I would add the MQTT light just flashes in a slow on/off pattern.

from hfeasy.

 avatar commented on September 4, 2024

Just an FYI with the new release. I put the wall switch back on DHCP and was just changing the MQTT topics to get it working better. When I hit apply, it took it a very long time, then just returned 404 errors, even on iweb.html. I power cycled it but it seems totally dead now. Fortunately, I do already have serial port hookups soldered in so can recover it easier.

from hfeasy.

 avatar commented on September 4, 2024

My apologies for writing too soon, I was able to get it back using power button to go in recovery mode. It's all fine again now! :) :) :)

from hfeasy.

ljalves avatar ljalves commented on September 4, 2024

Test fix with:
0v10 'beta' release: HFEASY_UPGRADE.zip

from hfeasy.

 avatar commented on September 4, 2024

It's working great with the release 0v10! Thanks for fixing that!!! :)

from hfeasy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.