# MQTT Homie Convention Node - questions about usage

**URL:** <https://discourse.nodered.org/t/mqtt-homie-convention-node-questions-about-usage/26541>\
**Category:** General\
**Created:** [12 May 2020 17:06 UTC](https://discourse.nodered.org/t/mqtt-homie-convention-node-questions-about-usage/26541 "2020-05-12T17:06:59Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![IoTPlay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iotplay/32/40_2.png) [@IoTPlay](https://discourse.nodered.org/u/IoTPlay)\
**Post date:** [13 May 2020 12:51 UTC](https://discourse.nodered.org/t/mqtt-homie-convention-node-questions-about-usage/26541/11 "2020-05-13T12:51:16Z")

</div>

> [@TotallyInformation](#):
>
> this is a weakness of the Homie convention.

Agree. I will respond to further to your post above. But on related topic - as you know from other posts under Proejcts I made probably a year +, this project I have - on Github (not the cod yet), has had a previous incarnation - I build my own standard - before I kno abotu Homie - a Yaml file that also configures all. For a year - as I added devices (including RF) - the wheels started coming off the standard I thought would work. I then even included some concepts of Apple's approach (although the data model is far too complex for one person to replicate) Then I learnt about Homie - and its pretty dam close to what I need - specially with the way I have extended it now.

The thing that took me longest - was to translate the interactions - into storage into global context. I unfortunately completed it before @Christian-Me published his nodes - maybe one day I stil will look if I can replace mine with his.

I must still do a write-up on the data model - but here is a quick view @ it - and the best way I could do internal storage with a big json mapping of all of it + my extentions - so that I can interact with it from different inputs - both mqtt and CoAP and others, and Report from it - and maybe it was my limited knowledge of how to interact with a json mixed arrays and objects - but so be it - it works.

[![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/7/c7b7523f92de8f0326a5732caa3f42676a6f4c40.png) ](https://raw.githubusercontent.com/IoTPlay/homedig2/master/docs/images/dig2_homie_storage_structure.png)

Above is what I did - and what my internal storage looks like - could also publish a sample json. I now have objects which creates from yaml files, or from homie mqtt, updates via mqtt, or CoAP, and push out BI to an http RESTful endpoint - I am starting to use these for other purposes. Nicely standadised - easy and fast to implement new funcitonality.

---

_[View the full topic](https://discourse.nodered.org/t/mqtt-homie-convention-node-questions-about-usage/26541)._
