Heyu cm11 y json

good to all,

is not updating mochad when it is operated manually, this happened to me because it is not bi-cide, so I solved it in the past by putting a cm11 and Heyu,

I have controlled this, but I do not know how to act with json correctly

I’m testing console with this code

curl -X POST -H “x-ha-access: Mipass” -H “Content-Type: application / json” -d ‘{“entity_id”: “light.persiana_despacho”}’ http://192.168.1.5:8123 / api / services / script / turn_off

but it does not give error but not low it closes …