Very cool update!
Since you introduced device control I often thought how tedious the Maker API entry was....and you solved that!
One issue is the bit.ly integration does not work -- when you activate the toggle only the maker api links are presented with no entry for a new url. Unless im missing something?
@alan564923 - just did some testing and it seems to be working on my end. I did make a few changes a few days ago though so it looks like it's a good time to put out a new version.
Please update both parent and child and let me know how it goes.
New version on GitHub...
Parent:
V2.1.3 - 03/15/20 - Added option field - cloudToken
Child:
V2.3.6 - 03/22/20 - Changed custom number color wording. Fixed device value not showing after selecting attribute. Added selection for IP or Cloud for device control
Stupid, me, I should have stated I updated all code before entering the issue.
Parent is: 2.1.3 (now)
Chile is: 2.3.6 (now)
Driver is: 2.0.3
Funny, I had updated earlier today (at least I thought I did.
But, alas, same thing is happening. I then created a whole new child app. Alas, same thing. This time I changed the colors so all three values are the same. They tile is getting the color under >=.
(from the dashboard, not sample). Blue is the color under >=, between is red and <= is green.
Oh, the variable is a "Local" variable defined in the rule rather than a "Global" variable. I don't know if that makes a difference.
If this doesn't work, please give me a quick walk through on making a variable in RM. I don't use RM much at all and have never done it. That way I can have a better way to test what you are seeing.
Another question. Does anybody know the color of the standard Grey background for a Dashboard tile? It looks like "Grey", but when I use "Grey" for the text color, it's not a match. I've tried all the grey values available. I've matched it manual with RGB values, but if I enter those in the color field, I get an error.
I'm using the format 128,128,128. Can this be done? If so, what is the correct format? Now that I'm thinking about it, you are using straight HTML code here correct? So I should be using #808080 format right? Would this work?
I love explaining a problem to someone. I usually find the answer in the middle of the explanation and person I'm explaining to is puzzled why I just said "THAT'S IT" in the middle of the explanation. (Yes I'm an old programmer.) C is first letter of a good language, COBOL!
COBOL ... my first real job was working in a computer lab at MIT (1987 - 90). At that point it was still COBOL, punch cards, paper tape, mag reels and people waaaay smarter than me!
No paper type for me. I got a job maintaining the COBOL compiler (it was written in PL/1) for the University of Maryland. I moved from Punch Cards to a DecWriter 1200. Fast! . Mag Tape. We had a Univac 1106 and a 1108. I managed to NEVER learn or use an IBM.
I was wondering whether it would be easy enough to include the ability to turn on and off the generation of a tile in this app? The kind of thing I am targeting is setting up various media control tiles (or for other purposes as well) that are only rendered on my dashboard when content through my harmony hub is active.
My thoughts were if I could setup a rule to detect harmony activity and call a command or adjust a setting within tile master to trigger the existing process for generating tile html. So I would configure a tile as per usual, but the html generated would first look at a flag to say whether to output any tile contents, etc. Hope this makes sense...
I'll have a look around in the code myself to see what may be possible.
Simon
I may have solved my own question. Depending on how you setup your tile master tile (I'm guessing it is tied to any updates for related devices) you can setup a rule to send a custom "sendTile011" command with an empty string based on whatever conditions are required when you want to hide the A/V tile. For me that was a change in the harmony hub where no activity was active. This also required CSS which I am already familiar with to hide various titles and backgrounds. This would also require no code change. Including a device that changes state on a regular basis would cause this approach to fail.
There's certainly some promise there in terms of reducing the need for code changes in TM, but ultimately I think changes in TM would make a big difference in how easy this would be to implement. I'll provide some more details once I get some sleep.
Having a custom action defined in TM to toggle on/off the display of a tile would be great. Nominating the rules inside TM to trigger this action would be awesome, but ultimately the ability to trigger this new custom action from RM would be enough for my usage.
with the icons we have add / delete
can you add an option to edit?
i am currently using off-site links to icons, but spun up an Apache docker to host locally -- would like to just change links instead of having to delete all and re-do