Widget: IoTClient

Former Member
Former Member
Please post comments, problems, questions, and feature requests on the IoTClient ConnectIQ Widget in this thread.

https://apps.garmin.com/en-US/apps/da3db127-3938-4dac-bcf1-e30324fd0d20



  • 0.3.1 - upgrade

    I've upgraded to 0.3.1, and domoticz commands stopped working. When I launch the URL from the IoT app I get in the log:

    2017-03-27 21:25:16.259 User: Admin initiated a switch command (179/PC/Big/Toggle?)

    and no action is taken....

    when the same URL is launched from Chrome on the smartphone connected with the watch:

    2017-03-27 21:25:36.149 User: Admin initiated a switch command (179/PC/Big/Toggle)

    and action is launched

    I've checked with tshark and the actual URL has "? at the end:

    HTTP 277 GET /json.htm?type=command&param=switchlight&idx=479&switchcmd=Toggle? HTTP/1.1

    It shouldn't tough :)
  • Great App, works really well with Vera, just need to put phone on my VPN and it works from anywhere.

    Would be great to add support for Edge cycling computers, I have an Edge 820 and would love to have this on the Edge.
  • Former Member
    Former Member over 8 years ago
    I've checked with tshark and the actual URL has "? at the end:

    HTTP 277 GET /json.htm?type=command&param=switchlight&idx=479&switchcmd=Toggle? HTTP/1.1

    It shouldn't tough :)


    More people have trouble with this. A workaround is add an "&" at the end of the url.

    Like this:
    json.htm?type=command&param=switchlight&idx=479&switchcmd=Toggle&
  • Fixed the issue! App is way more faster than previous verion, thanks Yennick1!
  • Access Denied

    Hi,
    when saving the URL in the Settings i get an "Access Denied" from the Settingsserver. Is there anything i can do?



    New Install of v 0.3.1 on iOS 10
  • Access Denied

    - Sorry, Doublepost -
  • Former Member
    Former Member over 8 years ago
    Hi Bernd,

    wann genau siehst Du diesen Fehler?




    VG
    Stenninger
  • Former Member
    Former Member over 8 years ago
    IoTClient with iPhone and Wi-Fi

    Hi all,

    this widget is pretty cool, I was quickly able to trigger some actions from my Fenix 3 HR using a python server script running on Raspberry Pi.

    However it seems I am experimenting some issues with Garmin Connect+iPhone, which are often disconnected from the wi-fi network when the phone is in stand-by mode, so preventing the client to communicate with the server.

    The only solution I found so far is to get up from the sofa :-( , get the phone and unlock it before acting on the watch, which as you can understand is quite inconvenient.

    Any suggestion to improve the effectiveness of the setup?

    Regards,
    Nicola
  • Former Member
    Former Member over 8 years ago
    Access denied problem

    ...if you see a "Access Denied" page while saving the app settings, please try to update the widget!

    This did help in my case!
  • Former Member
    Former Member over 8 years ago
    I'm trying to wrap my head around getting this to work with the Home-Assistant RestApi platfrom.

    Here's a sample curl statement, how would you convert this to be used with the IoTClient?

    $ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
    -H "Content-Type: application/json" \
    -d '{"entity_id": "switch.christmas_lights"}' \
    localhost:8123/.../turn_on