ynot1234567890 wrote: 
> The line is supposed to be this: 
> https://mynameused.duckdns.org/api/states/sensor.art_ID? -H
> "Authorization: Bearer $HA_Token"
> The second line of the shell script files (ie: qry_alb.sh) should read
> *HA_Token=Your_Long_Lived_Token_Here*.  Replace
> "Your_Long_Lived_Token_Here" with the Home Assistant generated token
> using the procedure I sent yesterday.  You should create a dedicated
> long lived access token for the Dialogflow / shell scripts.
> 
> As for the output from the script, a few things:
> >   >   > 
  - Looks like your system does not have the command "nc" installed. 
  > You need this to make it work or you can use "socat" but that would
  > require some minor changes in the query statements
  - Also the results did not get posted because the curl statement got
  > a certificate error which could be due to several different things. 
  > Improper HA_Token which is likely if you used the duckdns
  > certificate as your HA token.  Also make sure you can access HA GUI
  > directly from the internet using https://yourdomain.duckdns.org. 
  > The https: part is important and it won't work otherwise in
  > dialogflow.
  - 
  > > > 
> 
> Re-reading your previous posts I notice that you created certificates
> and such for let's encrypt.  Generally if your just using the duckdns
> addon, all that let's encrypt stuff should just happen automatically
> provided you accepted the terms in the config file when setting up
> HA's duckdns addon package.  Carefully check the duckdns setup part.
> 
> Ynot  
> 
> Ynot.

I’m using the using the home assistant package available on synology
diskstation through docket not HASSIO.  I just add duckdns to my
configuration.yaml file.  Do I need HASSIO for this to work?


------------------------------------------------------------------------
grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328
View this thread: http://forums.slimdevices.com/showthread.php?t=109273

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to