rubi

Erstellte Forenantworten

6 Beiträge anzeigen - 1 bis 6 (von insgesamt 6)
  • Autor
    Beiträge
  • als Antwort auf: Verbindung-Problem #3698
    rubi
    Teilnehmer

    Hi, LogoControl reagiert sehr sensibel auf falsche IP-Adressen, bzw. wenn diese nicht erreichbar ist. Beide Male führt es meist dazu, das LogoControl (wie bei Dir) nicht startet oder abstürzt.

    Ist die Logo8 vom RasPi aus erreichbar (Ping)?
    Tipp: Die CodeZeile mal komplett neu schreiben

    als Antwort auf: FHEM und LogoControl #3659
    rubi
    Teilnehmer

    Aus LogoControl kann ich noch nicht mal

    http://<IP&gt;:8088/rest/devices/1/methods/1

    aufrufen. (also „devices/6/methods/6“)
    Das klingt bald so, als ob man unter Linux besondere Rechte braucht um den http-Aufruf auszuführen?!?!?

    Jemand eine Idee

    <group name="Licht">
    				<device id="6" name="Licht" >
    					<method id="6" name="on" url="http://192.168.188.110:8088/rest/devices/1/methods/1" />
    					<method id="7" name="off" url="http://192.168.188.110:8083/fhem?cmd=set%20HM_HM_Funksteckdose2%20off" />
    				</device>
    			</group>
    als Antwort auf: Anwenheitskontrolle mit Smartphone ?? #3641
    rubi
    Teilnehmer

    Hi, ich doktere auch gerade an der Anwesenheitskontrolle per Smartphone.
    Es gibt dabei mindestens ein Problem.
    Die Smartphones gehen nach einer bestimmten Zeit in eine Art WLAN-Standby, dass bedeutet, das sie im Netz noch angemeldet sind, aber auf z.B. Ping nicht mehr reagieren. Somit entfällt das Abfragen mittels Ping! (Somit kann man höchstens kontrollieren, ob die Kinder schon wieder im i-Netz surfen)
    Außerdem ist es Blöd, wenn man daheim ist, das Handy nicht benutzt und auf einmal das Licht ausgeht… 🙁

    Wer FHEM auf seinem RPi laufen hat und eine FritzBox hat, der kann u.a. den (WLAN) Status der FritzBox auslesen. Dort gibt es drei Zustände für WLAN-Geräte:
    – absent
    – present
    – inaktiv

    Wobei inaktive das „WLAN-Standby“ ist.
    Für mich bisher noch nicht nachvollziehbar, warum auch trotz anwesenden Handy (also im WLAN eingebucht) ein „absent“ und nicht „inaktiv“ angezeigt wird.
    Wenn das zuverlässig funktionieren würde, hätte man die perfekte Lösung.

    Hat jemand vielleicht eine Idee???

    als Antwort auf: FHEM und LogoControl #3620
    rubi
    Teilnehmer

    Was mache ich falsch?

    als Antwort auf: LogoControl und "Alexa" #3619
    rubi
    Teilnehmer

    Hi Schrumpfkopf,

    ich habe Alexa jetzt auch in mein SmartHome mit Logocontrol und Co. eingebunden.
    Gleich vorweg…es ist fast zu einfach!

    Installiere auf deinem Raspi (wo vermutlich auch LogoControl läuft) die Software HA-Bridge (Google bzw. LINK unten).
    HA-Bridge kannst Du mittels WebInterface konfigurieren. Lege dort ein Device an (Alexa nimmt DIESEN NAMEN das als Schlüsselwort).
    Gib dem Device dem Typ „http-Device“ und schreibe dort dein „http-Request“ rein. Also …devises/1/methods/2
    Bei HA-Bridge kannst Du die Funktion testen!
    Falls das alles funktioniert hat, kannst Du Alexa mit „Alexa, suche Geräte“ anlernen. In der Regel erkennt Sie sofort alle in HA-Bridge eingegebene Geräte! Willkommen im Jahr 2017! 😉
    Jetzt nur noch: „Alexa, schalte WOHNZIMMER EINGROßBUCHSTABEN –> Schlüsselwörter

    Hier noch ein nützlicher Link:

    HA-Bridge Installation auf dem Raspberry Pi

    als Antwort auf: FHEM und LogoControl #3600
    rubi
    Teilnehmer
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    	<settings>
    	<?RasPi IP: 192.168.188.110?>
    	<plc id="Logo_G" type="Logo8" ip="192.168.188.112"/>	
    	<plc id="Logo_S" type="Logo8" ip="192.168.188.113"/>	
    		<httpWebservice port="8088" />
    	
    	<valueTextConverter>
    		
    		<textMapping id="Zustand">
    			<valueText value="0" text="steht"/>
    			<valueText value="1" text="fährt"/>
    		</textMapping>
    		
    		<textMapping id="Tor">
    			<valueText value="0" text="AUF"/>
    			<valueText value="1" text="ZU"/>
    		</textMapping>
    		
    		<textMapping id="Licht">
    			<valueText value="0" text="AUS"/>
    			<valueText value="1" text="AN"/>
    		</textMapping>
    	
    		</valueTextConverter>
    	
    </settings>
    	<infrastructure>
    		
    		
    		<group name="Haus">
    			
    			<group name="Garage">
    				
    				
    				
    				<device id="1" name="GartenLicht" >
    					<method id="1" name="GartenLicht" plc="Logo_G" address="4.1" />
    					<attribute id="2" name="Status" plc="Logo_G" address="5.2" datatype="bit" valueTextConverter="Licht"/>
    				</device>
    				
    				<device id="2" name="GartenPumpe" >
    					<method id="1" name="GartenPumpe" plc="Logo_G" address="4.2" />
    					
    				</device>
    				
    							
    				<device id="3" name="Tor_Zustand" >
    					<method id="1" name="Befehl" plc="Logo_G" address="4.0" />
    						<attribute id="3" name="Status" plc="Logo_G" address="5.0" datatype="bit" valueTextConverter="Tor"/>
    				</device>
    				
    				<device id="4" name="Temperatur">
    					<attribute id="1" name="Ist" plc="Logo_G" address="0" datatype="word" gain="0.1" />
    					
    					
    				</device>
    				
    				<device id="5" name="Tor_Zustand" >
    					<attribute id="1" name="Status" plc="Logo_G" address="5.1" datatype="bit" valueTextConverter="Zustand"/>
    				</device>
    			</group>
    			
    			<group name="Licht">
    				<device id="6" name="Licht" >
    					<method id="1" name="Küche" plc="Logo_S" address="6.0" />
    					<attribute id="3" name="Status" plc="Logo_S" address="7.0" datatype="bit" valueTextConverter="Licht"/>
    					
    					<method id="2" name="Esszimmer" plc="Logo_S" address="6.1" />
    					<attribute id="4" name="Status" plc="Logo_S" address="7.1" datatype="bit" valueTextConverter="Licht"/>
    					
    					<method id="3" name="Wohnzimmer" plc="Logo_S" address="6.2" />
    					<attribute id="5" name="Status" plc="Logo_S" address="7.2" datatype="bit" valueTextConverter="Licht"/>
    				</device>
    				
    	-->			<device id="41" name="Funksteckdose 1" type="light">
    	-->				<method id="1" name="off" url="http://192.168.188.110:8083/fhem?cmd=set HM_HM_LC_Sw1_Pl_2_MEQ0474703 off" />
        				<method id="2" name="on" url="http://192.168.188.110:8083/fhem?cmd=set HM_HM_LC_Sw1_Pl_2_MEQ0474703 on" />
    					
    				</device>
    			
    			</group>
    		
    			<group name="Elektrotechnik">
    				<device id="7" name="Leistung" >
    					<attribute id="0" name="Leistung L1" plc="Logo_G" address="100" datatype="word" gain="0.1" />
    					<attribute id="1" name="Leistung L2" plc="Logo_G" address="102" datatype="word" gain="0.1" />
    					<attribute id="2" name="Leistung L3" plc="Logo_G" address="104" datatype="word" gain="0.1" />
    					<attribute id="3" name="Wirkenergie Ges." plc="Logo_G" address="106" datatype="word" gain="0.1" />									
    					<attribute id="4" name="Wirkenergie Ist" plc="Logo_G" address="204" datatype="word" gain="0.1" />
    					<attribute id="5" name="Leistung Ges." plc="Logo_G" address="206" datatype="word" gain="0.1" />
    				</device>
    				
    				<device id="8" name="Spannung" >
    					<attribute id="0" name="Spannung L1" plc="Logo_G" address="110" datatype="word" gain="0.1" />
    					<attribute id="1" name="Spannung L2" plc="Logo_G" address="112" datatype="word" gain="0.1" />
    					<attribute id="2" name="Spannung L3" plc="Logo_G" address="114" datatype="word" gain="0.1" />
    					<attribute id="3" name="Frequenz" plc="Logo_G" address="116" datatype="word" gain="0.01" />
    				</device>
    			
    				<device id="9" name="Strom" >
    					<attribute id="0" name="Strom L1" plc="Logo_G" address="118" datatype="word" gain="0.01" />
    					<attribute id="1" name="Strom L2" plc="Logo_G" address="120" datatype="word" gain="0.01" />
    					<attribute id="2" name="Strom L3" plc="Logo_G" address="122" datatype="word" gain="0.01" />
    					<attribute id="3" name="Strom N" plc="Logo_G" address="124" datatype="word" gain="0.01" />
    					<attribute id="10" name="Strom L1" plc="Logo_G" address="218" datatype="word" gain="0.01" />
    					<attribute id="11" name="Strom L2" plc="Logo_G" address="220" datatype="word" gain="0.01" />
    					<attribute id="12" name="Strom L3" plc="Logo_G" address="222" datatype="word" gain="0.01" />
    					<attribute id="13" name="Strom N" plc="Logo_G" address="224" datatype="word" gain="0.01" />
    				</device>
    				
    				
    			</group>
    		</group>
    	</infrastructure>
    </configuration>
    
    • Diese Antwort wurde vor vor 6 Jahren, 5 Monaten von rubi bearbeitet.
6 Beiträge anzeigen - 1 bis 6 (von insgesamt 6)