These are chat archives for SmingHub/Sming

6th
Feb 2016
Harry Böttcher
@harry-boe
Feb 06 2016 00:19
@anakod nice one ;)
ystrem
@ystrem
Feb 06 2016 08:00
:D nice
fastlink30
@fastlink30
Feb 06 2016 10:17
i get this error:

Generating image...

Generate firmware images successully in folder out/firmware.
Done

Generating spiffs_bin

Checking for spiffs files
No files found in ./files.
Creating empty out/firmware/spiff_rom.bin
/bin/sh: line 6: /c/tools/Sming/sming/spiffy/spiffy: No such file or directory
make: * [out/firmware/spiff_rom.bin] Error 127

spiffy exists on sming/sming/spiffy
path problems?
fastlink30
@fastlink30
Feb 06 2016 10:56
solved... inly must build spiffy... :smile:
alonewolfx2
@alonewolfx2
Feb 06 2016 14:29
@anakod where is webui in smingNode
ystrem
@ystrem
Feb 06 2016 15:51

@alonewolfx2 none > TODO

RBoot OTA updates
Web interface for config editor
WebSocket realtime sensors data streaming (like current MQTT implementation)
Friendly Web UI

ystrem
@ystrem
Feb 06 2016 15:57
I'm trying SmingNode and getting this
16:56:19 **** Build of configuration Sming for project SmingNode ****
make all 
C+ app/NodeCore.cpp
C+ app/Sensor.cpp
C+ app/SpecificSensors.cpp
app/SpecificSensors.cpp: In member function 'virtual void SensorAnalogReader::onBegin()':
app/SpecificSensors.cpp:65:19: error: 'A0' was not declared in this scope
  store(analogRead(A0));
                   ^
app/SpecificSensors.cpp:65:21: error: 'analogRead' was not declared in this scope
  store(analogRead(A0));
                     ^
make: *** [out/build/app/SpecificSensors.o] Error 1

16:56:21 Build Finished (took 1s.804ms)
alonewolfx2
@alonewolfx2
Feb 06 2016 16:15
@ystrem you need to build lastest smingframework
Georgi Dobrishinov
@dobrishinov
Feb 06 2016 16:26
I solved problem with mtu issues (tcp problem with mobile data or adsl), today i update SDK to 1.5.2 but i try on 1.4.0 and on 1.5.1, i replace liblwip.a in ~esp-open-sdk/esp_iot_sdk_v1.5.2/lib with this one liblwip.a and everything work :) Tnx @avr39-ripe
alonewolfx2
@alonewolfx2
Feb 06 2016 17:08
@hreintke how can we use uart 1 tx with your lastest commit? serial1.begin?
hreintke
@hreintke
Feb 06 2016 17:34

@alonewolfx2 :

HardwareSerial uart1Serial(1); // Or any name you want..
uart1Serial.begin(115000)
uart1Serial.printf(...)

Will only transmit (better : you will never receive a char)
@all : Only available in latest Sming_RTOS

Georgi Dobrishinov
@dobrishinov
Feb 06 2016 20:41
Do you have any heap issues with SDK 1.5.1, 1.5.2 and ajax, i build HttpServer_Ajax everything work, but heap go away after 2, 3 minutes. I watch debug and after i load page heap go away.
Skurydin Alexey
@anakod
Feb 06 2016 22:41
@dobrishinov can you explain from where this modifed LWIP library version, how you build it?
Georgi Dobrishinov
@dobrishinov
Feb 06 2016 22:45
@anakod I try SDK 1.4.0, in lib folder i found 2 LWIP - liblwip.a, liblwip_536.a , Delete liblwip.a and rename liblwip_536.a to liblwip.a and everything is ok, then i put file in SDK 1.5.1 and 1.5.2 and work too.
Skurydin Alexey
@anakod
Feb 06 2016 22:49
Ok, so it's liblwip_536?
Why from SDK 1.4.1 not from 1.5?
Georgi Dobrishinov
@dobrishinov
Feb 06 2016 22:51
I think in 1.5 liblwip_536 missing
Skurydin Alexey
@anakod
Feb 06 2016 22:59
536 is very small
will be foine to have smaller than 1500 but larger than 500
777 commits, congratulations to all! :)
Georgi Dobrishinov
@dobrishinov
Feb 06 2016 23:06
@anakod but without 536 i have issues with tcp and mobile data (any other solution)