![]() Ever since the Smartthings App redesign, I haven’t really messed around with SmartApps.I think I have gotten so used to things being on the Cloud these days and not really having to manually save things on Google’s Suite of services. Turns out you have to click the little Save Floppy icon in the code itself before you Deploy it as a Smartapp. This happened no matter what I did and I even tried a simple Hello World script, but go the same error message. When testing the new Webapp created on Google Sheets, I kept getting an error related to script function doGet.Here are the two main issues I ran into (due to being a noob and user-error): The Smartapp I used was by user krlaframboise called Simple Event Logger – SmartApp v 1.5. Now, this guide is considered advanced, but it is pretty straightforward if you are familiar with logging into the Smartthings IDE, adding a Smartapp through code, saving it, and then adding the new Smartapp in the App itself. This guide will show you how to automatically import this data into Google Sheets in addition to its normal functionality. However, if you want to look back or even keep a running total of this data, it wouldn’t make sense to do it by hand. It displays a simple graph in day or hourly increments. This is because the native smart energy metering for 3rd party smart devices isn’t very functional. But this is much more advantageous than using say, a Kill-A-Watt because it brings it to the year 2021 and imports data into Smartthings. If you have a smart energy plug with power metering, not only can it turn a device on or off through Smartthings, but also record energy consumption in Watts as well as usage in kWh. My home office and studio consumes a lot of energy such as studio lights, computers and servers to render videos, keeping the nights on at night, office printers, fans, etc. This guide is for logging specific electricity use of your office or business operations. Energy usage by your home business may be tax-deductible on your utility bill based on square footage or specific use (depending on your business type). And automatically is even better!Īn example use case is for tax purposes and business efficiency to save on costs. While the platform itself has a lot of functionality, it is always nice to be able to have this kind of rich data logged and imported into a spreadsheet instead of just using the App. – to Google Sheets.Īs I am a data and Excel nerd, this is awesome. Some of you may know about this already but I just discovered a way to automatically log data – anything that smartthings can generate such as switch on or off states, energy usage/power consumption, etc. CoRE was one of my favorites, but I never migrated to the Web version and didn’t have the time to learn the new coding system. One of the things I use heavily is the Smartthings IDE to add custom Smartapps and Device handlers. I have been a smartthings user for a while now and have seen it go through many changes, including the Samsung acquisition and Classic App sunset (RIP!) into the current version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |