Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No URL input field available in settings/powermeter <option value="3">HTTP(S) + JSON</option> #1124

Closed
3 tasks done
ibr opened this issue Jul 23, 2024 · 6 comments
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@ibr
Copy link

ibr commented Jul 23, 2024

What happened?

try to set connection to Shelly 3em, nice example box, but cannot enter URL, no field

To Reproduce Bug

open settings/powermeter

Form option:

HTTP(S) + JSON

Expected Behavior

URL Field visible

Install Method

Self-Compiled

What git-hash/version of OpenDTU?

v24.6.29-9-g0013b2c

Relevant log/trace output

<div class="alert alert-secondary mt-5" role="alert"><h2>URL examples:</h2><ul><li>http://admin:[email protected]/status</li><li>https://admin:[email protected]/status</li><li>http://tasmota-123.home/cm?cmnd=status%208</li><li>http://12.34.56.78/emeter/0</li></ul><h2>JSON path examples:</h2><ul><li>total_power - { "othervalue": "blah", "total_power": 123.4 }</li><li>testarray/[2]/myvalue - { "testarray": [ {}, { "power": 123.4 } ] }</li></ul> More info: <a href="https://github.com/mobizt/FirebaseJson">https://github.com/mobizt/FirebaseJson</a></div>



Message after submit:
URL must either start with http:// or https://!

Anything else?

No response

Please confirm the following

  • I believe this issue is a bug that affects all users of OpenDTU, not something specific to my installation.
  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.
@ibr ibr added the bug Something isn't working label Jul 23, 2024
@spcqike
Copy link

spcqike commented Jul 23, 2024

Ist es vielleicht ähnlich meinem Problem von hier?

#1077 (comment)

Das sollte eigentlich gefixt wurden sein. Zumindest ging es nach schlimmchens Anpassungen dann wie erwartet.

@schlimmchen
Copy link
Member

URL Field visible

What does it look like? Please share a screenshot?

Self-Compiled

So you probably forgot to build the webapp beforehand? https://www.opendtu.solar/firmware/compile_webapp/ If possible, use a binary from one of the build action runs of the development branch, like https://github.com/helgeerbe/OpenDTU-OnBattery/actions/runs/10046067064.

@ibr
Copy link
Author

ibr commented Jul 23, 2024

I used vscode on MacOSX, compiled and flashed OpenDTU on fusion board, connected to HMS800, found everything working, then compiled and flashed OpenDTUOnBattery, so maybe old config is still around??

Bildschirmfoto 2024-07-23 um 22 00 44

MQTT settings are also not stored...

@schlimmchen
Copy link
Member

So you probably forgot to build the webapp beforehand? https://www.opendtu.solar/firmware/compile_webapp/

@ibr
Copy link
Author

ibr commented Jul 24, 2024

Sorry, new to the project, tried yarn dev, which shows all input fields, will try to flash again.

@ibr ibr closed this as completed Jul 24, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants