Erstellte Forenantworten
-
AutorBeiträge
-
grobieTeilnehmer
TOP!!! Werde das sofort ausprobieren…
Super!!! funktioniert bestens!!!
Danke!!!
nun muss ich das neue System nur noch vor Ort in Betrieb nehmen….
- Diese Antwort wurde vor vor 8 Jahren, 1 Monat von grobie bearbeitet.
grobieTeilnehmerder pi1 funktioniert zumindestens mit der alten Version von LogoControl bei mir schon seit Monaten recht zuverlässig in kombination mit Domoticz…
grobieTeilnehmerhier mal meine config.xml:
<configuration> <settings> <plc id="myLogo" type="Logo7" ip="0.0.0.0" /> <httpWebservice port="8088" /> <valueTextConverter> <!-- Verschiedene Konverter zur Überführung von Value (ganzzahliger Rohwert aus der Logo) in ValueText (Anzeigewert für den Benutzer) --> <textMapping id="an_aus"> <!-- Text-Mapping für aus (0) und an (1) --> <valueText value="0" text="aus" /> <valueText value="1" text="an" /> </textMapping> <textMapping id="rollo"> <!-- Text-Mapping für Rolläden --> <valueText value="1" text="hoch" /> <valueText value="2" text="stop" /> <valueText value="3" text="runter" /> </textMapping> </valueTextConverter> </settings> <infrastructure> <group name="Erdgeschoss"> <group name="Wohnzimmer"> <device id="101" name="Licht" type="light"> <attribute id="1" name="state" plc="mylogo" address="942.3" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="1.1"/> <method id="2" name="aus" plc="myLogo" address="1.2"/> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=32&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=32&nvalue=1"/> <trigger address="949.6" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="102" name="Funksteckdose 1" type="light"> <method id="1" name="ein/aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchlight&idx=88&switchcmd=Toggle" /> <trigger address="948.0" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> <device id="103" name="Funksteckdose 2" type="light"> <method id="1" name="ein/aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchlight&idx=93&switchcmd=Toggle" /> <trigger address="948.5" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> <device id="104" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=13&switchcmd=Toggle"/> <method id="2" name="stop" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=14&switchcmd=Toggle"/> <method id="3" name="runter" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=15&switchcmd=Toggle"/> </device> </group> <group name="Esszimmer"> <device id="201" name="Licht" type="light"> <attribute id="1" name="state" plc="myLogo" address="942.5" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="2.1" /> <method id="2" name="aus" plc="myLogo" address="2.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=43&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=43&nvalue=1"/> <trigger address="949.7" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="202" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http:/192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=16&switchcmd=Toggle"/> <method id="2" name="stop" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=17&switchcmd=Toggle"/> <method id="3" name="runter" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=18&switchcmd=Toggle"/> </device> </group> <group name="Küche"> <device id="301" name="Licht" type="light"> <attribute id="1" name="state" address="942.6" plc="myLogo" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="3.1" /> <method id="2" name="aus" plc="myLogo" address="3.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=42&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=42&nvalue=1"/> <trigger address="950.0" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="302" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchlight&idx=90&switchcmd=Toggle" /> <trigger address="948.1" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> <device id="303" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=19&switchcmd=Toggle"/> <method id="2" name="stop" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=20&switchcmd=Toggle"/> <method id="3" name="runter" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=21&switchcmd=Toggle"/> </device> </group> <group name="WC EG"> <device id="401" name="Licht" type="light"> <attribute id="1" name="state" plc="myLogo" address="942.7" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="4.1" /> <method id="2" name="aus" plc="myLogo" address="4.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=41&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=41&nvalue=1"/> <trigger address="950.1" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> </group> <group name="Windfang"> <device id="501" name="Licht" type="light"> <attribute id="1" name="state" plc="myLogo" address="942.1" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="5.1" /> <method id="2" name="aus" plc="myLogo" address="5.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=40&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=40&nvalue=1"/> <trigger address="949.4" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> </group> </group> <group name="Obergechoss"> <group name="Ankleidezimmer"> <device id="701" name="Licht" type="light"> <attribute id="1" name="state" plc="myLogo" address="943.0" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="7.1" /> <method id="2" name="aus" plc="myLogo" address="7.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=38&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=38&nvalue=1"/> <trigger address="950.2" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="702" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=25&switchcmd=Toggle"/> <method id="2" name="stop" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=26&switchcmd=Toggle"/> <method id="3" name="runter" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=27&switchcmd=Toggle"/> </device> </group> <group name="Kinderzimmer"> <device id="801" name="Licht" type="light"> <attribute id="1" name="state" plc="myLogo" address="943.1" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="8.1" /> <method id="2" name="aus" plc="myLogo" address="8.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=37&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=37&nvalue=1"/> <trigger address="950.3" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="802" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=28&switchcmd=Toggle"/> <method id="2" name="stop" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=29&switchcmd=Toggle"/> <method id="3" name="runter" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=30&switchcmd=Toggle"/> </device> </group> <group name="Büro"> <device id="901" name="Licht" type="light"> <attribute id="1" name="state" address="943.2" plc="myLogo" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="9.1" /> <method id="2" name="aus" plc="myLogo" address="9.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=36&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=36&nvalue=1"/> <trigger address="949.2" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="902" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchlight&idx=114&switchcmd=Toggle" /> <trigger address="948.2" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> <device id="903" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=11&switchcmd=Toggle"/> <method id="2" name="stop" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=12&switchcmd=Toggle"/> <method id="3" name="runter" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=10&switchcmd=Toggle"/> </device> </group> <group name="Badezimmer"> <device id="1001" name="Licht" type="light"> <attribute id="1" name="state" address="943.3" plc="myLogo" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="10.1" /> <method id="2" name="aus" plc="myLogo" address="10.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=35&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=35&nvalue=1"/> <trigger address="950.4" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="1002" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=22&switchcmd=Toggle"/> <method id="2" name="stop" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=23&switchcmd=Toggle"/> <method id="3" name="runter" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=24&switchcmd=Toggle"/> </device> </group> </group> <group name="Dachgeschoss"> <group name="Schlafzimmer"> <device id="1101" name="Licht" type="light"> <attribute id="1" name="state" address="943.4" plc="myLogo" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="11.1" /> <method id="2" name="aus" plc="myLogo" address="11.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=34&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=34&nvalue=1"/> <trigger address="950.5" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="1102" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchlight&idx=89&switchcmd=Toggle" /> <trigger address="948.3" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> </group> <group name="WC DG"> <device id="1202" name="Licht" type="light"> <attribute id="1" name="state" plc="myLogo" address="943.5" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="12.1" /> <method id="2" name="aus" plc="myLogo" address="12.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=33&nvalue=0"/> <method id="3" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=33&nvalue=1"/> <trigger address="950.6" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> </group> </group> <group name="Allgemein"> <group name="Flur"> <device id="601" name="Flur" type="light"> <attribute id="1" name="state" plc="myLogo" address="942.2" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="6.1" /> <method id="2" name="aus" plc="myLogo" address="6.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=39&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=39&nvalue=1"/> <trigger address="949.5" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="602" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchlight&idx=92&switchcmd=Toggle" /> <trigger address="948.4" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> </group> <group name="Extern"> <device id="1401" name="Aussenlicht" type="light"> <attribute id="1" name="state" plc="myLogo" address="942.0" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="14.1" /> <method id="2" name="aus" plc="myLogo" address="14.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=50&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=50&nvalue=1"/> <trigger address="949.3" datatype="bit"> <onValue value="0" method="3" /> <onValue value="1" method="4" /> </trigger> </device> <device id="1301" name="Garagentor" type="custom"> <method id="1" name="auf/zu" address="13.1" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=51&nvalue=0"/> </device> </group> <group name="Heizung"> <device id="1501" name="Sparbetrieb" type="custom"> <attribute id="1" name="state" plc="myLogo" address="943.6" valueTextConverter="an_aus"/> <method id="1" name="ein" plc="myLogo" address="15.1" /> <method id="2" name="aus" plc="myLogo" address="15.2" /> <method id="3" name="status aus" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=108&nvalue=0"/> <method id="4" name="status ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=udevice&idx=108&nvalue=1"/> <trigger address="950.7" datatype="bit"> <onValue value="0" method="4" /> <onValue value="1" method="3" /> </trigger> </device> </group> <group name="Rolladen"> <device id="1601" name="Alle hoch" type="custom"> <method id="1" name="ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=9&switchcmd=on" /> <trigger address="949.1" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> <device id="1602" name="Sonnenschutz Straßenseite" type="custom"> <method id="1" name="ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=32&switchcmd=On"/> </device> <device id="1603" name="Sonnenschutz Gartenseite" type="custom"> <method id="1" name="ein" url="http://192.168.178.25:8080/json.htm?type=command¶m=switchscene&idx=31&switchcmd=On"/> </device> </group> </group> </infrastructure> </configuration>
grobieTeilnehmerDanke das war schon mal gut, die nächste Fehlermeldung kam aber prompt:
Error saving … Invalid identity constraints were found. Referenced key was not found: line 0, position 0
???
grobieTeilnehmerHabe gerade meine config.xml getestet… ich musste noch Trigger (in config.xml) und Merker (Logo) einfügen damit es funktioniert…
<group name="Extern"> <device id="1401" name="Aussenlicht" type="light"> <attribute id="1" name="state" address="942.0" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="14.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=50&nvalue=1"/> <method id="2" name="aus" address="14.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=50&nvalue=0"/> <trigger address="949.3" datatype="bit"> <onValue value="0" method="2" /> <onValue value="1" method="1" /> </trigger> </device>
Somit hat jetzt jeder meiner Ausgänge noch einen Merker bekommen und LogoControl Trigger´t diesen und Aktualisiert damit in Domoticz die Schalter…
- Diese Antwort wurde vor vor 8 Jahren, 9 Monaten von grobie bearbeitet.
grobieTeilnehmerHallo nochmal… Ich wollte mich nur noch mal für diese super Software bedanken!!! Mittlerweile habe ich alles am laufen… Danke!!!
Falls mal jemand nach Domoticz sucht hier der Inhalt meiner config.xml:
<configuration> <settings> <logo ip="192.168.178.2" /> <httpWebservice port="8089" /> </settings> <infrastructure> <group name="Erdgeschoss"> <group name="Wohnzimmer"> <device id="101" name="Licht" type="light"> <attribute id="1" name="state" address="942.3" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="1.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="1.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> <device id="102" name="Funksteckdose 1" type="light"> <method id="1" name="ein/aus" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchlight&idx=88&switchcmd=Toggle" /> <trigger address="948.0" datatype="bit"> <onValue value="0" method="1" /> <onValue value="1" method="1" /> </trigger> </device> <device id="103" name="Funksteckdose 2" type="light"> <method id="1" name="ein/aus" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchlight&idx=93&switchcmd=Toggle" /> <trigger address="948.5" datatype="bit"> <onValue value="0" method="1" /> <onValue value="1" method="1" /> </trigger> </device> <device id="104" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=13&switchcmd=Toggle"/> <method id="2" name="stop" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=14&switchcmd=Toggle"/> <method id="3" name="runter" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=15&switchcmd=Toggle"/> </device> </group> <group name="Esszimmer"> <device id="201" name="Licht" type="light"> <attribute id="1" name="state" address="942.5" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="2.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="2.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> <device id="202" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=16&switchcmd=Toggle"/> <method id="2" name="stop" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=17&switchcmd=Toggle"/> <method id="3" name="runter" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=18&switchcmd=Toggle"/> </device> </group> <group name="Küche"> <device id="301" name="Licht" type="light"> <attribute id="1" name="state" address="942.6" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="3.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="3.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> <device id="302" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchlight&idx=90&switchcmd=Toggle" /> <trigger address="948.1" datatype="bit"> <onValue value="0" method="1" /> <onValue value="1" method="1" /> </trigger> </device> <device id="303" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=19&switchcmd=Toggle"/> <method id="2" name="stop" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=20&switchcmd=Toggle"/> <method id="3" name="runter" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=21&switchcmd=Toggle"/> </device> </group> <group name="WC EG"> <device id="401" name="Licht" type="light"> <attribute id="1" name="state" address="942.7" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="4.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="4.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> </group> <group name="Windfang"> <device id="501" name="Licht" type="light"> <attribute id="1" name="state" address="942.1" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="5.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="5.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> </group> </group> <group name="Obergechoss"> <group name="Ankleidezimmer"> <device id="701" name="Licht" type="light"> <attribute id="1" name="state" address="943.0" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="7.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="7.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> <device id="702" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=25&switchcmd=Toggle"/> <method id="2" name="stop" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=26&switchcmd=Toggle"/> <method id="3" name="runter" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=27&switchcmd=Toggle"/> </device> </group> <group name="Kinderzimmer"> <device id="801" name="Licht" type="light"> <attribute id="1" name="state" address="943.1" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="8.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="8.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> <device id="802" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=28&switchcmd=Toggle"/> <method id="2" name="stop" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=29&switchcmd=Toggle"/> <method id="3" name="runter" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=30&switchcmd=Toggle"/> </device> </group> <group name="Büro"> <device id="901" name="Licht" type="light"> <attribute id="1" name="state" address="943.2" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="9.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="9.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> <device id="902" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchlight&idx=91&switchcmd=Toggle"/> <trigger address="948.2" datatype="bit"> <onValue value="0" method="1" /> <onValue value="1" method="1" /> </trigger> </device> <device id="903" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=11&switchcmd=Toggle"/> <method id="2" name="stop" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=12&switchcmd=Toggle"/> <method id="3" name="runter" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=10&switchcmd=Toggle"/> </device> </group> <group name="Badezimmer"> <device id="1001" name="Licht" type="light"> <attribute id="1" name="state" address="943.3" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="10.1" /> <method id="2" name="aus" address="10.2" /> </device> <device id="1002" name="Rolladen" type="custom"> <method id="1" name="hoch" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=22&switchcmd=Toggle"/> <method id="2" name="stop" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=23&switchcmd=Toggle"/> <method id="3" name="runter" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=24&switchcmd=Toggle"/> </device> </group> </group> <group name="Dachgeschoss"> <group name="Schlafzimmer"> <device id="1101" name="Licht" type="light"> <attribute id="1" name="state" address="943.4" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="11.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="11.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> <device id="1102" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchlight&idx=89&switchcmd=Toggle" /> <trigger address="948.3" datatype="bit"> <onValue value="0" method="1" /> <onValue value="1" method="1" /> </trigger> </device> </group> <group name="WC DG"> <device id="1202" name="Licht" type="light"> <attribute id="1" name="state" address="943.5" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="12.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1" /> <method id="2" name="aus" address="12.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0" /> </device> </group> </group> <group name="Allgemein"> <group name="Flur"> <device id="601" name="Flur" type="light"> <attribute id="1" name="state" address="942.2" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="6.1" /> <method id="2" name="aus" address="6.2" /> </device> <device id="602" name="Funksteckdose" type="light"> <method id="1" name="ein/aus" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchlight&idx=92&switchcmd=Toggle" /> <trigger address="948.4" datatype="bit"> <onValue value="0" method="1" /> <onValue value="1" method="1" /> </trigger> </device> </group> <group name="Extern"> <device id="1401" name="Aussenlicht" type="light"> <attribute id="1" name="state" address="942.0" datatype="bit"> <valuetext value="0" text="aus" /> <valuetext value="1" text="an" /> </attribute> <method id="1" name="ein" address="14.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=1"/> <method id="2" name="aus" address="14.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0"/> </device> <device id="1301" name="Garagentor" type="custom"> <method id="1" name="auf/zu" address="13.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=XX&nvalue=0"/> </device> </group> <group name="Heizung"> <device id="1501" name="Sparbetrieb" type="custom"> <attribute id="1" name="state" address="943.6" datatype="bit"> <valuetext value="1" text="aus" /> <valuetext value="0" text="ein" /> </attribute> <method id="0" name="ein" address="15.1" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=108&nvalue=0"/> <method id="1" name="aus" address="15.2" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=udevice&idx=108&nvalue=1"/> </device> </group> <group name="Rolladen"> <device id="1601" name="Alle hoch" type="custom"> <method id="1" name="ein" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=9&switchcmd=on" /> <trigger address="949.1" datatype="bit"> <onValue value="1" method="1" /> </trigger> </device> <device id="1602" name="Sonnenschutz Straßenseite" type="custom"> <method id="1" name="ein" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=32&switchcmd=On"/> </device> <device id="1603" name="Sonnenschutz Gartenseite" type="custom"> <method id="1" name="ein" url="http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchscene&idx=31&switchcmd=On"/> </device> </group> </group> </infrastructure> </configuration>
Damit funktioniert auch die Statusaktualisierung der Domoticz-Schalter bei bedienung über LogoControl…
Gruß, Olli
- Diese Antwort wurde vor vor 8 Jahren, 9 Monaten von grobie bearbeitet.
grobieTeilnehmerHallo, HTML-Aufruf funktioniert jetzt… Nur wenn ich die config.xml abermals über den Browser bearbeite sind die Sonderzeichen nicht mehr escaped…!?
Trotzdem, ich bin begeistert… Alles was ich bis jetzt gemacht habe funktioniert…
grobieTeilnehmerAhha… Das werde ich ausprobieren… Super, Deine Unterstützung hier!!!
grobieTeilnehmerSo, kurze Rückmeldung:
ich bin begeistert!!! Mit Script funktioniert alles bestens… Ich kann aus Domotics die Logo schalten und aus der Logo die Geräte die über Funk von Domoticz gesteuert werden… Habe auch langsam verstanden wie ich mein Logo-Programm und die Config.xml anpassen muss… Was mir jetzt noch fehlt, ist der Gerätestatus gesyncht ist, aber das kommt später. Vielleicht hat ja hier jemand einen Hinweis 🙂
Erst mal muss ich jetzt meine Logo 0ba6 gegen die 0ba7 tauschen !!!
Viele Dank auch für den schnellen Support… Freue mich wenn Du das mit dem HTML-Aufruf auch noch fixen kannst!
Gruß, Olli
grobieTeilnehmerHallo, wollte mich jetzt mal an ein SHELL-Script machen… Das hier wäre der aufruf:
http://raspberry.fritz.box:8080/json.htm?type=command¶m=switchlight&idx=32&switchcmd=Toggle
Damit startet LogoControl erst gar nicht…
-
AutorBeiträge