Code Monkey home page Code Monkey logo

easyfetch's People

Contributors

chromoxdor avatar tonhuisman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

easyfetch's Issues

Loading full /json every 2 seconds may be a bit too much?

I have easyfetch running on a test node here. (looks amazing :) )

On this board, I have an external RTC chip.
So I do see these logentries continuously:

2558721 : Info   : ExtRTC: Read external time source: 1667984668
2560734 : Info   : ExtRTC: Read external time source: 1667984670

Of course, I could (should?) put this log into LOG_LEVEL_DEBUG.
But the reason I'm seeing this is because the full json is loaded every time.

So I'm wondering if you need to read the full json every time, or maybe you could load the sensorupdate all the time and the full json every N calls?
See: https://espeasy.readthedocs.io/en/latest/Reference/URLs.html?highlight=json#json

Or will that break something?

With `JSON bool output without quotes` enabled shows "no tasks enabled or visible..."

On my units I mostly have the Tools/Advanced setting JSON bool output without quotes: checked, as formal JSON booleans are either true or false, and not string values...
Net result is that this check sensor.TaskEnabled === "true" isn't working.

For funnn I changed it into (sensor.TaskEnabled === "true" || sensor.TaskEnabled === true) (2x in the source) and it works as intended.

Not sure how all the minification and gzipping is to be done, so I'll leave fixing this to you @chromoxdor, or you could document that in a CONTRIBUTING.md or a short how-to in the README.md 😸.

buttonevent wrong description

Hi,
Your manual states:

There are two options to generate a button tile:

Name the first value of a Task "btnState" (a button whose color is dependent of the btnState 0=no color 1=blue) or “btnStateC” (this button is independent from its state always blue) 

https://user-images.githubusercontent.com/33860956/159255555-d7caea8e-4913-4a4b-98b7-f9a83e5c4f3c.png
button simple (the device here is a sonoff s20 and since we do not need the first button, since its the hardwarebutton, on our dahboard we can hide it with the "XX" option. the second button is the actual relay so the state changes depending on the gpio state)

The rule for it:


  On buttonevent do
   gpiotoggle,12
  endon

According to the Image you have Switch named Button with the Value btnState.
But as it seems that doesn't create a "Buttonevent" but a "btnState" event.

I've tried it myself with a generic dummy device dButtons and a Open State.
image

had to make a rule for "openevent"

'''
31534: WD : Uptime 1 ConnectFailures 0 FreeMem 24000 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
35318: EVENT: Tor#torstatus=0
39505: HTTP: event,OpenEvent
39558: EVENT: openevent
39567: ACT : pulse,4,1,800
40369: GPIO : port 4. Pulse set for 800 ms
40734: EVENT: Tor#torstatus=0
57653: EVENT: Tor#torstatus=1
'''

P.S
This is awesome! Thanks a lot for the simple UI with Button functionality.
pretty cool for a Password protected Config Menu that is easily accessible for anyone with the link and one button.

Question, to vSlider

hello,
is it possible to influence the behavior of the vSlider? I'm specifically concerned with the behavior that occurred in the last 1/6. I would like a slider that doesn't switch.
Greetings Marco

easyfetch-->"unit-menu" via port forward not working.

Hello!
For some years now I have built up a P2P network with a number of ESP8266, since some time ago I have also installed "easyfetch" which I appreciate extremely much.

Building autonomous simple dashboards is a hit!!

I have a dedicated IoT-WIFI at home where all espeasy are hosted. This IoT-WIFI is behind my regular WIF network, via a port forward (TCP port80) in the firewall between the regular WIFI network and the IoT-WIFI I can reach a special one (ESP32) that I have as the main unit for various reasons.
If I'm on my regular WIF network and run via port forward to fetch.htm on the ESP32 everything looks fine, units update, but if I open the "unit-menu" I see all other nodes in the network as expected. But if I click on another node, nothing happens!

Question:
How does the communication work between other P2P nodes and the node that you look at in the web browser. Is direct contact created between the web browser and the node you are looking at or is the traffic "routed" through the node you are looking at in the web browser??

Best regards Jonas Hellman

Scrollbar?

Question.
Why are there Scrollbars no matter what Size the window is?
image

Even on Mobile pages.
image

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.