Jump to content

Please add the ability to send data to MQTT servers


sblantipodi

Recommended Posts

Hi all, hi @Fiery
all arduino fans uses MQTT servers to "send data over the house".

MQTT servers like mosquito generally runs on raspberry devices (or even Amazon IOT) and let the users to get "home data" outside the home or 
on the arduino devices widespread in the home.

I have created some arduino displays that shows the info of my home devices.
I would like to add the infos of my PC.

Will Aida every support a "Publish over MQTT" fearure?

It would be really really really cool for every Arduino users.

IMG_20190720_122526_01.jpg

Link to comment
Share on other sites

On ‎7‎/‎20‎/‎2019 at 4:07 PM, sblantipodi said:

Hi all, hi @Fiery
all arduino fans uses MQTT servers to "send data over the house".

MQTT servers like mosquito generally runs on raspberry devices (or even Amazon IOT) and let the users to get "home data" outside the home or 
on the arduino devices widespread in the home.

I have created some arduino displays that shows the info of my home devices.
I would like to add the infos of my PC.

Will Aida every support a "Publish over MQTT" fearureimageproxy.php?img=&key=c534180e938af0a4imageproxy.php?img=&key=c534180e938af0a4imageproxy.php?img=&key=c534180e938af0a4?

It would be really really really cool for every Arduino users.

We've checked, and MQTT is quite a complicated protocol to implement from scratch.  If there's a considerable demand for such a feature, then I believe it would be best if someone came up with a library that picks up AIDA64 External Applications readings from Shared Memory, Windows Registry or WMI, and send the stuff over MQTT using its own libraries and implementation.

  • Sad 1
Link to comment
Share on other sites

  • 2 months later...
On 7/24/2019 at 4:45 PM, Fiery said:

We've checked, and MQTT is quite a complicated protocol to implement from scratch.  If there's a considerable demand for such a feature, then I believe it would be best if someone came up with a library that picks up AIDA64 External Applications readings from Shared Memory, Windows Registry or WMI, and send the stuff over MQTT using its own libraries and implementation.

@FieryI decided to write the app by my own, publishing MQTT messages in Java is really simple, there are pretty powerful lib to do that.

Is there a way to say aida to publish sensors readings in a file? I don't want to log temp, I only want to see the current readings.

Link to comment
Share on other sites

In any case I think that if you add mqtt support to Aida you will have a big bump in selling.

Any IoT users will buy Aida, come one do you know a single Arduino or Raspberry users who don't want it's pc temp on their IoT devices?

Imho it will worth the effort, there are a lot of libs to simply publish messages on an mqtt server.

 

Link to comment
Share on other sites

18 hours ago, sblantipodi said:

@FieryI decided to write the app by my own, publishing MQTT messages in Java is really simple, there are pretty powerful lib to do that.

Is there a way to say aida to publish sensors readings in a file? I don't want to log temp, I only want to see the current readings.

We try to avoid writing dynamic data periodically into files, since many computers these days are equipped with a SSD drive.  Wearing it down by writing a file constantly (like once or twice a second) is a bad idea.  You can however use any of the existing 3 methods that AIDA64 offers to export the sensor readings for post-processing by a library or another software.  Just check AIDA64 / main menu / File  / Preferences / Hardware Monitoring / External Applications.  Out of the 3 options there we recommend going for Shared Memory, since it's the most efficient way.

Link to comment
Share on other sites

18 hours ago, sblantipodi said:

In any case I think that if you add mqtt support to Aida you will have a big bump in selling.

Any IoT users will buy Aida, come one do you know a single Arduino or Raspberry users who don't want it's pc temp on their IoT devices?

Imho it will worth the effort, there are a lot of libs to simply publish messages on an mqtt server.

Quite frankly, I don't know any IoT users personally, so I cannot gauge the generic approach or requirements of IoT users.  And because of that I cannot really allocate developer resources on a complicated project where we haven't yet seen a big demand for MQTT support.  You can however come up with your own library, publish it on GitHub or your own website, we can implement support for it in AIDA64 (as well as linking to your website), and it could drive more exposure to your page/website as well as satisfy those IoT users who're hungry for a MQTT sensor solution.

Link to comment
Share on other sites

4 hours ago, Fiery said:

We try to avoid writing dynamic data periodically into files, since many computers these days are equipped with a SSD drive.  Wearing it down by writing a file constantly (like once or twice a second) is a bad idea.  You can however use any of the existing 3 methods that AIDA64 offers to export the sensor readings for post-processing by a library or another software.  Just check AIDA64 / main menu / File  / Preferences / Hardware Monitoring / External Applications.  Out of the 3 options there we recommend going for Shared Memory, since it's the most efficient way.

This was true in the ancient era of the first SSD, thanks to wear leveling now you can max out pretty all the MTF of the disk even writing only 1 byte per time.
So, no, it's your choice, not a bad idea. :) 

sorry, I haven't understood that you offer better alternatives, so nothing to add on this point.

Link to comment
Share on other sites

5 hours ago, Fiery said:

Quite frankly, I don't know any IoT users personally, so I cannot gauge the generic approach or requirements of IoT users.  And because of that I cannot really allocate developer resources on a complicated project where we haven't yet seen a big demand for MQTT support.  You can however come up with your own library, publish it on GitHub or your own website, we can implement support for it in AIDA64 (as well as linking to your website), and it could drive more exposure to your page/website as well as satisfy those IoT users who're hungry for a MQTT sensor solution.

If you don't know any IoT users does not means that you cannot target your software to those users too.
Amazon offers Amazon IoT with built in MQTT servers, this means that there are billions of IoT users around the world, many of thems are waiting to buy AIDA: :D

I don't know what is the language of your choice but you can explain someone how to write an MQTT message to an MQTT broker in 1 minutes and half using nodejs.

 

there are a lot of libraries for .NET, Java and many other languages. So why it should be difficult?
Do you want a lib to write an MQTT message on an MQTT broker? Simply google it in the preferred language you want and you will find plenty of those libs on github.

Why implement my own lib? The only part we lack is the AIDA integrations with those libs :)

You are the boss of your project, those are only my two cents :)

PS: Thanks for the reply and for the good project, my money was well spent in your license.

 

Link to comment
Share on other sites

  • 1 year later...
  • 2 years later...

As an alternative, it might be worth taking a look at IoT-link. this goes beyond simply reporting temperatures, but why not?
I would also find the possibilities that arise from an MQTT connection interesting, but I personally don't necessarily need them right now.

https://iotlink.gitlab.io/

Maybe it makes sense to ask them if they can write an add-on that can use the data from Aida. IoT-link is quite modular...

 

P.S.:
I have just seen that the project has been discontinued.
https://gitlab.com/iotlink/iotlink/-/issues/194

The use of HASS.agent is recommended there...

https://github.com/LAB02-Research/HASS.Agent

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...