Guest User

Untitled

a guest
Oct 16th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. ON_MUTED_CHANGED:
  2. {"is_muted": false}
  3. ON_MUTED_CHANGED:
  4. {"is_muted": false}
  5. ON_START_FINISHED
  6. ON_START_FINISHED
  7. ON_CONVERSATION_TURN_STARTED
  8.  
  9. ON_CONVERSATION_TURN_STARTED
  10. ON_END_OF_UTTERANCE
  11. ON_END_OF_UTTERANCE
  12. ON_RECOGNIZING_SPEECH_FINISHED:
  13. {"text": "turn on the kitchen"}
  14. ON_RECOGNIZING_SPEECH_FINISHED:
  15. {"text": "turn on the kitchen"}
  16. ERROR:__main__:'On'
  17. Traceback (most recent call last):
  18. File "/home/pi/GassistPi/src/main.py", line 666, in <module>
  19. Myassistant().main()
  20. File "/home/pi/GassistPi/src/main.py", line 473, in main
  21. domoticz_control(str(usrcmd).lower(),configuration['Domoticz']['Devices']['Id'][i],configuration['Domoticz']['Devices']['Name'][i])
  22. File "/home/pi/GassistPi/src/actions.py", line 1369, in domoticz_control
  23. if (' ' + custom_action_keyword['Dict']['On'] + ' ') in query or (' ' + custom_action_keyword['Dict']['On']) in query or (custom_action_keyword['Dict']['On'] + ' ') in query:
  24. KeyError: 'On'
  25.  
  26.  
  27.  
  28.  
  29.  
  30. Domoticz declarations in config.yaml - Change port 8080 to 443
  31.  
  32.  
  33. # Domoticz declarations
  34. Domoticz:
  35. # Set this to 'Enabled' to control devices registered to Domoticz server.
  36. Domoticz_Control: 'Enabled'
  37. Server_IP:
  38. # If you are running the server on the Pi itself, then change the ip to 'localhost'
  39. - '172.16.10.2'
  40. Server_port:
  41. - '443'
  42. Devices:
  43. #The number of names and number of ids should be equal
  44. #List the device names that you want to control
  45. Name:
  46. - 'camera'
  47. - 'kitchen'
  48. #Assign the device ids in the same order as the devices listed above
  49. Id:
  50. - '8'
  51. - '9'
Advertisement
Add Comment
Please, Sign In to add comment