Code by Scott שאול בן ישוע
Verified Commit 22887244 authored by Sha'ul ben Yeshua's avatar Sha'ul ben Yeshua 🎗
Browse files

new location links created

parent 367fd813
/*
* Hubitat Import URL: https://raw.githubusercontent.com/sgrayban/ABC-Button/master/apps/Inovelli-Scene-Creator/Inovelli-Scene-Creator-Child.groovy
* Hubitat Import URL: http://sgrayban.borgnet.online:8081/inovelli-scene-creator/apps/Inovelli-Scene-Creator/Inovelli-Scene-Creator-Child.groovy
*
* Inovelli Scene Creator Child
*
......@@ -22,9 +22,9 @@ definition(
description: "Create Scenes for your Inovelli Devices",
category: "My Apps",
parent: "Inovelli:Inovelli Scene Creator",
iconUrl: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png",
iconX2Url: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png",
iconX3Url: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png",
iconUrl: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png",
iconX2Url: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png",
iconX3Url: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png",
)
preferences {
......@@ -42,7 +42,7 @@ def chooseButton() {
state.details=getPrefDetails()
dynamicPage(name: "chooseButton", install: true, uninstall: true) {
section(){
def appHead = "<img src=https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png> \n${checkForUpdate()}"
def appHead = "<img src=http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png> \n${checkForUpdate()}"
paragraph "<div style='text-align:center'>${appHead}</div>"
}
section(getFormat("header", "${getImage("Device", "45")}"+" Step 1: Select Your Inovelli Device")) {
......@@ -133,7 +133,7 @@ def getButtonSections(buttonNumber) {
}
def getImage(type, mySize) {
def loc = "<img src=https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/"
def loc = "<img src=http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/"
if(type == "Device") return "${loc}Device.png height=${mySize} width=${mySize}> "
if(type == "Button") return "${loc}Button.png height=${mySize} width=${mySize}> "
if(type == "Switches") return "${loc}Switches.png height=${mySize} width=${mySize}> "
......@@ -328,7 +328,7 @@ def getPrefDetails(){
}
def checkForUpdate(){
def params = [uri: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/apps/Inovelli-Scene-Creator/child.json",
def params = [uri: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/apps/Inovelli-Scene-Creator/child.json",
contentType: "application/json"]
try {
httpGet(params) { response ->
......
/*
* Hubitat Import URL: https://raw.githubusercontent.com/sgrayban/ABC-Button/master/apps/Inovelli-Scene-Creator/Inovelli-Scene-Creator.groovy
* Hubitat Import URL: http://sgrayban.borgnet.online:8081/inovelli-scene-creator/apps/Inovelli-Scene-Creator/Inovelli-Scene-Creator.groovy
*
* Inovelli Scene Creator (Parent/Child Version)
*
......@@ -17,9 +17,9 @@ definition(
author: "Scott Grayban",
description: "Configure scenes for your Inovelli button devices.",
category: "My Apps",
iconUrl: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png",
iconX2Url: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png",
iconX3Url: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png",
iconUrl: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png",
iconX2Url: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png",
iconX3Url: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png",
)
preferences {
......@@ -40,11 +40,11 @@ def mainPage() {
childVer = childApps.first().version()
}
section(){
def appHead = "<img src=https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/Inovelli-Scene-App.png> \n${checkForUpdate()}"
def appHead = "<img src=http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png> \n${checkForUpdate()}"
paragraph "<div style='text-align:center'>${appHead}</div>"
}
section("Create a new Inovelli Scene.") {
app(name: "childApps", appName: "Inovelli Scene Creator Child", namespace: "Inovelli", title: "<img src=https://raw.githubusercontent.com/sgrayban/ABC-Button/master/resources/images/New.png height=50 width=50> New Inovelli Scene", multiple: true)
app(name: "childApps", appName: "Inovelli Scene Creator Child", namespace: "Inovelli", title: "<img src=http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/New.png height=50 width=50> New Inovelli Scene", multiple: true)
}
section("") {
href (name: "aboutPage", title: "User's Guide",
......@@ -70,7 +70,7 @@ def initialize() {
}
def checkForUpdate(){
def params = [uri: "https://raw.githubusercontent.com/sgrayban/ABC-Button/master/apps/Inovelli-Scene-Creator/parent.json",
def params = [uri: "http://sgrayban.borgnet.online:8081/inovelli-scene-creator/apps/Inovelli-Scene-Creator/parent.json",
contentType: "application/json"]
try {
httpGet(params) { response ->
......@@ -99,7 +99,7 @@ def aboutPage() {
private def textHelp() {
def text =
section("<img src=https://raw.githubusercontent.com/sgrayban/ABC-Button/master/apps/Inovelli-Scene-Creator/resources/Inovelli-Scene-App.png> User's Guide - Inovelli's Scene Creator") {
section("<img src=http://sgrayban.borgnet.online:8081/inovelli-scene-creator/resources/images/Inovelli-Scene-App.png> User's Guide - Inovelli's Scene Creator") {
paragraph "This smartapp allows you to use a device with buttons\n\n"+
"It is a heavily modified version of @dalec's 'Button Controller Plus' which is in turn"+
" a version of @stephack 'ABC Button Controller'."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment