Coder Social home page Coder Social logo

renetode / my-appdaemon Goto Github PK

View Code? Open in Web Editor NEW
111.0 21.0 49.0 1.76 MB

My apps, my helpfiles, all about AppDaemon for Home Assistant

Python 15.51% CSS 28.06% HTML 5.48% JavaScript 50.95%
sound tutorial tts appdaemon home-assistant helpfile apps clock radio appdaemon-apps

my-appdaemon's People

Contributors

blindlight86 avatar drzippit avatar renetode 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

my-appdaemon's Issues

iconsensor : Text, icon style

I can't change the style of the widget iconsensor

I don't know if I did something wrong (everythig else is working fine) but I get that in the log file

2018-03-10 11:01:04.864492 INFO Compiling dashboard 'home'
2018-03-10 11:01:07.169761 WARNING Variable definition not found in CSS Skin variables: $iconsensor_icon_style_active
2018-03-10 11:01:07.171007 WARNING Variable definition not found in CSS Skin variables: $iconsensor_title_style
2018-03-10 11:01:07.171989 WARNING Variable definition not found in CSS Skin variables: $iconsensor_title2_style
2018-03-10 11:01:07.173087 WARNING Variable definition not found in CSS Skin variables: $iconsensor_state_text_style
2018-03-10 11:01:07.174290 WARNING Variable definition not found in CSS Skin variables: $iconsensor_widget_style
2018-03-10 11:01:07.237393 WARNING Variable definition not found in CSS Skin variables: $iconsensor_icon_style_active
2018-03-10 11:01:07.238710 WARNING Variable definition not found in CSS Skin variables: $iconsensor_title_style
2018-03-10 11:01:07.239831 WARNING Variable definition not found in CSS Skin variables: $iconsensor_title2_style
2018-03-10 11:01:07.240956 WARNING Variable definition not found in CSS Skin variables: $iconsensor_state_text_style
2018-03-10 11:01:07.242025 WARNING Variable definition not found in CSS Skin variables: $iconsensor_widget_style

I can put style in other (of your) custom widget [Thanks BTW, great stuff!]

I have this in my home.dash

Name:
    widget_type: iconsensor
    entity: device_tracker.devicename
    title: Title
    icon_style_inactive: "font-size: 600%; margin-top: 15p; color: #00FFFF"
    icon_style_active: "font-size: 600%; margin-top: 15px; color: #00FFFF"
    state_text_style: "font-size: 200%"
    state_text: 1
    state_icons:
      home: mdi-human-greeting
      not_home: fa-map-marker
      ..... some other states

I also try this

Name:
    widget_type: iconsensor
    entity: device_tracker.devicename
    title: Title
    title_style: "font-size: 200%"
    icon_style: "font-size: 600%; margin-top: 15p; color: #00FFFF"
    state_text_style: "font-size: 200%"
    state_text: 1
    state_icons:
      home: mdi-human-greeting
      not_home: fa-map-marker
      ..... some other states

And get the same error

Minor Typo in Gauges

Hi,

wasn't sure where to post this, here or on HA forum.

There is a minor typo in the instructions for gauges which took me a while to try figure out.

It says to drop the canvas-gauges into a folder called gauges but the the example for the variables.yaml point to a folder called gauge with no s.

**"to activate the temperature and radial widgets you need to download canvas gauges that can be found here: https://github.com/Mikhus/canvas-gauges install that in the directory conf/custom_css/gauges in the variables.yaml from my waterdropsskill are the lines that point to that lib. if you want to use them in your own skin then create these 2 lines:

  • <script src="/custom_css/gauge/gauge.min.js"></script>
  • "**

Thanks for all your awesome work and I love the gauges

Cheers

Si

Foscam V2 Error Logsettings

Hi Rene. Thanks so much for your efforts.. but what is this?

pi@chilipie-kiosk:~/conf/logs$ tail -f appdaemon_error.log
2017-10-11 00:51:48.830596 WARNING Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/appdaemon/appdaemon.py", line 911, in read_app
    init_object(name, class_name, module_name, conf.app_config[name])
  File "/usr/local/lib/python3.5/dist-packages/appdaemon/appdaemon.py", line 582, in init_object
    conf.objects[name]["object"].initialize()
  File "/home/pi/conf/apps/foscam.py", line 37, in initialize
    self.logsettings = self.args["logsettings"]
KeyError: 'logsettings'

Feature Request: Fan with slider widget

Many thanks for the slider widgets. Could you please help with a fan w/slider widget? There's no official fan widget so I'm sure the community would really appreciate it.

Can be used to control ceiling fans, air purifiers and other fan components.

Help to install

I have some difficulties to install theses widgets..
Maybe it's because english isn't my first language that I have issue to understand the Readme file,,,

But step by step, do I only have to copy and paste these folders on the main directory of AppDaemon (hadaemon)?

So i'll have ; app / compiled / custom_css / custom_widgets / dashboards / appdaemon.yaml ; on this folder ?

Am I wrong ? it's says on the conf folder, but I don't see it ?

Thanks you,

Paul

Help to Install

Hello

This is my first usage of appdaemon so i'm a bit confused.

  1. in apps/ folder i put foscam.py which is clear from the installation doc

  2. in conf/ folder i put apps.yaml and i modified camera_name , host, port, user, password

  3. i added widgets

    thoht@osmc:~/.homeassistant/appdaemon$ ls -la conf/custom_widgets/
    total 16
    drwxr-xr-x 2 thoht thoht 4096 mars   1 12:31 .
    drwxr-xr-x 5 thoht thoht 4096 mars   1 13:13 ..
    -rw-r--r-- 1 thoht thoht  664 mars   1 12:30 new_input_slider.yaml
    -rw-r--r-- 1 thoht thoht  704 mars   1 12:31 vertical_input_slider.yaml
    
  4. foscam.yaml is very simiar to apps.yaml , i don't know where to put it.

For now, i got the following error:

 018-03-01 13:17:27.439112 WARNING AppDaemon:      ------------------------------------------------------------
 2018-03-01 13:17:27.441579 WARNING AppDaemon: ------------------------------------------------------------
 2018-03-01 13:17:27.442241 WARNING AppDaemon: Unexpected error during utility()
 2018-03-01 13:17:27.442931 WARNING AppDaemon:      ------------------------------------------------------------
 2018-03-01 13:17:27.444352 WARNING AppDaemon: Traceback (most recent call last):
   File "/usr/local/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1305, in utility
     await utils.run_in_executor(self.loop, self.executor, self.check_app_updates)
   File "/usr/local/lib/python3.6/site-packages/appdaemon/utils.py", line 121, in run_in_executor
     response = list(completed)[0].result()
   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
     result = self.fn(*self.args, **self.kwargs)
   File "/usr/local/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1751, in      check_app_updates
     if apps["term"]:
 TypeError: 'NoneType' object is not subscriptable

Unexpected error running initialize() for a_group

Hi.
i get the Error:
KeyError: 'sensor'

AppDaemon is running and my apps.yaml looks like:

a_group:
module: groups
class: create_group
name: TestSensorGroup
device_type: sensor
entity_part: "Briefkasten"
entities:
- sensor.Briefkasten
hidden: False
view: True
assumed_state: False
friendly_name: Last Updates
nested_view: True #creates a second group inside a viewed group

Home Assistant Version:
HASS: Connected to Home Assistant 0.77.3

image

Clarify interaction between appdaemon and HASSIO

Hello,
Thanks for taking the time to put this into written form.
There is one small detail I still don't understand. It's about this last part:

That's it. We made an app and we let AppDaemon use it. So go on! Make an input boolean in HA and let it put 1 of your lights on, but only if your mobile is home.

Does that mean that I have to create an input boolean in HA or that our app will behave automatically like that? If we need to do something in HA I think it will be very helpful to have that little extra information also explained on the same article. It assumes a good knowledge about how appDaemon interacts with HA and it may not be the case for most beginners.

Thanks!!

Groups....

Is it possible to have groups 2.0 look for multiple entity parts for the same group? Also, I can't get a group created with groups 2.0 hidden...

R2 needs variation for MotionDetect and documentation clarification

Python had me running around in circles today with inaccurate foscam access denied errors for the Foscam R2 camera. The error messages were making me think I had a write permission problem but it had nothing to do with that.

I didn't find anything that addresses this problem directly here or in the forum but the solution was to make a couple changes in apps/foscam.py for the R2:

getMotionDetectConfig needs to be getMotionDetectConfig1
setMotionDetectConfig needs to be setMotionDetectConfig1

Can this be added to the documentation or a variation added to the code?

The documentation is vague about needing to add the input_selects to HA as they are not in your example 0.55 HA file (add_to_ha_configuration) just references to them in the group section.

Also using: dash_compile_on_start: 1 in appdaemon.yaml was very useful while troubleshooting the install.

I hope these are helpful additions to the documentation.

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.