Search found 86 matches

by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: Windows
Topic: Windows powershell (CLI) and Tellstick Net
Replies: 0
Views: 11440

Windows powershell (CLI) and Tellstick Net

Just thought I could add a few examples on how to use the powershell cmdlets I wrote to controll Tellstick Net since there seems to be quite hard to do this from windows cli currently. First example shows some simple temperature logging: Import-Module C:\Scripts\Telldus\Module\TelldusModule.psm1 $Us...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Sorry for a late reply! I'd love to support that. I guess I just have to upgrade to a znet first :)

Will try to look into it... :)
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

The cmdlet for the sensorhistory data is collecting the complete history available on the telldusserver each time. This results in a lot of duplicate sensordata when the cmdlet is uses to poll the telldus server on a regular basis. Of course it is no problem handling/filtering out duplicate sensord...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Sure, that looks very straight forward. I haven't had use for that so far, no other reason why it hasn't been created :-)

I'll put it on the ToDo-list!
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: HTTPS på Telldus Live
Replies: 3
Views: 2399

Re: HTTPS på Telldus Live

+1

Också väntat på https länge...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Thanks. Works fine appearanty :P Btw: maybe the example in the code should reflect that the cmdlet uses UTC times (since the timedata from Telldus live is in UTC, and getdate() returns local time by default) Glad it works! :) Hmm... I think I see your point. The way it works now will make sure the ...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Just wanted to get back and say that I finally got some time to look at this... I created a powershell script that does what I want now, it needs to be turned into proper cmdlets/modules, create output that is usable for piping and so on. But the basic functionality works now! The syntax right now i...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Done! :) I got some testing to do (I've done plenty already...), and probably some naming corrections to make the scripts consistant. But at least the functionality is there... Dump of the Telldus powershell module in action: (my account info is added to the $username and $password variables, sorry ...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: Windows
Topic: TellStick.NET from C#.
Replies: 9
Views: 16376

Re: TellStick.NET from C#.

Not really the same thing... but I'm trying to control my device with powershell. I've started on a module: http://www.telldus.com/forum/viewtopic.php?f=22&t=3367 I need to verify a few things (it's using the invoke-webrequest cmdlet, I want an OK from Telldus to see if it's OK to consume telldu...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

So, the code needs some cleaning up, and it would be great to implement OAuth instead of using the website, but here it is: http://pastebin.com/pTvs44ZF Save as "Telldus.psm1" (for example...), open powershell and write "Import-Module .\Telldus.psm1" (you need to specify the path...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Hi Since yesterday I get a certificate warning when running get-tdsensor. Never seen this before. Certificate is issued to *.ballou.se. Anyone else with the same problem? My powershell scripts isen't working correctly because of this. \Masonit Hmm... I'm getting the same error. It seems Telldus is ...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Updated version available!

Get it at:
https://github.com/AWahlqvist/powershel ... lldus.psm1


@Masonit: Could you verify if this version works for you? Thanks in advance!
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Just wanted to give you a small update. I've updated the module to include some changes: It's available at the PowerShell Gallery. If you run Windows 10 (or PowerShell 5) this means you can install it by simply running "Install-Module Telldus". You can also update to the latest version at ...
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

Awesome! :D

Thanks for reporting the issue!
by c8h10n4o2
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 147576

Re: PowerShell based cmdlets / Commands

I know. I''m collecting devicehistory via that cmdlet on a regular basis. I also do poll the sensors via TD-GetSensor every 15 minutes or so, and that way collecting/storing my own sensorhistory locally via a simple Delphi-application that I've hacked together...But it would be nice to get this his...