Build issue

Post Reply
jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Sun Sep 23, 2018 9:00 am

I have cloned the master branch and ran ./build.sh gate_module and got following errors:

macmini: src JS$ ./build.sh gate_module
make: *** No rule to make target `clean'. Stop.
./build.sh: line 271: [: : integer expression expected
cp: /hdd2/Espressif/ESP8266_NONOS_SDK154/ld/eagle.app.v6.ld: No such file or directory

Any help would be appreciated.
User avatar
pzygmunt
Posts: 6196
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Sun Sep 23, 2018 11:48 am

jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Tue Sep 25, 2018 7:58 am

Thanks! It builds fine on the VM. I then flashed the ESP8266-01 with the binaries and powered it up and got this (s. attachment). Shouldn't it be asking for dev id and password as well? Regarding the GPIO configuration: I'd like to drive two relays, one on GPIO2 and one on Rx similarly to the pdf.
Is the following configuration correct?

#define B_CFG_PORT 5
#define B_RELAY1_PORT 3
#define B_RELAY2_PORT 7

Would there be any usable GPIO left, for the two sensor ports?
Attachments
IMG-3871.PNG
IMG-3871.PNG (46.98 KiB) Viewed 8651 times
User avatar
pzygmunt
Posts: 6196
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Sep 25, 2018 8:03 am

In the case of configuration, just enter the email and server.
Regarding GPIO ports, you must modify the board source files or create a new one.

https://github.com/SUPLA/supla-espressi ... lude/board
jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Tue Sep 25, 2018 8:24 am

I do not see any password field.. (besides the Wifi password).
I ll change the source files, thing is that I am not quite sure to what pin number GPIO2 and Rx correspond to.
User avatar
pzygmunt
Posts: 6196
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Sep 25, 2018 8:25 am

sorry..... email and server
jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Tue Sep 25, 2018 8:32 am

Tried it multiple times, but it does not register to svr17.supla.org. Tried it with an older build from your repository (which asks for dev id and password) and it does work. Any ideas?
User avatar
pzygmunt
Posts: 6196
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Sep 25, 2018 8:33 am

Check LAST STATE
User avatar
pzygmunt
Posts: 6196
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Sep 25, 2018 9:30 pm

Try to add
#define ESP8266_SUPLA_PROTO_VERSION 7

to the board header file.
Post Reply