hatl / hasscontrol Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hasscontrol/hasscontrol
Simple garmin widget to control home assistant scenes
License: Other
This project forked from hasscontrol/hasscontrol
Simple garmin widget to control home assistant scenes
License: Other
Hi, I just noticed, that my scene which i added with "warm=Warmweiß" gets displayed as "Warmwei", so the 'ß' Character is missing. Other special characters like 'ä' work fine.
Hi
I cant get this widget to connect to my Home Assistant.
Every time I try, I get "Failed Unknown Error Code -2"
I've tried both long-lived token and normal login.
I'm using a Forerunner 935 with Home Assistant 2022.11.3
Hi, currently Vivoactive 5 support is missing. It is a similar device as venu 3.
I can't get past the first list of HA items. These work fine but I cant get to the groups or the settings.
I suspect this is because the watch has 2 buttons. The first two screens are tap to continue, after that tap turns the lights on and off.
Any chance of adding swiping left? The buttons don't do anything either.
As a work around is there any other way to force the config to be reloaded, like cycling the power?
Hi could you add support for the Approach S62 please!
Thanks
I've successfully built for the garmin edge530 and forerunner745 but am struggling to build for the venu2 series watches: venu2, venu2sq, venu2plus etc
I see support has been added in #16
How are you building for these devices?
With VSCode and SDK 4.2.4 (or 4.2.1), running:
Executing task: C:\Program Files\AdoptOpenJDK\jdk-11.0.10.9-hotspot\bin\java.exe -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\beyondwatts\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-4.2.4-2023-04-05-5830cc591\bin\monkeybrains.jar -o bin\widget.prg -f c:\temp\hasscontrol\widget\monkey.jungle -y C:\Users\beyondwatts\GarminConnectIQ\developerKey\developer_key -d venu2plus_sim -w
gives a whole series of errors that don't show up on earlier SDKs...
WARNING: venu2plus: The launcher icon (30x30) isn't compatible with the specified launcher icon size of the device 'venu2plus' (70x70). Image will be scaled to the target size.
WARNING: venu2plus: The entry point '$.HassControlApp' was implicitly added to the glance process since the app contains declarations annotated with (:glance).
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\App.mc:133,10: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\App.mc:134,10: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\App.mc:138,10: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\App.mc:139,10: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Entities\EntityListView.mc:38,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Entities\EntityListView.mc:347,4: Local variable 'WHITE' is not used.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Entities\EntityListView.mc:348,4: Local variable 'BLACK' is not used.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:56,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:57,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:61,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:64,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:68,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:74,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:80,6: Cannot determine if container assignment is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\Utils.mc:81,6: Cannot determine if container assignment is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\ViewController.mc:74,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\ViewController.mc:84,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\ViewController.mc:94,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\ViewController.mc:104,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Client.mc:115,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Client.mc:116,16: Cannot determine if container assignment is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Client.mc:134,12: Local variable 'service' is not used.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:5,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:73,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:74,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:75,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:76,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:40,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:47,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:58,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:59,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:71,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:74,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:86,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:87,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:96,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:100,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:101,10: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:104,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:124,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:134,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:135,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:145,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:146,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:147,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:149,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:152,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:164,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:165,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:196,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:219,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:227,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:232,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:235,10: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:274,4: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:275,6: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:278,8: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:23,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:24,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:25,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:26,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:66,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:68,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:90,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:91,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:93,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:95,20: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:176,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:178,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:242,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:247,20: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:253,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:262,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:270,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:282,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:284,12: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:285,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:289,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:291,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:293,16: Cannot determine if container access is using container type.
WARNING: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:296,12: Cannot determine if container access is using container type.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\App.mc:92,6: Trying to call function '$.Toybox.Lang.InvalidValueException.initialize' with the wrong number of arguments.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Entities\EntityListView.mc:43,6: Trying to call function '$.Toybox.Lang.InvalidValueException.initialize' with the wrong number of arguments.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Entities\EntityListView.mc:347,4: Statement is not reachable.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Entities\EntityListView.mc:348,4: Statement is not reachable.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Error.mc:18,8: Cannot find symbol ':OAuthError' on type 'self'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\ErrorView.mc:53,8: Cannot find symbol ':setText' on type 'PolyType<Null or $.Toybox.WatchUi.Drawable>'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\ErrorView.mc:54,8: Cannot find symbol ':setText' on type 'PolyType<Null or $.Toybox.WatchUi.Drawable>'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:18,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:24,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:30,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:35,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:39,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:43,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:47,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:57,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:66,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:74,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\Menu\MenuDelegate.mc:77,8: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\ProgressView.mc:9,8: Cannot find symbol ':_isActive' on type 'self'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\ViewController.mc:172,6: Cannot find symbol ':responseCode' on type '$.Error'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\ViewController.mc:174,8: Cannot find symbol ':responseCode' on type '$.Error'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:17,6: Cannot find symbol ':equals' on type '$.Toybox.Lang.String'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:20,6: Cannot find symbol ':equals' on type '$.Toybox.Lang.String'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:23,6: Cannot find symbol ':equals' on type '$.Toybox.Lang.String'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:26,6: Cannot find symbol ':equals' on type '$.Toybox.Lang.String'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:29,6: Cannot find symbol ':equals' on type '$.Toybox.Lang.String'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Entity.mc:32,6: Cannot find symbol ':equals' on type '$.Toybox.Lang.String'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:161,6: Cannot find symbol ':STATE_UNKNOWN' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:280,8: Cannot find symbol ':TYPE_SCRIPT' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:281,10: Cannot find symbol ':STATE_OFF' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:301,4: Cannot find symbol ':TYPE_BINARY_SENSOR' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:306,4: Cannot find symbol ':TYPE_SCRIPT' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:309,11: Cannot find symbol ':TYPE_LOCK' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:310,6: Cannot find symbol ':STATE_UNLOCKED' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:313,13: Cannot find symbol ':STATE_LOCKED' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:317,11: Cannot find symbol ':TYPE_COVER' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:318,6: Cannot find symbol ':STATE_OPEN' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:321,13: Cannot find symbol ':STATE_CLOSED' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:326,6: Cannot find symbol ':STATE_ON' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:329,13: Cannot find symbol ':STATE_OFF' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:335,4: Cannot find symbol ':TYPE_SCENE' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:338,11: Cannot find symbol ':TYPE_LIGHT' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:340,11: Cannot find symbol ':TYPE_SWITCH' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:342,11: Cannot find symbol ':TYPE_AUTOMATION' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:344,11: Cannot find symbol ':TYPE_SCRIPT' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:346,11: Cannot find symbol ':TYPE_LOCK' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:348,11: Cannot find symbol ':TYPE_COVER' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\Hass.mc:350,11: Cannot find symbol ':TYPE_INPUT_BOOLEAN' on type '$.Hass.Entity'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:21,12: Invalid '$.Toybox.Lang.Method(value as Any) as Any' passed as parameter 1 of type '$.Toybox.Lang.Method(data as $.Toybox.Communications.OAuthMessage) as Void'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:135,16: Invalid '$.Toybox.Lang.Method(code as Any, data as Any) as Any' passed as parameter 4 of type 'PolyType<(callback(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String) as Void) or (callback(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String, context as $.Toybox.Lang.Object) as Void)>'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:160,16: Invalid '$.Toybox.Lang.Method(code as Any, data as Any) as Any' passed as parameter 4 of type 'PolyType<(callback(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String) as Void) or (callback(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String, context as $.Toybox.Lang.Object) as Void)>'.
ERROR: venu2plus: C:\temp\hasscontrol\widget\source\hass\OAuthClient.mc:296,12: Invalid '$.Toybox.Lang.Method(responseCode as Any, body as Any, context as Any) as Any' passed as parameter 4 of type 'PolyType<(callback(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String) as Void) or (callback(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String, context as $.Toybox.Lang.Object) as Void)>'.
* The terminal process "C:\Program Files\AdoptOpenJDK\jdk-11.0.10.9-hotspot\bin\java.exe '-Xms1g', '-Dfile.encoding=UTF-8', '-Dapple.awt.UIElement=true', '-jar', 'c:\Users\beyondwatts\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-4.2.4-2023-04-05-5830cc591\bin\monkeybrains.jar', '-o', 'bin\widget.prg', '-f', 'c:\temp\hasscontrol\widget\monkey.jungle', '-y', 'C:\Users\beyondwatts\GarminConnectIQ\developerKey\developer_key', '-d', 'venu2plus_sim', '-w'" terminated with exit code: 105.
I've had a garage cover entity working for ages, but now it gives "Failed unknown error code 400".
Cover entity looks like this:
cover:
- platform: template
covers:
garage_door:
device_class: garage
friendly_name: "Garage Door"
value_template: >-
{% if is_state('binary_sensor.shelly_plus_1_garage_door_switch_0_input','off') %}
Open
{% else %}
Closed
{% endif %}
open_cover:
service: switch.turn_on
data:
entity_id: switch.shelly_plus_1_garage_door_switch_0
close_cover:
service: switch.turn_on
data:
entity_id: switch.shelly_plus_1_garage_door_switch_0
stop_cover:
service: switch.turn_on
data:
entity_id: switch.shelly_plus_1_garage_door_switch_0
icon_template: >-
{% if is_state('binary_sensor.shelly_plus_1_garage_door_switch_0_input','off') %}
mdi:garage-open
{% else %}
mdi:garage
{% endif %}
I've got a group with both the cover entity and the actual switch entity that the cover refers to, and the latter works but not the former.
Hello,
I am wondering, there are some watches like Vivoactive 4 that has wi-fi feature.
Is it possible to make Hasscontrol work with wifi?
Hi,
I need to buy a watch/device that allows me to set automations based on current (not resting which is all I can get with FitBit; not rarely, which is what I get from Wear Os).
I'm considering buying a Garmin IF that were possible.
Thank you.
This app is working great for me on my Venu 2, the only thing that would make it more convenient is if I could set it as my shortcut app (when I swipe right on my watch). Is this possible to do? The app doesn't currently show up in my list of shortcut options; I don't know if that list is hard-coded or if there's a way to add an app to it.
Hi,
I have managed to connect to my HA using a long-lived access token.
My configuration in Connect IQ HA settings is:
Scenes:
Group: group.garmin
My config in HA helpers is as below:
When I do a "Refresh entities" I get on the watch:
Failed
Unknown error
code -300
It also seems to trigger this on HA´s log:
2023-03-18 11:25:43.732 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
Any ideas?
Hello! I was overjoyed to discover this updated fork, is there any possibility to add support for the Fenix 3, or is it too old to make this possible?
I don't know if this can be fixed or not, but I'm using a Cloudflare tunnel to access Home Assistant and when I turn on a firewall rule that requires a "Managed Challenge", the watch widget no longer can toggle any entities. When I deactivate that firewall rule, it works as expected. The error I get is Failed Unknown error code -400
.
In HA lock has 3 operations - lock, unlock and open. Right now I can only lock or unlock my lock by this application but I can't open lock(unlatch= for doors that don't have handle outside).
Hi,
Any support fir the vivoactive 3 whould be amazing. I was using the old integration, but it dies not work at all anymore.
Hello - can we get support for Instinct 2X which is basically the same as 2/2S? I managed to install the app with one of the first firmware versions for 2X - 3.15 but now I cannot install the app anymore as the watch is not on the support list. Thanks!
Any chance to add support for the new entity type: valve? It is similar to the switch
I have installed via the IQ app. my nabu casa https and a long live token. created a group with 3 light entities. reloaded groups section in home assistant en then the watch. then the watch gives this error.
screenshots can be provided
Hello,
I encounter the following findings:
Hi I´ve the following issue:
1: I setup the widget as described
2: Widget is setup with my Home Assistant via long lived access token.
3: Try to integrate scene "scene.gamin1" by typing "garmin1" in Connect IQ Settings
4: Scene "garmin1" is on my Watch but when I press it I get "FAILED Unknown error code -300"
For Troubleshooting I tried also filling with "scene.garmin1" or adding all Lights for this scene to one goup and adding this group to Connect IQ Settings.
Do I need the Group settings? When I understand the Description correctly I only need to setup and fill in my scenes to Connect IQ Settings?
The corresponding lines would be
<iq:product id="venusq2"/>
<iq:product id="venusq2m"/>
I have a working garmin app that will send the battery status to home assistant every three hours in the background registering a new sensor to hold the value... Would you be interested in a pull request to add to hasscontrol ?
I am trying to get some sensors to show up on the watch and the sensors show (having put them in the group), but there's no value, only a question mark. Is there anything that needs to be done to make it work?
Hello. It would be great to add support for sensor entities like temperature, humidity?
Thank
Feature request: add support for general status information from home-assistant on the main widget (without having to click the widget). Instead of just saying HassControl.
Similar to this, 3rd screenshot, Check out this app from the Garmin Connect IQ Store https://apps.garmin.com/en-US/apps/b44a4120-a4c4-4edc-af3a-b8e832c2904b
Possible information:
Hello,
I have tried to build the app as I want to change some bits of it.
When I first try it, I get a message about invalid devices, when I fix those, I get:
WARNING: venu2: The launcher icon (40x40) isn't compatible with the specified launcher icon size of the device 'venu2' (70x70). Image will be scaled to the target size.
WARNING: venu2: The entry point '$.HassControlApp' was implicitly added to the glance process since the app contains declarations annotated with (:glance).
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\App.mc:133,10: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\App.mc:134,10: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\App.mc:138,10: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\App.mc:139,10: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Entities\EntityListView.mc:38,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Entities\EntityListView.mc:372,4: Local variable 'WHITE' is not used.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Entities\EntityListView.mc:373,4: Local variable 'BLACK' is not used.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:56,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:57,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:61,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:64,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:68,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:74,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:80,6: Cannot determine if container assignment is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Utils.mc:81,6: Cannot determine if container assignment is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ViewController.mc:78,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ViewController.mc:88,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ViewController.mc:98,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ViewController.mc:108,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Client.mc:116,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Client.mc:117,16: Cannot determine if container assignment is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Client.mc:135,12: Local variable 'service' is not used.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Entity.mc:5,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Entity.mc:76,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Entity.mc:77,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Entity.mc:78,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Entity.mc:79,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Entity.mc:80,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:40,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:47,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:58,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:59,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:71,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:74,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:86,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:87,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:96,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:100,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:101,10: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:104,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:124,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:134,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:135,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:147,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:148,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:149,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:151,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:152,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:154,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:156,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:157,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:174,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:190,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:191,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:222,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:245,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:253,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:258,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:261,10: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:301,4: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:302,6: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:305,8: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:23,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:24,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:25,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:26,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:66,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:68,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:90,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:91,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:93,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:95,20: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:176,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:178,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:242,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:247,20: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:253,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:262,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:270,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:282,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:284,12: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:285,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:289,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:291,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:293,16: Cannot determine if container access is using container type.
WARNING: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:296,12: Cannot determine if container access is using container type.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\App.mc:92,6: Trying to call function '$.Toybox.Lang.InvalidValueException.initialize' with the wrong number of arguments.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Entities\EntityListView.mc:43,6: Trying to call function '$.Toybox.Lang.InvalidValueException.initialize' with the wrong number of arguments.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Entities\EntityListView.mc:372,4: Statement is not reachable.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Entities\EntityListView.mc:373,4: Statement is not reachable.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Error.mc:18,8: Cannot find symbol ':OAuthError' on type 'self'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ErrorView.mc:53,8: Cannot find symbol ':setText' on type 'PolyType<Null or $.Toybox.WatchUi.Drawable>'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ErrorView.mc:54,8: Cannot find symbol ':setText' on type 'PolyType<Null or $.Toybox.WatchUi.Drawable>'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:18,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:24,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:30,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:35,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:39,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:43,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:47,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:57,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:66,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:74,12: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\Menu\MenuDelegate.mc:77,8: Object of type '$.Toybox.Lang.Boolean' does not match return type 'Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ProgressView.mc:9,8: Cannot find symbol ':_isActive' on type 'self'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ViewController.mc:176,6: Cannot find symbol ':responseCode' on type '$.Error'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\ViewController.mc:178,8: Cannot find symbol ':responseCode' on type '$.Error'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:183,6: Cannot find symbol ':STATE_UNKNOWN' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:307,8: Cannot find symbol ':TYPE_SCRIPT' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:307,8: Cannot find symbol ':TYPE_BUTTON' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:308,10: Cannot find symbol ':STATE_OFF' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:328,4: Cannot find symbol ':TYPE_BINARY_SENSOR' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:332,4: Cannot find symbol ':TYPE_SENSOR' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:337,4: Cannot find symbol ':TYPE_SCRIPT' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:340,11: Cannot find symbol ':TYPE_LOCK' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:341,6: Cannot find symbol ':STATE_UNLOCKED' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:344,13: Cannot find symbol ':STATE_LOCKED' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:348,11: Cannot find symbol ':TYPE_COVER' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:349,6: Cannot find symbol ':STATE_OPEN' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:352,13: Cannot find symbol ':STATE_CLOSED' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:356,11: Cannot find symbol ':TYPE_BUTTON' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:356,11: Cannot find symbol ':TYPE_INPUT_BUTTON' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:360,6: Cannot find symbol ':STATE_ON' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:363,13: Cannot find symbol ':STATE_OFF' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:369,4: Cannot find symbol ':TYPE_SCENE' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:372,11: Cannot find symbol ':TYPE_LIGHT' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:374,11: Cannot find symbol ':TYPE_SWITCH' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:376,11: Cannot find symbol ':TYPE_AUTOMATION' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:378,11: Cannot find symbol ':TYPE_SCRIPT' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:380,11: Cannot find symbol ':TYPE_LOCK' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:382,11: Cannot find symbol ':TYPE_COVER' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:384,11: Cannot find symbol ':TYPE_FAN' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:386,11: Cannot find symbol ':TYPE_INPUT_BOOLEAN' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:388,11: Cannot find symbol ':TYPE_BUTTON' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\Hass.mc:390,11: Cannot find symbol ':TYPE_INPUT_BUTTON' on class definition '$.Hass.Entity'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:21,12: Invalid '$.Toybox.Lang.Method(value as Any) as Any' passed as parameter 1 of type '$.Toybox.Lang.Method(data as $.Toybox.Communications.OAuthMessage) as Void'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:135,16: Invalid '$.Toybox.Lang.Method(code as Any, data as Any) as Any' passed as parameter 4 of type 'PolyType<($.Toybox.Lang.Method(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String) as Void) or ($.Toybox.Lang.Method(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String, context as $.Toybox.Lang.Object) as Void)>'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:160,16: Invalid '$.Toybox.Lang.Method(code as Any, data as Any) as Any' passed as parameter 4 of type 'PolyType<($.Toybox.Lang.Method(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String) as Void) or ($.Toybox.Lang.Method(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String, context as $.Toybox.Lang.Object) as Void)>'.
ERROR: venu2: C:\Users\aaron\GarminDev\hasscontrol-master\source\hass\OAuthClient.mc:296,12: Invalid '$.Toybox.Lang.Method(responseCode as Any, body as Any, context as Any) as Any' passed as parameter 4 of type 'PolyType<($.Toybox.Lang.Method(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String) as Void) or ($.Toybox.Lang.Method(responseCode as $.Toybox.Lang.Number, data as Null or $.Toybox.Lang.Dictionary or $.Toybox.Lang.String, context as $.Toybox.Lang.Object) as Void)>'.
* The terminal process "C:\Program Files\Common Files\Oracle\Java\javapath\java.exe '-Xms1g', '-Dfile.encoding=UTF-8', '-Dapple.awt.UIElement=true', '-jar', 'c:\Users\aaron\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-6.3.1-2023-09-25-47b193194\bin\monkeybrains.jar', '-o', 'bin\hasscontrolmaster.prg', '-f', 'c:\Users\aaron\GarminDev\hasscontrol-master\monkey.jungle', '-y', 'c:\Users\aaron\GarminDev\developer_key', '-d', 'venu2_sim', '-w'" terminated with exit code: 105.
I'm using the latest SDK in VSCode.
I don't currently own any real Garmin device, but I really want to use this app on my Venu 2 when it arrives next week.
I added this to my Venu. works great but after the initial setup i cannot get back into the settings or reload the entities. I have to uninstall and reinstall the app for it to get to settings again
Hi!
Will there be a possibility for just triggering an automation?
Not on or off, just triggering. I have some automations for example unlocking the main door (with autolock) or automations for TV, harmony, awtrix, wled and other stuff.
Maybe you can add this feature in the near future.
Thanks in advance, best regards and happy x-mas holidays!
Emanuel
When opening HassControll via the glance, and the device is not connected we see the error 'Failed, Phone not connected'.
It is not possible to leave this errorscreen when the phone remains unconnected. The back button brings the user back to the entities where upon loading the app notices the phone is not connected, showing the errorscreen and a loop is born.
Tested on Forerunner 255S.
I have widget installed, all working. Yet I only was able to access on-watch settings once when first time refreshing.
Now I've added another entity in HA group and cannot get it refreshed - just scrolling the entities. My watch is 945.
Please add Mk3i to manifest.xml :)
Hello,
I would like to request the possibility to change the brightness of a light using the app.
This could be realised using a horizontal slider similar to Garmin's own Brightness control in system settings.
Best regards
Aaron
Please add support of Forerunner 255 (+S +music).
Would it be possible to have Garmin Edge series support? Especially Edge 830 in my case :)
Thanks!
Just updated watches, can these get added so they can be installed on the new devices?
thanks!
Would it be possible to add support for the new Approach S70 47mm?
The corresponding lines would be
<iq:product id="fr165"/>
thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.