Giter VIP home page Giter VIP logo

hadashboard-widgets's People

Contributors

tjntomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hadashboard-widgets's Issues

Camera Widget not working.

i tried to setup the camera widget but i cant seam to get a stream to work.

my camera streams to HA fine and i can see it in the lovelace dashboard but i cant get to to show in HADashboard

my cameras.yaml`frontdoor:
widget_type: camerastream
entity: camera.front_door
title: My Camera
base_url: "http://192.168.1.235:8123"

e.g. "https://my_duck_dns_domain.duckdns.org:8123" or "http://192.168.1.20:8123"

log: 1 # optional. Will print some log info in the console for debugging purposes if set to 1.

layout:

  • frontdoor(2x2)`

My cameras.dash

`#

Main arguments, all optional

title: Camera Panel
widget_dimensions: [131, 117]
widget_margins: [2, 2]
columns: 6

layout:
- include: cameras`

and my configuration.yaml for the camera
`camera:

images of robot now showing

I followed your tutorial and copied all pics in needed foldes.. anyway I can't see them.. Where do I have eyactly have to copy:

You also need to add a few mappings to the skins that you use:

vacuum_widget_style: $background_style
vacuum_title_style: $style_title

I use standard skin

thanks so far!

Vacuum card with Ecovacs Deebot

Hello

I just added your vacuum widget to my appdaemon dashboard. Great work, thanks a lot !!!
I have an Ecovacs Deebot N8 Pro, and this widget works when it comes to starting/stopping/returning to base. However, when it comes to the vacuum's attribute, they do not come in HA the same way Xiaomi does. Typically I do have one separated sensor for all main values (like last cleaning time, etc). I would really be great if there was a way to configure this widget so that one could enforce his own sensors, to be displayed on top of the vacuum's image. Would you see an easy way to do this ?

Running plot.ly offline

Is it possible to have this component working with the plot.ly engine installed locally.i don't like using cloud services

camerastream widget doesn't work on appdaemon4?

Hi @tjntomas
Thankyou for this great widget.
I've had to move to appdaemon4 to get controllerx running.
But that made the widget fail with this message:

HA: 0.105.3
AppDaemon4 (0.1.2)
WallPanel (by thanksmister)

    frontdoor: Error in widget definition '%s':
    frontdoor: parser says
    frontdoor: in "", line 2, column 10: entity: {{entity}} ^
    frontdoor: found unhashable key while constructing a mapping

Use basehagraph in lovelace

Hey,
is there a way to run the graph widget in lovelace?
The functionality of the widget seems to be exactly what I am looking for: graph with x axis and no limit of hours to be displayed

Where to place "googlemaps_widget_style: "border-radius: 10px; $background_style"??

Thank you for all your work. The cameras are working really well. But, I get an error on the maps widget.

You say to add googlemaps_widget_style: "border-radius: 10px; $background_style" to the skin being used. I'm using the default skin. Are the files located in compiled/css/default and compiled/javascript/default ? And do I only need to add it to the pages I'm using to display the map? My apologies. I know nothing about css and javascript. Where "exactly" would I place it?

InfluxDB graph widget not visible on dashboard

Hi! I'm quite the newbie but...

Today I installed the InfluxDB onto HA (on a RPi 3b+). Works well, data is flowing. I followed the instructions to use the custom widget "graph" to display graphs populated with data from the InfluxDB. However, it doesn't seem to work. Everything is restarted/reinitialized. The log of AppDaemon seem to tell me everything is alright. Could it be that there are too few data points yet? I'm using the default skin (which I copied/placed in the custom_css folder).

As I hover my mouse over the place where the widget is supposed to be it shifts to a pointing finger so something's obviously there. But nothing's visible...

From variables.yaml:

graph_legend_text_color: "#888888"
graph_grid_color: "#888"
graph_title_color: "#cccccc"
graph_x_axis_text_color: "#cccccc"
graph_y_axis_legend_color: "#cccccc"
graph_y_axis_text_color: "#cccccc"
graph_influxdb_path: http://192.168.10.149:8086 # Example: 192.168.1.20:8086  or http://www.mydomain.com:8086
graph_influxdb_path_local: "http://192.168.10.149:8086"
graph_widget_style: "border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;border-top-left-radius: 10px;border-top-right-radius: 10px;"
graph_trace_colors: "1"  # Set the opacity for the trace colors.
graph_fill_colors: "1"   # Set the opacity for the fill colors.
graph_bar_colors: "1"    # Set the opacity for the bar colors.
graph_bar_multi: "1"     # Leave this as is
#graph_user: INFLUXDB_USERNAME # ONLY INCLUDE THIS LINE IF AUTHENTICATION IS ENABLED FOR INFLUXDB
#graph_password: INFLUXDB_PASSWORD # ONLY INCLUDE THIS LINE IF AUTHENTICATION IS ENABLED FOR INFLUXDB
graph_degrees_celsius_text: "Degrees Celsius"  # Adjust to your own language
graph_degrees_fahrenheit_text: "Degrees Fahrenheit"  # Adjust to your own language
graph_percent_text: "Percent"  # Adjust to your own language

From log of AppDaemon after loading my Dashboard:

2021-01-25 20:40:19.850473 INFO hello_world: You are now ready to run Apps!
2021-01-25 20:40:19.857158 INFO AppDaemon: App initialization complete
2021-01-25 20:40:21.965355 INFO AppDaemon: New client Bergshamra connected
2021-01-25 20:40:31.986229 INFO AppDaemon: Loading custom skin 'default2'
2021-01-25 20:40:32.049571 INFO AppDaemon: Compiling dashboard 'Bergshamra'
2021-01-25 20:40:33.260294 WARNING AppDaemon: Variable definition not found in CSS Skin variables: $graph_user
2021-01-25 20:40:33.262712 WARNING AppDaemon: Variable definition not found in CSS Skin variables: $graph_password
2021-01-25 20:40:33.375012 INFO AppDaemon: Loading custom widget 'weatherentity.yaml'
2021-01-25 20:40:33.377068 INFO AppDaemon: Loading custom widget 'graph.yaml'
2021-01-25 20:40:33.379035 INFO AppDaemon: Loading custom widget 'basegraph'
2021-01-25 20:40:33.394447 INFO AppDaemon: Loading custom widget 'base_weatherentity'
2021-01-25 20:40:33.743215 INFO AppDaemon: function [get_dashboard] finished in 1757 ms
2021-01-25 20:40:33.983631 INFO AppDaemon: Client disconnection from Bergshamra
2021-01-25 20:40:34.211592 INFO AppDaemon: New client Bergshamra connected````

ERROR: unable to find docker module

good day thank you for sharing the app. I'm getting the following error
seems it cant read sensor from ha
any guidance is appreciated


2020-02-02 21:00:00.030924 WARNING docker: ------------------------------------------------------------
2020-02-02 21:00:00.031765 WARNING docker: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/appdaemon/threading.py", line 766, in worker
    funcref(self.AD.sched.sanitize_timer_kwargs(app, args["kwargs"]))
  File "/conf/apps/dock/dock.py", line 89, in get_containers
    r =ha.set_state(DOMAIN_DOCKER + name, state, args)
NameError: name 'ha' is not defined

2020-02-02 21:00:00.032163 WARNING docker: ------------------------------------------------------------
2020-02-02 21:00:44.945097 WARNING Error: ------------------------------------------------------------
2020-02-02 21:00:44.945220 WARNING Error: Unexpected error loading module: /conf/apps/dock/dock.py:
2020-02-02 21:00:44.945314 WARNING Error: ------------------------------------------------------------
2020-02-02 21:00:44.945609 WARNING Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/appdaemon/app_management.py", line 788, in check_app_updates
    await utils.run_in_executor(self, self.read_app, mod["name"], mod["reload"])
  File "/usr/local/lib/python3.8/site-packages/appdaemon/utils.py", line 276, in run_in_executor
    response = future.result()
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/appdaemon/app_management.py", line 566, in read_app
    importlib.reload(self.modules[module_name])
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 169, in reload
    _bootstrap._exec(spec, module)
  File "<frozen importlib._bootstrap>", line 604, in _exec
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/conf/apps/dock/dock.py", line 4, in <module>
    import sensor as ha
ModuleNotFoundError: No module named 'sensor'

right config directory

Hi,
I have HASSIO version 0.91, but I don't find this directory: /conf/custom_widgets folder

It's the same create this one?

/config/custom_widgets

I have to declare it anywhere?

regards

Local time

it seems that the hagraph widget uses UTC time when plotting histories from the Home Assistant. Is it possible to plot sensors data using local time?

pictures

i have a problem with the pictures.
i have in HADashboard everything except the pictures.
afbeelding
when i look on the pictures the adres look fine (http://(url: HADashboard )/custom_css/img/dock.png)
how can i fix this??

widget fails to authenticate

Thanks for the effort to produce the custom widgets.

I'm experiencing connection issues with the hagraph widget. Getting multiple errors I'm assuming related to CORS.

Appreciate if you have any ideas of where I should start looking to resolve this.

I'm using Home Assistant 0.105.4.

: Origin http://192.168.1.8:5050 is not allowed by Access-Control-Allow-Origin.

Please let me know which files I should provide to assist you in resolving this issue.
Safari Snapshot.txt

Attached is a sample of the messages I see in my java console.

Regards Dave

basehagraph: Unable to process binding "text: function(){return error }"

Hi, I am trying to run basehagraph on HA 0.116.4 and AppDaemon cloned from github master repo..
I hope I have every file at place, config changed to my sensor and trying the simple single value widget from readme...
I got this in browser console:

jquery-3.1.1.min.js:2 jQuery.Deferred exception: Unable to process binding "text: function(){return error }"
Message: error is not defined ReferenceError: Unable to process binding "text: function(){return error }"
Message: error is not defined
at text (eval at parseBindingsString (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:68:172), :1:57)
at update (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:98:202)
at a.B.i (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:72:379)
at Function.Qc (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:51:391)
at Function.Rc (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:51:155)
at Function.aa (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:50:502)
at Object.a.m.a.B (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:49:67)
at http://10.8.0.10:5050/javascript/knockout-3.4.1.js:72:366
at Object.q (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:11:244)
at m (http://10.8.0.10:5050/javascript/knockout-3.4.1.js:71:428) undefined

Can you help me please what's wrong?
(chart widget is empty and other widgets won't load values)

No connection to server

When trying to run this plugin I got the following message in the web console:
Firefox can't establish a connection to the server at ws://undefined/api/websocket. application.js:2889:11
Connection to Home Assistant closed

Other widgets in the panel perform without any problem.

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.