Jump to content

Aleš Vaupotič

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Aleš Vaupotič

  1. Thanks, I am sure it works that way, but I was hoping for some kind of advanced functionality included with Unilogic, like observers or onChange events to not having to add those compare statements for every variable. What I would love to see is having a table of observed variables and set boundaries on them (either fixed or relative) and they would change a "state" of a variable (low-low, low, normal, high, over-the-moon or up-5-percent, down-5-percent)  which you could also use for styling the display on HMI. Right now I am struggling with that too.

    Ok, now I am ranting, but thanks for your time and suggestion. Many things can be done in a such a "manual" way, but I am always looking for more automation. That's our business, right?

  2. Hello!

    I am tracking some values in my application thru MQTT and would like to trigger a publish event if for example a value changes for a fixed amount or percentage. What I am using right now is periodic transfer but would like to save some bandwidth if data isn't changing much. Also, I need some kind of general solution to implement it on 50 values.

    Let me give you an example: we are monitoring an outside temperature. The sensor is quite unstable and changes in tenths every few seconds. It's value table at 10am might look like this:

    10:00:01    102 = 10,2 degrees C
    10:00:02    102
    10:00:03    103
    10:00:04    104
    10:00:05    104
    10:00:06    103
    10:00:06    103

    ...  You get the idea. Now, I do not need to transfer these minor changes to my broker every second or on every change. I would like to detect a change of 5 tenths and only then send the data to my server. And periodically every hour for example to have records with timestamps.

    What are the possible solutions with UniLogic to achieve this kind of reaction with hysteresis?

    Regards,

    Ales

     

×
×
  • Create New...