gsportelli
gsportelli
The TV seems to have some notification functionality, e.g., with the [Ring doorbell camera](https://www.samsung.com/us/support/answer/ANS00087644/). I've been experimenting with the [smartthings CLI](https://github.com/SmartThingsCommunity/smartthings-cli) and my Q80 series but with no success. My...
> @gsportelli That's interesting. So it seems like you need to run the `execute` command which you can then use the notification command from [this doc](https://developer.smartthings.com/docs/devices/capabilities/capabilities-reference/#notification). > > ``` >...
`smartthings devices:commands 'execute:execute("command")'` returns `Command executed successfully` whatever I write as command, e.g., $ smartthings devices:commands yyyyyyyy-... 'execute:execute("deviceNotification")' > Command executed successfully $ smartthings devices:commands yyyyyyyy-... 'execute:execute("iamNotACommand")' > Command executed...
Same error: $ smartthings devices:commands yyyyyyyy-... 'execute:execute("deviceNotification", {"notification": ["Test notification"]})' AxiosError: Request failed with status code 500: {"requestId":"...","error":{"code":"UnexpectedError","message":"unsuccessful-http-call status=500","details":[]}} Code: ERR_BAD_RESPONSE
This is a simple workaround to use until fixed: from keras_tqdm import TQDMNotebookCallback # keras, model definition... cb = TQDMNotebookCallback() setattr(cb,'on_train_batch_begin',lambda x,y:None) setattr(cb,'on_train_batch_end',lambda x,y:None) model.fit(X_train, Y_train, verbose=0, callbacks=[cb])