Open Cabalist opened 5 years ago
It is a work in progress. Check the SonoffSC branch.
Thanks! You are doing amazing work!
I'm super keen to try this out!
@mcspr, are you by chance doing any work on getting this integrated?
No. I also did a double-check, we don't have anything related to AT commands handling atm. Did you mean to make the port?
I do not realistically have time to work on that. I just happen to have one of these devices sitting in a drawer and would like to start using it.
Most of the code is already there. SC-specific support consists of comms.ino + serial link helper functions that talk through the AT commands, everything else is supposed to be a sensor i.e. commsLoop() -> BaseSensor::tick(), read-out functions -> BaseSensor::value(...) and etc.
I could look at it some more, but no promises it will be soon
That would be awesome!
I was curious if the Sonoff SC will be supported by the main Espurna repo? I am using an older version from https://github.com/xoseperez/sonoffsc and miss some of the nice features of the updated codebase.