LogicMachine Forum
Alert manager ipk - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: Alert manager ipk (/showthread.php?tid=5899)



Alert manager ipk - CristianAgata - 26.02.2025

Good morning Dev,
Could be possible have the ipk file for app in object? I have a client without internet connection.
Could be interesting open a section with all this file. Now a day happens often LM not connected to web.
Best regards Cristian


RE: Alert manager ipk - Daniel - 26.02.2025

https://forum.logicmachine.net/showthread.php?tid=3497&pid=22783#pid22783


RE: Alert manager ipk - khalil - 11.03.2026

Hello Dears,
I want to use the app acknowledge to trigger a GA, to be used for a KNX Touch screen acknowledgement


RE: Alert manager ipk - Daniel - 11.03.2026

This is not possible in Alert app.


RE: Alert manager ipk - Erwin van der Zwart - 13.03.2026

Only possible when the app is embedded via iframe into your visu, here is a sample custom JS that makes some interaction possible:
Code:
$(function() {


    // Remote Press Acknowledge Button
    $(document).ready(function() {
        var f = $('iframe');
        f.load(function() {
            if (typeof grp != 'undefined') {
                grp.listen('0/3/0', function(object, state) {
                    if (state == 'value' && object.value == true) {
                        f.contents().find('#AcknowledgeButton').click();
                    }
                }, true);
            }
        });
    });

    // Remote Press Mute Button
    $(document).ready(function() {
        var f = $('iframe');
        f.load(function() {
            if (typeof grp != 'undefined') {
                grp.listen('0/3/1', function(object, state) {
                    if (state == 'value' && object.value == true) {
                        f.contents().find('#MuteButton').click();
                    }
                }, true);
            }
        });
    });

    // Write to object when Acknowledge is pressed by a user
    $(document).ready(function() {
        var f = $('iframe');
        f.load(function() {
            f.contents().find('#AcknowledgeButton').click(function() {
                grp.write('0/2/0', false)
            });
        });
    });


    // Write to object when Mute is pressed by a user
    $(document).ready(function() {
        var f = $('iframe');
        f.load(function() {
            f.contents().find('#MuteButton').click(function() {
                grp.write('0/2/0', true)
            });
        });
    });

    // Hide Acknowledge Button
    $(document).ready(function() {
        var f = $('iframe');
        f.load(function() {
            f.contents().find('#AcknowledgeButton').hide();
        });
    });

    // Hide Mute Button
    $(document).ready(function() {
        var f = $('iframe');
        f.load(function() {
            f.contents().find('#MuteButton').hide();
        });
    });

});



RE: Alert manager ipk - khalil - 15.03.2026

Many thanks @Erwin 
This is exactly what I need