xoseperez / espurna

Home automation firmware for ESP8266-based devices
http://tinkerman.cat
GNU General Public License v3.0
2.99k stars 636 forks source link

Mainline Sonoff SC support? #1271

Open Cabalist opened 5 years ago

Cabalist commented 5 years ago

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.

xoseperez commented 5 years ago

It is a work in progress. Check the SonoffSC branch.

Cabalist commented 5 years ago

Thanks! You are doing amazing work!

peterhoeg commented 5 years ago

I'm super keen to try this out!

peterhoeg commented 3 years ago

@mcspr, are you by chance doing any work on getting this integrated?

mcspr commented 3 years ago

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?

peterhoeg commented 3 years ago

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.

mcspr commented 3 years ago

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

peterhoeg commented 3 years ago

That would be awesome!