#Is it a recommended way to use AppDaemon
1 messages ยท Page 1 of 1 (latest)
Perhaps to go back to the beginning:
What problem do you have, and how are you trying to solve it?
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...
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
is is allowed to post a image here?
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.
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.
If they use MQTT you can use them in HA via the relevant MQTT integration
Or write a custom component
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.
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
And the Overview-SVG? Will be "solved" with the custom component?
Yes, the picture i posted. So far i understand the custom component is used to "communicate" with my devices
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
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.
Yes
Sorry for bothering with this questions
That is a "helper"-Integration? I get this question while creating a component: "Is this a helper integration? (yes/no) [no]"
Is what a helper?
If you mean influxdb just follow the docs that are linked to there
No, i'm currently at this guide: https://developers.home-assistant.io/docs/creating_component_index
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