Git Product home page Git Product logo

Comments (11)

jneilliii avatar jneilliii commented on June 6, 2024

Can you let me know how you configured that port in Tasmota? Once I can configure mine the same way I'll check into adding the functionality.

from octoprint-tasmota.

Lawrencezarb avatar Lawrencezarb commented on June 6, 2024

from octoprint-tasmota.

jneilliii avatar jneilliii commented on June 6, 2024

Thanks. Just to confirm, if you enter the ip in the plugin settings as 192.168.1.20:2020 it doesn't work? Based on the code, that should work unless I'm missing something. If you have tried that, please enable debug logging and try again and send a copy of your octoprint.log and plugin_tasmota_debug.log. I just tested with 192.168.1.20:80 (default port) and that is working for me.

from octoprint-tasmota.

Lawrencezarb avatar Lawrencezarb commented on June 6, 2024

from octoprint-tasmota.

jneilliii avatar jneilliii commented on June 6, 2024

I don't think github allow attachments from email replies, they didn't come through.

from octoprint-tasmota.

Lawrencezarb avatar Lawrencezarb commented on June 6, 2024

Try this, I have attached directly via github.
plugin_tasmota_debug.log
octoprint.log

from octoprint-tasmota.

jneilliii avatar jneilliii commented on June 6, 2024

Ok, I see what's happening. The web sever is responding that you need to include a username and password to send the commands. Did you set those fields in the settings?

from octoprint-tasmota.

Lawrencezarb avatar Lawrencezarb commented on June 6, 2024

from octoprint-tasmota.

jneilliii avatar jneilliii commented on June 6, 2024

Yeah, I assumed the xxxx was replacing those, but the username field appears blank. Set that to admin and it should in theory work, unless you also changed the admin username from the user_config.h file (assuming that's an option).

from octoprint-tasmota.

Lawrencezarb avatar Lawrencezarb commented on June 6, 2024

from octoprint-tasmota.

jneilliii avatar jneilliii commented on June 6, 2024

No problem. It actually made me realize that I wasn't setting admin in the username field by default and it was just there as a placeholder in the html page. I adjusted that and now by default admin will be populated. BTW, if you're using MQTT; I'm in the process of creating an OctoPrint plugin to manage these over MQTT. Right now it's just a simple framework but is able to toggle the power on and off from a button in the navbar. Requires the MQTT plugin to be installed first. Any feedback welcome over on its repository.

from octoprint-tasmota.

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.