Hi everyone.
I want to create some similar flows in NodeRed, all of them being a more dedicated device tracker for my needs.
I want to store different complex data structures from NodeRed in HA. (more detailed example idea below). I know that I can use helper entities, but with multiple implementations, the number of of needed entities would increase a lot, and they are within a structure, so hard to organize later. Also it is possible to use one helper with attributes, but the attribute support in NodeRed is not really good and they should no longer be used (as far as I found out).
So, here is my example:
I want to create a complex device reminder to help the people with ADHD living here. For example for the washing machine. It should have different information, and handle reminders based on them.
Reminders will be telegram messages and Alexa voice responses.
- current state of the device (Empty, Ready & loaded, running, finished & loaded,ā¦)
- starting time
- starting power total
- total power (last run)
- total cost (last run)
- total time (last run)
- already reminded?
- last reminder time
With these information, I can send a first message when the washing mashine starts (as it is often pre-loaded, but the started lated depending on the hourly energy prices), when it is finished (including time, costs and power consumption) and later if it is not unloaded and still contains wet clothes.
So, now to the question I have here to create it:
As you can see, there are a lot of entities needed to store the data in HA (I want to store it there, so that I can see the current values in a dashboard). And I could create the all as single entitties. Mut that is quite a mess of unstructured data points, and I want to have a single virtual device or object (as you would call it in programming) with different values.
Is there any way to crate custom devices not linked to an integration and not physically existing (āhelper devicesā). or any other way to store this complex data structure?
I could store a JSON with all data, but then it is quite complicated to show them in the dashboard (creating template helper for everything I want to show).
Thanks for your help,