Right, I meant that the other devices (Vthermo, group and probably others) do not see the HA sensor capability.
With too long, I assumed that these other devices seem to look for just measure_temperature so they cannot pick up the sensor value
Right, I meant that the other devices (Vthermo, group and probably others) do not see the HA sensor capability.
With too long, I assumed that these other devices seem to look for just measure_temperature so they cannot pick up the sensor value
@Rrrr
Yes, thiks could be a reason.
So your device (HA app) is showing all data of your entities, right?
Then it seems the other apps are only using capabilities (measure_temperature) and not subcapabilities (measure_temperature.xxx).
As default, manually added entities are added as subcapability with entity id as suffix to keep then unique if you add more than one temperature entity.
If you need a main capability, you can check this option while adding or just select a capability from the list. Changes for added capabilities are not possible afterwards.
This needed for example for power entities to show up in Homey energy overview.
Tested some with Vthermo, but not shure what Vthermo f.i. considers as âother devicesâ:
Iâve tried several things, HA device with measure_temperature as main capability, even with an Adv.virtual device, with class=sensor and class=thermostat, but Vthermo does not respond.
When I move a real Aqara temp sensor into the zone, Vthermo picks the temp up right awayâŚ
Maybe asking the devs of Vthermo and Group whatâs the criteria for a device with a measure_temperature capability to be valid.
I see similar things.
Group works perfect: it catches the temperature of the Hue sensor now as main capability.
However, the Vthermo does pick up the temperature of the Hue sensor, but not the right value. Sensor is 25.8C and the Vthermo sees it as 26.20C in the same zone if the sensor is the only temperature sensor.
When I add the Temperature Sensor Group showing 25.8C to the same zone as the sensor and the Vthermo, then the Vthermo jumps to 25.8C
Perhaps @balmli or @Jamie know better how this works
I think âOther devicesâ is when for example a device from advanced device capabilities (AVD) is being used: it is by default defined as âother deviceâ and could have a termperature capability. I left it our of the comparison for simplicity.
@basvanderploeg
I found the reason that the media cover is not shown.
Athom only allows https URLs for media source. If the HA server uses http instead (in app settings), the URL is rejected. If you arre using https, it should work.
I tested with a local access (http via IP) and real domain (DynDNS on Domain name with https and reverse proxy to forward to http internally).
With https URL I get an image.
I canât do anything as Athom/Homey/SDK only supports https
So someone is lucky when https images are available?
I wonder why the media player @basvanderploeg uses creates no https internet link, but mine doesâŚ
f.i. https://i.scdn.co/image/ab67616d0000b2738e878249892f5f5de81dd706
I guess itâs like you said alr, Ronny, each integraton has itâs own ârulesâ so to speak
I think mine doesnât show the url because the HomePod (Apple TV integration) source is serving the image as bytes, in stead of an online file, like your Spotify example.
@Peter_Kawa @basvanderploeg
I have another integration (chromecast) that has a local and a global URL.
Iâll check if I can download the image and update the device image from this bytestream if itâs a http url.
I just added a climate device (AC) to Homey via this app.
Two questions arise:
I can select some options in the list as heat or heat and cool. but this has no function. is it possible to âhideâ those options?
I can see you can only set static or swing via a flow call. Isnât this possible to add to the device card?
When no, does someone have an idea how to implement this in a simple wat to change the static or swing state?
Thanks!
Yes, you can:
An alternative might be to âbuildâ the AC device yourself, by adding a âCustom deviceâ. Then you can add anything youâd like, and leave out what you donât need
In this case you donât get the basic AC features (buttons, flow actions), only sensors, buttons or switches and you have to call every servive via flow by yourself.
So better start with the AV device and add additional sensors/buttons via repair view.
Short answer: Itâs not possible due to static mode elements in Homey (SDK).
Longer version:
To switch modes from the device view, I would suggest to use Peters suggestion:
Thanks you both!
I managed to add one button, but when I try to add a second button I get an error:
EDIT: Nvm. I needed to use a sub button, so button.airflow
YW!
Edit: Ah I see you alr figured it out
While you already used button
, you probably need to give the âCapabilityâ field a unique name, like, button.fan_auto
.
@timvdhoorn
just a suggestionâŚ
While adding an entity you donât need to change the preset capability name. Thatâs only needed for special purposes, e.g. if you really a main capability to recognize this capability by other apps (Homey energy) or if the entity has no device type and you want to add a measure_temperature instead of measure_numeric.
In this case itâs easier to activate the âmain capabilityâ checkbox.
HowTo: Use capabilities in converter routines
While tinkering with my PV inverter data I want to give you an example how to calculate values using other capabilities in the calculation.
I have a device with 4 sensors (voltage 1+2 and current 1+2).
In addition I want to get the power in Watt as capability without the need of other virtual devices or flows.
I just add the voltage sensor again. This way the capability gets updates every time the voltage changes.
Then I add a converter where I read the current capability in addition.
(value) => { return Number(value) * this.getCapabilityValue('measure_current.sensor.fronius_pv_current_dc_2') }
value
is the value of the added sensor. this.getCapabilityValue( )
is reading the other capability.
If you donât know the capability name, you can easily copy the name in change entity view.
Itâs also possible to use capabilities from other devices (from this app, here from the same device type/driver).
Get the device ID from https://tools.developer.homey.app/tools/devices and use this code with your device ID and capability name:
(value) => {
return Number(value) *
this.driver.getDevice({id:'eadcef79-fa5f-4cc0-8320-7dc56b97aa5f'}).getCapabilityValue('measure_current.sensor.fronius_pv_current_dc')
}
If I add an AND card for a temperature sensor that has multiple numeric values (temp, humidity, pressure) I can only select numeric or textual. How can I use the value of temperature in my AND card?
Hi, there are only conditions for the main capabilities - the capability added for the device on pairing.
Further capabilities addey manually or in settibäng donât provide condition cards yet.
But you can use standard logic cards and the global tags listed for the device.
I havenât checked in detail but these capabilities should provide tags, too.
@RonnyW thanks for the app ! Iâve tried to use the call service functionality to play sound on a HomePod. It is working however, it is showing up an timeout error after executing. Is this a bug or am I doing something wrong ?