nothans / thingspeak-powershell-examples

Send data to ThingSpeak from a Windows PowerShell Script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThingSpeak-PowerShell

Send data to ThingSpeak from a Windows PowerShell Script

Getting Started with ThingSpeak

ThingSpeak is an open source Internet of Things application and API to store and retrieve data from anything using HTTP over the Internet or via a Local Area Network.

Sign Up for ThingSpeak

  • Sign Up for New User Account - https://thingspeak.com/login
  • Create a new Channel by selecting Channels, My Channels, and then New Channel
  • Copy and save the ThingSpeak Write API Key and enter it into the PowerShell Script

freespace.ps1

When this script executes, freespace.ps1 will report the free space of the disk drive to a ThingSpeak Channel.

Script Notes:

  • Place the freespace.ps1 Windows PowerShell script on your desktop computer / server
  • Make sure you set the correct drive letter, such as "C:" or "D:"
  • Make sure to enter your ThingSpeak Wite API Key for your Channel

Resources

The following links were helpful in creating and implementing my PowerShell scripts:

About

Send data to ThingSpeak from a Windows PowerShell Script

License:BSD 2-Clause "Simplified" License


Languages

Language:PowerShell 100.0%