Any luck to request an attribute on the sensor device that says “amount” or something? I want to have a virtual device to display a cost since midnight, e.g. 5 without any unit sign on the icon, or even better to be able to choose currency from a lot of countries
I can sent a HTTP post to change the selection, that’s not the issue. The problem is, I would like to have a virtual device with 4 options where just one can be selected. Does anybody has an idea how I can solve this with homey?
You can solve this in a couple of ways directly right now (Buttons that you enable disable etc).
But the most neat way would be to use a “picker”:
I can create a custom list for you in the DC App:
What i would need from you is a filled JSON with all it’s values, in NL, EN en DU, like this:
{
"title": {
"en": "Schedule, Until, Manual, Off Until, Off"
},
"values": [
{
"id": "smartschedule",
"title": {
"en": "Follow Smart Schedule",
"nl": "Volg slim schema",
"de": "Dem intelligenten Zeitplan folgen"
}
},
{
"id": "untilnextblock",
"title": {
"en": "Until next time block",
"nl": "Tot aan volgend tijdsblok",
"de": "Bis zum nächsten Zeitblock"
}
},
{
"id": "manual",
"title": {
"en": "Manual",
"nl": "Handmatig",
"de": "Manuell"
}
},
{
"id": "offuntilnextblock",
"title": {
"en": "Off until next time block",
"nl": "Uit tot aan volgend tijdsblok",
"de": "Aus bis zum nächsten Zeitblock"
}
},
{
"id": "off",
"title": {
"en": "Off",
"nl": "Uit",
"de": "Aus"
}
}
],
}
If you send that to me, with the values etc. that you need, you will be able to select this list as a picker in a Advanced Virtual Device like the picture below.
Please note, the best way is if you give me also the ID’s for each values, the way the values really are (the ones you recieve through the Request). That way, setting them through a flow or using the value (when set through the Homey App) is much easier, you will not need to convert any values.
I am not sure if this is a thing that can be done, but I’ll ask it anyway.
We have an old not so smart sauna, but I do want to make it a bit smart. I installed a temperature sensor in it.
So, I have a flow that give me a push when the sauna temperature is a certain degrees higher than the room temperature, to see if it’s on or off.
I also have a push when the sauna reaches its temperature to use it.
For a better overview I would like to have a virtual device that I can turn on and off through that flow I mentioned. And I would like it to show the temperature as indicator on the tile.
I’ve played with it, yes. But I wasn’t able to show something on the tile of the device. I’ve tried it first with our cat. The cat door registers if he’s outside or inside. But to display that text (plus an added number (of times he went outside)) is quite difficult…
For the sauna it would almost be the same: with a temperature check the tile should be switched on or off and it has to display the temperature of the sensor.
On both I get a status page with that information, but I cannot display it on the tile as a status.
I am not sure what you mean by that?
Please take a look at this (importable) AVD Example:
It describes how you can set the Status Indicator of a device.
Please note to select the indicator through the Homey Mobile App → Device → Settings – Status Indicator.
Sorry for the choice of words. Being Dutch, typing in English with a Dutch Homey setup mixes things around!
But I see what I did wrong: I didn’t select the status indicator! Got it now.
I think there can be some improvement in the manual/instructions. I am not doing really well on examples, but just knowledge. Then I can make it my own. I’d really like to help with it if you want, I can imagine that this is a powerful app.
One question for now: how do I know what images are the pictograms? It just says device 1, device 2, …
Agreed, already have been working hard on the AVD creation screen to (first) imrpove that.
But you’re always welcome to offer idea’s on which texts should be placed where.
Goto the App Settings → Custom icons:
In English, the marked text says:
Double click on a name to give it a description, that will be visible when selecting icons.
If I may interfere
I think the confusion was because you did not mention you were talking about the mobile app tiles.
Because in that case, you indeed have to select the status indicator yourself afterwards, most of the time. Otherwise it stays blank. As you’ve discovered now
So the first schreenshots set status without trigger and the second screenshot starts a flow when the status is turned ON, that last flow should not run when the first one is executed but it does.
All the flows with simular flow cards are started when the option is used to set without trigger.
For the second screenshot, you will need another trigger/when card.
The Turned On/Off card is a default Homey card which i cannot control.
There is however another (custom) when card, which is onky triggered when wanted.
Maybe I was blind in the app or too lazy te read it all here But what I miss as Virtual Device is an electricity Meter (single & double meter/measurements), a gas meter in (cubik meters (=m³) a water meter(in liters or cubikmeters(=m³) (or gallons for Non-EU etc.)) and a distance HouseWarming(=stadsverwarming) (in GJ).
I was trying to measure my daily/weekly and monthly usage of electricity, Housewarming & Water and to save (and show) it in the home app/webinterface by the daily/weekly & mothly VD electricity/housewarming & water meter.
But could find for some of them the appropriate VD Device with its right measurement Unit (Kwh/GJ/l(=liters/cubik meters(=m³).