Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Pimatic - Werte von externen socket.io oder webapi einlesen und senden?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Pimatic - Werte von externen socket.io oder webapi einlesen und senden?

    This topic has been deleted. Only users with topic management privileges can see it.
    • Bluefox
      Bluefox last edited by

      Ich werde heute Abend fixen, bis jetzt aber kann man einfach folgendes ausprobieren:

      die Zeile https://github.com/ioBroker/ioBroker.pi … in.js#L512

      damit zu ersetzen

      if (objects[state._id].native && objects[state._id].native.mapping)
      
      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        Habe den Fehler gefixt. Bitte testen.

        Da ich keine laufende Pimatic Installation habe, bin ich auf eure Hilfe angewiesen.

        1 Reply Last reply Reply Quote 0
        • S
          saturion last edited by

          Super das hat auf Anhieb funktioniert.

          Vielen Dank für die schnelle Hilfe, großes Kompliment!

          1 Reply Last reply Reply Quote 0
          • M
            Merphun last edited by

            Hallo,

            ich arbeite schon lange mit Pimatic und habe die Vorteile des Systems schätzen gelernt. Da ich aber auch gerne neues entdecke und durch die Mulithostingoption iOBroker einen großen Vorteil bietet habe ich mal den Versuch gestartet über den Adapter meine komplette Pimatic Installation in iOBroker zu bekommen. Das hat erstaunlich gut funktioniert. Kompliment dafür!

            Eine Kleinigkeit ist mir allerdings aufgefallen: Pimatic verwendet das Device "Presence" um An/Abwesenheiten anzeigen zu können. An und für sich ideal um es im iOBroker Mobile UI über den "Show boolean value:" Wert anzeigen zu lassen.

            Der Adapter übernimmt beim Einlesen der Pimatic Devices für die presence devices aber auch (Bug oder feature?) ein Attribut "role" der als Eintrag "inicator.presence" erhält. Durch dieses Attribut wird im Mobile UI das Objekt nicht angezeigt. Wenn ich hingegen manuell das komplette Attribut lösche und den MobileUI relode dann wird das presence Objekt dargestellt.

            2599_presence.jpg

            (Leider scheint das manuelle Löschen hier nicht zum Erfolg zu führen da bei jeder Aktualisierung das Attribut vom Pimatic Adapter neu geholt und ergänzt wird - und damit im Mobile UI das Objekt wieder verschwindet)

            Besten Dank

            Michael

            1 Reply Last reply Reply Quote 0
            • Dutchman
              Dutchman Developer Most Active Administrators last edited by

              Hi,

              @Bluefox

              Ich vervolge gespannt dieses topic da ich immernoch auf der suche bin nach einer guten einbindung vom RFXCOM device.

              Im moment habe ich das sehr umstaendlich geloest mittels MQTT und domoticz (da domoticz perfect RFXCOM unterstuetzt).

              Zum test pimatic installiert und der adaper macht was er soll, sehr schoen. Doch leider is auch bei PMATIC der RFXCOM sehr schlecht unterstuetzt.

              Da der adapter in der basis aber auch JSON liest und darueber schaltet frage ich mich ab ob dies nicht auch die richtige basis waere fuer einen domoticz adapter ?!

              Domoticz hat auch eine API, diese functioniert 2 ledig:

              • Per JSON jetzige daten auslesen wie devices oder switches

              • Per URL command devices steuern

              in der basis klinkt das genau gleich wie die loesung fuer PIMATIC ?

              Mit diesem befehl z.b. liest man alle devices + stats aus: "http://192.168.1.152:8080/json.htm?type=devices"

              Das ergibt folgende tabelle :

              ! { "ActTime" : 1493551691, "ServerTime" : "2017-04-30 13:28:11", "Sunrise" : "06:01", "Sunset" : "20:57", "result" : [ { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 1, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "65", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-30 13:20:40", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Woonkamer_Kast", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "On", "StrParam1" : "", "StrParam2" : "", "SubType" : "ARC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "1" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "Off", "Description" : "", "Favorite" : 1, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "65", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-28 22:53:16", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Woonkamer_Raam", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "ARC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 2, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "2" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "Off", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "65", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2016-10-22 19:40:54", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Woonkamer_Raam_2", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "ARC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 3, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "3" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010101", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-12-03 11:18:23", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_Ring", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "5" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 1, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010102", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-12-03 11:10:26", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_Jazz", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "6" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010103", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-09-25 12:16:48", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_Bird", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "7" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010104", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-12-10 11:05:31", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_DingDong", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "8" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1040F70", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2016-12-03 10:56:44", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Unknown", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : 0, "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "lightbulb", "Unit" : 11, "Used" : 0, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "17" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "14879AA", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-30 12:22:29", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : 7, "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Doorbell", "SwitchTypeVal" : 1, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "doorbell", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "19" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1487960", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-28 22:45:56", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Unknown", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : 0, "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "lightbulb", "Unit" : 11, "Used" : 0, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "20" } ], "status" : "OK", "title" : "Devices" } !

              Man kan die devices dan auch per URL commando steuern, hier z.b. meine turklingel:

              http://192.168.1.152:8081/json.htm?type=command¶m=switchlight&idx=6&switchcmd=On
              

              Also wie man sieht schalte ich hiermit die idx=6 welche meine turklingel JAZZ abspielt

              Ich frage mich also ab ob wir die PIMATIX logic des adapter umschreiben koennte fuer Domoticz.

              Wen jah brauchte ich ein bischen start hilfe, testen und installation kan ich machen und wen ich weis wor auch mit dem adapter und configurationen spielen.

              Wen das machbar is werde ich einen neuen tread eroeffnen, schuldigung fuer diese offtopic frage hier.

              Domoticz API erklaehrung: https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s

              Wen wir das machen koennten wuerde mich das sehr freuen und neben FHEM/PIMATIC wuerde auch Domoticz dan zu den standard binding fuer iobroker gehoeren.

              Greetz,

              Dutch

              1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox last edited by

                @Dutchman:

                Hi,

                @Bluefox

                Ich vervolge gespannt dieses topic da ich immernoch auf der suche bin nach einer guten einbindung vom RFXCOM device.

                Im moment habe ich das sehr umstaendlich geloest mittels MQTT und domoticz (da domoticz perfect RFXCOM unterstuetzt).

                Zum test pimatic installiert und der adaper macht was er soll, sehr schoen. Doch leider is auch bei PMATIC der RFXCOM sehr schlecht unterstuetzt.

                Da der adapter in der basis aber auch JSON liest und darueber schaltet frage ich mich ab ob dies nicht auch die richtige basis waere fuer einen domoticz adapter ?!

                Domoticz hat auch eine API, diese functioniert 2 ledig:

                • Per JSON jetzige daten auslesen wie devices oder switches

                • Per URL command devices steuern

                in der basis klinkt das genau gleich wie die loesung fuer PIMATIC ?

                Mit diesem befehl z.b. liest man alle devices + stats aus: "http://192.168.1.152:8080/json.htm?type=devices"

                Das ergibt folgende tabelle :

                ! { "ActTime" : 1493551691, "ServerTime" : "2017-04-30 13:28:11", "Sunrise" : "06:01", "Sunset" : "20:57", "result" : [ { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 1, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "65", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-30 13:20:40", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Woonkamer_Kast", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "On", "StrParam1" : "", "StrParam2" : "", "SubType" : "ARC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "1" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "Off", "Description" : "", "Favorite" : 1, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "65", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-28 22:53:16", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Woonkamer_Raam", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "ARC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 2, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "2" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "Off", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "65", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2016-10-22 19:40:54", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Woonkamer_Raam_2", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "ARC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 3, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "3" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010101", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-12-03 11:18:23", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_Ring", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "5" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 1, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010102", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-12-03 11:10:26", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_Jazz", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "6" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010103", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-09-25 12:16:48", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_Bird", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "7" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1010104", "Image" : "Light", "InternalState" : "On", "IsSubDevice" : false, "LastUpdate" : "2016-12-10 11:05:31", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel_DingDong", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Push On Button", "SwitchTypeVal" : 9, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "push", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "8" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1040F70", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2016-12-03 10:56:44", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Unknown", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : 0, "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "lightbulb", "Unit" : 11, "Used" : 0, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "17" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "14879AA", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-30 12:22:29", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Deurbel", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : 7, "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "Doorbell", "SwitchTypeVal" : 1, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "doorbell", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "19" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "RFXCom", "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver", "HardwareTypeVal" : 1, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "1487960", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2017-04-28 22:45:56", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 15, "Name" : "Unknown", "Notifications" : "false", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : 0, "Status" : "", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "lightbulb", "Unit" : 11, "Used" : 0, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "20" } ], "status" : "OK", "title" : "Devices" } !

                Man kan die devices dan auch per URL commando steuern, hier z.b. meine turklingel:

                http://192.168.1.152:8081/json.htm?type=command¶m=switchlight&idx=6&switchcmd=On
                

                Also wie man sieht schalte ich hiermit die idx=6 welche meine turklingel JAZZ abspielt

                Ich frage mich also ab ob wir die PIMATIX logic des adapter umschreiben koennte fuer Domoticz.

                Wen jah brauchte ich ein bischen start hilfe, testen und installation kan ich machen und wen ich weis wor auch mit dem adapter und configurationen spielen.

                Wen das machbar is werde ich einen neuen tread eroeffnen, schuldigung fuer diese offtopic frage hier.

                Domoticz API erklaehrung: https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s

                Wen wir das machen koennten wuerde mich das sehr freuen und neben FHEM/PIMATIC wuerde auch Domoticz dan zu den standard binding fuer iobroker gehoeren.

                Greetz,

                Dutch `
                Mache neuen Thread auf, da es auf jeden Fall möglich ist. Wie ich schon gesagt habe, es gibt nur das Problem mit Update. Pollen wird natürlich gehen und bei 30 Variablen wird systematisch auch nicht belastete sein. Vielleicht nebenbei auch Domoticz fragen, dass die Server Side Events unterstützen?

                Das wird dann perfekte Lösung sein.

                https://softwareengineering.stackexchan … t-language

                1 Reply Last reply Reply Quote 0
                • Bluefox
                  Bluefox last edited by

                  @Merphun:

                  Hallo,

                  ich arbeite schon lange mit Pimatic und habe die Vorteile des Systems schätzen gelernt. Da ich aber auch gerne neues entdecke und durch die Mulithostingoption iOBroker einen großen Vorteil bietet habe ich mal den Versuch gestartet über den Adapter meine komplette Pimatic Installation in iOBroker zu bekommen. Das hat erstaunlich gut funktioniert. Kompliment dafür!

                  Eine Kleinigkeit ist mir allerdings aufgefallen: Pimatic verwendet das Device "Presence" um An/Abwesenheiten anzeigen zu können. An und für sich ideal um es im iOBroker Mobile UI über den "Show boolean value:" Wert anzeigen zu lassen.

                  Der Adapter übernimmt beim Einlesen der Pimatic Devices für die presence devices aber auch (Bug oder feature?) ein Attribut "role" der als Eintrag "inicator.presence" erhält. Durch dieses Attribut wird im Mobile UI das Objekt nicht angezeigt. Wenn ich hingegen manuell das komplette Attribut lösche und den MobileUI relode dann wird das presence Objekt dargestellt.

                  presence.jpg

                  (Leider scheint das manuelle Löschen hier nicht zum Erfolg zu führen da bei jeder Aktualisierung das Attribut vom Pimatic Adapter neu geholt und ergänzt wird - und damit im Mobile UI das Objekt wieder verschwindet)

                  Besten Dank

                  Michael `
                  Bitte die neue Version in latest repository testen.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Merphun last edited by

                    Besten Dank - jetzt klappts auch im Mobile UI

                    Lg

                    Michael

                    Gesendet von meinem SM-G930F mit Tapatalk

                    1 Reply Last reply Reply Quote 0
                    • K
                      karl78 last edited by

                      Hallo,

                      habe den Pimatic Adapter 0.1.5 instaliert aber er bringt keine Verbindung zur Pimatic.

                      Verbunden mit Host und Lebenszeichen : wahr

                      Verbunden mit Pimatic: falsch

                      Liegt es an Pimatic oder am Adapter?

                      Was braucht ihr für Infos um mir helfen zu können?

                      Danke mfg karl78

                      1 Reply Last reply Reply Quote 0
                      • K
                        karl78 last edited by

                        Hallo, keiner nen Tip?

                        Oder jemand hier bei wem der Pimatic-Adapter zur Zeit läuft?

                        1 Reply Last reply Reply Quote 0
                        • G
                          Groby69 last edited by

                          @saturion:

                          Super das hat auf Anhieb funktioniert.

                          Vielen Dank für die schnelle Hilfe, großes Kompliment! `

                          Hallo Zusammen,

                          bin gerade seit 1 Tag am testen und bereits sehr begeistert.

                          Ich habe Pimatic am laufen und auch den Adapter installiert.

                          Es werden auch alle Werte eingelesen.

                          Ist es möglich auch Werte zu schreiben, um z.B. ein Licht in Pimatic einzuschalten?

                          Muss dafür ein Objekt angelegt werden? Wenn ich im Moment schalten möchte, kommt diese Fehlermeldung:

                          pimatic.0 2019-01-12 21:54:01.821 warn State "pimatic.0.devices.sonoff5" is read only

                          Zweite Fehlermeldung:

                          Cannot write "pimatic.0.devices.WohnzimmerFenster.temperatureSetpoint": Error: User not found at UserManager.hasPermissionBoolean (/home/pi/pimatic-app/node_modules/pimatic/lib/users.coffee:81:15)

                          Kurze Hilfe wäre super!

                          Tolle Software!

                          Gruß Klaus

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          821
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          8
                          41
                          7665
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo