#Is it a recommended way to use AppDaemon

1 messages ยท Page 1 of 1 (latest)

golden shadow
#

What do you mean "extended"?

dark iron
#

Perhaps to go back to the beginning:
What problem do you have, and how are you trying to solve it?

crimson lily
#

Hi, sorry for my late response ๐Ÿ™‚

#

I have several devices that are not "out-of-the-box" smarthome ready. Therefore i have written some python script as an adapter to communicate with.

#

The embedded automation-solution seems not be good when things are getting komplex...

golden shadow
#

Sounds like you want to create a custom component

#

Though, I've done complex stuff with the native automations, but I'm sure if you explain the problem we can help

crimson lily
#

is is allowed to post a image here?

rare mauveBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

crimson lily
#

Is is my current smarthome. The yellow boxes show which devices i need to connect to gather these information. I'd like to move my stuff to home assistant. So far "complex" adapters are written in python and communicate over mqtt with the node-red instance.

golden shadow
#

If they use MQTT you can use them in HA via the relevant MQTT integration

Or write a custom component

crimson lily
#

Next challenge is to do the math with all values. A "normal" house has "grid, solar, battery and load". In my case i have an additonal CHP (Producting heat and power by the cost of oil). So I'd like to extend the "energy dashboard" by a CHP feature.

#

When u still say custom component is the way to go i will try this ๐Ÿ™‚

#

And back to the beginning question: Is the Usage of AppDaemon recommended? I Ask because there is no really improvement of AppDaemon the last 2 years.

golden shadow
#

If you ask on the AD Discord they'll say yes, if you ask here almost nobody would say yes

#

Maths is easy, #templates-archived can do maths, and you can create a template sensor that reports whatever result you need, or you can do the maths live in an automation/script

crimson lily
#

And the Overview-SVG? Will be "solved" with the custom component?

golden shadow
#

What do you mean by Overview-SVG?

#

Do you mean that picture you posted?

crimson lily
#

Yes, the picture i posted. So far i understand the custom component is used to "communicate" with my devices

golden shadow
#

That uses an SVG to display sensor values (strings), or entity states in any number of complex ways

#

As long as you have the entities in HA, and a little patience, you can do it

crimson lily
#

Ok, i will try to explore the custom component first to get rid of AppDaemon ๐Ÿ™‚

#

Ahh, one more question... when i have seen it right home assistant is archiving values for about 14 days by default (this is fine for me). Is there a way to move selected values ALSO in a seperated "long"-Archiving database (outside of home assistant)? I'd like to use grafana to display them.

golden shadow
#

Yes

crimson lily
#

Sorry for bothering with this questions

rare mauveBOT
crimson lily
#

That is a "helper"-Integration? I get this question while creating a component: "Is this a helper integration? (yes/no) [no]"

golden shadow
#

Is what a helper?

#

If you mean influxdb just follow the docs that are linked to there

crimson lily
golden shadow
#

Then probably not

#

#devs_core-archived can better guide you on development, but helpers are internal things - if you're interacting with things outside of HA it's not a helper