tdtool, tell if dimming is supported

Moderator: Telldus

Post Reply
eirikh
Posts: 25
Joined: Thu Jan 18, 2018 11:08 am

tdtool, tell if dimming is supported

Post by eirikh » Thu Jan 18, 2018 11:08 am

Hi there,

Is it currently possible to somehow ask tdtool if dimming is supported for a given device id? I can e.g. run "tdtool --dimlevel 0 --dim 1" to get the "The method you tried to use is not supported by the device" error message, but is it possible to get this without having to actually try to dim the device?

I'm developing a plug-in for Plex and would like to know if devices are dimmable or not before giving the user the option to dim.

The same goes for the --bell command :)

micke.prag
Site Admin
Posts: 2218
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Post by micke.prag » Thu Jan 18, 2018 11:08 am

We will look into implementing someway to query the device for information.
Is there anyway you can access the TelldusCore-framework instead of tdtool? If you do, you will access the full API documented here:
http://developer.telldus.se/doxygen/
Micke Prag
Software
Telldus Technologies

eirikh
Posts: 25
Joined: Thu Jan 18, 2018 11:08 am

Post by eirikh » Thu Jan 18, 2018 11:08 am

Yes, I have now loaded the TelldusCore library in Python using ctypes.

micke.prag
Site Admin
Posts: 2218
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Please let us know the progress of your plugin. I am using Plex myself. :)
Micke Prag
Software
Telldus Technologies

eirikh
Posts: 25
Joined: Thu Jan 18, 2018 11:08 am

Post by eirikh » Thu Jan 18, 2018 11:08 am

micke.prag wrote:Please let us know the progress of your plugin. I am using Plex myself. :)
It's working quite perfectly:
http://forums.plexapp.com/index.php?/to ... k-plug-in/
http://www.telldus.se/forum/viewtopic.php?t=497
Download: http://wiki.plexapp.com/index.php/TellSticker

micke.prag
Site Admin
Posts: 2218
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Is the plugin opensource? If it is, where can you find the sources?
Micke Prag
Software
Telldus Technologies

eirikh
Posts: 25
Joined: Thu Jan 18, 2018 11:08 am

Post by eirikh » Thu Jan 18, 2018 11:08 am

micke.prag wrote:Is the plugin opensource? If it is, where can you find the sources?
Latest source as of today. Use http://wiki.plexapp.com/index.php/TellSticker to get the latest in the future.

Lundmark
Posts: 44
Joined: Thu Jan 18, 2018 11:08 am

Post by Lundmark » Thu Jan 18, 2018 11:08 am

This is really good work. My only suggestion is that I would like to see a big, nice, Mac-esque light bulb instead of the current icon. 8)

Also, I can't get dimming to work. It just shuts off. But I think I already reported this in the Plex forum thread.

AgentBignose
Posts: 5
Joined: Thu Jan 18, 2018 11:08 am

Re: tdtool, tell if dimming is supported

Post by AgentBignose » Thu Jan 18, 2018 11:08 am

Is this still working?

I would realy love to use it.

My PMS is running under Windows and I have a Tellstick Duo.

Can I use it?

I installd it, but if I want to enter the Tellsticker Channel its saying "Channel is not responding"

Also what do I have to fill in in the settings Path, Im not sure wich is the right path I tried:

- "C:\Program Files (x86)\Telldus"
- "C:\Program Files (x86)\Telldus\Development\x86_64"
- "C:\Program Files (x86)\Telldus\Development"
- "C:\Program Files (x86)\Telldus\Plugins\script"
- "C:\Program Files (x86)\Telldus\Plugins\script\com\telldus\core" with js libs

Which file do I have to look for?

I cant access Wiki Page: http://wiki.plexapp.com/index.php/TellSticker

Thank you very much,

Stefan

eirikh
Posts: 25
Joined: Thu Jan 18, 2018 11:08 am

Re: tdtool, tell if dimming is supported

Post by eirikh » Thu Jan 18, 2018 11:08 am

AgentBignose wrote:Is this still working?
Unfortunately I don't use a Tellstick anymore and thus have abandoned the project.

AgentBignose
Posts: 5
Joined: Thu Jan 18, 2018 11:08 am

Re: tdtool, tell if dimming is supported

Post by AgentBignose » Thu Jan 18, 2018 11:08 am

Zoo Bad. Bad ob course very understandable.

THX for your reply!

Post Reply