Updatealler Daten:
Ich habe folgendes Problem in openhab2.5.9 mit den Sende von 433Mhz
Ich Benutze diesen Sender und Empfänger: 433 MHz Funk- Sende und Empfänger Modul Superregeneration Wireless Transmitter-Modul Einbrecher Alarm 433M receiver module Burglar.
In der Puty Console läuft alles tadelos. Sprich wenn ich folgenden Code übermittel
Code: Alles auswählen
./codesend 4527445 geht die Steckdose An
./codesend 4527444 geht die Steckdose Aus
In PaperUi kann ich die Steckdosen jedoch nicht schalten sowie in der BasicUI. Meine Installation.
Exec Binding 1.x sowie, Exec Binding2, und Exec Transformation Service.
Und zu guter letzt hab ich folgende Installation durch geführt::roll:
Code: Alles auswählen
git clone --recursive git://github.com/ninjablocks/433Utils.git
sudo apt-get install wiringpi
cd /opt/433Utils/RPi_utils/
make
sudo chmod +x /opt/433Utils/RPi_utils/codesend
sudo chmod +x /opt/433Utils/RPi_utils/run.sh
Hier ist mein Gesamter aufbau in der: opt/433Utils/RPi_utils/run.sh
Code run.sh.Datei
Code: Alles auswählen
#!/bin/sh
if [ "$1" = "A" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 4527444 //An Schalten//
else
/opt/433Utils/RPi_utils/codesend 4527445 //Aus Schsalten//
fi
fi
if [ "$1" = "B" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 1381716
else
/opt/433Utils/RPi_utils/codesend 1381717
fi
fi
if [ "$1" = "C" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 1394004
else
/opt/433Utils/RPi_utils/codesend 1394005
fi
fi
if [ "$1" = "D" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 1397076
else
/opt/433Utils/RPi_utils/codesend 1397077
fi
fi
if [ "$1" = "E" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 1397844
else
/opt/433Utils/RPi_utils/codesend 1397845
fi
fi
if [ "$1" = "FG" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 4527444
else
/opt/433Utils/RPi_utils/codesend 4527445
fi
fi
if [ "$1" = "WA" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 4539732
else
/opt/433Utils/RPi_utils/codesend 4539733
fi
fi
if [ "$1" = "WB1" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 4542804
else
/opt/433Utils/RPi_utils/codesend 4542805
fi
fi
if [ "$1" = "WB2" ]; then
if [ "$2" = "off" ] || [ "$2" = "0" ] || [ "$2" = "OFF" ]; then
/opt/433Utils/RPi_utils/codesend 4543572
else
/opt/433Utils/RPi_utils/codesend 4543573
fi
fi
Code: Alles auswählen
Thing exec:command:poweroutletA-control [ command="/opt/433Utils/RPi_utils/run.sh A %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletB-control [ command="/opt/433Utils/RPi_utils/run.sh B %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletC-control [ command="/opt/433Utils/RPi_utils/run.sh C %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletD-control [ command="/opt/433Utils/RPi_utils/run.sh D %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletE-control [ command="/opt/433Utils/RPi_utils/run.sh E %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletFG-control [ command="/opt/433Utils/RPi_utils/run.sh FG %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletWA-control [ command="/opt/433Utils/RPi_utils/run.sh WA %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletWB1-control [ command="/opt/433Utils/RPi_utils/run.sh WB1 %2$s", interval=0, autorun=true ]
Thing exec:command:poweroutletWB2-control [ command="/opt/433Utils/RPi_utils/run.sh WB2 %2$s", interval=0, autorun=true ]
Code: Alles auswählen
sitemap home label="Home" {
Frame label="Draußen" icon="garden" {
Group item=OU_Backyard
Group item=OU_Terrace
}
Frame label="Keller" icon="cellar" {
Group item=C_Boiler
}
Frame label="Erdgeschoss" icon="groundfloor" {
Group item=GF_Bedroom
Group item=GF_Kitchen
Group item=GF_LaundryRoom
Group item=GF_Hallway
Group item=GF_Bathroom
Group item=GF_LivingRoom
Group item=GF_Library
}
Frame label="Erster Stock" icon="firstfloor" {
Group item=FF_Office
Group item=FF_HomeCinema
}
Frame {
Text label="Licht" icon="light" {
Default item=OU_Backyard_Light label="Hinterhof"
Default item=OU_Terrace_Light label="Terrasse"
Default item=C_Boiler_Light label="Heizungsraum"
Default item=GF_Bedroom_Light label="Schlafzimmer"
Default item=GF_Kitchen_Light label="Küche"
Default item=GF_LaundryRoom_Light label="Waschküche"
Default item=GF_Hallway_Light label="Flur"
Default item=GF_Bathroom_Light label="Badezimmer"
Default item=GF_LivingRoom_Light label="Wohnzimmer"
Default item=GF_Library_Light label="Bibliothek"
Default item=FF_Office_Light label="Büro"
Default item=FF_HomeCinema_Light label="Heimkino"
}
Text label="Steckdose" icon="poweroutlet" {
Default item=OU_Backyard_Power label="Hinterhof"
Default item=OU_Terrace_Power label="Terrasse"
Default item=C_Boiler_Power label="Heizungsraum"
Default item=GF_Bedroom_Power label="Schlafzimmer"
Default item=GF_Kitchen_Power label="Küche"
Default item=GF_LaundryRoom_Power label="Waschküche"
Default item=GF_Hallway_Power label="Flur"
Default item=GF_Bathroom_Power label="Badezimmer"
Default item=GF_LivingRoom_Power label="Wohnzimmer"
Default item=GF_Library_Power label="Bibliothek"
Default item=FF_Office_Power label="Büro"
Default item=FF_HomeCinema_Power label="Heimkino"
}
Text label="Fenster" icon="window" {
Default item=GF_Bedroom_Window label="Schlafzimmer"
Default item=GF_Kitchen_Window label="Küche"
Default item=GF_Bathroom_Window label="Badezimmer"
Default item=GF_LivingRoom_Window label="Wohnzimmer"
}
Text label="Ventilator" icon="fan_ceiling" {
Default item=GF_Bedroom_Fan label="Schlafzimmer"
Default item=GF_LivingRoom_Fan label="Wohnzimmer"
}
Text label="Klimaanlage" icon="snow" {
Default item=GF_Bedroom_AirCon label="Schlafzimmer"
Default item=GF_LivingRoom_AirCon label="Wohnzimmer"
}
Text label="Heizung" icon="heating" {
Default item=GF_Bedroom_Heating label="Schlafzimmer"
Default item=GF_Kitchen_Heating label="Küche"
Default item=GF_Bathroom_Heating label="Badezimmer"
Default item=GF_LivingRoom_Heating label="Wohnzimmer"
}
Text label="Temperatur" icon="temperature" {
Default item=GF_Bedroom_Temperature label="Schlafzimmer"
Default item=GF_Kitchen_Temperature label="Küche"
Default item=GF_Bathroom_Temperature label="Badezimmer"
Default item=GF_LivingRoom_Temperature label="Wohnzimmer"
}
Text label="Bewegungsmelder" icon="motion" {
Default item=GF_Hallway_Motion label="Flur"
}
Text label="Rolladen" icon="rollershutter" {
Default item=FF_HomeCinema_Shutter label="Heimkino"
}
Text label="Jalousie" icon="blinds" {
Default item=FF_HomeCinema_Blind label="Heimkino"
}
Frame label="myKodi" icon="firstfloor"
Text label="Kodi Wohnzimmer" icon="blinds" {
Switch item=myKodi_mute
Slider item=myKodi_volume
Selection item=myKodi_control mappings=[PLAY='Play', PAUSE='Pause', NEXT='Next', PREVIOUS='Previous', FASTFORWARD='Fastforward', REWIND='Rewind']
Default item=myKodi_control
Switch item=myKodi_stop
Text item=myKodi_title
Text item=myKodi_showtitle
Text item=myKodi_album
Text item=myKodi_artist
Selection item=myKodi_pvropentv
Selection item=myKodi_pvropenchannel
Text item=myKodi_pvrchannel
Selection item=myKodi_input mappings=[Up='Up', Down='Down', Left='Left', Right='Right', Select='Select', Back='Back', Home='Home', ContextMenu='ContextMenu', Info='Info']
Selection item=myKodi_systemcommand
Text item=myKodi_mediatype
Text item=myKodi_genrelist
Image item=myKodi_thumbnail
Image item=myKodi_fanart
Text item=myKodi_currenttime
Text item=myKodi_ctp
Text item=myKodi_duration
}
}
}
So das es in Paper BasicUI läuft. für Jede Anregung wäre ich echt dankbar.. Ich denke mal das ich mich nun besser ausgedrückt haben.
Wollte ja eigentlich den Broadlink Nutzen für diese art von funksteckdosen. Leider ist mein Broadlink für das "Broadlink-Binding" nicht Kompatiebel, Zumindest nicht für den Broadlink RF/IR- RM-Pro3 Plus. Das "Broadlink-Binding" Ist ja nur für RM1, RM2 Und IR/RM3 ausgelegt leider
So genug rum geheult.. und vielen lieben danks für lesen, und evtl Commends anregugen.
MFG. Manu