Search found 45 matches

by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Does not work (as I expect at least) The output from Get-TDSensorHistoryData is different from a rainsensor and a temperature/humdity-sensor, which cause problems when exporting both types of output to the same CSV-file (with -Append-switch). To get this to work I'll have to export rainsensor-histor...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Yes, I do agree. From a neutral point of view the best approach would be to take care of various sensortypes dynamically. I myself will probably test also a windsensor in the near future :) The problem (my problem at least) is mostly related to how I want the the exporting to CSV to work and how I w...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Almost there :)

Works fine when getting the complete history from all sensors, but when using switches -Deviceid and -After is does not work?
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

btw: can confirm that the -IncludeIgnored switch works in 1.1.5
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Ah, OK. Seems they have no plans to fix it? Oh well, at least it's fixable by them manually then. Thanks for reporting back! From Telldus support: "Hopefully our developers can solve this later in the fall when everyone is back from vacation again. Please note that this bug only occurs for Tel...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Select-Object : The property cannot be processed because the property "Raintotal" already exists.
At AutomaTD.psm1:317 char:20

But resulting csv looks okay..
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Also good to know regarding this issue: The collecting/maintaining of historydata even for ignored sensors still is working as usual (if the 'Save historydata' is checked). :D So the "Get-TDSensorHistoryData"-function WILL still get the all historydata for both ignored and not ignored sens...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

A completely different question: Does anyone know why each sensor has its own 'SensorID' in addition to already having its own unique 'DeviceID'. What is it (or can it be) used for? :?:
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Both works fine now :)
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Having a problem with renaming a telldus device to a name containing country-spesific charachters (in my case norwegian). Works manually via normal web-input on Telldus Live site, but not when using Rename-TDDevice. I think this used to work just fine on older versions. Or maybe Telldus-site/api has...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Soooo...what about getting sensordata other than temperature and humidity? Is it possible and will you fix it? You see I got this raincollector-thing from Oregon. It is detected just fine on telldus-web interface and it shows values for both current measurement and an average of rain per hours. Both...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Yes I do indeed :) Data : {@{name=rrate; value=875; scale=0; lastUpdated=1543483566; max=875; maxTime=1543482344}, @{name=rtot; value=19.7; scale=0; lastUpdated=1543483566}} or, name : rrate value : 875 scale : 0 lastUpdated : 1543483566 max : 875 maxTime : 1543482344 name : rtot value : 19.7 scale ...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Well, I can probably pick up the values somehow, but the best would have this intergrated nicely in AutomaTD ? I use it like this: $SensorData=Get-TDSensor | Get-TDSensorData $SensorData | Export-Csv "Sensors.csv" -Encoding utf8 One sensors on each line in sensors.csv. It would have been n...
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

That seems to work...
Quick workaround for the Get-TDSensorHistoryData also ?
by ArneG
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: PowerShell based cmdlets / Commands
Replies: 123
Views: 144373

Re: PowerShell based cmdlets / Commands

Same problem with Set-TDSensor and -NewName-switch....