Search found 27 matches

by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Automatisera med Cron och Bash
Replies: 8
Views: 10794

Automatisera med Cron och Bash

En av tankarna med att ha en datorkopplad sändare var i alla fall för mig att låta datorn slå av och på ljuset själv. Har testat lite olika varianter, för tillfället provar jag enklast möjliga variant. I Linuxsystem finns ju oftast Cron, så för att slå av alla lampor kör jag ett cron-jobb. MEN - som...
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Re: Error sending everflourish

Mhm? cat /etc/tellstick.conf ... device { id = 3 name = "Test" protocol = "everflourish" parameters { house = "10" unit = "1" } } patrik@debian-thin-client:~$ tdtool --on 3 Turning on device 3, Test - An error occurred while communicating with TellStick
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: rfcmd - Dags att forka?
Replies: 9
Views: 8443

Re: rfcmd - Dags att forka?

Verkar fungera på mitt Debiansystem. Det jag funderar på är varför patchen för Everflourish inte finns med?
http://ww.telldus.se/forum/viewtopic.php?f=15&t=599
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Re: Error sending everflourish

Still doesn't work. I added a Nexa self-learning device too: device { id = 16 name = "Outdoor Nexa" protocol = "arctech" model = "selflearning-switch" parameters { house = "100" unit = "1" } tdtool --on 1 Turning on device 1, Example device - Success...
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Re: Error sending everflourish

Are there any better version than 2.1.0? My self-learning devices doesn't work and I get no help here...
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Patch for rfcmd to support EVERFLOURISH devices
Replies: 2
Views: 7717

Re: Patch for rfcmd to support EVERFLOURISH devices

This patch gives the following arguments: PROTOCOL ARGUMENTS - EVERFLOURISH: DEVICE: 0..65535 LEVEL: 0=off, 10=learn, 15=on The Everflourish device I bought recently is a EMW200RA. It's not self learning, you set the code the same way as with old-school Nexa's, ie a knob with letters A-D and numbers...
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: TelldusCore .deb för armhf?
Replies: 34
Views: 31295

Re: TelldusCore .deb för armhf?

Provade att kompilera och installera direkt som jag brukar göra, kör senaste Raspbian Wheezy på min Pi: tar -zxvf telldus-core_2.1.1.orig.tar.gz cd telldus* cmake . make sudo make install ldconfig >tdtool Usage: tdtool [ options ] ... Verkade fungera bra. När jag försökte kompilera Tords Rfcmd krasc...
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: TelldusCore .deb för armhf?
Replies: 34
Views: 31295

Re: TelldusCore .deb för armhf?

Lyckades bättre med Rfcmd från Telldus Git:

Code: Select all

git clone http://git.telldus.com/telldus.git
cd telldus/rfcmd/
cmake .
make 

./rfcmd 
Usage: rfcmd DEVICE PROTOCOL [PROTOCOL_ARGUMENTS] 
...
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Uppgraderad version av tellstickd för Raspberry Pi
Replies: 0
Views: 8161

Uppgraderad version av tellstickd för Raspberry Pi

Jag håller på att testa en egen version av Perl-scriptet Tellstickd. Tanken är att köra det på en Raspberry Pi och styra Nexa-enheter via en RF-sändare kopplad till Raspberryns Gpio. Anledningen till att jag gör detta är att jag vill ha enkel hård- och mjukvara, med denna variant slipper man omvägen...
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Re: Error sending everflourish

Ahh ok, that must be it. I have a pre-production unit, serial number #7 :)
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: rfcmd - Dags att forka?
Replies: 9
Views: 8443

Re: rfcmd - Dags att forka?

tord: Kan inte svara på om Everflourish-patchen fungerar. Jag har bara förinställda mottagare, inte självlärande.
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Re: Error sending everflourish

But then I disagree. I can use the command rfcmd to learn the device. I plugged a Nexa self-learning in and run this command:

rfcmd /dev/ttyUSB0 NEXA P 1 1

The device then learned the code and can be controlled by rfcmd. I don't see how this could be done if my Tellstick has too old firmware?
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Re: Error sending everflourish

Hmm ok. I took a brand new Nexa self learning device and plugged it in. It started flash red. I run the above command. The device clicked and stopped flashing. After that I could use rfcmd to turn the device off and on several times. So it worked, even if its not supposed to :)
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Re: Error sending everflourish

Ok, just glad it works. Guess I'll have to move back to rfcmd/tellstickd/cron for automation now. Telldusd/Home Automation was nice otherwise, except that HA sometimes ignored events.
by PHermansson
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Error sending everflourish
Replies: 11
Views: 17630

Error sending everflourish

I'm using telldus-core-2.1.0 installed from source in a Debian system. My config: # cat /etc/tellstick.conf deviceNode = "/dev/ttyUSB0" user = "nobody" group = "plugdev" device { id = 1 name = "Example device" protocol = "arctech" model = "codes...