PowerShell based cmdlets / Commands

Moderator: Telldus

Re: PowerShell based cmdlets / Commands

Postby c8h10n4o2 » Tue Aug 23, 2016 8:03 am

Masonit wrote: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 moving some stuff around (like this forum), which could be the cause of this.

I'll look into to it as soon as a can!
c8h10n4o2
 
Posts: 42
Joined: Sun May 05, 2013 4:24 pm

Re: PowerShell based cmdlets / Commands

Postby c8h10n4o2 » Tue Aug 23, 2016 8:41 am

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!
c8h10n4o2
 
Posts: 42
Joined: Sun May 05, 2013 4:24 pm

Re: PowerShell based cmdlets / Commands

Postby Masonit » Tue Aug 23, 2016 10:40 am

Works just fine again. Thanks for quick response! :clap:

\Masonit
Masonit
 
Posts: 69
Joined: Sat Sep 22, 2012 9:08 pm

Re: PowerShell based cmdlets / Commands

Postby c8h10n4o2 » Tue Aug 23, 2016 10:44 am

Awesome! :D

Thanks for reporting the issue!
c8h10n4o2
 
Posts: 42
Joined: Sun May 05, 2013 4:24 pm

Re: PowerShell based cmdlets / Commands

Postby c8h10n4o2 » Thu Oct 06, 2016 3:17 pm

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 any time by running "Update-Module Telldus" in a PowerShell prompt.
  • You can now save your credentials really simply by executing: Connect-TelldusLive -SaveCredential. After you've done this once, you can reuse those by running "Connect-TelldusLive -UseSavedCredential". The credentials are saved encrypted using your logon session (in windows).
  • Bell support for Set-TDDevice
  • If you specify a date/time when fetching sensor history, the cmdlet wont change it to UTC automtically.


Link to PowerShell Gallery:
https://www.powershellgallery.com/packages/Telldus
c8h10n4o2
 
Posts: 42
Joined: Sun May 05, 2013 4:24 pm

Re: PowerShell based cmdlets / Commands

Postby Masonit » Tue Nov 01, 2016 9:07 pm

Thanks for keeping it up to date. :) Are you planning to support local api?

https://developer.telldus.com/blog/2016 ... ublic-beta

\Masonit
Masonit
 
Posts: 69
Joined: Sat Sep 22, 2012 9:08 pm

Re: PowerShell based cmdlets / Commands

Postby c8h10n4o2 » Fri Nov 11, 2016 7:42 pm

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... :)
c8h10n4o2
 
Posts: 42
Joined: Sun May 05, 2013 4:24 pm

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest