Jump to content

Browall

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Days Won

    1

Browall last won the day on March 31 2018

Browall had the most liked content!

About Browall

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi @xilopaint, How do I test if the autoupdate is working? I think I have done everything so it should be up and running. However I cant get Alfred to show the message that a new workflow is available. The current version should be 1.0.1. Do I have to commit a new binary as well in order to get Alfred to see that a new version is present? //Andreas
  2. Thanks, for all the info. I did not know that Packal is unmaintained. I will try to get the GitHub release to work. Thanks for sharing info!
  3. I have added the project to packal. See http://www.packal.org/workflow/home-assistans
  4. This workflow lets you control your Home Assistant from Alfred. You will be able to control you lights, get sensor information, trigger automations and look for your devices in device tracker. And more to come.. Setup _haurl - Set the URL to the home assistant. _hapassword - set the API password for Home Assistant Commands to interact with home assistant To triggar an automation: haa To control lights: hal To control your alarm: haal To look at a Sensor: has To look at device tracker had You will find the workflow here : https://github.com/Skakiz/Alfred-Home-assistant-workflow Lights: Automations: This is my first python coding, so no glitter code. Thanks! //Andreas
  5. Hi, I found a solution to the problem. It seems to be a bug in High Sierra, regarding keychains. The fix: Try opening Keychain Access.app. Right-click on the login keychain and try locking it and then unlocking it again. Thanks! //Andreas
  6. Hi, I'm tying to get my first workflow up and running. However I get an exception when using alfred-workflow. I'm trying to save a keychain using wf.save_password('ha_password', args.apikey) The exception that i get: [2018-03-21 14:19:55][ERROR: action.script] . 14:19:55 workflow.py:2057 DEBUG ---------- Home Assistant ---------- 14:19:55 workflow.py:2074 ERROR Unknown Keychain error : security: SecKeychainItemCreateFromContent (<default>): The user name or passphrase you entered is not correct. Traceback (most recent call last): File "/Users/andreas/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A66C80D9-3423-441F-BEFA-CD9F0317B9A2/workflow/workflow.py", line 2067, in run func(self) File "home_assistant.py", line 50, in main wf.save_password('ha_password', args.apikey) File "/Users/andreas/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A66C80D9-3423-441F-BEFA-CD9F0317B9A2/workflow/workflow.py", line 2407, in save_password '-w', password) File "/Users/andreas/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A66C80D9-3423-441F-BEFA-CD9F0317B9A2/workflow/workflow.py", line 2817, in _call_security raise err KeychainError: Unknown Keychain error : security: SecKeychainItemCreateFromContent (<default>): The user name or passphrase you entered is not correct. I'm on High Sierra, 10.13.3. Alfred is freashly installled and alfred-workflow is fetched today. Someone any ideas? Thanks! //Andreas
×
×
  • Create New...