2016-03-04, 17:35
This thing is already making my house smarter. When my doorbell rings, video that is being played is paused.
Now, I'm using mqttwarn (https://github.com/jpmens/mqttwarn) to write MQTT message to a MySQL database for analysis (I'm a Data Warehouse engineer ) and to smarten my domotica system (homebrewn ESP8266 stuff).
mqttwarn supports JSON format, only not a nested JSON, like is being created by this addon. For example, the status/title produces a "kodi_details" element which contains title, file, etc. I don't think there is a need for this nesting (not more than 1 thing plays at a time, right?). Can we make the output so that it writes all elements without any nesting?
Doing so will instantly enable everyone to use the much recommended mqttwarn out-of-the-box. This enables direct integration of about 50 interfaces, such as MySQL, PushBullet, http, notifiers, etc.
Now, I'm using mqttwarn (https://github.com/jpmens/mqttwarn) to write MQTT message to a MySQL database for analysis (I'm a Data Warehouse engineer ) and to smarten my domotica system (homebrewn ESP8266 stuff).
mqttwarn supports JSON format, only not a nested JSON, like is being created by this addon. For example, the status/title produces a "kodi_details" element which contains title, file, etc. I don't think there is a need for this nesting (not more than 1 thing plays at a time, right?). Can we make the output so that it writes all elements without any nesting?
Doing so will instantly enable everyone to use the much recommended mqttwarn out-of-the-box. This enables direct integration of about 50 interfaces, such as MySQL, PushBullet, http, notifiers, etc.