- changed status to resolved
[REQ] A simple way to populate data through homeyscript
Issue #13
resolved
Would be great if we had the option of populating the fields in the virtual devices directly through homeyscript instead of homeyscript>homeyscript tags > flow with multiple flowcards > virtual device.
personally I wanted something similar to populate my MQTT data to some virtual temp sensors with the temp, humidity, battery and bt/wifi strength
Comments (2)
-
repo owner -
repo owner Here are some examples:
await dcApp.apiPost('setvalue', {device:'Day-Amount', field:'number1', value:21});
await dcApp.apiPost('setvalue', {device:'Day-Amount', field:'measure_devicecapabilities_number-custom_1.number1', value:22});
await dcApp.apiPost('setvalue', {device:'c34dc5b4-3c30-48a9-8a4e-014aea93d00d', field:'measure_power', value:501});
- Log in to comment
Okay, in test (in a few minutes) 2.9.0: See the forum topic for how to etc.
[APP][Pro] Device Capabilities - Enhance the capabilities of devices - Apps - Homey Community Forum
[APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator - Apps - Homey Community Forum