• C
    chrapchp

    @robmalone Mango did not even what to start up with JDK 1.14. I did recover the old jdk I was using on the crashed system and will revert to that.

    thx

    posted in User help read more
  • C
    chrapchp

    I'm getting this as well.

    I restored from a windows crash and using the recommended AdoptOpenJDK JDK. I was using the old JDK from Oracle prior. I now get this error and I know the port works fine as I can communicate using a modbus master tool.

    posted in User help read more
  • C
    chrapchp

    I am using the rest API in my user module, components, etc. and works fine. However, I recently read on a post an example using a call on the pointvalues object. e.g.

    PointValues.getPointValuesForXid(...)
    

    I tried it and works fine and was wondering this officially documented?

    pjc

    posted in User help read more
  • C
    chrapchp

    Thanks. It will probably end up a user component.

    pjc

    posted in User help read more
  • C
    chrapchp

    I would like to retrieve the historical values stored via cron/meta-data point that are run once an hr and per month for a chart. When I perform a mysql query, I get what I expect. e.g. if there are 5 entries I get 5 entries.
    MySql query returns what I expect.
    e.g.

    
    select pointValue, from_unixtime(ts/1000) from pointvalues where datapointid=474
    

    via ma-point-values I get the 5 + a current value which is the same as the last log value. I am using these to seed a chart and always get an extra point that mirrors that of what was saved via cron.

    <ma-point-values point="point1" values="point1Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}">
    </ma-point-values>
    
    <p>There are {{point1Values.length}} rows to display.</p>
    
    
    <md-table-container>
        <table md-table>
            <thead md-head>
            <tr>
                <th md-column>TimeStamp</th>
                <th md-column>Point Value</th>
            </tr>
            </thead>
            <tbody md-body>
            <tr ng-repeat="value in point1Values">
                <td md-cell>{{value.timestamp | maMoment:'format':'ll LTS'}}</td>
                <td md-cell>{{value.value}}</td>
            </tr>
            </tbody>
        </table>
    </md-table-container>
    

    This is an output on the per month points. I don't want the Dec 3 to return. mySql only has the 1 entry.
    0_1543887564989_Capture.JPG

    posted in User help read more
  • C
    chrapchp

    How does the parent item drop down list get populated in the create menu item from the dashboard designer? via the register a menu item in a user module? I am trying to create a menu bar at the top using the suggestions in forum and nothing but the canned entries appear.

    I;m obviously missing something.

    pjc

    posted in User help read more
  • C
    chrapchp

    I'm updating once 1 minute. Did not seem to bad. So far no issue with mysql.

    posted in User help read more
  • C
    chrapchp

    I converted to mysql and it runs a lot faster. Will convert to no-sql when the POC is done.

    posted in User help read more