Page 1 of 1

tdtool, tell if dimming is supported

Posted: Fri Mar 17, 2023 9:45 am
by eirikh
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 :)

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
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/

Posted: Fri Mar 17, 2023 9:45 am
by eirikh
Yes, I have now loaded the TelldusCore library in Python using ctypes.

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
Please let us know the progress of your plugin. I am using Plex myself. :)

Posted: Fri Mar 17, 2023 9:45 am
by eirikh
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

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
Is the plugin opensource? If it is, where can you find the sources?

Posted: Fri Mar 17, 2023 9:45 am
by eirikh
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.

Posted: Fri Mar 17, 2023 9:45 am
by Lundmark
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.

Re: tdtool, tell if dimming is supported

Posted: Fri Mar 17, 2023 9:45 am
by AgentBignose
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

Re: tdtool, tell if dimming is supported

Posted: Fri Mar 17, 2023 9:45 am
by eirikh
AgentBignose wrote:Is this still working?
Unfortunately I don't use a Tellstick anymore and thus have abandoned the project.

Re: tdtool, tell if dimming is supported

Posted: Fri Mar 17, 2023 9:45 am
by AgentBignose
Zoo Bad. Bad ob course very understandable.

THX for your reply!