Search found 34 matches
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: Script som inte riktigt funkar
- Replies: 5
- Views: 5009
Re: Script som inte riktigt funkar
Kör jag detta kommando: wget -qO- "http://192.168.1.101/ha/apitatus&status=0&systempluginname=tdtool&systemdeviceid=1" Med snuffar runt url:en så loggas det åtminstone i HA att lampan tänds/släcks men det gör den inte egentligen. Får denna JSON sträng tillbaka som svar då: {&qu...
- Fri Mar 17, 2023 9:45 am
- Forum: General
- Topic: Raspberry Pi & Tellstick
- Replies: 12
- Views: 10848
Re: Raspberry Pi & Tellstick
If you have a selflearning device, when the device is in "learning mode" you run tdtool -e 3 for example if it is device 3.
Not sure exactly how it works with your devices but with Nexa plugs there is a button you press and it goes into learning mode.
Not sure exactly how it works with your devices but with Nexa plugs there is a button you press and it goes into learning mode.
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: Script som inte riktigt funkar
- Replies: 5
- Views: 5009
Re: Script som inte riktigt funkar
Nu har fått scriptet med toggle att fungera tillsammans med ringklockan. Vet inte varför det inte fungerade igår? Så här ser scriptet ut, väldigt enkelt: #!/bin/bash echo "En device i tellstick.conf reagerar... ID: ${DEVICEID}" >> /tmp/tdlog.log if [ "${DEVICEID}" = "6"...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: telldus duo homeautomation och termometrar
- Replies: 1
- Views: 10340
Re: telldus duo homeautomation och termometrar
There is a config file you need to edit in the parser folder, or actually two config file you need to setup.
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Tellstick Duo+Doorbell+Script event
- Replies: 1
- Views: 11903
Tellstick Duo+Doorbell+Script event
I've setup a Doorbell in my tellstick.config with an ID of 6, and when I push the doorbell a script runs in deviceevent/doorbell.sh Everything works great! Except that the script are triggered twice :( Is it the doorbell that sends the signal twice that it has been pushed? The doorbell is a Nexa LML...
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: Boxcar push notifications plugin
- Replies: 10
- Views: 9253
Re: Boxcar push notifications plugin
Har också problem att få till detta plugin, är grymt intresserad av att få det att fungera. Jag har lagt in token koden, även sett till att url är inlagt korrekt. Har provat att cURL fungerar att köra mot url:en och det fungerar utan problem. Har lagt upp både en Boxcar/Dummy Raw-enhet och en icke r...
- Fri Mar 17, 2023 9:45 am
- Forum: Linux
- Topic: Tellstick Duo+Doorbell+Script event
- Replies: 1
- Views: 11903
Re: Tellstick Duo+Doorbell+Script event
I did a "hack" in the sh script like this: #!/bin/bash echo "Running doorbell.sh...." >> /tmp/tdlog.log if [ "${DEVICEID}" = "6" ]; then if mkdir /tmp/lockdir-doorbell; then echo "Doorbell pushed!! ${DEVICEID}" >> /tmp/tdlog.log url="http://192....
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: Boxcar push notifications plugin
- Replies: 10
- Views: 9253
Re: Boxcar push notifications plugin
Ah det var mitt fel, cURL var inte configat helt korrekt, såg felmeddelandet när jag testade exempelfilen. Nu fungerar det precis som det ska och jag får en pushnotis när någon ringer på dörrklockan Tackar!
- Fri Mar 17, 2023 9:45 am
- Forum: Hårdvara
- Topic: Nybörjarfrågor (huskod, tempgivare etc)
- Replies: 7
- Views: 6183
Re: Nybörjarfrågor (huskod, tempgivare etc)
Duh köpte 4st på teknikmagasinet, de fungerar kanon som tempgivare, men kanske ska beställa ett gäng från Ebay, kostar nästan hälften där och gratis frakt.
- Fri Mar 17, 2023 9:45 am
- Forum: General
- Topic: Raspberry Pi & Tellstick
- Replies: 12
- Views: 10848
Re: Raspberry Pi & Tellstick
I would try this guide google translated since it worked perfect for me:
https://translate.google.se/translate?s ... t=&act=url
https://translate.google.se/translate?s ... t=&act=url
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: Boxcar push notifications plugin
- Replies: 10
- Views: 9253
Re: Boxcar push notifications plugin
När jag använder api.php och försöker trigga boxar "enheten" så här: url="http://192.168.1.101/ha/api.php?do=devices/toggle&deviceid=8&status=-1" wget -qO- "${url}" >> /tmp/tdlog.log Men jag får pushnotisen från Boxcar, men verkar vara något med vad man får till...
- Fri Mar 17, 2023 9:45 am
- Forum: General
- Topic: Raspberry Pi & Tellstick
- Replies: 12
- Views: 10848
Re: Raspberry Pi & Tellstick
It is correct that telldus.list file should contain: deb-src http://download.telldus.com/debian/ stable main Maybe google translate mess up some commands? I noticed it made a capital T on Telldus which isn't correct. It should be: wget http://download.telldus.se/debian/telldus-public.key And then su...
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: Parser / System event
- Replies: 9
- Views: 6609
Re: Parser / System event
Yepp!
I've manually created a cronjob for now though
I've manually created a cronjob for now though
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: tdtool plugin
- Replies: 10
- Views: 8492
Re: tdtool plugin
Fanns inte så många inställningar vad jag vet? Gick tillbaka till tdtool1.0 och satt in sökvägen igen bara /usr/bin/ nu funkar toggle ikonen igen.
Vad skiljer 1.0 och 1.1 rent konkret?
Vad skiljer 1.0 och 1.1 rent konkret?
- Fri Mar 17, 2023 9:45 am
- Forum: HomeAutomation
- Topic: Script som inte riktigt funkar
- Replies: 5
- Views: 5009
Re: Script som inte riktigt funkar
Jag löste det genom att jag skapade en katalog och tar bort katalogen när scriptet körts klart, då kollar jag om jag kan skapa katalogen eller inte, kan jag inte göra det innebär det att katalogen redan finns och då körs inte scriptet. Satt en sleep på 5 sekunder innan katalogen tas bort också. Har ...