Closed AlarmeOrphee5 closed 9 months ago
I think
ENODEV: no such device, write
Error message is related to GPIO library.
have you tried the empty sketch running over 1 hour?
Ho it's my GPIO library... Ok I will try to changes it for testing. Thanks you :)
Hello guys,
I control a GPIO which is connected to a relay. It works perfectly for the first hour, and then if I want to activate it, Sinric tells me that the device is not connected and I receive this log on rpi.
log on the first hour :
<< {"header":{"payloadVersion":2,"signatureVersion":1},"payload":{"action":"setPowerState","clientId":"alexa-skill","createdAt":1700337625,"deviceId":"xxx","replyToken":"a4cd1c46-2e17-411d-9b9a-90c629ce3555","type":"request","value":{"state":"Off"}},"signature":{"HMAC":"DH6JxakW2JCTHEaO7XEKjhEg5ttwuQmLYslc7R7y2+0="}}
log after 1 hour :
<< {"header":{"payloadVersion":2,"signatureVersion":1},"payload":{"action":"setPowerState","clientId":"alexa-skill","createdAt":1700395253,"deviceId":"xx","replyToken":"0be6ce43-cedf-4fc9-8b7e-81ccfffb88c9","type":"request","value":{"state":"On"}},"signature":{"HMAC":"fFOS6VeyTXx4jGI7ISQSACJm69iJILd9xEHJ4TNX+k8="}}
ENODEV: no such device, write <----- _ don't understaind this line :(
From what I understand Sinric communicates with my RPI but does not recover any data. I specify that no action happens to my light which does not change state.
the code from my RPI :
Do you have any idea why it disconnects after an hour? Thanks a lot :)