Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ON_MUTED_CHANGED:
- {"is_muted": false}
- ON_MUTED_CHANGED:
- {"is_muted": false}
- ON_START_FINISHED
- ON_START_FINISHED
- ON_CONVERSATION_TURN_STARTED
- ON_CONVERSATION_TURN_STARTED
- ON_END_OF_UTTERANCE
- ON_END_OF_UTTERANCE
- ON_RECOGNIZING_SPEECH_FINISHED:
- {"text": "turn on the kitchen"}
- ON_RECOGNIZING_SPEECH_FINISHED:
- {"text": "turn on the kitchen"}
- ERROR:__main__:'On'
- Traceback (most recent call last):
- File "/home/pi/GassistPi/src/main.py", line 666, in <module>
- Myassistant().main()
- File "/home/pi/GassistPi/src/main.py", line 473, in main
- domoticz_control(str(usrcmd).lower(),configuration['Domoticz']['Devices']['Id'][i],configuration['Domoticz']['Devices']['Name'][i])
- File "/home/pi/GassistPi/src/actions.py", line 1369, in domoticz_control
- if (' ' + custom_action_keyword['Dict']['On'] + ' ') in query or (' ' + custom_action_keyword['Dict']['On']) in query or (custom_action_keyword['Dict']['On'] + ' ') in query:
- KeyError: 'On'
- Domoticz declarations in config.yaml - Change port 8080 to 443
- # Domoticz declarations
- Domoticz:
- # Set this to 'Enabled' to control devices registered to Domoticz server.
- Domoticz_Control: 'Enabled'
- Server_IP:
- # If you are running the server on the Pi itself, then change the ip to 'localhost'
- - '172.16.10.2'
- Server_port:
- - '443'
- Devices:
- #The number of names and number of ids should be equal
- #List the device names that you want to control
- Name:
- - 'camera'
- - 'kitchen'
- #Assign the device ids in the same order as the devices listed above
- Id:
- - '8'
- - '9'
Advertisement
Add Comment
Please, Sign In to add comment