![]() ![]() %OHPORT - set this to 443, the default port for HTTPS.%OHSERVER - set this to where is the email address you use to log into my. and is your password for my.Add two Variable Set tasks, one named %OHSERVER and the other named %OHPORT. #Taskr openhab how to#I’ve not figured out how to create a variable in Tasker except though executing a task (if anyone knows how please respond with how and I’ll update up here).Ĭreate your task, I called mine Garage Direct as this switch controls my garage door opener. This is a good opportunity to create different versions of these URLs if you plan on having Tasker use a different URL when on your LAN (i.e. We will use these to construct the URL that will be used to trigger the Switch. To start we want to create some global variables, one for the URL and the other for the port. NOTE, Tasker does not encrypt this data, use at your own risk. Unfortunately you must store your username and password within Tasker.As a result, many steps and explanations will be skipped. It assumes you have a working knowledge of Tasker. #Taskr openhab full#It assumes you have a Switch Item that works the way you want it to.įinally, this is not a full Tasker tutorial. Sorry Apple folks, Tasker is not available for your platform. It also assumes you have Tasker installed on your Android phone. ![]() This tutorial assumes you have a working openHAB 2 instance with the my.openhab binding installed and working. The rest of the steps add checks in place so you can confirm the action and deal with working with different URLs (e.g. Only the Create Triggering Task and choosing come action to trigger this task are truly required. ![]() The setup described below is a little more involved than the bare minimum required. This should be enough to get anyone who is looking to do it some other way or send other commands to get started.įor details about the REST API, see the REST API docs that come with and/or is available for installation on openHAB 2. These instructions will tell you how to send an ON command to a Switch Item using my.openhab to access your installation. This tutorial is for those who are migrating to OH 2 or trying to get OH 2 to work for the first time with Tasker. As many know, the REST API has changed significantly between openHAB 1 and openHAB 2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |