This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Official

[APP] Virtual Devices for Homey

124

Comments

  • Hi,
    The Target Temperature is set in a Tag. In a flow, you can use it in any other device or app that supports setting values, incl better logic.
  • No I want to set the target temp with a tag of better logic. It is just to show a special value in the homey app without do any action. I am reading a pH sensor value with arduino and get it to better logic. Now I want to assign this value to a device.
  • Unfortunately the only way to transfer values between apps and devices is via a flow.

    You can also set the target temperature with a flow, via the 'Set the temperature' action-card. Just drag the tag from better-logic over the temperature-control and it's value will be used to set the temperature.

    Alternatively, you could also use the 'measure_temperature', but that is currently only available in the Beta-release. See https://arjankranenburg.github.io/virtual-devices/sensor for more information.
  • Question;

    I'm using the Home Status multi mode, (home/away/sleep/vacation). And I want to have a flow that when I return from vacation X-Y-Z happen. 

    So I need a flow that triggers when status changes from VACATION to HOME. But I don't have any 'previous value' available in my flow. Could you make a tag on the trigger card that returns the previous value?
  • Pietje5Pietje5 Member
    edited March 2018
    Virtual tv channels :)


  • Pietje5 said:
    Virtual tv channels :)


    where? how? who?
  • Pietje5Pietje5 Member
    edited March 2018
    viktor said:
    where? how? who?
    Addet the icons in the Assets area form the Multimode and addet them also in the driver.js of the multi-mode. Maybe  Arjan can ad a multi-switch just for TV Channels? 
  • mbnnmbnn Member
    So can anyone help me with something?

    I have my Alarm system (Satel Integra) connected to Domoticz (since there is no Homey app).
    It works in Domoticz. However, now I want to be able to switch the Alarm on and off (calling switch: domoticzip:8084/json.htm?type=command&param=switchlight&idx=61&switchcmd=On and domoticzip:8084/json.htm?type=command&param=switchlight&idx=61&switchcmd=Off) for example from Homey. How Can i do this?

    Next to that I would also like to be able to let Homey pick up if the alarm is on or off (which is a sensor in Domoticz). Does anyone have any idea how i can run those commands from Domoticz in Homey?
  • mbnn said:
    So can anyone help me with something?

    I have my Alarm system (Satel Integra) connected to Domoticz (since there is no Homey app).
    It works in Domoticz. However, now I want to be able to switch the Alarm on and off (calling switch: domoticzip:8084/json.htm?type=command&param=switchlight&idx=61&switchcmd=On and domoticzip:8084/json.htm?type=command&param=switchlight&idx=61&switchcmd=Off) for example from Homey. How Can i do this?

    Next to that I would also like to be able to let Homey pick up if the alarm is on or off (which is a sensor in Domoticz). Does anyone have any idea how i can run those commands from Domoticz in Homey?
    Take a look at the HTTP app 
  • Great app for sure. I am using a virtual audio device to control my Bose Soundtouch. I fail to understand how the action card "zet geluid harder (increase volume) works. Also the question of what the Tags do (Set volume, Volume  mute, volume up and down) are used for. The slider for the volume is working well (except that it is not supported in Homekit;-(. I need the other functionality use my NEEO remote which is fantastically integrated with Homey, but I cannot use the volume functionality. Thanks for your helps!!!
  • Hi,

    When should the trigger 'Een virtueel apparaat is veranderd' (A virtual device is changed) be triggered? I'm guessing it shood trigger when any virtual device is turned on or of, but over here it isn't triggered.. :( 
  • Does anybody have issues with adding a Virtual Device in the 'THEN' part of a flow? I have a few flows where I ask the VD to be enabled/disabled. However, when using this, the VD does not respond at all. 
    If I use the alternative BetterLogic, no issue. But for VD I cannot get it to work (on/off mode)
  • Hi.

    I wonder if it's possible to attach a multi-device with several buttons as shown in the picture. And create flow triggers and / or conditions cards like "button is held down" and "button is released"? (the pictures are made in Photoshop)


  • viktorviktor Member
    edited March 2018
    Hi guys, is it possible to use a number variable to set the target temperature of a VD thermostat? Directly i think not, but maybe someone is having a workaround. Tnx.
  • All: Sorry for the late reply. In april I will spend some spare time on Homey. I'll start with bugs and look at the enhancements later. No promises, though  ;)
     
    @quakerix: I've added a new issue to add that:
    https://github.com/ArjanKranenburg/virtual-devices/issues/47

    @Pietje5: I will look into adding some general numbers, but I'm reluctant to add all channels for the entire world.
    See also issue: https://github.com/ArjanKranenburg/virtual-devices/issues/10
    There is also an issue on Homey where change and uploading own images is requested:
    https://github.com/athombv/homey/issues/1972

    @jacquesvzijp
    To be honest, I've just added the capabilities and Homey does the rest. I'm assuming that when you've a flow with Turn the Volume down in the Then-column, the tag with volume-down is set. Then you can use that flag in a 'real' device or other flow. Let me know or create an issue on GitHub if this does not work. 

    @keverjeroen & @fspaan
    Can you log issues on GitHub with a more precise description of what you did, what you expect and what versions of Homey and VD you use. Thanks!

    @erlandjack: I've added a new issue to add that:
    https://github.com/ArjanKranenburg/virtual-devices/issues/48
    Although I doubt if it is possible, but I will investigate.

    @viktor: You can drag a Tag over the temperature-setter in the 'Set the temperature' card in the Then-column. Does that answer your question?
  • @viktor: You can drag a Tag over the temperature-setter in the 'Set the temperature' card in the Then-column. Does that answer your question?
    Perfect, tnx.
  • thx @Arie_Laxed, i'll do a donation if we get this feature :)
  • Great app! Used it to get rid of some booleans and bitflips :)

    I have some normal modes implemented now, but I can't seem to grasp the function of the multimode option. I think I know the reason behind it, but the 'state' confuses me.
    How can I use it like for instance...a combination of "away" (mode) and the alarm/security function. What does 'state' need to be then? Can I set it? Does it get set via a flow?

    Maybe you can show me an example flow?

    I'd like to use 2 types of flows in regard to security:
    1. I'm at home and going to bed so I set the normal mode 'security active'
    2. I'm away from home and the security is active.

    Both flows should respond differently
  • HansSHansS Member
    edited April 2018
    I try to make a flow with a virtual device to controle the light temperature. In my spot 4 are innr spots (warm/Cold leds) With the VD flow I can use a tag to dim the lights together but I can't find a tag to set the colour temp. I see the colour-ring in the VD when open it.
    How can I make this work?

    MODBREAK: As there is already a complete discussion about the app Virtual Device merged this post "virtual Device light temp controle" into the correct place.

  • @erlandjack: I've investigated your request (https://github.com/ArjanKranenburg/virtual-devices/issues/48), but I simply don't get a trigger from Homey when a button is held down or released.
  • @erlandjack: I've investigated your request (https://github.com/ArjanKranenburg/virtual-devices/issues/48), but I simply don't get a trigger from Homey when a button is held down or released.
    That's a pity. I will try to solve my problem in another way.
    Anyway, thank you so much for your time.
  • Pietje5 said:
    viktor said:
    where? how? who?
    Addet the icons in the Assets area form the Multimode and addet them also in the driver.js of the multi-mode. Maybe  Arjan can ad a multi-switch just for TV Channels? 
    Hello Pietje, 

    Can you tell me how i can get in to the assets area? I want to do the same for radio stations.

    Thanks in advance!


  • mbnnmbnn Member
    edited May 2018
    Hi all, hope someone can help me. Im trying to do the following. I've installed Virtual devices and I've created a button (On/Off switch). Now when On is set I want to run a http query to my Fibaro HC Lite (http://192.168.1.14/api/callAction?deviceID=8&name=turnOn). To do that I setup a flow with:
    - When virtual device X is turned on then GET http://192.168.1.14/api/callAction?deviceID=8&name=turnOn (HTTP Request plugin).

    However, I can press the ON button but it doesnt do anything, any idea? I simply need to be able to call http queries to my Fibaro HC lite with buttons in Homey.

    When I do this in my browser: http://192.168.1.14/api/callAction?deviceID=8&name=turnOn  it turns the device on just fine.
  • Pietje5Pietje5 Member
    rick0001 said:
    Pietje5 said:
    viktor said:
    where? how? who?
    Addet the icons in the Assets area form the Multimode and addet them also in the driver.js of the multi-mode. Maybe  Arjan can ad a multi-switch just for TV Channels? 
    Hello Pietje, 

    Can you tell me how i can get in to the assets area? I want to do the same for radio stations.

    Thanks in advance!


    Working on the radiostations. Come back to you after my short holiday
  • HansSHansS Member
    HansS said:
    I try to make a flow with a virtual device to controle the light temperature. In my spot 4 are innr spots (warm/Cold leds) With the VD flow I can use a tag to dim the lights together but I can't find a tag to set the colour temp. I see the colour-ring in the VD when open it.
    How can I make this work?

    MODBREAK: As there is already a complete discussion about the app Virtual Device merged this post "virtual Device light temp controle" into the correct place.

    Nobody can give me an answer?
  • JPeJPe Member
    edited May 2018
    HansS said:
    HansS said:
    I try to make a flow with a virtual device to controle the light temperature. In my spot 4 are innr spots (warm/Cold leds) With the VD flow I can use a tag to dim the lights together but I can't find a tag to set the colour temp. I see the colour-ring in the VD when open it.
    How can I make this work?

    MODBREAK: As there is already a complete discussion about the app Virtual Device merged this post "virtual Device light temp controle" into the correct place.

    Nobody can give me an answer?
     address to @zperx
     Try https://github.com/ArjanKranenburg/virtual-devices/issues
  • Is it possible to add a KWh meter for energy measurement?
    The only thing i can do now is show the actual wattage, but not the total wattage in KWh.
  • hi All,

    enjoying myself with my new Homey but i do have a question. I am trying to get the following to work;

    When my "Away" virtual device changed its state to "No", i want my curtains to go up.

    When:
    "a virtual device changed"

    And:
    Logic; "device tag is exactly "Away""
    Logic; "variable tag is exactly "No""

    Then; pull up my curtains.

    The part i am struggling with are the device tag and variable. I have created a virtual device called "Away" which only has a "Yes" or "No" value for it's tag. I am probably making a beginners mistake but it does my head in as it is not working and running the flow.

    Thanks in advance for your thoughts!

    Here a graphic layout of what i am trying to accomplish;

  • Oy1974Oy1974 Member
    Hannes85 said:

    hi All,

    enjoying myself with my new Homey but i do have a question. I am trying to get the following to work;

    When my "Away" virtual device changed its state to "No", i want my curtains to go up.

    When:
    "a virtual device changed"

    And:
    Logic; "device tag is exactly "Away""
    Logic; "variable tag is exactly "No""

    Then; pull up my curtains.

    The part i am struggling with are the device tag and variable. I have created a virtual device called "Away" which only has a "Yes" or "No" value for it's tag. I am probably making a beginners mistake but it does my head in as it is not working and running the flow.

    Thanks in advance for your thoughts!

    Here a graphic layout of what i am trying to accomplish;


    you sure the tag is "no" when away? sounds more logic that "no"means yor not away. 

    And when your testing is it does it work then.
Sign In or Register to comment.