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



  • Former Member
    Former Member over 7 years ago
    Nx345 could you please give or PN the full URL you try to use?


    Of course
    http://192.168.1.45:8080/json.htm?type=command&param=switchlight&idx=13&switchcmd=Toggle <== (this one is okay)

    Then when I try with https :

    https://192.168.1.45:443/json.htm?type=command&param=switchlight&idx=13&switchcmd=Toggle& <== Does not work FAILED -2
  • The error "...max chars reached" with my 935 XT is solved.
    Everything works now, thank you !
  • But I have the same problem with and without the &
  • Former Member
    Former Member over 7 years ago
    Hi

    ??????I use your app with my home automation, it work great ! Thanks for the work.

    About design, is it possible to make menu like sport menu on my vivoactive 3 ?
  • Former Member
    Former Member over 7 years ago
    Is it possible to increase url length ? Mine doesn't fit the actual length :(
  • Former Member
    Former Member over 7 years ago
    Hi @ all,

    I just wanted to announce, a new version 0.3.8 is published.

    I increased the maxCharLimit of the URL settings from 200 to 300 characters and implemented a users recommendation:

    The colored lines above and below the texts now do indicate if the BT connection is properly established or not.

    red: BT connection is broken
    green: BT connection is established

    best
    Stenninger
  • Former Member
    Former Member over 7 years ago
    Hello,

    If anyone interested in how to use this with LifX bulbs, ask me.
    I have a solution using ngnix as proxy for the API calls.
  • Former Member
    Former Member over 7 years ago
    Thank you for the widget.

    I have a similiar problem like Nx345 .
    My URL: http://iot-device/cm?user=user&passw...mnd=Power%20On&

    Without a & at the end nothing happens. With the & at the end of the URL the app force closed on android and the watch gets the -2 error.

    Strange thing is the first time I tried it with the & at the end it seemed to work but the watch kept "sending", unfirtunately I can't reproduce this effect.
  • Former Member
    Former Member over 7 years ago
    Unfortunately, after several tests, IoTClient cannot handle https requests.

    Here is my url syntax (I have hidden all my details) :

    https://<ipaddress>:[https port]/json.htm?username=[base64 username]&password=[base64 password]&type=command&param=switchlight&idx=[id of the device]&switchcmd=Toggle

    Output error displayed on the watch : FAILED -300

    I have tested the same URL with http and the correct port, and it works but it is less secure than https.

    And I also tried the https url with a "&" at the end : It makes the garmin app crash on the smartphone.

    Cheers !
  • Unfortunately I have had very little luck getting this to work :-(

    I have a simple url that toggles my garage lights. I have managed to install the widget on my edge but the device name that entered on the connect app on my computer did not make it over. When I click the button I get a 300 error

    I suspect that the settings are not correctly making their way to my edge 1000.

    From the screen shots it looks like you are editing the settings on your phone. I can't see this setting option on my garmin connect device so I am trying to configure this on the computer. I have an android phone. perhaps you can only configure from iOS.

    I also tried to remove the widget but even when the connect app on the computer says it has been removed it is still there when I boot up my device.

    I suspect this is a problem with syncing the configuration to the edge 1000 rather than an issue with the app.