Search found 34 matches

by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: Script som inte riktigt funkar
Replies: 5
Views: 5007

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...
by Urme
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Raspberry Pi & Tellstick
Replies: 12
Views: 10847

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.
by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: Script som inte riktigt funkar
Replies: 5
Views: 5007

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"...
by Urme
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: telldus duo homeautomation och termometrar
Replies: 1
Views: 10087

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.
by Urme
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick Duo+Doorbell+Script event
Replies: 1
Views: 11693

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...
by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: Boxcar push notifications plugin
Replies: 10
Views: 9247

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...
by Urme
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick Duo+Doorbell+Script event
Replies: 1
Views: 11693

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....
by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: Boxcar push notifications plugin
Replies: 10
Views: 9247

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!
by Urme
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.
by Urme
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Raspberry Pi & Tellstick
Replies: 12
Views: 10847

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
by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: Boxcar push notifications plugin
Replies: 10
Views: 9247

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...
by Urme
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Raspberry Pi & Tellstick
Replies: 12
Views: 10847

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...
by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: Parser / System event
Replies: 9
Views: 6608

Re: Parser / System event

Yepp!

I've manually created a cronjob for now though
by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: tdtool plugin
Replies: 10
Views: 8489

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?
by Urme
Fri Mar 17, 2023 9:45 am
Forum: HomeAutomation
Topic: Script som inte riktigt funkar
Replies: 5
Views: 5007

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 ...