supla / supla-espressif-esp Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Hello
Please tell me which SDK version I can use to compile this project overwhelms I will still end up with this error :-/
10:28:55 **** Build of configuration Default for project at ****
mingw32-make.exe -f C:/Espressif/examples/ESP8266/supla/Makefile all
CC driver/dht22.c
CC user/supla_ds18b20.c
In file included from user/supla_esp.h:24:0,
from user/supla_ds18b20.h:22,
from user/supla_ds18b20.c:27:
include/supla-dev/proto.h:1:1: error: expected identifier or '(' before '.' token
../../../supla-common/proto.h
^
In file included from user/supla_ds18b20.h:22:0,
from user/supla_ds18b20.c:27:
user/supla_esp.h:100:35: error: unknown type name 'TDS_SuplaDeviceChannel_B'
void supla_esp_board_set_channels(TDS_SuplaDeviceChannel_B *channels, unsigned char *channel_count);
^
In file included from user/supla_ds18b20.h:23:0,
from user/supla_ds18b20.c:27:
include/supla-dev/proto.h:1:1: error: expected identifier or '(' before '.' token
../../../supla-common/proto.h
^
In file included from user/supla_ds18b20.c:29:0:
include/supla-dev/log.h:1:1: error: expected identifier or '(' before '.' token
../../../supla-common/log.h
^
../common_nonos.mk:351: recipe for target 'build/user/supla_ds18b20.o' failed
mingw32-make.exe: *** [build/user/supla_ds18b20.o] Error 1
10:28:56 Build Finished (took 766ms)
Time resets every ~ 1: 19h. This can cause problems.
Error found on wifisocket.c file at line no. 150 Remove.. 's' from beginning.
Currently relay state is saved immediately when change is requested by server (i.e. via app, schedule, AT, etc)
It should be saved with at least 2 s delay, as it is done for state change issued locally (i.e. by physical button).
Led on when relay is off
Led off when relay is on
I have compile code of sonoff_ds18b20
and getting below result
connected with Xiaomi_C734, channel 6
dhcp client start...
ip:192.168.1.217,mask:255.255.255.0,gw:192.168.1.1
WiFi Status: 5
IP Received
Resolv my.hostname.com
client handshake start.
client handshake ok!
Protocol version error
state: 5 -> 0 (0)
rm 0
Disconnected
WiFi Status: 1
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt
Maybe we should write our own client.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.