Giter VIP home page Giter VIP logo

Comments (8)

arjenhiemstra avatar arjenhiemstra commented on August 15, 2024

Ok, there are probably two issues here. If the MQTT server is not reachable the add-on reboots. Need to look into it further but most probably this is a stupid bug somewhere.
Second, the zero in front of the 37. This was added automatically?? That's weird and probably the reason you cannot connect to the MQTT server.

For now there are two possible ways the solve the immediate issue.
Downgrade to v2.1 or manually edit the config file to remove the zero. First switch off MQTT to prevent the reboots. Then go to http://[IP or DNS]/edit login/pw admin and edit system.json to remove the zero.

from ithowifi.

GH2user avatar GH2user commented on August 15, 2024

Regarding the 0 in front of 37.
I added the IP as 192.168.178.37 using Edge chromium and after clicking save it came back with the leading zero in the display.

from ithowifi.

GH2user avatar GH2user commented on August 15, 2024

Edit the config.json as there is no system.json
It then indeed connected correctly !
Now to find out where this bloody zero is coming from ...
thanks for the quick solution!

from ithowifi.

arjenhiemstra avatar arjenhiemstra commented on August 15, 2024

Sorry config.json is what I meant indeed!
Are you using Edge on windows? Do you have for example chrome to test wether you observe the same behaviour?

from ithowifi.

GH2user avatar GH2user commented on August 15, 2024

Indeed using Edge on win10.
Tried now using firefox and edge one after the other.
both switch off mqtt, save
both switch on and retype the IP, save
both work as expected, that is no extra 0 on edge.
do I need to change the config.json inbetween stop / start ?

from ithowifi.

arjenhiemstra avatar arjenhiemstra commented on August 15, 2024

the config.json file is not removed when you switch MQTT off. Best is to delete the config.json file (menu reset -> reset system config) and try it again.
Your wifi settings will be unaffected by this.

from ithowifi.

GH2user avatar GH2user commented on August 15, 2024

hi arjen,
did that and all mqtt settings are gone, filled them out again and it worked on both firefox and win10 edge.
No clue what went wrong yesterday.
the whole system seems more responsive now than it was yesterday even prior to setting the mqtt settings, maybe it was still doing something after starting up.
Anyhow shouldn't put to much thoughts into it for now and for me this issue can be closed.
I learned a lot more about the system now, going into the edit-section and doing all this.
Thanks for the quick responses and helping me out.

from ithowifi.

arjenhiemstra avatar arjenhiemstra commented on August 15, 2024

Strange, I cannot reproduce it either. But still two interesting glitches found, thanks for that!
The MQTT task timeout is shorter than the MQTT connection timeout, this caused the reboot. I will fix that in the next version.
I will also look at input validation for the IP address fields.

from ithowifi.

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.