Two servers - notified only from one them

  • Platform information:
    • Hardware:RPi4
    • OS: ArchLinux
    • Java Runtime Environment: OpenJDK Runtime Environment (build 11.0.11+9)
    • openHAB version: 3.1
  • Issue of the topic: only get notified from one of the servers

I have RPi4 in two houses. I created two accounts in myopenhab one for each server. I included both references to myopenhab servers in the Android application.

For the first house I am using .rules scripts and it is working fine. This is the rule:

rule "Notify alarm"
    Item madrid_puerta_principal_isOpen  changed from CLOSED to OPEN
    if (sw_alarm.state == ON) {
            "Door open")      
            "Door open")

When the door opens, we receive a pop-up notification in the mobile.

For the second house I am using the UI in order to define the rules but they are similar. I have tried notifying to both my android’s email and to the second email account to which I registered myopenhab. In any case, I don’ get a pop up notification.

If I check the “notifications” area in the Android App, I get the notifications there for both houses, but I only get the pop-up for the first house.

What could be the reason?

Can’t comment on your problem but how to avoid it: check out the remote openHAB binding. It can make things on the remote server available to the local server. So you can send all notifications from there.