Search found 22 matches

by erijo
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Python + URL Params
Replies: 1
Views: 3719

Re: Python + URL Params

I have a very rough web interface that I hacked togheter last year. Attaching it here if you'd like to try it out. Install flask and then just run tdweb.py. There is no security at all, so don't run it on a public server.
by erijo
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Telldus Live för vissa brytare
Replies: 6
Views: 5305

Re: Telldus Live för vissa brytare

Detta lät som en trevlig feature, så jag hackade in det i mitt program tellive_core_connector. Detta program ansluter en TellStick/TellStick Duo till Telldus Live precis som TelldusCenter, men utan att man behöver ha ett grafiskt program körande. Det kan du också starta två instanser av för att ansl...
by erijo
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: TellStick + Python
Replies: 3
Views: 5952

Re: TellStick + Python

Sorry for not responding earlier.

You should be able to connect your Tellstick to Telldus Live as well. Either with TelldusCenter or my own software tellive_core_connector (see tellive-py link below).

Pip is probably eaiser, but with git you are sure to get the latest version.
by erijo
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Telldus Live för vissa brytare
Replies: 6
Views: 5305

Re: Telldus Live för vissa brytare

Jag laddade just upp en ny version, så nu är det bara att

Code: Select all

$ pip install tellive-py
$ tellive_core_connector ~/.config/tellive-user1.conf
$ tellive_core_connector ~/.config/tellive-user2.conf
by erijo
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Telldus Live för vissa brytare
Replies: 6
Views: 5305

Re: Telldus Live för vissa brytare

De fungerar nog parallellt. Däremot är det nog lite onödigt att ha TelldusCenter kopplat till Live samtidigt, även om det borde fungera.
by erijo
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Telldus Live för vissa brytare
Replies: 6
Views: 5305

Re: Telldus Live för vissa brytare

Du kan köra flera olika "locations" mot samma konto. Så om du lägger till stugan, hemma och morsan till ditt konto så kan du styra alla enheter från samma app. Sen kan du köra en till instans av tellive_core_connector för att ansluta morsa till hennes konto. Då kommer hon bara åt sina pryl...
by erijo
Fri Mar 17, 2023 9:45 am
Forum: TelLIVE Remote Lite
Topic: tellive_core_connector v0.4.1 - connect Tellstick to Live
Replies: 9
Views: 40608

tellive_core_connector v0.4.1 - connect Tellstick to Live

I've just released version 0.4.1 of my Python wrapper for Telldus live tellive-py and thought it was time to announce the program included there, namely tellive_core_connector. The purpose of this program is to connect your Telllstick or Tellstick Duo to Telldus Live, similar to TelldusCenter. The p...
by erijo
Fri Mar 17, 2023 9:45 am
Forum: TelLIVE Remote Lite
Topic: tellive_core_connector v0.4.1 - connect Tellstick to Live
Replies: 9
Views: 40608

Re: tellive_core_connector v0.4.1 - connect Tellstick to Live

tellive-py requires python 3. You probably need to use pip3 to install it. First uninstall it with

Code: Select all

pip uninstall tellive-py
and then install it with pip3.
by erijo
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Python wrapper tellcore-py v1.0.0 släppt
Replies: 6
Views: 6443

Re: Python wrapper tellcore-py v1.0.0 släppt

Använd cron (crontab -e) med tiden "@reboot" för att starta något vid start.
by erijo
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Python wrapper tellcore-py v1.0.0 släppt
Replies: 6
Views: 6443

Re: Python wrapper tellcore-py v1.0.0 släppt

Så här ser en del av min crontab ut: PYTHONPATH = /home/erik/source/tellive-py:/home/erik/source/tellcore-py PATH = /home/erik/source/tellcore-py/bin:/home/erik/source/tellive-py/bin:/usr/bin:/bin @reboot screen -dmS tdweb ~/source/tdweb/tdweb.py @reboot screen -dmS tellive python3 tellive_core_conn...
by erijo
Fri Mar 17, 2023 9:45 am
Forum: TelLIVE Remote Lite
Topic: tellive_core_connector v0.4.1 - connect Tellstick to Live
Replies: 9
Views: 40608

Re: tellive_core_connector v0.4.1 - connect Tellstick to Liv

linorgious wrote:Nice work:-)
I've installed the connector using pip. Being unfamiliar with Python and pip, can you tell me where the path to script files?
You can use pip to list all installed files:

Code: Select all

pip show -f tellive-py
by erijo
Fri Mar 17, 2023 9:45 am
Forum: TelLIVE Remote Lite
Topic: tellive_core_connector v0.4.1 - connect Tellstick to Live
Replies: 9
Views: 40608

Re: tellive_core_connector v0.4.1 - connect Tellstick to Liv

Yes, you need tellcore-py. Tellcore-py is a python wrapper around telldus core. Tellive-py uses tellcore-py to communicate with the tellstick. The easiest way is to use pip to install tellive-py (see above), but it can also be done manually. Assuming you have downloaded tellcore-py 1.1.0 and tellive...
by erijo
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: New web site tellmon.net
Replies: 43
Views: 46467

Re: New web site tellmon.net

Works now, thanks!
by erijo
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Python wrapper tellcore-py v1.0.0 släppt
Replies: 6
Views: 6443

Python wrapper tellcore-py v1.0.0 släppt

Har idag släppt version 1.0.0 av min Python wrapper runt Telldus Core: tellcore-py Syftet med denna wrapper är att tillhandahålla ett "hög-nivå"-gränssnitt runt Telldus C API: Har ett mer Python-aktigt gränssnitt med klasser istället för funktioner. Frigör automatisk minne för returnerade ...
by erijo
Fri Mar 17, 2023 9:45 am
Forum: TelLIVE Remote Lite
Topic: tellive_core_connector v0.4.1 - connect Tellstick to Live
Replies: 9
Views: 40608

Re: tellive_core_connector v0.4.1 - connect Tellstick to Live

Check the system logs under /var/log and see if you find any clue there.